Search Indexing Program failed. java.lang.ExceptionInInitializerError
I have BusinessObjects Edge SP3 installation. Got error with Search Indexing Program. The error says: "The program failed to run and supplied the following information: java.lang.ExceptionInInitializerError".
Some points I would like to get clearified in the scheduling event:
1. What is the user name and password for the program logon.
2. What should we have in the Working Directory and Classpath under Program Parameters
I suspect that error happens when these fields are empty.
James,
While the upgrade of JDeveloper to 10.1.3.4 will take some time, let me clarify the situation.
We have SOA suite and Oracle application server installed on a server machine and two client machines (one of which I am using) have Jdev installed on them. When I deploy the BPEL from Jdev running on my colleague's machine it works fine but fails when I try the same from Jdev running on my machine.
The versions of Jdev are exactly the same on the two machines. And versions of SOA suite, Oracle application server etc are naturally same as it is being deployed on same server. Appreciate your valuable guidance.
Thanks and Regards,
Dhiraj.
Similar Messages
-
BUILD FAILED java.lang.ExceptionInInitializerError in Jdeveloper
When I try to deploy a BPEL process from JDeveloper 10.1.3.2.0 by right clicking on projectname and selecting deploy, I get following error.
Buildfile: D:\OracleJDeveloper\jdev\mywork\Application_DGA_Second\DGA_HelloAppendProcess\build.xml
validateTask:
[echo]
| Validating workflow
[validateTask] Validation of workflow task definitions is completed without errors
deployProcess:
[echo]
| Deploying bpel process DGA_HelloAppendProcess on punib.mycompany.com, port 7777
[deployProcess] Deploying process D:\OracleJDeveloper\jdev\mywork\Application_DGA_Second\DGA_HelloAppendProcess\output\bpel_DGA_HelloAppendProcess_1.0.jar
BUILD FAILED
java.lang.ExceptionInInitializerError
Total time: 6 seconds
When i follow same procedure from another system it works fine.
I am stuck here, please help to resolve this problem.James,
While the upgrade of JDeveloper to 10.1.3.4 will take some time, let me clarify the situation.
We have SOA suite and Oracle application server installed on a server machine and two client machines (one of which I am using) have Jdev installed on them. When I deploy the BPEL from Jdev running on my colleague's machine it works fine but fails when I try the same from Jdev running on my machine.
The versions of Jdev are exactly the same on the two machines. And versions of SOA suite, Oracle application server etc are naturally same as it is being deployed on same server. Appreciate your valuable guidance.
Thanks and Regards,
Dhiraj. -
Failed to load servlet: java.lang.ExceptionInInitializerError
Hi everybody,
I got this webapp developed in Websphere Studio that generates this weird error when I fire up the test server.
Everything else works fine, no errors.
Any suggestions/advices??
[Servlet.LOG]: JSP 1.2 Processor: init
[Servlet.LOG]: FormLoginServlet: init
[Servlet.LOG]: FormLogoutServlet: init
[Servlet.LOG]: SimpleFileServlet: init
[Servlet.LOG]: InvokerServlet: init
[Servlet Error]-[action]: Failed to load servlet: java.lang.ExceptionInInitializerError
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:79)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java(Compiled Code))
at java.lang.reflect.Constructor.newInstance(Constructor.java(Compiled Code))
at java.lang.Class.newInstance3(Class.java(Compiled Code))
at java.lang.Class.newInstance(Class.java(Compiled Code))
at java.beans.Beans.instantiate(Beans.java:218)
at java.beans.Beans.instantiate(Beans.java:62)
at com.ibm.ws.webcontainer.webapp.WebAppServletManager.loadServlet(WebAppServletManager.java:188)
at com.ibm.ws.webcontainer.webapp.WebAppServletManager.loadAutoLoadServlets(WebAppServletManager.java:542)
at com.ibm.ws.webcontainer.webapp.WebApp.loadServletManager(WebApp.java:1277)
at com.ibm.ws.webcontainer.webapp.WebApp.init(WebApp.java:283)
at com.ibm.ws.webcontainer.srt.WebGroup.loadWebApp(WebGroup.java:387)
at com.ibm.ws.webcontainer.srt.WebGroup.init(WebGroup.java:209)
at com.ibm.ws.webcontainer.WebContainer.addWebApplication(WebContainer.java:1005)
at com.ibm.ws.runtime.component.WebContainerImpl.install(WebContainerImpl.java:136)
at com.ibm.ws.runtime.component.WebContainerImpl.start(WebContainerImpl.java:356)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:505)
at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:808)
at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:354)
at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:578)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:299)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:256)
at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:536)
at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:413)
at com.ibm.ws.runtime.component.ApplicationServerImpl.start(ApplicationServerImpl.java:128)
at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:536)
at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:413)
at com.ibm.ws.runtime.component.ServerImpl.start(ServerImpl.java:183)
at com.ibm.ws.runtime.WsServer.start(WsServer.java:128)
at com.ibm.ws.runtime.WsServer.main(WsServer.java:225)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:41)
at java.lang.reflect.Method.invoke(Method.java:386)
at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:105)
at com.ibm.etools.websphere.tools.runner.api.ServerRunnerV5$1.run(ServerRunnerV5.java:97)
Caused by: org.apache.commons.logging.LogConfigurationException: java.lang.ClassCastException: com.ibm.ws.commons.logging.TrLogFactory
at org.apache.commons.logging.LogFactory$2.run(LogFactory.java:609)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.commons.logging.LogFactory.newFactory(LogFactory.java:561)
at org.apache.commons.logging.LogFactory.getFactory(LogFactory.java:352)
at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:395)
at at org.apache.struts.action.ActionServlet.<clinit>(ActionServlet.java:375).null(Unknown Source)
... 37 more
Caused by: java.lang.ClassCastException: com.ibm.ws.commons.logging.TrLogFactory
at org.apache.commons.logging.LogFactory$2.run(LogFactory.java:571)
... 42 more
[11/5/04 10:56:20:833 CST] 3cbe53b6 TraceNLS u No message text associated with key Servlet.[action]:.could.not.be.loaded in bundle com.ibm.ejs.resources.seriousMessages
[11/5/04 10:56:20:833 CST] 3cbe53b6 WebAppServlet E Servlet [action]: could not be loaded
Thanks for all time you took to look over this mess ! :-)Actually, best thing to do is switch to use internal commons-logging, or if you have to use another implementation such as log4j, you'll need to configure your server .. see http://www-1.ibm.com/support/docview.wss?uid=swg27004610
to switch to internal commons-logging is easy
change all
import org.apache.log4j.Logger;to
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;and then go
private static Log logger = LogFactory.getLog(Whatever.class);to get the logger -
JOptionPane java.lang.ExceptionInInitializerError
The simple code below:
import javax.swing.JOptionPane;
public class JOptionPaneTest1 {
public static void main(String[] args) {
String ans;
ans = JOptionPane.showInputDialog(null, "Test Input");
}Generates the following exception:
java JOptionPaneTest1Exception in thread "main" java.lang.ExceptionInInitializerError
at javax.swing.JOptionPane.showInputDialog(JOptionPane.java:458)
at JOptionPaneTest1.main(JOptionPaneTest1.java:11)
Caused by: java.lang.IllegalArgumentException: 608735 incompatible with Text-specific LCD contrast key
at java.awt.RenderingHints.put(RenderingHints.java:1057)
at sun.awt.windows.WDesktopProperties.getDesktopAAHints(WDesktopProperties.java:293)
at sun.awt.windows.WToolkit.getDesktopAAHints(WToolkit.java:925)
at sun.awt.SunToolkit.getDesktopFontHints(SunToolkit.java:1882)
at sun.awt.windows.WDesktopProperties.getProperties(WDesktopProperties.java:230)
at sun.awt.windows.WToolkit.updateProperties(WToolkit.java:880)
at sun.awt.windows.WToolkit.lazilyInitWProps(WToolkit.java:832)
at sun.awt.windows.WToolkit.lazilyLoadDesktopProperty(WToolkit.java:821)
at java.awt.Toolkit.getDesktopProperty(Toolkit.java:1746)
at javax.swing.UIManager.<clinit>(UIManager.java:388)
... 2 more
I've searched around for similar problems without luck. Does anyone have any ideas what could be wrong?I've searched around for similar problems without luck. Does anyone have any ideas what could be wrong?Googled "608735 incompatible with Text-specific LCD contrast key"; turned up one single result (this thread hasn't been indexed yet :o)
This result points to a [known bug|http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6503988] in the JDK 6.
However the comment suggest some value was odd in the WIndows registry of the submitter. Did you tweak the registry, in an area related to screen display? Or did you install some program that might have done that (screen saver, handset simulator, whatever...)? -
Java.lang.ExceptionInInitializerError
I am trying to create a link to another system from an existing application developed on Oracle9i JDeveloper 9.0.2.822 using java version 1.3.1_02.
This uses an API provided by the Vendor of the target system (webMethods 6.1) which uses the entrust libraries.
I have successfully created a client class which successfully connects to the target system and returns data when run as a standalone class.
C:\oracle9iDev\ora92\jdk\bin\javaw.exe -hotspot -classpath C:\TrueChange\conMSD_V83663\MSD\Code\MSDWorkspace\Project\classes;C:\TrueChange\conMSD_V83663\MSD\Code\MSDWorkspace\Project\public_html\WEB-INF\lib\client.jar;C:\TrueChange\conMSD_V83663\MSD\Code\MSDWorkspace\Project\public_html\WEB-INF\lib\entrust\entbase.jar;C:\TrueChange\conMSD_V83663\MSD\Code\MSDWorkspace\Project\public_html\WEB-INF\lib\entrust\entcertlist.jar;C:\TrueChange\conMSD_V83663\MSD\Code\MSDWorkspace\Project\public_html\WEB-INF\lib\entrust\entcms.jar;C:\TrueChange\conMSD_V83663\MSD\Code\MSDWorkspace\Project\public_html\WEB-INF\lib\entrust\entjsse.jar;C:\TrueChange\conMSD_V83663\MSD\Code\MSDWorkspace\Project\public_html\WEB-INF\lib\entrust\entmisc.jar;C:\TrueChange\conMSD_V83663\MSD\Code\MSDWorkspace\Project\public_html\WEB-INF\lib\entrust\entnsext.jar;C:\TrueChange\conMSD_V83663\MSD\Code\MSDWorkspace\Project\public_html\WEB-INF\lib\entrust\entp10.jar;C:\TrueChange\conMSD_V83663\MSD\Code\MSDWorkspace\Project\public_html\WEB-INF\lib\entrust\entp11.jar;C:\TrueChange\conMSD_V83663\MSD\Code\MSDWorkspace\Project\public_html\WEB-INF\lib\entrust\entp12.jar;C:\TrueChange\conMSD_V83663\MSD\Code\MSDWorkspace\Project\public_html\WEB-INF\lib\entrust\entp5.jar;C:\TrueChange\conMSD_V83663\MSD\Code\MSDWorkspace\Project\public_html\WEB-INF\lib\entrust\entp7.jar;C:\TrueChange\conMSD_V83663\MSD\Code\MSDWorkspace\Project\public_html\WEB-INF\lib\entrust\entroaming.jar;C:\TrueChange\conMSD_V83663\MSD\Code\MSDWorkspace\Project\public_html\WEB-INF\lib\entrust\entserverlogin.jar;C:\TrueChange\conMSD_V83663\MSD\Code\MSDWorkspace\Project\public_html\WEB-INF\lib\entrust\entsmime.jar;C:\TrueChange\conMSD_V83663\MSD\Code\MSDWorkspace\Project\public_html\WEB-INF\lib\entrust\entsmimev3.jar;C:\TrueChange\conMSD_V83663\MSD\Code\MSDWorkspace\Project\public_html\WEB-INF\lib\entrust\entssl.jar;C:\TrueChange\conMSD_V83663\MSD\Code\MSDWorkspace\Project\public_html\WEB-INF\lib\entrust\enttunnel.jar;C:\TrueChange\conMSD_V83663\MSD\Code\MSDWorkspace\Project\public_html\WEB-INF\lib\entrust\entuser.jar;C:\TrueChange\conMSD_V83663\MSD\Code\MSDWorkspace\Project\public_html\WEB-INF\lib\entrust\entxml.jar;C:\oracle9iDev\ora92\jdev\lib\jdev-rt.jar;C:\oracle9iDev\ora92\BC4J\lib\bc4jmt.jar;C:\oracle9iDev\ora92\BC4J\lib\collections.jar;C:\oracle9iDev\ora92\BC4J\lib\bc4jct.jar;C:\oracle9iDev\ora92\lib\xmlparserv2.jar;C:\oracle9iDev\ora92\jdk\jre\lib\ext\jndi.jar;C:\oracle9iDev\ora92\BC4J\lib\bc4jdomorcl.jar;C:\oracle9iDev\ora92\BC4J\jlib\bc4jdatum.jar;C:\oracle9iDev\ora92\jdbc\lib\classes12.jar;C:\oracle9iDev\ora92\jdbc\lib\nls_charset12.jar;C:\oracle9iDev\ora92\jlib\jdev-cm.jar;C:\oracle9iDev\ora92\j2ee\home\lib\ojsp.jar;C:\oracle9iDev\ora92\j2ee\home\lib\ojsputil.jar;C:\oracle9iDev\ora92\j2ee\home\oc4j.jar;C:\oracle9iDev\ora92\lib\servlet.jar;C:\oracle9iDev\ora92\jdev\lib\ojc.jar;C:\oracle9iDev\ora92\j2ee\home\oc4j.jar;C:\oracle9iDev\ora92\lib\servlet.jar;C:\oracle9iDev\ora92\lib\xmlparserv2.jar;C:\oracle9iDev\ora92\lib\xmlcomp.jar;C:\oracle9iDev\ora92\BC4J\jlib\bc4jtester.jar;C:\oracle9iDev\ora92\jlib\jdev-cm.jar;C:\oracle9iDev\ora92\lib\xmlparserv2.jar;C:\oracle9iDev\ora92\jlib\help4-nls.jar;C:\oracle9iDev\ora92\jlib\help4.jar;C:\oracle9iDev\ora92\jlib\share.jar;C:\oracle9iDev\ora92\jlib\jewt4-nls.jar;C:\oracle9iDev\ora92\jlib\jewt4.jar;C:\oracle9iDev\ora92\jlib\oracle_ice5.jar;C:\oracle9iDev\ora92\BC4J\lib\bc4jmtejb.jar;C:\oracle9iDev\ora92\j2ee\home\ejb.jar;C:\oracle9iDev\ora92\jdk\jre\lib\ext\jndi.jar;C:\oracle9iDev\ora92\j2ee\home\oc4j.jar;C:\oracle9iDev\ora92\BC4J\lib\bc4jct.jar;C:\oracle9iDev\ora92\BC4J\lib\bc4jctejb.jar;C:\oracle9iDev\ora92\BC4J\lib\collections.jar;C:\oracle9iDev\ora92\j2ee\home\ejb.jar;C:\oracle9iDev\ora92\jdk\jre\lib\ext\jndi.jar;C:\oracle9iDev\ora92\jdk\jre\lib\ext\activation.jar;C:\oracle9iDev\ora92\jdk\jre\lib\ext\jcert.jar;C:\oracle9iDev\ora92\jdk\jre\lib\ext\jndi.jar;C:\oracle9iDev\ora92\jdk\jre\lib\ext\jnet.jar;C:\oracle9iDev\ora92\jdk\jre\lib\ext\jta.jar;C:\oracle9iDev\ora92\jdk\jre\lib\ext\mail.jar;C:\oracle9iDev\ora92\j2ee\home\ejb.jar;C:\oracle9iDev\ora92\j2ee\home\jaxp.jar;C:\oracle9iDev\ora92\j2ee\home\jdbc.jar;C:\oracle9iDev\ora92\j2ee\home\jaas.jar;C:\oracle9iDev\ora92\j2ee\home\jsse.jar;C:\oracle9iDev\ora92\soap\lib\soap.jar;C:\oracle9iDev\ora92\lib\xmlparserv2.jar;C:\oracle9iDev\ora92\jlib\javax-ssl-1_2.jar;C:\oracle9iDev\ora92\jlib\jssl-1_2.jar;C:\oracle9iDev\ora92\jdk\jre\lib\ext\activation.jar;C:\oracle9iDev\ora92\jdk\jre\lib\ext\mail.jar;C:\oracle9iDev\ora92\j2ee\home\lib\http_client.jar -Dhttp.proxyHost=http -Dhttp.proxyPort=//PROXY:80 com.webMethods.GetAltoDetails
Context context = null; context = new Context(); Instance of Context created No of details = 2
Details[0] CountyText = Merseyside
Details[1] CountyText = Merseyside Process exited with exit code 0.
However, when invoke the class from withing the J2EE applicationI get the following error message when it tries to create an instance of the class 'Context':
[Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
C:\oracle9iDev\ora92\jdk\bin\javaw.exe -hotspot -classpath C:\oracle9iDev\ora92\j2ee\home\oc4j.jar -Dhttp.proxyHost=http -Dhttp.proxyPort=//PROXY:80 com.evermind.server.OC4JServer -config C:\oracle9iDev\ora92\jdev\system\oc4j-config\server.xml
[waiting for the server to complete its initialization...]
Oracle9iAS (9.0.2.0.0) Containers for J2EE initialized
Target URL -- http://10.45.4.28:8988/msd/Login/Login.jsp
Context context = null;
context = new Context();
Caught ExceptionInInitializerError
null
java.lang.ExceptionInInitializerError: java.lang.SecurityException: Self-Integrity Check FAILED: java.lang.SecurityException: java.security.PrivilegedActionException <<java.util.zip.ZipException: error in opening zip file>> at com.entrust.toolkit.security.provider.JCEVerifierImpl.checkIntegrity(Unknown Source) at com.entrust.toolkit.security.provider.Entrust.<init>(Unknown Source) at com.wm.app.b2b.client.BaseContext.<clinit>(BaseContext.java:109)
at MSD.OrderProcessingCTL.getAltoDetailsFromWebservice(OrderProcessingCTL.java:1795)
at java.lang.reflect.Method.invoke(Native Method)
at com.framework.BaseRouterServlet.invokeControllerMethod(BaseRouterServlet.java:283)
at com.framework.BaseRouterServlet.doPost(BaseRouterServlet.java:127)
at com.framework.BaseRouterServlet.doGet(BaseRouterServlet.java:46)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:195)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:309)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:684)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:269)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:735)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:243)
at com.evermind.util.ThreadPoolThread.run(ThreadPoolThread.java:64)
Any ideas why this happening?I've managed to fix this myself now.
It turned out to be a classpath issue. The J2EE application cannot find 'com.wm.app.b2b.client.Context' when it tries to create an istance of it.
I resolved it by putting the client.jar and entrust folder in the the $JAVA_HOME\jre\lib\ext folder instead of ..\WEB-INF\lib.
The following document is very revealing:
http://www.oracle.com/technology/tech/java/oc4j/pdf/ClassLoadingInOC4J_WP.pdf -
Urgent Help:java.lang.ExceptionInInitializerError in JasperReports
the following is the java code:
Map params = new HashMap();
params.put("order_type", "This is Test Print");
JRXmlDataSource ds = new JRXmlDataSource(outXML, "/Order");
InputStream is =Class.forName( "com.w3c.dom.Document").getResourceAsStream
"/TestPrint.jasper");
net.sf.jasperreports.engine.JasperPrint jp =
JasperFillManager.fillReport(is, params, ds);
JasperExportManager.exportReportToPdf(jp);
i reckon iam getting this error in the above highlighted code...
i have all the necessary jars in weblogic's classpath!!
just a thought...is this because of any mismatch in the jar version?
on refreshing the page the cause becomes java.lang.NoClassDefFoundError
ANY POINTERS TO WHY THIS IS HAPPENING???
java.lang.ExceptionInInitializerError
at net.sf.jasperreports.engine.fill.JRFillObjectFactory.getStaticText(JRFillObjectFactory.java:494)
at net.sf.jasperreports.engine.base.JRBaseStaticText.getCopy(JRBaseStaticText.java:93)
at net.sf.jasperreports.engine.fill.JRFillElementGroup.<init>(JRFillElementGroup.java:88)
at net.sf.jasperreports.engine.fill.JRFillElementContainer.<init>(JRFillElementContainer.java:88)
at net.sf.jasperreports.engine.fill.JRFillBand.<init>(JRFillBand.java:77)
at net.sf.jasperreports.engine.fill.JRFillObjectFactory.getBand(JRFillObjectFactory.java:374)
at net.sf.jasperreports.engine.fill.JRBaseFiller.<init>(JRBaseFiller.java:386)
at net.sf.jasperreports.engine.fill.JRVerticalFiller.<init>(JRVerticalFiller.java:92)
at net.sf.jasperreports.engine.fill.JRVerticalFiller.<init>(JRVerticalFiller.java:74)
at net.sf.jasperreports.engine.fill.JRFiller.createFiller(JRFiller.java:147)
at net.sf.jasperreports.engine.fill.JRFiller.fillReport(JRFiller.java:83)
at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:601)
at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:582)
at com.yantra.interop.services.flowcomponents.TestPrint1.testPrint(TestPrint1.java:48)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.yantra.interop.services.api.ApiHelper.invoke(ApiHelper.java:155)
at com.yantra.interop.services.flowcomponents.ApiFlowComponent.execute(ApiFlowComponent.java:161)
at com.yantra.interop.services.flowcomponents.ApiFlowComponent.send(ApiFlowComponent.java:200)
at com.yantra.integration.adapter.FlowExecutor.execute(FlowExecutor.java:359)
at com.yantra.integration.adapter.SynchronousIntegrationFlow.executeFlow(SynchronousIntegrationFlow.java:215)
at com.yantra.interop.services.api.ApiRequestDispatcher.executeFlow(ApiRequestDispatcher.java:90)
at com.yantra.interop.client.InteropHttpServlet.processRequest(InteropHttpServlet.java:156)
at com.yantra.interop.client.InteropHttpServlet.doPost(InteropHttpServlet.java:80)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:996)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6452)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3661)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2630)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
Caused by: java.lang.NullPointerException
at com.trend.iwss.jscan.appscan.runtime.PolicyRuntime.getB64StrProp(PolicyRuntime.java:188)
at com.trend.iwss.jscan.appscan.runtime.PolicyRuntime.<init>(PolicyRuntime.java:91)
at com.trend.iwss.jscan.appscan.runtime.MiscPolicyRuntime.<init>(MiscPolicyRuntime.java:132)
at com.trend.iwss.jscan.appscan.runtime.MiscPolicyRuntime$Factory.make(MiscPolicyRuntime.java:254)
at com.trend.iwss.jscan.appscan.runtime.PolicyRuntime.accessInstance(PolicyRuntime.java:225)
at com.trend.iwss.jscan.appscan.runtime.PolicyRuntime.preFilter(PolicyRuntime.java:127)
at com.trend.iwss.jscan.appscan.runtime.MiscPolicyRuntime.preFilter(MiscPolicyRuntime.java:142)
at org.apache.commons.logging.LogFactory.getFactory(LogFactory.java:277)
at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:390)
at net.sf.jasperreports.engine.fill.JRFillTextElement.<clinit>(JRFillTextElement.java:61)
... 38 more
java.lang.ExceptionInInitializerError
at net.sf.jasperreports.engine.fill.JRFillObjectFactory.getStaticText(JRFillObjectFactory.java:494)
at net.sf.jasperreports.engine.base.JRBaseStaticText.getCopy(JRBaseStaticText.java:93)
at net.sf.jasperreports.engine.fill.JRFillElementGroup.<init>(JRFillElementGroup.java:88)
at net.sf.jasperreports.engine.fill.JRFillElementContainer.<init>(JRFillElementContainer.java:88)
at net.sf.jasperreports.engine.fill.JRFillBand.<init>(JRFillBand.java:77)
at net.sf.jasperreports.engine.fill.JRFillObjectFactory.getBand(JRFillObjectFactory.java:374)
at net.sf.jasperreports.engine.fill.JRBaseFiller.<init>(JRBaseFiller.java:386)
at net.sf.jasperreports.engine.fill.JRVerticalFiller.<init>(JRVerticalFiller.java:92)
at net.sf.jasperreports.engine.fill.JRVerticalFiller.<init>(JRVerticalFiller.java:74)
at net.sf.jasperreports.engine.fill.JRFiller.createFiller(JRFiller.java:147)
at net.sf.jasperreports.engine.fill.JRFiller.fillReport(JRFiller.java:83)
at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:601)
at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:582)
at com.yantra.interop.services.flowcomponents.TestPrint1.testPrint(TestPrint1.java:48)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.yantra.interop.services.api.ApiHelper.invoke(ApiHelper.java:155)
at com.yantra.interop.services.flowcomponents.ApiFlowComponent.execute(ApiFlowComponent.java:161)
at com.yantra.interop.services.flowcomponents.ApiFlowComponent.send(ApiFlowComponent.java:200)
at com.yantra.integration.adapter.FlowExecutor.execute(FlowExecutor.java:359)
at com.yantra.integration.adapter.SynchronousIntegrationFlow.executeFlow(SynchronousIntegrationFlow.java:215)
at com.yantra.interop.services.api.ApiRequestDispatcher.executeFlow(ApiRequestDispatcher.java:90)
at com.yantra.interop.client.InteropHttpServlet.processRequest(InteropHttpServlet.java:156)
at com.yantra.interop.client.InteropHttpServlet.doPost(InteropHttpServlet.java:80)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:996)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6452)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3661)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2630)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
Caused by: java.lang.NullPointerException
at com.trend.iwss.jscan.appscan.runtime.PolicyRuntime.getB64StrProp(PolicyRuntime.java:188)
at com.trend.iwss.jscan.appscan.runtime.PolicyRuntime.<init>(PolicyRuntime.java:91)
at com.trend.iwss.jscan.appscan.runtime.MiscPolicyRuntime.<init>(MiscPolicyRuntime.java:132)
at com.trend.iwss.jscan.appscan.runtime.MiscPolicyRuntime$Factory.make(MiscPolicyRuntime.java:254)
at com.trend.iwss.jscan.appscan.runtime.PolicyRuntime.accessInstance(PolicyRuntime.java:225)
at com.trend.iwss.jscan.appscan.runtime.PolicyRuntime.preFilter(PolicyRuntime.java:127)
at com.trend.iwss.jscan.appscan.runtime.MiscPolicyRuntime.preFilter(MiscPolicyRuntime.java:142)
at org.apache.commons.logging.LogFactory.getFactory(LogFactory.java:277)
at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:390)
at net.sf.jasperreports.engine.fill.JRFillTextElement.<clinit>(JRFillTextElement.java:61)
... 38 morePatrick-
My best guess is that you did not include some required library in the
runtime "required libraries" for your project. My first guess is that
you missed the JDO library jar, since missing that would certainly
result in an ExceptionInInitializerError when loading your persistent
classes.
You might also run the program in the debugger and see if you get a more
telling stack trace.
In article <bkuuef$9di$[email protected]>, Patrick Pracht wrote:
Hello all,
I am currently developing a webapp using Kodo-2.5.3, MySQL-DB, JBuilder9,
Tomcat4.1.
Everything worked as expected until I have been running the Metadata tool
and Schematool from within JBuilder for a new class.
After doing this , when I attempt to run the webapp from within JBuilder,
the build process stops with the following message displayed in the
build-panel of JBuilder: java.lang.ExceptionInInitializerError
Since I have no further indication of what causes the problem (Filename,
location, Stacktrace, etc.) I really don't know how to proceed. The only
thing that I can see by looking at the kodo msg panel is, that Kodo did not
parse all the persistent classes.
Can anybody tell me how this problem could be tracked down?
Is there any log-file I could have a look at?
Thanks in advance for your help.
regards
Patrick
Marc Prud'hommeaux [email protected]
SolarMetric Inc. http://www.solarmetric.com -
Java.lang.ExceptionInInitializerError in JBuilder9
Hello all,
I am currently developing a webapp using Kodo-2.5.3, MySQL-DB, JBuilder9,
Tomcat4.1.
Everything worked as expected until I have been running the Metadata tool
and Schematool from within JBuilder for a new class.
After doing this , when I attempt to run the webapp from within JBuilder,
the build process stops with the following message displayed in the
build-panel of JBuilder: java.lang.ExceptionInInitializerError
Since I have no further indication of what causes the problem (Filename,
location, Stacktrace, etc.) I really don't know how to proceed. The only
thing that I can see by looking at the kodo msg panel is, that Kodo did not
parse all the persistent classes.
Can anybody tell me how this problem could be tracked down?
Is there any log-file I could have a look at?
Thanks in advance for your help.
regards
PatrickPatrick-
My best guess is that you did not include some required library in the
runtime "required libraries" for your project. My first guess is that
you missed the JDO library jar, since missing that would certainly
result in an ExceptionInInitializerError when loading your persistent
classes.
You might also run the program in the debugger and see if you get a more
telling stack trace.
In article <bkuuef$9di$[email protected]>, Patrick Pracht wrote:
Hello all,
I am currently developing a webapp using Kodo-2.5.3, MySQL-DB, JBuilder9,
Tomcat4.1.
Everything worked as expected until I have been running the Metadata tool
and Schematool from within JBuilder for a new class.
After doing this , when I attempt to run the webapp from within JBuilder,
the build process stops with the following message displayed in the
build-panel of JBuilder: java.lang.ExceptionInInitializerError
Since I have no further indication of what causes the problem (Filename,
location, Stacktrace, etc.) I really don't know how to proceed. The only
thing that I can see by looking at the kodo msg panel is, that Kodo did not
parse all the persistent classes.
Can anybody tell me how this problem could be tracked down?
Is there any log-file I could have a look at?
Thanks in advance for your help.
regards
Patrick
Marc Prud'hommeaux [email protected]
SolarMetric Inc. http://www.solarmetric.com -
I get java.lang.ExceptionInInitializerError
Here is the code:
public class m2q8 {
static int[] a;
static { a[0]=2; }
public static void main( String[] args) {}
}java.lang.ExceptionInInitializerError
Caused by: java.lang.NullPointerException
at m2q8.<clinit>(m2q8.java:3)
Could not find the main class: m2q8. Program will exit.
Exception in thread "main"
Process completed.
I don't get it...JavaMessi wrote:
how would the code looks like if I want to initialize it first?It does not matter - you never use it.
public class M2q8 {
static int[] A;
static { A = new int[]{2}; /* A[0]=2; */ }
public static final void main(final String[] arg) {
System.out.println(java.util.Arrays.toString(A));
JavaMessi wrote: [in reply 15|http://forums.sun.com/thread.jspa?messageID=11014537#11014537]
I need to take the scjp test You need to review your career options. -
Java.lang.ExceptionInInitializerError,Could not instantiate TransactionMana
hi all,
<b>i am using SAP Netweaver Developer studio. have problem using hibernate in a EJB Modul Project. i have create a stateless session bean to writie the bussiness logic using my hibernate mapping classes, but somehow i get the error:</b>
Details: com.sap.engine.services.ejb.exceptions.BaseEJBException: Exception in method createPerson.
at src.ejb.HibernateLocalLocalObjectImpl0.createPerson(HibernateLocalLocalObjectImpl0.java:407)
at com.servlet.TestServlet.doPost(TestServlet.java:66)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:391)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:265)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:345)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:323)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:865)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:240)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)
at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:162)
Caused by: java.lang.ExceptionInInitializerError
at src.hibernate.HibernateSessionFactory.<clinit>(HibernateSessionFactory.java:29)
at src.ejb.HibernateBean.createPerson(HibernateBean.java:158)
at src.ejb.HibernateLocalLocalObjectImpl0.createPerson(HibernateLocalLocalObjectImpl0.java:391)
... 17 more
Caused by: org.hibernate.HibernateException: Could not instantiate TransactionManagerLookup
at org.hibernate.transaction.TransactionManagerLookupFactory.getTransactionManagerLookup(TransactionManagerLookupFactory.java:47)
at org.hibernate.transaction.JTATransactionFactory.configure(JTATransactionFactory.java:48)
at org.hibernate.transaction.TransactionFactoryFactory.buildTransactionFactory(TransactionFactoryFactory.java:51)
at org.hibernate.cfg.SettingsFactory.createTransactionFactory(SettingsFactory.java:401)
at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:129)
at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:1933)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1216)
at src.hibernate.HibernateSessionFactory.<clinit>(HibernateSessionFactory.java:24)
... 19 more
<b>is there anybody can tell me why i am getting this error? i was sitting in front of the computer for days now, but could find out where i am doing wrong.
i have tested my hibernate classes without session beans(in a normal java Project, every thing works fine. and i tried to do exactly what they have done in the HibernateExampleEHCache examples, to combine my hibernate with session beans together, but couldn't get the programm running. </b>Are you sure this is the right value for the class name?
org.hibernate.transaction.SAPWebASTransactionManagerLookup
<b>No, i am not sure. i just copied it from a example. but i think i will not need it. so i have deleted them now.</b>
Looks as well like you have implemented a primary index scheme (next value) that is not supported by your DB ?
See error on DUAL
<b>I just used sequence for the primary key in my Person.hbm.xml. even i change it to native, it comes back with the same error too.</b>
<b>Person.hbm.xml:</b>
<class name="src.hibernate.Person" table="TMP_PERSON">
<id name="id" column="PERSONID">
<generator class="native"/>
<b>java class:</b>
public class Person {
private Long id;
getter and setter
<b>my method in a stateless session bean:</b>
public Long createPerson(
String surname,
String firstname,
String tel,
String email) {
Session session = null;
Transaction tx = null;
try {
session = HibernateSessionFactory.openSession();
tx = session.beginTransaction();
Person aPerson = new Person();
aPerson.setSurname(surname);
aPerson.setFirstname(firstname);
aPerson.setTelNr(tel);
aPerson.setEmail(email);
Long personId = (Long)session.save(aPerson);
tx.commit();
return personId;
} catch (HibernateException e) {
if (tx != null)
tx.rollback();
throw new HibernateException(e);
} finally {
HibernateSessionFactory.closeSession(session); -
Java.lang.ExceptionInInitializerError when trying to deploy my app
I am trying to port my application from weblogic 8.1.0 to 8.1.1 with SP1. When
I port the application I get this "error java.lang.ExceptionInInitializerError".
The detail of the error is given below. The "LoanGeniusFrontControllerServlet"
refered to in the error is my startup servlet. It extends from struts ActionServlet.....
Any help on this regard is very welcome...
<Dec 18, 2003 6:24:46 PM PST> <Error> <HTTP> <BEA-101254> <[ServletContext(id=4934480,name
=LoanGeniusWeb,context-path=/LoanGeniusWeb)]: Servlet class com.tavant.lg.controller.servl
et.LoanGeniusFrontControllerServlet for servlet LoanGeniusFrontControllerServlet
could not
be handled by the classloader with classpath......ExceptionInInitializerError indicates that your static initializer
failed. Check your static {} blocks in the class or static variables
which are assigned.
-- Rob
Balavenu Nuti wrote:
I am trying to port my application from weblogic 8.1.0 to 8.1.1 with SP1. When
I port the application I get this "error java.lang.ExceptionInInitializerError".
The detail of the error is given below. The "LoanGeniusFrontControllerServlet"
refered to in the error is my startup servlet. It extends from struts ActionServlet.....
Any help on this regard is very welcome...
<Dec 18, 2003 6:24:46 PM PST> <Error> <HTTP> <BEA-101254> <[ServletContext(id=4934480,name
=LoanGeniusWeb,context-path=/LoanGeniusWeb)]: Servlet class com.tavant.lg.controller.servl
et.LoanGeniusFrontControllerServlet for servlet LoanGeniusFrontControllerServlet
could not
be handled by the classloader with classpath...... -
Java.lang.ExceptionInInitializerError question
Hi, the following two postings were sent to the Programming forum, and we were referred to the Cryptography forum. Any ides on this problem, cryptography gurus?
This topic has 2 replies on 1 page (Most recent message: Jul 8, 2002 11:27 AM)
Having a problem with Java Cryptography Extension (JCE)
Author: dnhll23 Jul 6, 2002 2:11 AM
Hi, this is my first attempt at using the JCE. I'm using JCE 1.2.1
and basically all I'm trying to do at this point is encrypt a
FileInputStream object using the DES standard, with the JCE
classes. Here is my code Fragment.
protected FileOutputStream encriptFile(FileInputStream baseFile,
File encFileName) throws IOException
try
// Create the output file for the encrypted document
FileOutputStream encriptedFile = new FileOutputStream
(encFileName);
// Must register the provider that implements the algorithm
Provider sunJce = new com.sun.crypto.provider.SunJCE();
Security.addProvider(sunJce);
char[] pbeKeyData = password.toCharArray();
PBEKeySpec pbeKeySpec = new PBEKeySpec(pbeKeyData);
SecretKeyFactory keyFactory = SecretKeyFactory.getInstance
("DES");
SecretKey pbeKey = keyFactory.generateSecret(pbeKeySpec);
Cipher pbe = Cipher.getInstance("DES"); // Same as above.
pbe.init(Cipher.ENCRYPT_MODE, pbeKey);
CipherOutputStream cout = new CipherOutputStream
(encriptedFile, pbe);
// Use a byte array to write the file output in blocks of 64
bytes.
byte[] buffer = new byte[64];
while (true)
int bytesRead = -1;
bytesRead = baseFile.read(buffer);
if (bytesRead == -1) break;
cout.write(buffer, 0, bytesRead);
cout.flush();
cout.close();
baseFile.close(); // Close the input file.
catch (java.security.NoSuchAlgorithmException nsA)
System.err.println(nsA);
nsA.printStackTrace();
catch (java.lang.ExceptionInInitializerError eIIE)
System.err.println(eIIE);
eIIE.printStackTrace();
catch (Exception e)
System.err.println(e);
e.printStackTrace();
My problem arises with the line "SecretKeyFactory keyFactory =
SecretKeyFactory.getInstance("DES");" This line throws an
ExceptionInInitializerError and the catch block tells me this
java.lang.ExceptionInInitializerError
java.lang.ExceptionInInitializerError: java.lang.SecurityException:
Cannot set up certs for trusted CAs
(The rst of the stackCall here)...
From what I've read in the documentation, I need to have a provider
set up that handles the SecretKeyFactory and encryption algorithms,
but the documentation also says that the SunJCE provider that I set
up near the start of my method should have been able to handle this.
Is there anyone out there with expeience doing this kind of thing
that can help.
Thanks
Re: Having a problem with Java Cryptography Extension (JCE)
Author: mutmansky
In Reply To: Having a problem with Java Cryptography Extension (JCE) Jul 8, 2002 11:22 AM
Reply 1 of 2
Have you figured out an answer to this problem yet? I'm having a very similar problem. I'm running an applet that needs to decrypt information that it is retrieving from CORBA and I'm getting the following exception:
java.lang.ExceptionInInitializerError
at javax.crypto.Cipher.getInstance(DashoA6275)
at CorbaDecrypt.doDecryption(CorbaDecrypt.java:132)
at EventChannelListener.run(EventChannelListener.java:325)
Caused by: java.lang.SecurityException: Cannot set up certs for trusted CAs: java.lang.SecurityException: Cannot verify jar:file:C:/PROGRA~1/Java/J2RE14~1.0_0/lib/security/local_policy.jar!/
at javax.crypto.SunJCE_b.<clinit>(DashoA6275)
... 3 more
I'm using JDK 1.4 so, there's no need for my code to have the two Provider setup lines, but otherwise my code looks much the same as yours. The code works fine when run in a test app on the server, but not in the Applet. The file that it's looking to verify (local_policy.jar) does not exist, and I don't want to create one manually, because my users would have to do that then too, which is unacceptable. I am using a trusted applet, so I'm not sure what more I can do to grant the applet the proper permissions. Does anyone have any ideas what we need to do here?
Thanks.
SteveHi all --
I'm have the same problem as the initially posted question. I'm using JDK 1.3.03 and I get the following excepion:
Exception in thread "main" java.lang.ExceptionInInitializerError: java.lang.SecurityException: Cannot set up certs for trusted CAs
at javax.crypto.b.<clinit>([DashoPro-V1.2-120198])
at javax.crypto.SecretKeyFactory.getInstance([DashoPro-V1.2-120198])
at PasswordEncoder.encrypt(PasswordEncoder.java:28)
at PasswordEncoder.main(PasswordEncoder.java:89)
I've followed all the instructions for installation and configuration in the JCE User's Guide.
Any suggestions?
Thanks all.
Niran -
I've been developing an app on Linux and had the JDBC connector working fine, connecting to mySQL.
Now when I try to run it on Solaris 2.8 with Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05), I get the following error trying a connect...
Exception in thread "main" java.lang.ExceptionInInitializerError
at com.mysql.jdbc.Connection.<init>(Connection.java:1175)
at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:266)
at java.sql.DriverManager.getConnection(DriverManager.java:525)
at java.sql.DriverManager.getConnection(DriverManager.java:193)
at ps.DataCollector.getData(DataCollector.java:46)
at ps.PacketSchedular.main(PacketSchedular.java:30)
Caused by: java.lang.RuntimeException: Unable to initialize character set mapping tables
at com.mysql.jdbc.CharsetMapping.<clinit>(CharsetMapping.java:73)
... 6 more
my java file is ....
public class DataCollector {
private String database = "oui";
private String user = "user";
private String passwd = "password";
private int portNum = 3306;
public DataCollector () {
public void getData() {
Statement stmt = null;
Connection conn = null;
ResultSet rs = null;
try {
Class.forName("com.mysql.jdbc.Driver").newInstance();
conn = DriverManager.getConnection("jdbc:mysql://127.0.0.1:3306/" + database + "?port=" + portNum + "&user=" + user + "&password=" + passwd + "&autoReconnect=false");
etc
etc
I'm using the mysql connector 'mysql-connector-java-3.1.8-bin.jar' and i've also downgraded to an earlier release which had no positive effect.
Google (unusually) has given me no hints!
Any suggestions as to what may be causing this?
ThanksI can connect to the server locally and also telnet to port 3306 and get a response!
telnet localhost 3306Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
4
5.0.18LIVU'`/hA,I*7tf~jx>iu2
I use this same server with Perl every day (although Perl is using a socket to connect).
I've searched pretty much everywhere for a fix - but to no avail.
Thanks -
When I create an EJB Transport Business Service, after selecting the jar that has the EJB 2.1 artefacts (Remote, Home, etc) the oepe plugin fails and can't continue.
As I understand it seems that there is a problem with the classpath of ant build.xml that oepe creates inside folder /tmp/alsbejbtransport/ to compile the bs and generate the wsdl. I checked if tools.jar is in the classpath (in eclipse) and is included, so I can't figure out wich is the problem.
I found this in Oracle, but not helps solve the problem:
BEA-398120
Error: The WSDL for the typed transport endpoint could not be accessed.
Description
There was a problem retrieving the WSDL from the typed transport service endpoint at the time of service registration
Action
Contact technical support
This is the the full stacktrace that shows eclipse.
Generate : Error during generation of the WSDL:
BUILD FAILED
java.lang.NoClassDefFoundError: com/sun/javadoc/Type
at com.bea.util.jam.provider.JamServiceFactoryImpl.createSourceBuilder(JamServiceFactoryImpl.java:205)
at com.bea.util.jam.provider.JamServiceFactoryImpl.createBuilder(JamServiceFactoryImpl.java:158)
at com.bea.util.jam.provider.JamServiceFactoryImpl.createClassLoader(JamServiceFactoryImpl.java:137)
at com.bea.util.jam.provider.JamServiceFactoryImpl.createService(JamServiceFactoryImpl.java:78)
at weblogic.wsee.util.JamUtil.parseSource(JamUtil.java:152)
at weblogic.wsee.tools.anttasks.JwsLoader.loadJClasses(JwsLoader.java:186)
at weblogic.wsee.tools.anttasks.JwsLoader.load(JwsLoader.java:75)
at weblogic.wsee.tools.anttasks.JwsModule.loadWebServices(JwsModule.java:569)
at weblogic.wsee.tools.anttasks.JwsModule.generate(JwsModule.java:369)
at weblogic.wsee.tools.anttasks.JwsModule.build(JwsModule.java:256)
at weblogic.wsee.tools.anttasks.JwscTask.execute(JwscTask.java:184)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:357)
at org.apache.tools.ant.Target.performTasks(Target.java:385)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
at org.apache.tools.ant.Main.runBuild(Main.java:758)
at org.apache.tools.ant.Main.startAnt(Main.java:217)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
Caused by: java.lang.ClassNotFoundException: com.sun.javadoc.Type
at org.apache.tools.ant.AntClassLoader.findClassInComponents(AntClassLoader.java:1400)
at org.apache.tools.ant.AntClassLoader.findClass(AntClassLoader.java:1341)
at org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:1088)
at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
... 27 more
Total time: 0 seconds
Eclipse Installation details:
*** System properties:
eclipse.application=org.eclipse.ui.ide.workbench
eclipse.buildId=M20110909-1335
eclipse.commands=-os
linux
-ws
gtk
-arch
x86_64
-showsplash
-launcher
{home}/Development/oepe-indigo/eclipse
-name
Eclipse
--launcher.library
{home}/Development/oepe-indigo//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.100.v20110505/eclipse_1407.so
-startup
{home}/Development/oepe-indigo//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
--launcher.overrideVmargs
-exitdata
1e418010
-vm
/usr/bin/java
eclipse.home.location=file:{home}/Development/oepe-indigo/
eclipse.launcher={home}/Development/oepe-indigo/eclipse
eclipse.launcher.name=Eclipse
[email protected]/../p2/
eclipse.p2.profile=PlatformProfile
eclipse.product=org.eclipse.platform.ide
eclipse.startTime=1374623921455
eclipse.vm=/usr/bin/java
eclipse.vmargs=-Xms256m
-Xmx768m
-XX:MaxPermSize=512m
-Dsun.lang.ClassLoader.allowArraySyntax=true
-Dweblogic.home={home}/Oracle/Middleware/wlserver_10.3
-Dharvester.home={home}/Oracle/Middleware/Oracle_OSB1/harvester
-Dosb.home={home}/Oracle/Middleware/Oracle_OSB1
-Dosgi.bundlefile.limit=750
-Dosgi.nl=en_US
-Dmiddleware.home={home}/Oracle/Middleware
-jar
{home}/Development/oepe-indigo//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
equinox.use.ds=true
file.encoding=UTF-8
file.encoding.pkg=sun.io
file.separator=/
guice.disable.misplaced.annotation.check=true
harvester.home={home}/Oracle/Middleware/Oracle_OSB1/harvester
http.nonProxyHosts=localhost
java.awt.graphicsenv=sun.awt.X11GraphicsEnvironment
java.awt.printerjob=sun.print.PSPrinterJob
java.class.path={home}/Development/oepe-indigo//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
java.class.version=50.0
java.endorsed.dirs=/usr/lib/jvm/jdk1.6.0_45/jre/lib/endorsed
java.ext.dirs=/usr/lib/jvm/jdk1.6.0_45/jre/lib/ext:/usr/java/packages/lib/ext
java.home=/usr/lib/jvm/jdk1.6.0_45/jre
java.io.tmpdir=/tmp
java.library.path=/usr/lib/jvm/jdk1.6.0_45/jre/lib/amd64/server:/usr/lib/jvm/jdk1.6.0_45/jre/lib/amd64:/usr/lib/jvm/jdk1.6.0_45/jre/../lib/amd64:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
java.protocol.handler.pkgs=null|com.bea.wli.sb.resources.url|com.bea.wli.sb.resources.jca.upgrade.url|weblogic.utils|weblogic.utils|weblogic.utils|weblogic.net|weblogic.net
java.runtime.name=Java(TM) SE Runtime Environment
java.runtime.version=1.6.0_45-b06
java.specification.name=Java Platform API Specification
java.specification.vendor=Sun Microsystems Inc.
java.specification.version=1.6
java.vendor=Sun Microsystems Inc.
java.vendor.url=http://java.sun.com/
java.vendor.url.bug=http://java.sun.com/cgi-bin/bugreport.cgi
java.version=1.6.0_45
java.vm.info=mixed mode
java.vm.name=Java HotSpot(TM) 64-Bit Server VM
java.vm.specification.name=Java Virtual Machine Specification
java.vm.specification.vendor=Sun Microsystems Inc.
java.vm.specification.version=1.0
java.vm.vendor=Sun Microsystems Inc.
java.vm.version=20.45-b01
javax.rmi.CORBA.PortableRemoteObjectClass=weblogic.iiop.PortableRemoteObjectDelegateImpl
javax.rmi.CORBA.UtilClass=weblogic.iiop.UtilDelegateImpl
jna.platform.library.path=/usr/lib/x86_64-linux-gnu:/lib/x86_64-linux-gnu:/lib64:/usr/lib:/lib
line.separator=
middleware.home={home}/Oracle/Middleware
oracle.eclipse.tools.weblogic.ui.isWebLogicServer=true
org.apache.commons.logging.Log=org.apache.commons.logging.impl.NoOpLog
org.eclipse.equinox.launcher.splash.location={home}/Development/oepe-indigo/plugins/org.eclipse.platform_3.7.1.v201109091335/splash.bmp
org.eclipse.equinox.simpleconfigurator.configUrl=file:org.eclipse.equinox.simpleconfigurator/bundles.info
org.eclipse.m2e.log.dir={home}/workspace/pragma/.metadata/.plugins/org.eclipse.m2e.logback.configuration
org.eclipse.update.reconcile=false
org.omg.CORBA.ORBClass=weblogic.corba.orb.ORB
org.omg.CORBA.ORBSingletonClass=weblogic.corba.orb.ORB
org.osgi.framework.executionenvironment=OSGi/Minimum-1.0,OSGi/Minimum-1.1,OSGi/Minimum-1.2,JRE-1.1,J2SE-1.2,J2SE-1.3,J2SE-1.4,J2SE-1.5,JavaSE-1.6
org.osgi.framework.language=en
org.osgi.framework.os.name=Linux
org.osgi.framework.os.version=3.8.0
org.osgi.framework.processor=x86-64
org.osgi.framework.system.capabilities=osgi.ee; osgi.ee="OSGi/Minimum"; version:List<Version>="1.0, 1.1, 1.2",osgi.ee; osgi.ee="JavaSE"; version:List<Version>="1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6"
org.osgi.framework.system.packages=javax.accessibility,javax.activation,javax.activity,javax.annotation,javax.annotation.processing,javax.crypto,javax.crypto.interfaces,javax.crypto.spec,javax.imageio,javax.imageio.event,javax.imageio.metadata,javax.imageio.plugins.bmp,javax.imageio.plugins.jpeg,javax.imageio.spi,javax.imageio.stream,javax.jws,javax.jws.soap,javax.lang.model,javax.lang.model.element,javax.lang.model.type,javax.lang.model.util,javax.management,javax.management.loading,javax.management.modelmbean,javax.management.monitor,javax.management.openmbean,javax.management.relation,javax.management.remote,javax.management.remote.rmi,javax.management.timer,javax.naming,javax.naming.directory,javax.naming.event,javax.naming.ldap,javax.naming.spi,javax.net,javax.net.ssl,javax.print,javax.print.attribute,javax.print.attribute.standard,javax.print.event,javax.rmi,javax.rmi.CORBA,javax.rmi.ssl,javax.script,javax.security.auth,javax.security.auth.callback,javax.security.auth.kerberos,javax.security.auth.login,javax.security.auth.spi,javax.security.auth.x500,javax.security.cert,javax.security.sasl,javax.sound.midi,javax.sound.midi.spi,javax.sound.sampled,javax.sound.sampled.spi,javax.sql,javax.sql.rowset,javax.sql.rowset.serial,javax.sql.rowset.spi,javax.swing,javax.swing.border,javax.swing.colorchooser,javax.swing.event,javax.swing.filechooser,javax.swing.plaf,javax.swing.plaf.basic,javax.swing.plaf.metal,javax.swing.plaf.multi,javax.swing.plaf.synth,javax.swing.table,javax.swing.text,javax.swing.text.html,javax.swing.text.html.parser,javax.swing.text.rtf,javax.swing.tree,javax.swing.undo,javax.tools,javax.transaction,javax.transaction.xa,javax.xml,javax.xml.bind,javax.xml.bind.annotation,javax.xml.bind.annotation.adapters,javax.xml.bind.attachment,javax.xml.bind.helpers,javax.xml.bind.util,javax.xml.crypto,javax.xml.crypto.dom,javax.xml.crypto.dsig,javax.xml.crypto.dsig.dom,javax.xml.crypto.dsig.keyinfo,javax.xml.crypto.dsig.spec,javax.xml.datatype,javax.xml.namespace,javax.xml.parsers,javax.xml.soap,javax.xml.stream,javax.xml.stream.events,javax.xml.stream.util,javax.xml.transform,javax.xml.transform.dom,javax.xml.transform.sax,javax.xml.transform.stax,javax.xml.transform.stream,javax.xml.validation,javax.xml.ws,javax.xml.ws.handler,javax.xml.ws.handler.soap,javax.xml.ws.http,javax.xml.ws.soap,javax.xml.ws.spi,javax.xml.ws.wsaddressing,javax.xml.xpath,org.ietf.jgss,org.omg.CORBA,org.omg.CORBA_2_3,org.omg.CORBA_2_3.portable,org.omg.CORBA.DynAnyPackage,org.omg.CORBA.ORBPackage,org.omg.CORBA.portable,org.omg.CORBA.TypeCodePackage,org.omg.CosNaming,org.omg.CosNaming.NamingContextExtPackage,org.omg.CosNaming.NamingContextPackage,org.omg.Dynamic,org.omg.DynamicAny,org.omg.DynamicAny.DynAnyFactoryPackage,org.omg.DynamicAny.DynAnyPackage,org.omg.IOP,org.omg.IOP.CodecFactoryPackage,org.omg.IOP.CodecPackage,org.omg.Messaging,org.omg.PortableInterceptor,org.omg.PortableInterceptor.ORBInitInfoPackage,org.omg.PortableServer,org.omg.PortableServer.CurrentPackage,org.omg.PortableServer.POAManagerPackage,org.omg.PortableServer.POAPackage,org.omg.PortableServer.portable,org.omg.PortableServer.ServantLocatorPackage,org.omg.SendingContext,org.omg.stub.java.rmi,org.w3c.dom,org.w3c.dom.bootstrap,org.w3c.dom.css,org.w3c.dom.events,org.w3c.dom.html,org.w3c.dom.ls,org.w3c.dom.ranges,org.w3c.dom.stylesheets,org.w3c.dom.traversal,org.w3c.dom.views,org.w3c.dom.xpath,org.xml.sax,org.xml.sax.ext,org.xml.sax.helpers
org.osgi.framework.uuid=901615cd-f3f3-0012-11b6-a3bca4d97ac1
org.osgi.framework.vendor=Eclipse
org.osgi.framework.version=1.6.0
org.osgi.supports.framework.extension=true
org.osgi.supports.framework.fragment=true
org.osgi.supports.framework.requirebundle=true
os.arch=amd64
os.name=Linux
os.version=3.8.0-26-generic
osb.home={home}/Oracle/Middleware/Oracle_OSB1
osgi.arch=x86_64
osgi.bundlefile.limit=750
osgi.bundles=reference:file:javax.transaction_1.1.1.v201105210645.jar,reference:file:org.eclipse.equinox.simpleconfigurator_1.0.200.v20110502-1955.jar@1:start
osgi.bundles.defaultStartLevel=4
osgi.bundlestore={home}/Development/oepe-indigo/configuration/org.eclipse.osgi/bundles
osgi.configuration.area=file:{home}/Development/oepe-indigo/configuration/
osgi.framework=file:{home}/Development/oepe-indigo/plugins/org.eclipse.osgi_3.7.1.R37x_v20110808-1106.jar
osgi.framework.extensions=reference:file:javax.transaction_1.1.1.v201105210645.jar
osgi.framework.shape=jar
osgi.framework.version=3.7.1.R37x_v20110808-1106
osgi.frameworkClassPath=., file:{home}/Development/oepe-indigo/plugins/javax.transaction_1.1.1.v201105210645.jar
osgi.install.area=file:{home}/Development/oepe-indigo/
osgi.instance.area=file:{home}/workspace/pragma/
osgi.instance.area.default=file:{home}/workspace/
osgi.logfile={home}/workspace/pragma/.metadata/.log
osgi.manifest.cache={home}/Development/oepe-indigo/configuration/org.eclipse.osgi/manifests
osgi.nl=en_US
osgi.nl.user=en_US
osgi.os=linux
osgi.splashLocation={home}/Development/oepe-indigo/plugins/org.eclipse.platform_3.7.1.v201109091335/splash.bmp
osgi.splashPath=platform:/base/plugins/org.eclipse.platform
osgi.syspath={home}/Development/oepe-indigo/plugins
osgi.tracefile={home}/workspace/pragma/.metadata/trace.log
osgi.ws=gtk
path.separator=:
securerandom.source=file:/dev/./urandom
socksNonProxyHost=localhost
sun.arch.data.model=64
sun.boot.class.path=/usr/lib/jvm/jdk1.6.0_45/jre/lib/resources.jar:/usr/lib/jvm/jdk1.6.0_45/jre/lib/rt.jar:/usr/lib/jvm/jdk1.6.0_45/jre/lib/sunrsasign.jar:/usr/lib/jvm/jdk1.6.0_45/jre/lib/jsse.jar:/usr/lib/jvm/jdk1.6.0_45/jre/lib/jce.jar:/usr/lib/jvm/jdk1.6.0_45/jre/lib/charsets.jar:/usr/lib/jvm/jdk1.6.0_45/jre/lib/modules/jdk.boot.jar:/usr/lib/jvm/jdk1.6.0_45/jre/classes
sun.boot.library.path=/usr/lib/jvm/jdk1.6.0_45/jre/lib/amd64
sun.cpu.endian=little
sun.cpu.isalist=
sun.desktop=gnome
sun.io.unicode.encoding=UnicodeLittle
sun.java.command={home}/Development/oepe-indigo//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar -os linux -ws gtk -arch x86_64 -showsplash -launcher {home}/Development/oepe-indigo/eclipse -name Eclipse --launcher.library {home}/Development/oepe-indigo//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.100.v20110505/eclipse_1407.so -startup {home}/Development/oepe-indigo//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar --launcher.overrideVmargs -exitdata 1e418010 -vm /usr/bin/java -vmargs -Xms256m -Xmx768m -XX:MaxPermSize=512m -Dsun.lang.ClassLoader.allowArraySyntax=true -Dweblogic.home={home}/Oracle/Middleware/wlserver_10.3 -Dharvester.home={home}/Oracle/Middleware/Oracle_OSB1/harvester -Dosb.home={home}/Oracle/Middleware/Oracle_OSB1 -Dosgi.bundlefile.limit=750 -Dosgi.nl=en_US -Dmiddleware.home={home}/Oracle/Middleware -jar {home}/Development/oepe-indigo//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
sun.java.launcher=SUN_STANDARD
sun.jnu.encoding=UTF-8
sun.lang.ClassLoader.allowArraySyntax=true
sun.management.compiler=HotSpot 64-Bit Tiered Compilers
sun.os.patch.level=unknown
svnkit.http.methods=Basic
svnkit.library.gnome-keyring.enabled=false
user.country=AR
user.dir={home}/Development/oepe-indigo
user.home={home}
user.language=es
user.name={username}
user.timezone=America/Argentina/Buenos_Aires
weblogic.home={home}/Oracle/Middleware/wlserver_10.3
Thanks!!run this one in command prompt and then convert the applet using converter tool
JC_HOME = C:\java_card_kit-2_2_2\bin\
set CLASSES=%JCHOME%\lib\apduio.jar;%JC_HOME%\lib\apdutool.jar;%JC_HOME%\lib\jcwde.jar;%JC_HOME%\lib\converter.jar;%JC_HOME%\lib\scriptgen.jar;%JC_HOME%\lib\offcardverifier.jar;%JC_HOME%\lib\api.jar;%JC_HOME%\lib\installer.jar;%JC_HOME%\lib\capdump.jar;
D:\NareshPalle\jcardRE\Smart\src>java -classpath %_CLASSES% com.sun.javacard.con
verter.Converter -out EXP JCA CAP -exportpath .\exp -applet 0x0a:0x00:0x00:0x00:0x0e:0x01:0x02:
0x03:0x04:0x05:0x06 PackageName appletName 0x01:0x02:0x03:0x04:0x05:0x0
6:0x07:0x08 1.0
or
go to following directory and run the converter tool in command prompt
step 1: cd C:\java_card_kit-2_2_2\bin\
then run this command under the above directory
step 2:converter -classdir E:\Pathof Your applet class file -out EXP JCA CAP -exportpath E:\path of exp files folder -applet AID PackageName AppletName PackAID major.minor no
For more doubts mail me....
*[removed by moderator]*
Thanks and Regards
NareshPalle
Edited by: EJP on 31/03/2012 20:09: removed your email address. Unless you like spam and unless you think these forums are provided for your personal benefit only, posting an email address here serves no useful purpose whatsoever. -
Java.lang.ExceptionInInitializerError - while using a third party tool
Hi All,
I am trying to include truezip into my application. but I get the following stack trace.
When I tried using the truezip in a standalone java class it orked but I am unable to make it work with appserver.
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
javax.servlet.ServletException
org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:830)
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:763)
org.apache.jsp.TestDes_jsp._jspService(TestDes_jsp.java:75)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:105)
root cause
java.lang.ExceptionInInitializerError
de.schlichtherle.io.File.init(File.java:818)
de.schlichtherle.io.File.(File.java:471)
de.schlichtherle.io.File.(File.java:452)
org.apache.jsp.TestDes_jsp._jspService(TestDes_jsp.java:63)
note The full stack trace of the root cause is available in the Sun-Java-System/Application-Server logs.If I refresh the jsp page it shows the foloowing error
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
javax.servlet.ServletException
org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:830)
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:763)
org.apache.jsp.TestDes_jsp._jspService(TestDes_jsp.java:75)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:105)
root cause
java.lang.NoClassDefFoundError
de.schlichtherle.io.File.init(File.java:818)
de.schlichtherle.io.File.(File.java:471)
de.schlichtherle.io.File.(File.java:452)
org.apache.jsp.TestDes_jsp._jspService(TestDes_jsp.java:63)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:105)
javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
note The full stack trace of the root cause is available in the Sun-Java-System/Application-Server logs.
--------------------------------------------------------------------------------Can anyone help me on this please
Thanks,
R.Ramesh.Hi Balusc,
here is the full stack trace
java.lang.ExceptionInInitializerError
at de.schlichtherle.io.File.init(File.java:830)
at de.schlichtherle.io.File.<init>(File.java:479)
at de.schlichtherle.io.File.<init>(File.java:458)
at org.apache.jsp.TestDes_jsp._jspService(TestDes_jsp.java:63)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:105)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:336)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:297)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:247)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:257)
at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:263)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:225)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:173)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:132)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:933)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:189)
at com.sun.enterprise.web.connector.grizzly.ProcessorTask.doProcess(ProcessorTask.java:604)
at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:475)
at com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask(ReadTask.java:371)
at com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:264)
at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:281)
at com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:83)
Caused by: java.security.AccessControlException: access denied (java.lang.RuntimePermission shutdownHooks)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:264)
at java.security.AccessController.checkPermission(AccessController.java:427)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
at java.lang.Runtime.addShutdownHook(Runtime.java:188)
at de.schlichtherle.io.ArchiveControllers.<clinit>(ArchiveControllers.java:67)
... 41 moreafter which if I refresh my jsp page I get the foloowing stack trace as in my next post -
SOAP: call failed: java.lang.NullPointerException
Hi,
We are geeting the error in RWB -->
SOAP: call failed: java.lang.NullPointerException
We checked the communication channel and interface and all are working fine.
Can anybody suggest?
Regards,
Akki..................Hi,
use this link to find the answer..
SOAP adapter
Regards,
Amitanshu
Maybe you are looking for
-
Hi All, Once I have deployed my process sucessfully, and connect through the local intranet to the Process Work Space, I am able to see my Process under "Applications" however when clicking on the link, it refers me back to the local servers host add
-
Restirct Priting of Service Entry Sheet in ML85
Hi All, I have a requirement where in I need to restrict the Print of Service Entery Sheet Through ML85 once the User releases the Order and saves it. Usually, when the User selects the Order Number, releases and Saves it, the release indicator beco
-
WRT54GL Disconnecting and other issues
Purchased this router after having problems with a netgear one. On trying it it worked ok for a small while and then started giving problems. It will not show in wireless network list randomly, then come back for no real apparant reason. It will not
-
Problem with USB drive not writing/freezing on unmount.
I have a sandisk cruzer blade USB drive, which I have used for the past hours extensively. At one point, I couldn't manage to write data to it. It acted like it had, but it didn't, as it silently remounted as readonly. I solved this by remounting as
-
Internet speed goes half at night (WRT54GS 1.1)
During the hours of 7pm-12am, my internet will go half it's speed sometimes even less but when connected directly to the modem my speed will be normal. I have a Linksys WRT54GS 1.1. I never had this problem until 3 days ago, is there any reason why m