I am looking for a open source library in Java for HTML Microsoft Word conversion. I have found many tools for Word to HTML conversion but not too many for converse.
///
I have set up RMI system successfully on local ubuntu srver.
Registry port 1099 and remote object export on 1100(fixed by calling super(1100))
Now I am trying to make it work on Ubuntu over internet with a public IP.
I could bind service properly with public ip.But the client applet is trying to connect to ubuntu server at random ports.
Below is the error thrown by client applet:
// Exception
network: Connecting public-ip:1100 with proxy=DIRECT
network: Connecting public-ip/cgi-bin/java-rmi.cgi?forward=1099 with proxy=DIRECT
network: Connecting public-ip:3733 with proxy=DIRECT
network: Connecting public-ip:3721 with proxy=DIRECT
//
java.rmi.ConnectException:
Connection refused to host: public-ip; nested exception is: java.net.ConnectException: Connection refused: connect at sun.rmi.transport.tcp.TCPEndpoint.newSocket(Unknown Source)Source) at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
...
//
// I have only 2 ports open on server, i.e., 1099(registry) and 1100(export). How can I fix ports in applet requests such that it does always connect server on same open port?
//
//
Another issue.As I have bound service on public IP i.e. //public-ip:1099/ServiceName, a job running on server to send message to clinets is not able to make request to RMI service. public-ip URL does not work on same machine,i.e., server.Do you think I should use fixed socket factory?If so please give me code snippet and guide me how i can set it up.
//Exception
java.rmi.ConnectException: Connection refused to host: public-ip; nested exception is:
java.net.ConnectException: Connection refused
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:619)
at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:216)
at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:202)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:128)
at java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(RemoteObjectInvocationHandler.java:194)
at java.rmi.server.RemoteObjectInvocationHandler.invoke(RemoteObjectInvocationHandler.java:148)
at $Proxy5.getUserID(Unknown Source)
at rmi.source.xxxxxx$JobScheduler.run(xxxxServerImpl.java:293)
at java.util.TimerThread.mainLoop(Timer.java:555)
at java.util.TimerThread.run(Timer.java:505)
Caused by: java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:337)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:198)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:180)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:391)
at java.net.Socket.connect(Socket.java:579)
at java.net.Socket.connect(Socket.java:528)
at java.net.Socket.(Socket.java:425)
at java.net.Socket.(Socket.java:208)
at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:40)
at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:146)
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:613)
... 9 more
Coould you please help me?
Thanks a lot in advance.
Dan
Hi at all,
i have downloaded Eclipse Galileo and install Android SDK for the first time.
I have try to create an simple Userinterface, but i have see that i can't move
the "object" directly from the stage. But i need to edit the Code or open the Property panel
in order to change the position of an Element on the Stage.
Isn't Eclipse WYSIWYG?
D.
With everything legal and in line with the ethical questions in software development, is it allowed to use an open source product in my software that I charge a fee for when selling?
Scenario: I've developed an PHP Content Management System (CMS) and use some Linux executables licensed under GPL or LGPL in my CMS to accomplish various tasks like image editing. I'm selling the CMS and also including the executables when I deliver the product.
I do not edit the source code of the GPL software, just using it.
I need to upgrade my server to PHP 5.3 but have a Magento install and I know that Magento doesn't play nicely with PHP 5.3.
I think that the changes won't be too extensive (from what I've read). But, I figured I would open it up to the SO crowd.
Has anyone done this successfully? If so, did you take good notes?
Hi,
I got some file sample.mt from client, and when i open info, it reveals as UNIX Executable
file. But, actually when i replaced the extension with zip, i could extract the file content.
And it appears to be folder. Can any one say what exactly UNIX Executable file means and how
is it created. By the way, that is created in Windows OS it seems.
When I try to write a field that includes whitespace in it, it gets split into multiple fields on the space. What's causing this? It's driving me insane. Thanks
data = open("file.csv", "wb")
w = csv.writer(data)
w.writerow(['word1', 'word2'])
w.writerow(['word 1', 'word2'])
data.close()
I'll get 2 fields(word1,word2) for first example and 3(word,1,word2) for the second.
I am looking for an easy to use CMS that can be used to host a multilingual website with photo galleries and few forms.
I am open to php/python excluding wordpress/joomla/drupal.
I have a uiwebview embedded within an iPhone app of mine. I want to be able to have certain links within that webview open into the full mobile safari app (i.e. not my embedded version of it). Is there a simple way to structure some of my hrefs to force this, instead of every link opening within my embedded webview?
Thanks.
-tony
Users are complaining about an Outlook plug-in my developers created, saying that the "verifying application requirements" message appears when they open Outlook. We do want the check to take place, but users have requested that we hide it. Is this possible to do, and if so, what can I tell my developers to do? (What direction should I point them in?) Thanks for any help!
Howdy,
Ive written a word addin in VS 2008 thats pretty simple, just adds a commandbar and a couple of buttons.
The addin loads and works fine for the first document that is opened.
When I open a second and subsequent documents, the addin does not load.
Please ask for anymore info if needed. Happy to provide.
Hi
I want to close an open port which is in listening mode between my client and server application.
Is there any manual command line option in Linux to close a port ??
NOTE: I came to know that "only the application which owns the connected socket should close it, which will happen when the application terminates."
I dont understand why it is only possible by the application which opens it ... But still eager to know if there is any another way to do it ??
I have a autocompletebox control in a datagrid. I have a tooltip associated with the autocomplete box. If the dropdown list is open I loose the tooltip. Is it possible to put the tooltip on the textbox in the dropdown list? Is so, how.
Currently i'm using the PrintPreviewDialog to open a window to preview the printed pages before they are sent to a printer. The problem is though that it first appears very small, at the top left of the screen and the buttons are too small.
Is there anyway i can set a starting size for this dialog or start position or even make the little buttons a little bigger? Or do i need to implement my own?
I installed ghostscript and updated the appropriate path variables ... however, I'm getting an error when I try to execute this command:
C:\PROGRA~1\gs\gs8.64\lib>pdf2ps mydocument.pdf mydocument.ps
Access is denied.
Unable to open command line file _.at
Is this the right command? did I miss some configuration or path setting? Otherwise, is there a sane method of doing this conversion?
Thanks!
hi all, how can i start any application from C#
i mean for example, if i have an openfiledialog and the user opened it and selected any file and opened it, i need this file to opened in its application whatever its extension and its default start application.
i have googled and found that Process.Start takes the file name and its application but i don't know what is the type of the file the user is going o open
thanks in advance for any replies.
How to convert doc to pdf using java api. where document contains various formats such as tables in ms word. when converting to pdf using iText. where actual document looks different to converted pdf. please provide any api not an exe installed for converting . must be an open source
hi all,
I want build a sketch pad app on iPhone, I assume that this type app has already been developed long time , maybe some open source code can be use for this purpose ?
anyone can give tip on this field ?
Thanks ...
I had dynamically create one Flash Player cs2, i had upload into my site, no of url link i had provided on my aspx page, when any one of the url is clicked,that url based flv viedeo will play..!
In my case when i clicked url to play the video,player is loaded but is not visible,
in the same window, but i had opened in new window in internetexploer it will playing..working fine?
What the problem in open the player in same window... any one pls help me..?
Thanks
I am using ASP.Net and jQuery + jQuery UI. Everything works fine with the jQuery on any other page, however when I create a popup window with window.open(...) jQuery seems to no longer function.
I have all of the script files included on the Popup's Master page, so am not sure why it won't fire.
Any Thoughts?
Environment: Solaris 10
This mysql server has been up and running for 6 months now. Today all of a sudden it crashed. When typing 'mysql' as user it gives the error
MYSQL" Error 2002 (HY000): Can't Connect to Local MySQL server though socket '/tmp/mysql.sock'
The server try to open mysql, it stays open for 9-10 seconds and restarts the process. Below are the application logs.
Application-database-mysql_mysql-csk.log
[ May 30 22:37:52 Enabled. ]
[ May 30 22:37:58 Rereading configuration. ]
[ May 30 22:37:59 Executing start method ("/opt/coolstack/lib/svc/method/svc-cskmysql start") ]
/opt/coolstack/mysql/bin/mysqld_safe --user=mysql --datadir=/dbpool1/data --pid-file=/dbpool1/data/database.soliaonline.com.pid
[ May 30 22:37:59 Method "start" exited with status 0 ]
[ May 30 22:38:13 Stopping because all processes in service exited. ]
[ May 30 22:38:13 Executing stop method ("/opt/coolstack/lib/svc/method/svc-cskmysql stop") ]
[ May 30 22:38:13 Method "stop" exited with status 0 ]
[ May 30 22:38:13 Executing start method ("/opt/coolstack/lib/svc/method/svc-cskmysql start") ]
/opt/coolstack/mysql/bin/mysqld_safe --user=mysql --datadir=/dbpool1/data --pid-file=/dbpool1/data/database.soliaonline.com.pid
[ May 30 22:38:13 Method "start" exited with status 0 ]
[ May 30 22:38:25 Stopping because all processes in service exited. ]
[ May 30 22:38:25 Executing stop method ("/opt/coolstack/lib/svc/method/svc-cskmysql stop") ]
[ May 30 22:38:25 Method "stop" exited with status 0 ]
I am hoping someone might have run into this before and might know how to fix it.
The following is an excerpt from the MySQL Error log
100530 22:44:03 mysqld_safe mysqld from pid file /dbpool1/data/database.soliaonline.com.pid ended
100530 22:44:04 mysqld_safe Starting mysqld daemon with databases from /dbpool1/data
InnoDB: Log scan progressed past the checkpoint lsn 32 727170612
100530 22:44:13 InnoDB: Database was not shut down normally!
InnoDB: Starting crash recovery.
InnoDB: Reading tablespace information from the .ibd files...
InnoDB: Restoring possible half-written data pages from the doublewrite
InnoDB: buffer...
InnoDB: Doing recovery: scanned up to log sequence number 32 727200901
100530 22:44:14 InnoDB: Starting an apply batch of log records to the database...
InnoDB: Progress in percents: 100530 22:44:14 - mysqld got signal 11 ;
This could be because you hit a bug. It is also possible that this binary
or one of the libraries it was linked against is corrupt, improperly built,
or misconfigured. This error can also be caused by malfunctioning hardware.
We will try our best to scrape up some info that will hopefully help diagnose
the problem, but since we have already crashed, something is definitely wrong
and this may fail.
key_buffer_size=209715200
read_buffer_size=1048576
max_used_connections=0
max_threads=10000
threads_connected=0
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 31024253 K
bytes of memory
Hope that's ok; if not, decrease some variables in the equation.
enter code here
Apologies for the shortness of the question, however I don't think it needs much elaboration.
Any there any security implications caused by using the CSharpCodeProvider and could it open a server up for attack?
i.e.
open a listening socket in parent process
call epoll_wait(listening_socket) in child1,child2,child3....
call accept in each child if there is connection request
HI people.
I had SQL Server 2005 on Windows XP 32bit and just used this connection string
Server=.\SQLEXPRESS;database=GroupALD; Integrated Security=True"
Now I have Windows 7 64bit and SQL Server 2008 R2 I'm trying to connect database with same string but its shows this error
Cannot open database "GroupALD" requested by the login. The login failed.
Login failed for user 'lester\les'.
Can somebody help me?
I'm using C# and Winforms