java - Axis 1.2 web service with JDK 1.6.0 -


We have moved one of our spindle web services that were created using JDK 1.4 and Axis 1.0.

We are trying to migrate it to Axis 1.2 with JDK 1.6.0, but I'm getting the following zero-point exceptions.

The same code is working fine as the switch back to JDK 1.4.

Any help? thank you in advanced.

java.lang.NullPointerException at au.com.michaelpage.placement.model.rdb.dao.StatusDAO.statusAlreadyExists (statusDAO.java Tamil 75) au.com.michaelpage at.placement.model .rdb.dao.StatusDAO.insert (StatusDAO.java:176) au.com.michaelpage.pseweb.migrator.MigratorManager.processOnlinePlacement (MigratorManager.java:55) on sun.reflect.NativeMethodAccessorImpl.invoke0 (Native java.lang org.apache on .reflect.Method.invoke (Law) on SunkreflectkNativeMethodAccessorImplkinvoke (NativeMethodAccessorImplkjava:39) SunkreflectkDelegatingMethodAccessorImplkinvoke (DelegatingMethodAccessorImplkjava:25) on Method.java:597) .axis.providers.java.RPCProvider.invokeMethod (RPCProvider.java:388) at org.apache.axis.providers org.apache.axis.providers.java.RPCProvider.processMessage (RPCProvider.java:283). Java.javaProvider.invoke (JavaProvider.java:323) org on org.apache.axis.strategies.InvocationStrategy.visit (InvocationStrategy.java:32) Org.apache.axis.SimpleChain.doVisiting (SimpleChain.java:118). on apache.axis.implechain.invoke (SimpleChain.java:83) org.apache.axis.handlers.soap.SOAPService.invoke (SOAPService) Java: 453) org.apache.axis.server.AxisServer.invoke (AxisServer. Java: 281) at org.apache.axis.transport.http.AxisServlet.doPost (AxisServlet.java:699) at javax.servlet at. http.HttpServlet.service (HttpServlet.java:727) org.apache.axis.transport.http.AxisServletBase.service (AxisServletBase.java:327) at javax.servlet.http.HttpServlet.service (HttpServlet.java:820) Weblogic.servlet.internal.StubSecurityHelper at $ ServletServiceAction.run (StubSecurityHelper.java 2827) on weblogic.servlet.internal.StubSecurityHelper.invokeServlet (StubSecurityHelper.java:12225) on weblogic.servlet.internal.ServletStubImpl.execute (ServletStubImpl.java) ): 2 9 2) weblogic.servelet.in On. Sarlet Stubimple Execute (Sertat Stubimple.JWAR) Weblogic Servet.Inneran.webSaveValconTex on weblogic.security.service.SecurityManager.runAs at T $ ServletInvocationAction.run (WebAppServletContext.java:3495) weblogic.security.acl.internal.AuthenticatedSubject.doAs ( AuthenticatedSubject.java:321) on (unknown source) on weblogic.servlet. On weblogic.servlet.internal.ServletRequestImpl.run on Weblogic.servlet.internal.WebAppServletContext.execute web.WebAppServletContext.securedExecute (WebAppServletContext.java:2180) on weblogic.work (ServletRequestImpl.java:1406) Veblogik. Work on ExtractTrade Execute (execute trudge Jan 0101). Exclutthread.Ran (ExoticTrade.javaAdvanced 73)

New Stack Trace.

  (404) org.apache.axis.transport.http.HTTPSender.readFromSocket (HTTPSender.java:744) at org.apache.axis.transport.http.HTTPSender.invoke (HTTPSender. Java: 144) not found in the organization .apache.axis.strategies.InvocationStrategy.visit (InvocationStrategy.java32) on org.apache.axis. Simple Chain at org.apache.axis at org.apache.axis.client.AxisClient.invoke (AxisClient.java:165) at Simple China.Dosing (Org.apache.axis.client.Java 188) Org.apache.axis. Call at client.Call.invoke (call.java 2424) at org.apache.axis.client.Call.invoke (Call.JAUUUNUI). Org.apache.axis.client.Call.invoke (call.java # 347) at org.apache.axis.client.Call.invoke (call.java:1804) at au.com.michaelpage.pseweb.migrator.ws . PseMigratorSoapBindingStub.processOnlinePlacement (at PseMigratorSoapBindingStub.java:115) at au.com.michaelpage.pseweb.migrator.migratorScheduledTask.run (MigratorScheduledTask.java:47) at au.com.michaelpage.pseweb.migrator.MigratorScheduledTask.main (MigratorScheduledTask.java : 35)  

The exception seems like it's coming from your code:

/ P>

  au.com.michaelpage.placement.model.rdb.dao.StatusDAO.statusAlreadyExists (Stadium TusDAO.java Tamilnadu)  

Which version of Weblogic do you have Using? The only version that is certified with JDK 6 is Weblogical 10.3.

I can not tell from the stack trace, but I can bet that it has to do with proxy generation and anti-JAR versions.

I think JDK 1.4 and Axis 1.0 are full of lift and load risk from JDK 6 and Axis 1.2. There has been a lot of change in this. It is no wonder that you are participating in difficulties.


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -