Tony Mandatori

Greenhorn
+ Follow
since Oct 26, 2002
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Tony Mandatori

I force the user to agree to allowing all permissions on initial startup.
I simply had to recompile the jar file and things work well now.
Thanks.
21 years ago
When I rin my application as a standard Java application things work fine. However, when I run it in Java Web Start, I get the following error:
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at com.casebank.spotlight.app.spotlightAction.ActionFactory.createAction(ActionFactory.java:49)
at com.casebank.spotlight.gui.SpotlightFrame$1.construct(SpotlightFrame.java:78)
at com.casebank.spotlight.gui.SwingWorker$2.run(SwingWorker.java:109)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.IllegalAccessError: try to access field org.w3c.tidy.ParserImpl._parseHead from class org.w3c.tidy.ParserImpl$ParseHTML
at org.w3c.tidy.ParserImpl$ParseHTML.parse(ParserImpl.java)
at org.w3c.tidy.ParserImpl.parseDocument(ParserImpl.java)
at org.w3c.tidy.Tidy.parse(Tidy.java)
at org.w3c.tidy.Tidy.parseDOM(Tidy.java)
Any ideas?
22 years ago
Team,
I was looking at trying to create an installation CD of my web start application so I can deploy the applciation.
Does anyone know how to recreate the Java Web Start cache. Or, can anyone lead me to a document that describes the contents of the cache.
Thanks
Tony
22 years ago
Kyle,
Thanks... that works!
However, I have to type in values for the context-root, the display name and the default-host. I was hoping to automate this in an ant build-file and I didn't see any -options for these values.
How do WAS developers who use Ant automate this?
Thanks
22 years ago
I tried to zip the contents of the application.ear file into an ear file. I then deleted the application from WebSphere and tried to reinstall it using the seappinstall script
I get the following error:
Exception: Exception occurred loading deployment descriptor for module sapplciation.war in ear file C:\xxx\application.ear
Thanks
22 years ago
This works for expanding the Ear file into a directory, but it does not update the server-cfg.xml file for me.
I was hoping that there was something like seappinstall that works with war files.
Ideas?
22 years ago
Team,
Is there a command line utility to deploy ear or war (preferrable) files on WAS 4.0.
Thanks
22 years ago
I'm using log4j1.2.1 with WAS 4.0.
I just put it in the WEB-INF lib of the application's war file
22 years ago
Kyle,
Web Container and the Middle Tier are installed on the same Windows 2000 machine. The software was architected such that they could be placed on different machines. Hence there is no firewall considerations.
Also, the RMI Registry is runnning.
I found a post on a different Forum indicating that I should update the /etc/hosts file to included the the IP address of the localhost and point it to the localhost machine name.
I did that and then restarted WebSphere. The RMI error is gone, however, I still get an exception. The request is null and the exception that is thrown is null.
I'll take a closer look and let you know. Any ideas?
Thanks
22 years ago
I realize that my lack of experience with RMI and J2EE is showing and I thank you for your patience on the issue! Another team wrote the application and I am trying to deploy on WebSphere.
This application does not use J2EE components. It uses regular RMI to communicate between web container and Middle Tier.
I get the following error in one of the logs.
java.rmi.ConnectException: Connection refused to host: 172.17.119.232; nested exception is:
java.net.ConnectException: Connection refused: no further information
java.net.ConnectException: Connection refused: no further information
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:329)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:141)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:128)
at java.net.Socket.<init>(Socket.java:285)
at java.net.Socket.<init>(Socket.java:112)
at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:29)
at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:124)
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:512)
at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:194)
at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:178)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:89)
at com.casebank.spotlight.command.LocalCommandServer_Stub.execute(Unknown Source)
at com.casebank.spotlight.command.RMICommandServer.execute(RMICommandServer.java:77)
at com.casebank.spotlight.app.action.AppAction.executeCommand(AppAction.java:196)
at com.casebank.spotlight.app.action.AppAction.doActionCommand(AppAction.java:558)
at com.casebank.spotlight.app.action.AppAction.perform(AppAction.java:128)
at org.apache.struts.action.ActionServlet.processActionPerform(ActionServlet.java:1787)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1586)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:510)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.ibm.servlet.engine.webapp.StrictServletInstance.doService(ServletManager.java:827)
at com.ibm.servlet.engine.webapp.StrictLifecycleServlet._service(StrictLifecycleServlet.java:159)
at com.ibm.servlet.engine.webapp.IdleServletState.service(StrictLifecycleServlet.java:286)
at com.ibm.servlet.engine.webapp.StrictLifecycleServlet.service(StrictLifecycleServlet.java:106)
at com.ibm.servlet.engine.webapp.ServletInstance.service(ServletManager.java:472)
at com.ibm.servlet.engine.webapp.ValidServletReferenceState.dispatch(ServletManager.java:1012)
at com.ibm.servlet.engine.webapp.ServletInstanceReference.dispatch(ServletManager.java:913)
at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:499)
at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:278)
at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:105)
at com.ibm.servlet.engine.srt.WebAppInvoker.doForward(WebAppInvoker.java:67)
at com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:123)
at com.ibm.servlet.engine.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:67)
at com.ibm.servlet.engine.invocation.CacheableInvocationContext.invoke(CacheableInvocationContext.java:106)
at com.ibm.servlet.engine.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:125)
at com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.service(OSEListener.java:315)
at com.ibm.servlet.engine.http11.HttpConnection.handleRequest(HttpConnection.java:60)
at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:313)
at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:242)
at com.ibm.ws.util.CachedThread.run(ThreadPool.java:122)
22 years ago
The web application is using RMI to communicate to the middle tier.
Ther user name and password is being passed to the middle tier using RMI. THe middle tier runs a function to see if the user name and password combination correspond to the ones stored in a databae accessed by the middle tier.
Thanks
22 years ago
The application I need to deploy on WAS works well on Tomcat but is giving me some trouble in WAS.
To logon, I place the credentials in a Bean and pass it to the java middle tier where I run an authentication routine. The application uses a modified version of the struts logon example.
I believe that problem is that The application is not communicating with the Java (1.4) Middle Tier. Have any of you seen this problem before... if so, how did you solve it.
Thanks a million.
22 years ago
Is there any way of getting the WebSphere to use Sun's Java instead of the bundled 1.3?
22 years ago
I'm new to all this, so I was attempting to gen command on the plugin-cfg.xml file... I realize the error of my ways.
I finally got it working... I had to delete the servlet.jar (old spec) file and place the tlds in the WEB-INF/lib directory.
Thanks for the help on that.
I'm now getting some RMI errors. I'm using RMI to communicate to the middle tier... I need to do some more looking in order to formulate a question.
Thanks again.
22 years ago
Also, I tried running genPlugInCfg for both the server-cfg.xml and the plugin-cfg.xml.
Server-cfg works, but plugin-cfg throws a null pointer...
How do I fix that.... Uninstall app?
22 years ago