Weblogic MessageBrokerServlet.getFlexWritePath NullPointerException
Hi,
While starting a flex application on the weblogic 10.3.2 installed on a Linux system fails with the error stack below. Several threads pointed out that the issue could be with the folder that is mentioned in the flex.write.path parameter within the web.xml. I tried with several different folders that have read/write access for the oracle user. None of them worked. Here is the MesssageBrokerServlet portion from the web.xml. I am stuck with this and I am not finding any solution on the internet. Please help me with this.
<servlet>
<servlet-name>MessageBrokerServlet</servlet-name>
<display-name>MessageBrokerServlet</display-name>
<servlet-class>flex.messaging.MessageBrokerServlet</servlet-class>
<init-param>
<param-name>services.configuration.file</param-name>
<param-value>/WEB-INF/flex/services-config.xml</param-value>
</init-param>
<init-param>
<param-name>flex.write.path</param-name>
<param-value>/u01/app/oracle/middleware/user_projects/domains/ClassicD omain/servers/BannerApps/stage/erlr</param-value>
</init-param>
<load-on-startup>1</load-on-startup>
</servlet>
Caused By: java.lang.NullPointerException
at java.io.File.<init>(File.java:222)
at flex.messaging.MessageBrokerServlet.getFlexWritePath(MessageBrokerSer vlet.java:232)
at flex.messaging.MessageBrokerServlet.init(MessageBrokerServlet.java:92 )
at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(St ubSecurityHelper.java:283)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate dSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java: 121)
at weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecuri tyHelper.java:64)
at weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubL ifecycleHelper.java:58)
at weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHel per.java:48)
Thanks
Murugan.
there are definitely problems in the deployment from eclipse.
try deleting the server and adding it again, that normally fixes most problems...
Similar Messages
-
Weblogic 10 - SEVERE: null java.lang.NullPointerException
I'm facing this Error while invoking a webservice
SEVERE: null
java.lang.NullPointerException
at com.bea.staxb.buildtime.internal.bts.XmlTypeName.findTypeIn(XmlTypeName.java:555)
at weblogic.wsee.bind.runtime.internal.AnonymousTypeFinder.getTypeNamed(AnonymousTypeFinder.java:73)
at weblogic.wsee.bind.runtime.internal.Deploytime109MappingHelper.createBindingTypeFrom(Deploytime109MappingHelper.java:1088)
at weblogic.wsee.bind.runtime.internal.Deploytime109MappingHelper.processTypeMappings(Deploytime109MappingHelper.java:519)
at weblogic.wsee.bind.runtime.internal.Deploytime109MappingHelper.initBindingFileFrom109dd(Deploytime109MappingHelper.java:266)
at weblogic.wsee.bind.runtime.internal.Deploytime109MappingHelper.<init>(Deploytime109MappingHelper.java:166)
at weblogic.wsee.bind.runtime.internal.RuntimeBindingsBuilderImpl.createRuntimeBindings(RuntimeBindingsBuilderImpl.java:86)
at weblogic.wsee.ws.WsBuilder.createRuntimeBindingProvider(WsBuilder.java:709)
at weblogic.wsee.ws.WsBuilder.buildService(WsBuilder.java:409)
at weblogic.wsee.ws.WsFactory.createClientService(WsFactory.java:45)
at weblogic.wsee.jaxrpc.ServiceImpl.init(ServiceImpl.java:154)
at weblogic.wsee.jaxrpc.ServiceImpl.<init>(ServiceImpl.java:122)
at com.samba.service.client.GosiPaymentSambaServices_Impl.<init>(Unknown Source)
at com.samba.service.client.GosiPaymentSambaServices_Impl.<init>(Unknown Source)
can Any body Help me through this?Hi,
Resource adapter is not available remotely - with your JNDI context
ctx.lookup("tangosol.coherenceTx");will return null. Instead of using resource adapter remotely you can implement a session bean, deploy it on a WLS instance and invoke it remotely.
Regards,
Dimitri -
NullPointerException from weblogic.i18ntools.l10ngen
Using the environment for the example server (on winNT)...
Go to \bea\wlserver6.1_beta\samples\examples\i18n\logging and run
build. The build go boom with the following stack track...
D:\bea\wlserver6.1_beta\samples\examples\i18n\logging>java weblogic.i18ntools.l1
0ngen -verbose -d d:\bea\wlserver6.1_beta\config\examples\clientclasses ..\msgca
t\I18nLog.xml ..\msgcat\I18nSimple.xml
Parsing catalog, D:\bea\wlserver6.1_beta\samples\examples\i18n\msgcat\fr\I18nLog
.xml
java.lang.NullPointerException
java.lang.NullPointerException
at weblogic.common.internal.PeerInfo.<init>(PeerInfo.java:25)
at weblogic.rjvm.LocalRJVM.<init>(LocalRJVM.java:130)
at weblogic.rjvm.LocalRJVM.getLocalRJVM(LocalRJVM.java:99)
at weblogic.i18ntools.L10nLookup$Logger.<init>(L10nLookup.java:282)
at weblogic.i18ntools.L10nLookup.<init>(L10nLookup.java:114)
at weblogic.i18ntools.L10nLookup.init(L10nLookup.java:70)
at weblogic.i18ntools.L10nLookup.getL10n(L10nLookup.java:58)
at weblogic.i18ntools.parser.LocaleLogMessage.validate(LocaleLogMessage.
java:65)
at weblogic.i18ntools.parser.LocaleMessageCatalog.validate(LocaleMessage
Catalog.java:240)
at weblogic.i18ntools.parser.LocaleCatalogParser.endDocument(LocaleCatal
ogParser.java:175)
at org.xml.sax.helpers.XMLReaderAdapter.endDocument(XMLReaderAdapter.java:286)
at weblogic.apache.xerces.parsers.SAXParser.endDocument(SAXParser.java:1
230)
at weblogic.apache.xerces.validators.common.XMLValidator.callEndDocument
(XMLValidator.java:1064)
at weblogic.apache.xerces.framework.XMLDocumentScanner$EndOfInputDispatc
her.dispatch(XMLDocumentScanner.java:1555)
at weblogic.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocu
mentScanner.java:381)
at weblogic.apache.xerces.framework.XMLParser.parse(XMLParser.java:967)
at org.xml.sax.helpers.XMLReaderAdapter.parse(XMLReaderAdapter.java:223)
at weblogic.i18ntools.parser.LocaleCatalogParser.parse(LocaleCatalogPars
er.java:126)
at weblogic.i18ntools.l10ngen.parseIt(l10ngen.java:327)
at weblogic.i18ntools.l10ngen.buildLangOutputs(l10ngen.java:302)
at weblogic.i18ntools.l10ngen.generate(l10ngen.java:406)
at weblogic.i18ntools.l10ngen.run(l10ngen.java:423)
at weblogic.i18ntools.l10ngen.main(l10ngen.java:459)
java.lang.NullPointerException
weblogic.i18n.tools.GenException: Code gen exception: Parse failed for: D:\bea\w
lserver6.1_beta\samples\examples\i18n\logging\..\msgcat\fr\I18nLog.xmlLauren,
Actually, it does not appear as though the example itself is
broken. The example looks the same as the one that worked fine under
WLS 6.0. The example seems to expose a something that is broken (a
regression?) in the codegen tool or in the API.
Ben
On 20 Jun 2001 11:31:02 -0800, Lauren Wright <[email protected]> wrote:
>
Ben,
I forwarded your message to the appropriate group.
Would you mind reposting to the examples newsgroup?
Lauren
[email protected] (Ben Eng) wrote:
Using the environment for the example server (on winNT)...
Go to \bea\wlserver6.1_beta\samples\examples\i18n\logging and run
build. The build go boom with the following stack track...
D:\bea\wlserver6.1_beta\samples\examples\i18n\logging>java weblogic.i18ntools.l1
0ngen -verbose -d d:\bea\wlserver6.1_beta\config\examples\clientclasses
..\msgca
t\I18nLog.xml ..\msgcat\I18nSimple.xml
Parsing catalog, D:\bea\wlserver6.1_beta\samples\examples\i18n\msgcat\fr\I18nLog
..xml
java.lang.NullPointerException
java.lang.NullPointerException
at weblogic.common.internal.PeerInfo.<init>(PeerInfo.java:25)
at weblogic.rjvm.LocalRJVM.<init>(LocalRJVM.java:130)
at weblogic.rjvm.LocalRJVM.getLocalRJVM(LocalRJVM.java:99)
at weblogic.i18ntools.L10nLookup$Logger.<init>(L10nLookup.java:282)
at weblogic.i18ntools.L10nLookup.<init>(L10nLookup.java:114)
at weblogic.i18ntools.L10nLookup.init(L10nLookup.java:70)
at weblogic.i18ntools.L10nLookup.getL10n(L10nLookup.java:58)
at weblogic.i18ntools.parser.LocaleLogMessage.validate(LocaleLogMessage.
java:65)
at weblogic.i18ntools.parser.LocaleMessageCatalog.validate(LocaleMessage
Catalog.java:240)
at weblogic.i18ntools.parser.LocaleCatalogParser.endDocument(LocaleCatal
ogParser.java:175)
at org.xml.sax.helpers.XMLReaderAdapter.endDocument(XMLReaderAdapter.java:286)
at weblogic.apache.xerces.parsers.SAXParser.endDocument(SAXParser.java:1
230)
at weblogic.apache.xerces.validators.common.XMLValidator.callEndDocument
(XMLValidator.java:1064)
at weblogic.apache.xerces.framework.XMLDocumentScanner$EndOfInputDispatc
her.dispatch(XMLDocumentScanner.java:1555)
at weblogic.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocu
mentScanner.java:381)
at weblogic.apache.xerces.framework.XMLParser.parse(XMLParser.java:967)
at org.xml.sax.helpers.XMLReaderAdapter.parse(XMLReaderAdapter.java:223)
at weblogic.i18ntools.parser.LocaleCatalogParser.parse(LocaleCatalogPars
er.java:126)
at weblogic.i18ntools.l10ngen.parseIt(l10ngen.java:327)
at weblogic.i18ntools.l10ngen.buildLangOutputs(l10ngen.java:302)
at weblogic.i18ntools.l10ngen.generate(l10ngen.java:406)
at weblogic.i18ntools.l10ngen.run(l10ngen.java:423)
at weblogic.i18ntools.l10ngen.main(l10ngen.java:459)
java.lang.NullPointerException
weblogic.i18n.tools.GenException: Code gen exception: Parse failed for:
D:\bea\w
lserver6.1_beta\samples\examples\i18n\logging\..\msgcat\fr\I18nLog.xml -
Revision: 1013
Author: [email protected]
Date: 2008-03-28 17:24:25 -0700 (Fri, 28 Mar 2008)
Log Message:
Bug: LCDS-180 - [WebLogic 10.1 on Suse9] MxUnit Dynamic destination "SecurityEmployeeUser" test fails with a NullPointerException
QA: Yes
Doc: No
Details:
This prevents the NPE but for non-servlet endpoints you need to be sure to define your users/roles in Weblogic's default security realm. The test was failing because login was failing, most likely because the regression server wasn't fully configured.
Ticket Links:
http://bugs.adobe.com/jira/browse/LCDS-180
Modified Paths:
blazeds/branches/3.0.x/modules/opt/src/weblogic/flex/messaging/security/WeblogicLoginComm and.java -
Hi,
intermittently we are seeing this exception in the server log files on weblogic 6.1
sp2, I was wondering what the cause is:
java.lang.NullPointerException
at weblogic.servlet.logging.LogManagerHttp.log(LogManagerHttp.java:292)
at weblogic.servlet.internal.HttpServer.log(HttpServer.java:835)
at weblogic.servlet.internal.ServletResponseImpl.send(ServletResponseImpl.java:1002)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2209)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
Did your C:\Lighthammer\Security\userdata\IlluminatorUsers.xml or other files in this directory get corrupted somehow?
If you've rebooted the box or bounced the ServletExec-xMII service, do you see anything in the SYSTEM level messages that are forced during the initialization sequence in either the Lighthammer General log or the LHSecurity General log that would give any indications to the problem?
Regards,
Jeremy -
Java.lang.NullPointerException when running weblogic on linux
Hi,
I installed the generic release of the Oracle WebLogic (wls1033_generic.jar) on my server (Ubuntu 64bit). When starting the application I am getting the following java exception. Is this a bug?
<Jun 22, 2010 9:29:51 AM EDT> <Critical> <WebLogicServer> <BEA-000386> <Server subsystem failed. Reason: java.lang.NullPointerException
java.lang.NullPointerException
at weblogic.deploy.internal.adminserver.DeploymentManager.getPendingDeploymentsForEditLockOwner(DeploymentManager.java:360)
at weblogic.management.provider.internal.EditAccessImpl.removePendingUpdateTasks(EditAccessImpl.java:560)
at weblogic.management.provider.internal.EditAccessImpl.undoUnsavedChanges(EditAccessImpl.java:555)
at weblogic.management.provider.internal.EditAccessImpl.acquireLock(EditAccessImpl.java:264)
at weblogic.management.provider.internal.EditAccessImpl.startEdit(EditAccessImpl.java:289)
Truncated. see log file for complete stacktrace
>
<Jun 22, 2010 9:29:51 AM EDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FAILED>
<Jun 22, 2010 9:29:51 AM EDT> <Error> <WebLogicServer> <BEA-000383> <A critical service failed. The server will shut itself down>
<Jun 22, 2010 9:29:51 AM EDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FORCE_SHUTTING_DOWN>Are you running the process as the user that installed WebLogic and have write permissions in the domain directory?
How did you create the domain? -
Hello,
we are running WLS 6.1 SP2. The following code sometimes (rather rarely) throws
a NullPointerException:
Connection dbConnection = DBUtil.getDBConnection();//here we get the Connection
stmt = dbConnection.createStatement(ResultSet.TYPE_FORWARD_ONLY, ResultSet.CONCUR_UPDATABLE);//it's
where NPE happens
The error report says:
java.sql.SQLException:
java.lang.NullPointerException at
weblogic.jdbc.rmi.SerialConnection.createStatement(SerialConnection.java:396)
So, I think, this is something in WebLogic's code... Is this a known issue (I
couldn't find a similar report in the newsgroup)? Is there a workaround?
regards,
VitalyVitaly Sourikov wrote:
"Vitaly Sourikov" <[email protected]> wrote:
The patches that we use with SP2 are
CR061106_61sp2.jar
CR072612_61sp2.jar
CR077919_61sp2.jar
As far as we know, those fixes (or some of them) were not introduced in SP4. Are
there new versions of the patches for SP4?I have found that all these bugs are fixed in sp4, so no patches are needed if you
upgrade to 6.1sp4.
Joe
>
>
regards,
Vitaly
Hi Joseph,
Thank you for the reply. Unfortunately, we cannot move to SP3 or SP4
- they have
conflicts with other patches from WebLogic we use. This error happens
rather rarely.
In most of cases this very stuff works. But it would be intresing to
have this
patch for diagnostics, in case of future failures. Would you send it
to me, please?
Thank you in advance,
Vitaly
Joseph Weinstein <[email protected]> wrote:
Vitaly Sourikov wrote:
Hello,
we are running WLS 6.1 SP2. The following code sometimes (rather rarely)throws
a NullPointerException:
Connection dbConnection = DBUtil.getDBConnection();//here we get theConnection
stmt = dbConnection.createStatement(ResultSet.TYPE_FORWARD_ONLY, ResultSet.CONCUR_UPDATABLE);//it's
where NPE happens
The error report says:
java.sql.SQLException:
java.lang.NullPointerException at
weblogic.jdbc.rmi.SerialConnection.createStatement(SerialConnection.java:396)
So, I think, this is something in WebLogic's code... Is this a knownissue (I
couldn't find a similar report in the newsgroup)? Is there a workaround?Hi. The NPE is probably happening in the actual DBMS driver. What is
happening
is that the rmi driver is having to catch any non-SQLException, andthrow
a SQLException
with the message of the original exception. Unfortunately, the fullstacktrace
of the
original NPE is lost. If you want, I can send you a small diagnostic
patch, which will
just make the rmi object retain the whole original stacktrace in the
exception it throws,
and that will help lead to the real problem.
This may well be a bug that was fixed in sp3 or 4. Is it possible
for you to upgrade to
the latest stuff?
Joe
regards,
Vitaly -
Weblogic throws NullPointerException when using ServiceControl.setTimeout
We are invoking a SOAP service via a com.bea.control.ServiceControl that was generated from a WSDL (right click WSDL, Generate Service Control) using Weblogic 8.1.6.
SOAP service execution is successful using an http and https endpoint. However, when setting a timeout via ServiceControl.setTimeout(int millisecods) method, the Weblogic API is throwing a NullPointerException when using an https endpoint. When using an http endpoint with the setTimeout method execution is successful.
DEBUG com.bea.wlw.runtime.jws.call.SoapHttpCall [ExecuteThread: '10' for queue: 'weblogic.kernel.Default']: opening connection to https://[... edit removed ...]
DEBUG com.bea.wlw.runtime.jws.call.SoapHttpCall [ExecuteThread: '10' for queue: 'weblogic.kernel.Default']: Response generation exception
Throwable: java.lang.NullPointerException
Stack Trace:
java.lang.NullPointerException
at weblogic.net.http.HttpsClient.openWrappedSSLSocket(HttpsClient.java:455)
at weblogic.net.http.HttpsClient.openServer(HttpsClient.java:235)
at weblogic.net.http.HttpsClient.openServer(HttpsClient.java:389)
at weblogic.net.http.HttpsClient.<init>(HttpsClient.java:209)
at weblogic.net.http.HttpClient.New(HttpClient.java:228)
at weblogic.net.http.HttpsURLConnection.getHttpClient(HttpsURLConnection.java:246)
at weblogic.net.http.HttpsURLConnection.connect(HttpsURLConnection.java:217)
at weblogic.net.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:189)
at com.bea.wlw.runtime.jws.call.SoapHttpCall.invoke(SoapHttpCall.java:179)
at com.bea.wlw.runtime.jws.call.SoapHttpCall.invoke(SoapHttpCall.java:80)
at com.bea.wlw.runtime.core.control.ServiceControlImpl.invoke(ServiceControlImpl.jcs:1288)
at com.bea.wlw.runtime.core.control.ServiceControlImpl.invoke(ServiceControlImpl.jcs:1155)
at com.bea.wlw.runtime.core.dispatcher.DispMethod.invoke(DispMethod.java:377)
at com.bea.wlw.runtime.core.container.Invocable.invoke(Invocable.java:433)
at com.bea.wlw.runtime.core.container.Invocable.invoke(Invocable.java:406)
at com.bea.wlw.runtime.jcs.container.JcsProxy.invoke(JcsProxy.java:388)
DEBUG com.bea.wlw.runtime.jws.call.SoapFault [ExecuteThread: '10' for queue: 'weblogic.kernel.Default']: SoapFault exception throwable e
DEBUG com.bea.wlw.runtime.jws.call.SoapHttpCall [ExecuteThread: '10' for queue: 'weblogic.kernel.Default']: response code=0, responseMsg=null
DEBUG com.bea.wlw.runtime.jws.call.SoapHttpCall [ExecuteThread: '10' for queue: 'weblogic.kernel.Default']: closed connection to https://[... edit removed ...]
WARN WLW.INVOKE.[... edit removed ...] [ExecuteThread: '10' for queue: 'weblogic.kernel.Default']: Id=[... edit removed id ...] Method=[... edit removed method ...]; Failure=com.bea.control.ServiceControlException: SERVICE FAULT:
Code:java.lang.NullPointerException
String:null
Detail:
END SERVICE FAULT
ERROR [... edit removed ...]
[ExecuteThread: '10' for queue: 'weblogic.kernel.Default']: ServiceControlException
com.bea.control.ServiceControlException: SERVICE FAULT:
Code:java.lang.NullPointerException
String:null
Detail:
END SERVICE FAULT
at com.bea.wlw.runtime.core.control.ServiceControlImpl.invoke(ServiceControlImpl.jcs:1268)
at com.bea.wlw.runtime.core.dispatcher.DispMethod.invoke(DispMethod.java:377)
at com.bea.wlw.runtime.core.container.Invocable.invoke(Invocable.java:433)
at com.bea.wlw.runtime.core.container.Invocable.invoke(Invocable.java:406)
at com.bea.wlw.runtime.jcs.container.JcsProxy.invoke(JcsProxy.java:388)Thanks for the suggestion. But with -DUseSunHttpHandler=true the Weblogic API is throwing a ClassCastException with or without the timeout value set.
Failure=com.bea.control.ServiceControlException: SERVICE FAULT:
Code:java.lang.ClassCastException
String:null
Detail:
END SERVICE FAULT
ERROR: ServiceControlException
com.bea.control.ServiceControlException: SERVICE FAULT:
Code:java.lang.ClassCastException
String:null
Detail:
END SERVICE FAULT
at com.bea.wlw.runtime.core.control.ServiceControlImpl.invoke(ServiceControlImpl.jcs:1268)
at com.bea.wlw.runtime.core.dispatcher.DispMethod.invoke(DispMethod.java:377)
at com.bea.wlw.runtime.core.container.Invocable.invoke(Invocable.java:433)
at com.bea.wlw.runtime.core.container.Invocable.invoke(Invocable.java:406)
at com.bea.wlw.runtime.jcs.container.JcsProxy.invoke(JcsProxy.java:388) -
NullPointerException is weblogic xml parser
We are using weblogic server 8.1 SP4 on HP Tru64.
A NullPointerException is happening when parsing documents. I tried to find the source code however could not match the source version with the line numbers. Is this a problem in the message? Or a bug in the parser?
<?xml version="1.0" encoding="UTF-8"?>
<ns0:notificationOfApprovalResponse xmlns:ns0="http://www.auspost.com.au/elms/xml/notificationofapproval/response" elmsMailingStatementId="775507" pricingStatementNumber="0070922517">
<notificationOfApprovalStatus>
<code>S</code>
<extendedCode>233</extendedCode>
<description>ORDER_HEADER_IN has been processed successfully VBAKKOM </description>
</notificationOfApprovalStatus>
</ns0:notificationOfApprovalResponse>
java.lang.NullPointerException
at weblogic.apache.xerces.util.XMLAttributesImpl.getName(XMLAttributesImpl.java:261)
at weblogic.apache.xerces.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:428)
at weblogic.apache.xerces.impl.XMLNamespaceBinder.handleStartElement(XMLNamespaceBinder.java:877)
at weblogic.apache.xerces.impl.XMLNamespaceBinder.startElement(XMLNamespaceBinder.java:569)
at weblogic.apache.xerces.impl.dtd.XMLDTDValidator.startElement(XMLDTDValidator.java:727)
at weblogic.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:759)
at weblogic.apache.xerces.impl.XMLDocumentScannerImpl$ContentDispatcher.scanRootElementHook(XMLDocumentScannerImpl.java:957)
at weblogic.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1544)
at weblogic.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:329)
at weblogic.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:525)
at weblogic.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:581)
at weblogic.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
at weblogic.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1175)
at weblogic.xml.jaxp.WebLogicXMLReader.parse(WebLogicXMLReader.java:135)
at weblogic.xml.jaxp.RegistryXMLReader.parse(RegistryXMLReader.java:152)
at com.bea.xbean.store.Root$SaxLoader.load(Root.java:776)
at com.bea.xbean.store.Root.loadXml(Root.java:1077)
at com.bea.xbean.store.Root.loadXml(Root.java:1069)
at com.bea.xbean.store.Root.loadXml(Root.java:1089)
at com.bea.xbean.schema.SchemaTypeLoaderBase.parse(SchemaTypeLoaderBase.java:241)
at au.com.auspost.elms.xml.notificationofapproval.response.NotificationOfApprovalResponseDocument$Factory.parse(Unknown Source)WLS 6.1 is not yet certifed with JDK 1.4.
Venki wrote:
Hi,
Does weblogic ships it's own XML parser.
We tried parsing an XML document using JDK1.4(default XML parser) it all worked
well, but after deploying in weblogic container, the document didn't parse correctly.
We are using Weblogic 6.1 sp2.
Our weblogic runs on JDK1.4 so the JVM is same it's only the different parser
i guess.
Any comments , help thanx !
Venki--
Rajesh Mirchandani
Developer Relations Engineer
BEA Support -
NullPointerException in WebLogic while accessing web service from client
Hi all,
I have an SPML Web Service developed. The java class from WSDL was generated using wsdlc
<wsdlc srcWsdl="schema/oracle_ws_spmlv2.wsdl" destJwsDir="${classes.dir}" type="JAXWS" explode="true"/>
and then
<jwsc classpath="..." classpathref="wls.jars" srcdir="src/main" destdir="${classes.dir}" keepGenerated="yes">
<jws file="com/oracle/xmlns/idm/identity/webservice/spmlservice/SPMLService_SPMLServiceProviderSoapImpl.java" compiledWsdl="target/oracle_ws_spmlv2_wsdl.jar" type="JAXWS">
<WLHttpTransport contextPath="OIMSPMLWebService" serviceUri="${ear.deployed.name}" portName="SPMLServiceProviderSoap"/>
</jws>
</jwsc>
I have deployed the ear in WLS and generated the client classes.
<clientgen wsdl="http://${weblogic.host}:${weblogic.port}/OIMSPMLWebService/OIMspmlxsd?WSDL" destDir="${classes.dir}" type="JAXWS"/>
I run the client using java command from the terminal. First time, it runs fine. I get a valid response. But often, when I run it a second time, I get the following exception ... I need to undeploy and deploy the ear again. Any help will be appreciated!
Following error appears.
Error 500--Internal Server Error
java.lang.NullPointerException
at weblogic.wsee.jaxws.JAXWSDeployedServlet.init(JAXWSDeployedServlet.java:49)
at javax.servlet.GenericServlet.init(GenericServlet.java:241)
at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:283)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:64)
at weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:58)
at weblogic.servlet.internal.StubLifecycleHelper.(StubLifecycleHelper.java:48)
at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:521)
at weblogic.servlet.internal.ServletStubImpl.checkForReload(ServletStubImpl.java:452)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:232)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:202)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3588)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2200)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2106)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1428)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)As a workaround I can start the application in debug mode, log into the Weblogic console and stop then restart the deployment and this issue goes away, sort of a pain but it does work.
-
Hi *, when I start the weblogic-server (on AIX 4.3.3) I observe the following entrie
during the connect to a db2-database! I can connect the db2-database as user fmu
and as user weblogic (with 'db2 connect to oe2000' from the command line)! Anyone
an idea, where is the failure?
Best regards,
Frank
Here is the log:
Thu Nov 30 13:35:59 CET 2000:<I> <JDBC Pool> Creating connection pool igspool wi
th:
{poolName=igspool, maxCapacity=200, props=user=fmu;password=adrenalin, driver=CO
M.ibm.db2.jdbc.app.DB2Driver, aclName=weblogic.jdbc.connectionPool.igspool, capa
cityIncrement=1, initialCapacity=100, url=jdbc:db2:OE2000}
Thu Nov 30 13:36:00 CET 2000:<I> <JDBC Pool> Sleeping in createResource()
Thu Nov 30 13:36:01 CET 2000:<E> <JDBC Pool> Failed to create connection pool "i
gspool"
weblogic.common.ResourceException: weblogic.common.ResourceException:
Could not create pool connection. The DBMS driver exception was:
java.lang.NullPointerException
at COM.ibm.db2.jdbc.app.DB2Driver.connect(DB2Driver.java:225)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(Con
nectionEnvFactory.java(Compiled Code))Hi *, when I start the weblogic-server (on AIX 4.3.3) I observe the following entrie
during the connect to a db2-database! I can connect the db2-database as user fmu
and as user weblogic (with 'db2 connect to oe2000' from the command line)! Anyone
an idea, where is the failure?
Best regards,
Frank
Here is the log:
Thu Nov 30 13:35:59 CET 2000:<I> <JDBC Pool> Creating connection pool igspool wi
th:
{poolName=igspool, maxCapacity=200, props=user=fmu;password=adrenalin, driver=CO
M.ibm.db2.jdbc.app.DB2Driver, aclName=weblogic.jdbc.connectionPool.igspool, capa
cityIncrement=1, initialCapacity=100, url=jdbc:db2:OE2000}
Thu Nov 30 13:36:00 CET 2000:<I> <JDBC Pool> Sleeping in createResource()
Thu Nov 30 13:36:01 CET 2000:<E> <JDBC Pool> Failed to create connection pool "i
gspool"
weblogic.common.ResourceException: weblogic.common.ResourceException:
Could not create pool connection. The DBMS driver exception was:
java.lang.NullPointerException
at COM.ibm.db2.jdbc.app.DB2Driver.connect(DB2Driver.java:225)
at weblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(Con
nectionEnvFactory.java(Compiled Code)) -
NullPointerException when validating module *.jar using WebLogic Builder
Hi,
When using WebLogic Builder to validate module ceiba.jar, it shows the following errors. How to fix it? Thanks a lot. Attachment is the deployment descriptors.
Validating module ceiba.jar
Compiling input jar D:\gzdswebproject\gzdsweb\ceiba.jar
Processing input descriptor
ERROR: Error processing input descriptor
ERROR: Error from ejbc: null
java.lang.NullPointerException at weblogic.ejb20.deployer.SessionBeanInfoImpl.assignDefaultTXAttributesIfNecessary(SessionBeanInfoImpl.java:291) at weblogic.ejb20.deployer.MBeanDeploymentInfoImpl.initializeTransactionAttribute(MBeanDeploymentInfoImpl.java:807) at weblogic.ejb20.deployer.MBeanDeploymentInfoImpl.<init>(MBeanDeploymentInfoImpl.java:240) at weblogic.ejb20.ejbc.EJBCompiler.setupEJB(EJBCompiler.java:155) at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:415) at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:397) at weblogic.ejbc20.runBody(ejbc20.java:517) at weblogic.utils.compiler.Tool.run(Tool.java:146) at weblogic.utils.compiler.Tool.run(Tool.java:103) at weblogic.marathon.tasks.EJBCTask.runBackground(EJBCTask.java:140) at weblogic.tools.jellybeans.core.task.TaskThread.execute(TaskThread.java:127) at weblogic.tools.jellybeans.core.task.TaskThread.run(TaskThread.java:64)following is the ejb-jar.xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" "http://java.sun.com/dtd/ejb-jar_2_0.dtd">
<ejb-jar>
<enterprise-beans>
<session>
<display-name>Bblm</display-name>
<ejb-name>Bblm</ejb-name>
<home>com.foresee.ceiba.bbxz.BblmHome</home>
<remote>com.foresee.ceiba.bbxz.Bblm</remote>
<ejb-class>com.foresee.ceiba.bbxz.BblmBean</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Container</transaction-type>
</session>
<session>
<display-name>Bbnr</display-name>
<ejb-name>Bbnr</ejb-name>
<home>com.foresee.ceiba.bbxz.BbnrHome</home>
<remote>com.foresee.ceiba.bbxz.Bbnr</remote>
<ejb-class>com.foresee.ceiba.bbxz.BbnrBean</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Container</transaction-type>
</session>
<session>
<display-name>Fjxx</display-name>
<ejb-name>Fjxx</ejb-name>
<home>com.foresee.ceiba.comm.FjxxHome</home>
<remote>com.foresee.ceiba.comm.Fjxx</remote>
<ejb-class>com.foresee.ceiba.comm.FjxxBean</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Container</transaction-type>
</session>
<session>
<display-name>Yhzxx</display-name>
<ejb-name>Yhzxx</ejb-name>
<home>com.foresee.ceiba.comm.YhzxxHome</home>
<remote>com.foresee.ceiba.comm.Yhzxx</remote>
<ejb-class>com.foresee.ceiba.comm.YhzxxBean</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Container</transaction-type>
</session>
<session>
<display-name>GsbsProcess</display-name>
<ejb-name>GsbsProcess</ejb-name>
<home>com.foresee.ceiba.gsbs.ejb.GsbsProcessHome</home>
<remote>com.foresee.ceiba.gsbs.ejb.GsbsProcess</remote>
<ejb-class>com.foresee.ceiba.gsbs.ejb.ejb.GsbsProcessBean</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Container</transaction-type>
</session>
<session>
<display-name>BGDJ</display-name>
<ejb-name>BGDJ</ejb-name>
<home>com.foresee.ceiba.swdj.bg.BGDJHome</home>
<remote>com.foresee.ceiba.swdj.bg.BGDJ</remote>
<ejb-class>com.foresee.ceiba.swdj.bg.BGDJBean</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Container</transaction-type>
</session>
<session>
<display-name>PersonalRegister</display-name>
<ejb-name>PersonalRegister</ejb-name>
<home>com.foresee.ceiba.swdj.gr.PersonalRegisterHome</home>
<remote>com.foresee.ceiba.swdj.gr.PersonalRegister</remote>
<ejb-class>com.foresee.ceiba.swdj.gr.PersonalRegisterBean</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Container</transaction-type>
</session>
<session>
<display-name>ProjectRegister</display-name>
<ejb-name>ProjectRegister</ejb-name>
<home>com.foresee.ceiba.swdj.xm.ProjectRegisterHome</home>
<remote>com.foresee.ceiba.swdj.xm.ProjectRegister</remote>
<ejb-class>com.foresee.ceiba.swdj.xm.ProjectRegisterBean</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Container</transaction-type>
</session>
<session>
<display-name>SqjlCjwtLm</display-name>
<ejb-name>SqjlCjwtLm</ejb-name>
<home>com.foresee.ceiba.sqjl.SqjlCjwtLmHome</home>
<remote>com.foresee.ceiba.sqjl.SqjlCjwtLm</remote>
<ejb-class>com.foresee.ceiba.sqjl.SqjlCjwtLmBean</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Container</transaction-type>
</session>
<session>
<display-name>SqjlCjwtNr</display-name>
<ejb-name>SqjlCjwtNr</ejb-name>
<home>com.foresee.ceiba.sqjl.SqjlCjwtNrHome</home>
<remote>com.foresee.ceiba.sqjl.SqjlCjwtNr</remote>
<ejb-class>com.foresee.ceiba.sqjl.SqjlCjwtNrBean</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Container</transaction-type>
</session>
<session>
<display-name>Xxlm</display-name>
<ejb-name>Xxlm</ejb-name>
<home>com.foresee.ceiba.xxfb.XxlmHome</home>
<remote>com.foresee.ceiba.xxfb.Xxlm</remote>
<ejb-class>com.foresee.ceiba.xxfb.XxlmBean</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Container</transaction-type>
</session>
<session>
<display-name>Xxnr</display-name>
<ejb-name>Xxnr</ejb-name>
<home>com.foresee.ceiba.xxfb.XxnrHome</home>
<remote>com.foresee.ceiba.xxfb.Xxnr</remote>
<ejb-class>com.foresee.ceiba.xxfb.XxnrBean</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Container</transaction-type>
</session>
<session>
<display-name>ZCDJ</display-name>
<ejb-name>ZCDJ</ejb-name>
<home>com.foresee.ceiba.swdj.zc.ZCDJHome</home>
<remote>com.foresee.ceiba.swdj.zc.ZCDJ</remote>
<ejb-class>com.foresee.ceiba.swdj.zc.ZCDJBean</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Container</transaction-type>
</session>
</enterprise-beans>
<assembly-descriptor>
<container-transaction>
<method>
<ejb-name>Bblm</ejb-name>
<method-name>*</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>Bbnr</ejb-name>
<method-name>*</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>Fjxx</ejb-name>
<method-name>*</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>Yhzxx</ejb-name>
<method-name>*</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>GsbsProcess</ejb-name>
<method-name>*</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>BGDJ</ejb-name>
<method-name>*</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>PersonalRegister</ejb-name>
<method-name>*</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>ProjectRegister</ejb-name>
<method-name>*</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>SqjlCjwtLm</ejb-name>
<method-name>*</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>SqjlCjwtNr</ejb-name>
<method-name>*</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>Xxlm</ejb-name>
<method-name>*</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>Xxnr</ejb-name>
<method-name>*</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>ZCDJ</ejb-name>
<method-name>*</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
</assembly-descriptor>
</ejb-jar> -
NullPointerException while starting Weblogic server instance
Hi,
I am running Weblogic 7.0 SP1 on Windows 2000 SP3. I had configured a cluster
with a single server in it. With that set up the admin server & Weblogic server
instance started up fine. Both(admin & server instance) were run on the same machine.
Then I added another server(on a different to the cluster & tried to start the
local server instance after running the admin server. I get the following exception,
C:\bea7>C:\bea7\jdk131_03\bin\java -Djava.compiler=NONE -ms64m -mx64m -classpath
""C:\SBM742\conf;C:\SBM742\ebmsapps;C:\SBM\jar\inetmssql.jar;.;C:\bea7\weblogic
700\server\lib\weblogic_sp.jar;C:\bea7\weblogic700\server\lib\weblogic.jar;C:\SB
M742\jar\tools.jar;C:\SBM742\jar\log4j.jar;C:\SBM742\BizPulse\JMSFileStore;C:\SB
M742\BizPulse\jmsmaps;C:\SBM742\jar\castor-0.9.3-xml.jar;C:\SBM742\jar\jdbc-se2.
0.jar;C:\SBM742\jar\jta1.0.1.jar;C:\SBM742\jar\jakarta-regexp-1.2.jar;C:\SBM742\
jar\xerces-J_1.4.0.jar"" -Dweblogic.Name="MILPITAS" "-Dbea.home=C:\bea7" -Dweblo
gic.management.server="milpitas.savvion.com:18793" "-Djava.security.policy==C:\b
ea7\projects\sbm4.0\sbm.policy" -Dweblogic.ProductionModeEnabled=true -Dweblogic
.management.username="system" -Dweblogic.management.password="wlsysadmin" weblog
ic.Server
Starting WebLogic Server...
Connecting to http://milpitas.savvion.com:18793...
<Apr 30, 2003 12:10:33 PM PDT> <Notice> <Security> <090093> <No configuration
da
ta was found on server MILPITAS for realm CompatibilityRealm.>
<Apr 30, 2003 12:10:33 PM PDT> <Notice> <Security> <090082> <Security initializi
ng using realm CompatibilityRealm.>
<Apr 30, 2003 12:10:33 PM PDT> <Notice> <WebLogicServer> <000328> <Starting WebL
ogic Managed Server "MILPITAS" for domain "sbm4.0">
Starting Cluster Service...
<Apr 30, 2003 12:11:08 PM PDT> <Notice> <Cluster> <000138> <Listening for announ
cements from cluster sbm_cluster on 237.0.0.1:7001>
<Apr 30, 2003 12:11:08 PM PDT> <Notice> <Cluster> <000133> <Waiting to synchroni
ze with other running members of sbm_cluster>
<Apr 30, 2003 12:11:38 PM PDT> <Notice> <Cluster> <000134> <Discovered and synch
ronized with 1 other running members of sbm_cluster>
<Apr 30, 2003 12:11:39 PM PDT> <Emergency> <WebLogicServer> <000342> <Unable to
initialize the server: Fatal initialization exception
Throwable: java.lang.NullPointerException
java.lang.NullPointerException
at weblogic.transaction.internal.TransactionRecoveryService.getOrCreate(
TransactionRecoveryService.java:345)
at weblogic.transaction.internal.TransactionRecoveryService.deployAllTra
nsactionRecoveryServices(TransactionRecoveryService.java:390)
at weblogic.transaction.internal.TransactionRecoveryService.resume(Trans
actionRecoveryService.java:160)
at weblogic.transaction.internal.TransactionService.resume(TransactionSe
rvice.java:138)
at weblogic.t3.srvr.ServerLifeCycleList.resume(ServerLifeCycleList.java:
61)
at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:806)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:295)
at weblogic.Server.main(Server.java:32)
>
The WebLogic Server did not start up properly.
Exception raised:
java.lang.NullPointerException
at weblogic.transaction.internal.TransactionRecoveryService.getOrCreate(
TransactionRecoveryService.java:345)
at weblogic.transaction.internal.TransactionRecoveryService.deployAllTra
nsactionRecoveryServices(TransactionRecoveryService.java:390)
at weblogic.transaction.internal.TransactionRecoveryService.resume(Trans
actionRecoveryService.java:160)
at weblogic.transaction.internal.TransactionService.resume(TransactionSe
rvice.java:138)
at weblogic.t3.srvr.ServerLifeCycleList.resume(ServerLifeCycleList.java:
61)
at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:806)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:295)
at weblogic.Server.main(Server.java:32)
Reason: Fatal initialization exception
Throwable: java.lang.NullPointerException
java.lang.NullPointerException
at weblogic.transaction.internal.TransactionRecoveryService.getOrCreate(
TransactionRecoveryService.java:345)
at weblogic.transaction.internal.TransactionRecoveryService.deployAllTra
nsactionRecoveryServices(TransactionRecoveryService.java:390)
at weblogic.transaction.internal.TransactionRecoveryService.resume(Trans
actionRecoveryService.java:160)
at weblogic.transaction.internal.TransactionService.resume(TransactionSe
rvice.java:138)
at weblogic.t3.srvr.ServerLifeCycleList.resume(ServerLifeCycleList.java:
61)
at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:806)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:295)
at weblogic.Server.main(Server.java:32)
The local server instance doesn't start because of this. The other server added
to the cluster was to run on a different machine & was not started yet. If I remove
the other server the server instance starts up fine. I am attaching the config.xml(the
working version, without the second server).
This used to work in Weblogic 6.1.
Thanks,
Aejaz
[config.xml]
This is fixed in SP2.
Sree Bodapati wrote:
> This is probably fixed already please contact support@bea<DOT>com.
>
> /
> sree
>
> "Aejaz" <[email protected]> wrote in message
> news:[email protected]...
> >
> > Hi,
> >
> > I am running Weblogic 7.0 SP1 on Windows 2000 SP3. I had configured a
> cluster
> > with a single server in it. With that set up the admin server & Weblogic
> server
> > instance started up fine. Both(admin & server instance) were run on the
> same machine.
> > Then I added another server(on a different to the cluster & tried to start
> the
> > local server instance after running the admin server. I get the following
> exception,
> >
> >
> C:\bea7>C:\bea7\jdk131_03\bin\java -Djava.compiler=NONE -ms64m -mx64m -class
> path
> >
> ""C:\SBM742\conf;C:\SBM742\ebmsapps;C:\SBM\jar\inetmssql.jar;.;C:\bea7\weblo
> gic
> >
> 700\server\lib\weblogic_sp.jar;C:\bea7\weblogic700\server\lib\weblogic.jar;C
> :\SB
> >
> M742\jar\tools.jar;C:\SBM742\jar\log4j.jar;C:\SBM742\BizPulse\JMSFileStore;C
> :\SB
> >
> M742\BizPulse\jmsmaps;C:\SBM742\jar\castor-0.9.3-xml.jar;C:\SBM742\jar\jdbc-
> se2.
> >
> 0.jar;C:\SBM742\jar\jta1.0.1.jar;C:\SBM742\jar\jakarta-regexp-1.2.jar;C:\SBM
> 742\
> > jar\xerces-J_1.4.0.jar"" -Dweblogic.Name="MILPITAS"
> "-Dbea.home=C:\bea7" -Dweblo
> > gic.management.server="milpitas.savvion.com:18793"
> "-Djava.security.policy==C:\b
> >
> ea7\projects\sbm4.0\sbm.policy" -Dweblogic.ProductionModeEnabled=true -Dwebl
> ogic
> > management.username="system" -Dweblogic.management.password="wlsysadmin"
> weblog
> > ic.Server
> > Starting WebLogic Server...
> > Connecting to http://milpitas.savvion.com:18793...
> > <Apr 30, 2003 12:10:33 PM PDT> <Notice> <Security> <090093> <No
> configuration
> > da
> > ta was found on server MILPITAS for realm CompatibilityRealm.>
> > <Apr 30, 2003 12:10:33 PM PDT> <Notice> <Security> <090082> <Security
> initializi
> > ng using realm CompatibilityRealm.>
> > <Apr 30, 2003 12:10:33 PM PDT> <Notice> <WebLogicServer> <000328>
> <Starting WebL
> > ogic Managed Server "MILPITAS" for domain "sbm4.0">
> > Starting Cluster Service...
> > <Apr 30, 2003 12:11:08 PM PDT> <Notice> <Cluster> <000138> <Listening for
> announ
> > cements from cluster sbm_cluster on 237.0.0.1:7001>
> > <Apr 30, 2003 12:11:08 PM PDT> <Notice> <Cluster> <000133> <Waiting to
> synchroni
> > ze with other running members of sbm_cluster>
> > <Apr 30, 2003 12:11:38 PM PDT> <Notice> <Cluster> <000134> <Discovered and
> synch
> > ronized with 1 other running members of sbm_cluster>
> > <Apr 30, 2003 12:11:39 PM PDT> <Emergency> <WebLogicServer> <000342>
> <Unable to
> > initialize the server: Fatal initialization exception
> > Throwable: java.lang.NullPointerException
> > java.lang.NullPointerException
> > at
> weblogic.transaction.internal.TransactionRecoveryService.getOrCreate(
> > TransactionRecoveryService.java:345)
> > at
> weblogic.transaction.internal.TransactionRecoveryService.deployAllTra
> > nsactionRecoveryServices(TransactionRecoveryService.java:390)
> > at
> weblogic.transaction.internal.TransactionRecoveryService.resume(Trans
> > actionRecoveryService.java:160)
> > at
> weblogic.transaction.internal.TransactionService.resume(TransactionSe
> > rvice.java:138)
> > at
> weblogic.t3.srvr.ServerLifeCycleList.resume(ServerLifeCycleList.java:
> > 61)
> > at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:806)
> > at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:295)
> > at weblogic.Server.main(Server.java:32)
> > >
> >
> ***************************************************************************
> > The WebLogic Server did not start up properly.
> > Exception raised:
> > java.lang.NullPointerException
> > at
> weblogic.transaction.internal.TransactionRecoveryService.getOrCreate(
> > TransactionRecoveryService.java:345)
> > at
> weblogic.transaction.internal.TransactionRecoveryService.deployAllTra
> > nsactionRecoveryServices(TransactionRecoveryService.java:390)
> > at
> weblogic.transaction.internal.TransactionRecoveryService.resume(Trans
> > actionRecoveryService.java:160)
> > at
> weblogic.transaction.internal.TransactionService.resume(TransactionSe
> > rvice.java:138)
> > at
> weblogic.t3.srvr.ServerLifeCycleList.resume(ServerLifeCycleList.java:
> > 61)
> > at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:806)
> > at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:295)
> > at weblogic.Server.main(Server.java:32)
> > Reason: Fatal initialization exception
> > Throwable: java.lang.NullPointerException
> > java.lang.NullPointerException
> > at
> weblogic.transaction.internal.TransactionRecoveryService.getOrCreate(
> > TransactionRecoveryService.java:345)
> > at
> weblogic.transaction.internal.TransactionRecoveryService.deployAllTra
> > nsactionRecoveryServices(TransactionRecoveryService.java:390)
> > at
> weblogic.transaction.internal.TransactionRecoveryService.resume(Trans
> > actionRecoveryService.java:160)
> > at
> weblogic.transaction.internal.TransactionService.resume(TransactionSe
> > rvice.java:138)
> > at
> weblogic.t3.srvr.ServerLifeCycleList.resume(ServerLifeCycleList.java:
> > 61)
> > at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:806)
> > at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:295)
> > at weblogic.Server.main(Server.java:32)
> >
> >
> ***************************************************************************
> >
> > The local server instance doesn't start because of this. The other server
> added
> > to the cluster was to run on a different machine & was not started yet. If
> I remove
> > the other server the server instance starts up fine. I am attaching the
> config.xml(the
> > working version, without the second server).
> >
> > This used to work in Weblogic 6.1.
> >
> > Thanks,
> > Aejaz
Rajesh Mirchandani
Developer Relations Engineer
BEA Support
-
NullPointerException in WebLogic JCABindingManager
While deploying an application known to have previously worked, I am encountering the following issue. Unfortunately, I do not have access to WLS source code which is makes diagnosing this issue impossible. Any pointers would be appreciated.
java -cp $WL_HOME/server/lib/weblogic.jar weblogic.version
WebLogic Server 10.3.1.0 Thu Jun 25 17:41:07 EDT 2009 1232752
<Jul 31, 2009 12:59:53 PM PDT> <Warning> <EJB> <BEA-010221> <The Message-Driven EJB: FooBarEndpoint is unable to bind to the JCA resource adapter: foo/bar. The Error was:
java.lang.NullPointerException
at weblogic.utils.bean.BeanInitializer.setValue(BeanInitializer.java:234)
at weblogic.utils.bean.BeanInitializer.initializeBean(BeanInitializer.java:174)
at weblogic.utils.bean.BeanInitializer.initializeBean(BeanInitializer.java:201)
at weblogic.ejb.container.internal.JCABindingManager.setActivationSpec(JCABindingManager.java:216)
at weblogic.ejb.container.internal.JCABindingManager.connect(JCABindingManager.java:115)
at weblogic.ejb.container.internal.MDConnectionManager.startConnectionPolling(MDConnectionManager.java:239)
at weblogic.ejb.container.manager.MessageDrivenManager.start(MessageDrivenManager.java:583)
at weblogic.ejb.container.deployer.MessageDrivenBeanInfoImpl.mdManagerStart(MessageDrivenBeanInfoImpl.java:1163)
at weblogic.ejb.container.deployer.MessageDrivenBeanInfoImpl.deployMessageDrivenBeans(MessageDrivenBeanInfoImpl.java:1115)
at weblogic.ejb.container.deployer.EJBDeployer.deployMessageDrivenBeans(EJBDeployer.java:1663)
at weblogic.ejb.container.deployer.EJBDeployer.start(EJBDeployer.java:1486)
at weblogic.ejb.container.deployer.EJBModule.start(EJBModule.java:601)
at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:117)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:629)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:206)
at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:53)
at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:140)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:106)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323)
at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:844)
at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1253)
at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:440)
at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:163)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:181)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:12)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:67)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)That appears to be a bug in the console. Please contact [email protected]
-- Rob
WLS Blog http://dev2dev.bea.com/blog/rwoollen/ -
NullPointerException while trying to add "WebLogic System Lib." in a classp
I'm having an error while trying to add WL System Libs in a classpath of an Hibernate configuration.
// yes, required is Hibernate Tools Eclipse plugin, v3.2.0 GA
/// available through http://www.hibernate.org/255.html - click on any "download" link
I first thought it would certainly be an Hibernate Tools bug, but according to the Stack Trace, it might be BEA WLS Tools which is faulty (=> NullPointerException)
That's why I preferred posting here first, before even issuing a bug report on http://bugzilla.bea.com/
Steps to reproduce:
1. Open the "Hibernate" perspective
2. Create or edit an Hibernate configuration (through the "+" icon or by right-click then "Edit Configuration" on an existing
3. Go to the "Classpath" tab.
4. Click "Advanced..." button, then check "Add Library" radio button; select "WebLogic System Libraries" entry and then "Next >".
5. Error happens in the Eclipse "Error Log" tab and the WebLogic library is not added.
Details
Message: "Unhandled event loop exception"
Exception Stack Trace:
java.lang.NullPointerException
at com.bea.workshop.wls.ui.internal.SystemLibrariesContainerPage.initialize(SystemLibrariesContainerPage.java:93)
at org.eclipse.jdt.internal.ui.wizards.buildpaths.ClasspathContainerWizard.getContainerPage(ClasspathContainerWizard.java:155)
at org.eclipse.jdt.internal.ui.wizards.buildpaths.ClasspathContainerWizard.getNextPage(ClasspathContainerWizard.java:170)
at org.eclipse.jface.wizard.WizardPage.getNextPage(WizardPage.java:172)
at org.eclipse.jface.wizard.WizardDialog.nextPressed(WizardDialog.java:813)
at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:369)
at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:616)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:227)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
at org.eclipse.jface.window.Window.open(Window.java:796)
at org.eclipse.jdt.internal.ui.wizards.buildpaths.ClasspathContainerWizard.openWizard(ClasspathContainerWizard.java:226)
at org.eclipse.jdt.ui.wizards.BuildPathDialogAccess.chooseContainerEntries(BuildPathDialogAccess.java:272)
at org.eclipse.jdt.internal.debug.ui.actions.AddLibraryAction.run(AddLibraryAction.java:39)
at org.eclipse.jdt.internal.debug.ui.launcher.RuntimeClasspathAdvancedDialog.okPressed(RuntimeClasspathAdvancedDialog.java:156)
at org.eclipse.jface.dialogs.Dialog.buttonPressed(Dialog.java:464)
at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:616)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:227)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
at org.eclipse.jface.window.Window.open(Window.java:796)
at org.eclipse.jdt.internal.debug.ui.actions.AddAdvancedAction.run(AddAdvancedAction.java:39)
at org.eclipse.jdt.internal.debug.ui.actions.RuntimeClasspathAction$1.widgetSelected(RuntimeClasspathAction.java:137)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:227)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
at org.eclipse.jface.window.Window.open(Window.java:796)
at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationsDialog.open(LaunchConfigurationsDialog.java:1133)
at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationPropertiesDialog.open(LaunchConfigurationPropertiesDialog.java:230)
at org.eclipse.debug.ui.DebugUITools.openLaunchConfigurationPropertiesDialog(DebugUITools.java:429)
at org.eclipse.debug.ui.DebugUITools.openLaunchConfigurationPropertiesDialog(DebugUITools.java:408)
at org.hibernate.eclipse.console.actions.EditConsoleConfiguration.edit(EditConsoleConfiguration.java:104)
at org.hibernate.eclipse.console.actions.EditConsoleConfiguration.doRun(EditConsoleConfiguration.java:71)
at org.hibernate.eclipse.console.actions.ConsoleConfigurationBasedAction.run(ConsoleConfigurationBasedAction.java:63)
at org.eclipse.ui.actions.BaseSelectionListenerAction.runWithEvent(BaseSelectionListenerAction.java:168)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:546)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:490)
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:402)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
Session data: (empty)
(copied from another unrelated error - provided for info)
eclipse.buildId=M20071023-1652
java.version=1.5.0_14
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en
Command-line arguments: -os win32 -ws win32 -arch x86Looks like a case that wasn't encountered before. Please go ahead and
open a bug at http://bugzilla.bea.com?
Thanks,
- Konstantin
Maybe you are looking for
-
Leaking instances of NonPlsqlTTCDataSet ?
I am memory profiling our application and getting some suspicious results. It may or may not be ok - please advise. We use connection pooling and it looks like OracleConnection keeps storing NonPlsqlTTCDataSet classes without releasing them. They see
-
Hi everybody Just have bought an ipad2 and i would like to manage several IDs on my computer (i.e keep my iPhone ID and create another one for the ipad to manage apps for my iPhone (4) and the apps for the iPad). How can I resetup the iPad to create
-
My Ipad has been stuck on the connect to Itunes screen now for days, it will not charge through the PC or wall charger. When plugged into the PC it is not recognized by it. Itunes doesn't see it and it will not let me reboot the system. How can I
-
Dual booting win 7 and arch: cannot install grub to partition
I have read the arch wiki page on dual booting and several other sources on line, but I am still struggling to get this to work. I am trying to dual boot arch and windows 7 on my lenovo ideapad s205. the machine comes with windows 7 pre-installed. I
-
We plan to use WLS 5.1 and WLS 7.0 for different applications (and clusters), but with the same Apache Webservers. The installation of the Apache HTTP Server Plug-In is documented in http://e-docs.bea.com/wls/docs70/plugins/apache.html, but I could n