I have a Corba Servant which works if I access it by corbaloc.
Currently I am running client and server at the same machine.
xx.xx.xx.xx = my machines ip adress
I registered the Servant at JBoss Naming service and got no errors but one warning at runtime.
2004-12-06 15:38:48,382 INFO [org.jboss.naming.NamingService] Starting jnp server
2004-12-06 15:38:48,664 INFO [org.jboss.naming.NamingService] Started jnpPort=1099, rmiPort=1098, backlog=50, bindAddress=/0.0.0.0, Client SocketFactory=null, Server SocketFactory=org.jboss.net.sockets.DefaultSocketFactory@ad093076
2004-12-06 15:38:48,679 WARN [org.jboss.naming.NamingService] Context.PROVIDER_URL in server jndi.properties, url=xx.xx.xx.xx:10992004-12-06 15:38:48,695 INFO [org.jboss.naming.NamingService] Listening on port 1099
2004-12-06 15:38:48,726 INFO [org.jboss.naming.NamingService] Started jboss:service=Naming
When I try to access a Server method at the client the following
Jacorb Traces appears at the Server:
ClientConnectionManager: created new conn to target 0.0.0.0:3528
The Client trace is at this time:
Trying to connect to xx.xx.xx.xx:3528 ]
[ 06:12:2004:15:39:27:742> Connected to xx.xx.xx.x:3528 ]
looking up "CmdLogger2"
[ 06:12:2004:15:39:27:804> Delegate.getReference with POA < empty> ]
[ 06:12:2004:15:39:27:992> ConnectionManager: created new conn to target 0.0.0.0:3528 ]
[ 06:12:2004:15:39:27:992> (Pool)[0/1] creating new thread ]
[ 06:12:2004:15:39:27:992> Successfully negotiated Codesets. Using ISO 8859-1 as TCS and UTF-16 as TCSW ]
[ 06:12:2004:15:39:28:007> (Pool)[1/2] added idle thread ]
[ 06:12:2004:15:39:28:226> (Pool)[0/2] removed idle thread (job scheduled) ]
[ 06:12:2004:15:39:28:242> Trying to connect to 0.0.0.0:3528 ]
[ 06:12:2004:15:39:28:242> Retrying to connect to 0.0.0.0:3528 ]
[ 06:12:2004:15:39:28:742> Retrying to connect to 0.0.0.0:3528 ]
org.omg.CORBA.TRANSIENT: Retries exceeded, couldn't reconnect to 0.0.0.0:3528 minor code: 0 completed: No
Does anybody know what could be the reason for jacorb to use 0.0.0.0
instead of my machines adress ?
I have a question for you: you certainly must store XML data from EJB into file?
Why you don`t try to send thats data as a String?
For example JSP call EJB home method, which returned a String... After that your JSP can save a String into file and work whis him...
You can decompress your ear file into a directory containing a whatever.jar and whatever.war directory and load this decompressed directory structure to JBOSS_HOME/server/config/deploy. At least you can with JBoss-3.2.0/Jetty. I'm quite sure you can still do it with the latest JBoss, but won't stake my life on it. That way all files are available for editing. That should help in your case.
Can this be done on 3.2.3 as well. I cannot see and JBOSS_HOME in the server directory.
How I do ? Cause I want to update a report to the webserver for user to view by clicking a link in the webpage.