EclipseLink persistence provider issue with weblogic 10.3
Hi All,
I have been trying to deploy and run an EAR in weblogic but when I run the application I get the following warning: WARNING: Found unrecognized persistence provider "org.eclipse.persistence.jpa.PersistenceProvider" in place of OpenJPA provider. This provider's properties will not be used.
The following is my persistence.xml:
<persistence xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence persistence_1_0.xsd" version="1.0">
<persistence-unit name="default" transaction-type="JTA">
<provider>org.eclipse.persistence.jpa.PersistenceProvider</provider>
<jta-data-source>DataSourceName</jta-data-source>
<class>oracle.communications.platform.entity.impl.CharacteristicSpecificationDAO</class>
<properties>
<property name="eclipselink.logging.level" value="FINEST" />
<property name="eclipselink.target-database" value="org.eclipse.persistence.platform.database.oracle.OraclePlatform" />
<property name="eclipselink.target-server" value="WebLogic_10" />
<property name="eclipselink.session-event-listener" value="oracle.communications.platform.persistence.impl.PomsSessionEventListener" />
<property name="eclipselink.session.customizer" value="oracle.communications.platform.util.EclipseLinkSessionCustomizer" />
<property name="poms.cache.coordination.implementation" value="jms" />
<property name="poms.cache.coordination.ipaddress" value="10.178.139.64" />
<property name="poms.cache.coordination.port" value="7101" />
<property name="poms.cache.coordination.multicast.group.address" value="226.10.12.64" />
<property name="poms.cache.coordination.multicast.port" value="3121" />
<property name="poms.cache.coordination.topic.connection.factory.name" value="EclipseLinkTopicConnectionFactory" />
<property name="poms.cache.coordination.topic.name" value="EclipseLinkTopic" />
<property name="poms.cache.coordination.username" value="weblogic" />
<property name="poms.cache.coordination.password" value="weblogic" />
<property name="poms.cache.coordination.password.encrypted" value="false" />
</properties>
</persistence-unit>
</persistence>
I have written a session customizer that reads properties from the persistence.xml and initializes stuff. But because of the warning i mentioned earlier... I am getting null for all property entries.
I moved the eclipselink jar entry up ahead of openjpa jar entry in weblogic.server.modules_10.3.1.0.xml and refcount.xml in /modules/features directory. I am still getting the same problem.
I read in many posts for workarounds for this issue but didnt find anything which worked for me. I would be grateful if someone could provide me a hint as to how to make it work.
Thanks in advance,
Prashanth.
Prashanth,
Hi, there should be no issue running EclipseLink on WebLogic while you see this warning. If you are getting null properties it may be the result of another issue, could you post specific exceptions and the part of your client code that is having a problem.
1) The warning below normally appears only when running your persistence unit with an "application managed" JTA datasource as opposed to a "globally defined server scoped datasource". Even then it can be ignored as there are still parts of WebLogic that depend on OpenJPA. Even though the warning states that properties are ignored - they are not and you should see your persistence unit loaded properly.
I encountered this issue when running an "application managed" JTA - here is an extract of the log showing the warning and the full functioning of the pu later - the persistence unit and example code can be found on the weblogic tutorial examples link below
"[EL Finer]: 2008.10.29 13:03:55.565--ClientSession(30346337)--Thread(Thread[[ACTIVE] ExecuteThread: '20' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads])--client released
WARNING: Found unrecognized persistence provider "org.eclipse.persistence.jpa.PersistenceProvider" in place of OpenJPA provider. This provider's properties will not be used.
[EL Info]: 2008.10.29 13:03:56.079--ServerSession(14772987)--EclipseLink, version: Eclipse Persistence Services - 1.1.0 (Build 20081023)
[EL Info]: 2008.10.29 13:03:56.391--ServerSession(14772987)--file:/C:/view_w34r1a/examples/org.eclipse.persistence.example.jpa.server.weblogic.enterpriseEJB/build/classes/-exampleLocal login successful
15 Entities in storage: 15
[EL ExampleLocal EM]: enterprise: Object: [email protected]( id: 6 state: null parent: HashSet@15794734 references: HashSet@15794734)
[EL ExampleLocal EM]: enterprise: Object: [email protected]( id: 26 state: null parent: HashSet@8800655 references: HashSet@8800655)
I raised the following minor issue with our WebLogic Server team in Oct for reference - however this warning did not affect proper functioning of EclipseLink JPA.
https://bug.oraclecorp.com/pls/bug/webbug_edit.edit_info_top?rptno=7520161
You may reference the following tutorial on running EclipseLink JPA on WebLogic 10.3, it details all the steps necessary to get a JTA container managed persistence unit running via a stateless session bean and a servlet client. It also details and links to application managed datasource configuration details.
http://wiki.eclipse.org/EclipseLink/Examples/JPA/WebLogic_Web_Tutorial
2) eclipselink.jar location in WebLogic?
The eclipselink.jar library should stay in the modules or patch_* directory depending on whether you are running a standalone WebLogic server or as part of a Fusion Middleware JDeveloper environment.
See the following link that details deployment options for WebLogic and EclipseLink
http://wiki.eclipse.org/EclipseLink/Examples/JPA/WebLogic_Web_Tutorial#EclipseLink_JAR_location
Note: I have not modified the load order of EclipseLink, OpenJPA or Kodo, I am running all including this version of OpenJPA in my modules directory. [org.apache.openjpa_1.0.0.0_1-1-1-SNAPSHOT.jar]
3) I noticed that you are defining the target-database property in your persistence unti but you are running as JTA not RESOURCE_LOCAL. This property can be removed if your JTA datasource is defined as a Transactional server scoped datasource via the WebLogic console.
thank you
/michael
http://www.eclipselink.org
Similar Messages
-
Issue with Weblogic services in Linux OBIEE 11G
Hello All,
I have a OBI 11G set up on a linux OS.I am facing a issue with weblogic service.
Whenever I am trying to start the Admin server from command line using its .sh , it is starting successfully.
But whenever I am closing that Linux session or coming out of the Admin server log , this service is getting stopped on its own.
OBI is working perfectly when that Linux session and Admin server log is intact, but as soon as i close either of them Admin server shut itself down.
Please any help on this will be appreciated.
Thanks,
BhavneshHi Bhavnesh.
Try this way and let me know the outcome.
nohup ./startWeblogic.sh -Dweblogic.management.username=Username -Dweblogic.management.password=password & tail -f nohup.out
Mark if helps,
Thanks, -
EJB 3.0 MDB deployment issue with weblogic 10.0
Hi there,
I am new to MDB EJB and right now I am using the EJB 3.0 with weblogic server 10.0. I am using Eclipse 3.4 for development.
After developing the MDB from eclipse I export the EAR from eclipse and deploy it in weblogic. When I try to start the deployed EAR it gives me following error.
weblogic.application.ModuleException: Exception preparing module: EJBModule(Message.jar)
Unable to deploy EJB: MessageBean from Message.jar:
[EJB:011113]Error: The Message Driven Bean 'MessageBean(Application: MessageEAR, EJBComponent: Message.jar)', does not have a message destination configured. The message destination must be set using a message-destination-link, destination-resource-link, destination-jndi-name or a resource-adapter-jndi-name.
at weblogic.ejb.container.deployer.EJBModule.prepare(EJBModule.java:399)
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:360)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:56)
Truncated. see log file for complete stacktrace
[EJB:011113]Error: The Message Driven Bean 'MessageBean(Application: MessageEAR, EJBComponent: Message.jar)', does not have a message destination configured. The message destination must be set using a message-destination-link, destination-resource-link, destination-jndi-name or a resource-adapter-jndi-name.
at weblogic.ejb.container.deployer.MessageDrivenBeanInfoImpl.ensureMDBHasDestinationConfigured(MessageDrivenBeanInfoImpl.java:1811)
at weblogic.ejb.container.deployer.MessageDrivenBeanInfoImpl.prepare(MessageDrivenBeanInfoImpl.java:1011)
at weblogic.ejb.container.deployer.EJBDeployer.setupBeanInfos(EJBDeployer.java:997)
at weblogic.ejb.container.deployer.EJBDeployer.prepare(EJBDeployer.java:1273)
at weblogic.ejb.container.deployer.EJBModule.prepare(EJBModule.java:372)
Truncated. see log file for complete stacktrace
>
Any help really appreciated. It's too urgent.
Thanks in advance,
Piyushhere is the code for my bean.
package com.ups;
import java.util.logging.Logger;
import javax.ejb.ActivationConfigProperty;
import javax.ejb.EJBException;
import javax.ejb.MessageDriven;
import javax.ejb.MessageDrivenContext;
import javax.jms.JMSException;
import javax.jms.Message;
import javax.jms.MessageListener;
import javax.jms.TextMessage;
* Message-Driven Bean implementation class for: MessageBean
@MessageDriven(
activationConfig = { @ActivationConfigProperty(
propertyName = "destinationType", propertyValue = "javax.jms.Queue"
public class MessageBean implements MessageListener {
private MessageDrivenContext mdc;
* Default constructor.
public MessageBean() {
// TODO Auto-generated constructor stub
* @see MessageListener#onMessage(Message)
public void onMessage(Message message) {
TextMessage tmsg = null;
try {
tmsg = (TextMessage) message;
System.out.println("MESSAGE BEAN: Message received: " + tmsg.getText( ));
System.out.println ("The onMessage() is called");
} catch (JMSException e) {
e.printStackTrace( );
mdc.setRollbackOnly( );
catch (Throwable th) {
th.printStackTrace();
public void ejbRemove( )throws EJBException{
System.out.println("ejbRemove() is executed >>>>>>>");
I have configured my JMS Distributed queue in the Weblogic.
If possible please provide more details so that I can get rid of this error as soon as possible.
Thanks for reply.
Piyush -
JSTL 1.1 issue with Weblogic 9.2
I am having tough time to make JSTL 1.1 work with Weblogic 9.2.Here the issue goes
When i user JSTL core tags like out,forEach weblogic is unable to understand the EL and throwing a compile time exception saying can't read request time values.
However the same page worked fine when i rolled back to JSTL 1.0 and weblogic 8.1.
I couldnt able to understand why JSTL 1.1 is not working in Weblogic 9.2.I assume weblogic 9.2 comes with servlet 2.4 and JSP 1.2.So JSTL 1.2 should work fine.
Am i ignoring anything involved with new JSP specs and JSTL
OR
Is this a bug with Weblogic 9.2 ?
Any comments highly appreciated.
Thanks,
Mallikhey check the servlet spec version you're using in your web.xml. I think you want 2.3 not 2.4.
-
Issue with Weblogic character encoding
I have struts2 based web application which works fine with tomcat server but when i deployed the application to weblogic 10.3 server it is creating following issue-
1) when i enter data in application forms with £ (pound sign), £ gets converted to ?
My Jsp Page is using ISO-8859-1 charset. please look at the snapshot from jsp page.
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
I have debug the application and came to know that this data (£ sign) is converted to ? before being assigned to corresponding property in action class.
this seems to be issue with encoding of characters with weblogic server.
I have also tried to fix this issue by defining the charset in weblogic.xml file in my application as follows but it does'nt solve this issue. please see the snapshot from weblogic.xml file.
<wls:weblogic-version>10.3</wls:weblogic-version>
<wls:context-root>APMApplication</wls:context-root>
<wls:charset-params>
<wls:input-charset>
<wls:resource-path>/*</wls:resource-path>
<wls:java-charset-name>ISO-8859-1</wls:java-charset-name>
</wls:input-charset>
</wls:charset-params>
Please suggest some solution to fix this issue. thanking you in advance."I can not change the charset in jsp pages i.e i have to use ISO-8859-1 in my jsp page which is a must have requirment."
You are right here as the pound sign is not included in UTF-8 (did not know that sorry).
Could you try setting the page directive of the JSP to
<%@ page contentType="text/html;charset=ISO-8859-1" language="java" %>or when you are working with jspx
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" xmlns="http://www.w3.org/1999/xhtml" version="2.0">
<jsp:directive.page contentType="text/html;charset=ISO-8859-1"/>
</jsp:root> -
JNDI Provider Connection With Weblogic 8.1
Hi all,
I am using SUN ONE Studio V 5.0 update 1 with weblogic 8.1 integrated with it.
Today I have added weblogic.jar in the classpath of the project.
Now I went to "runtime tab" and installed a jndi provider with factoryname and url successfully.
I tested the provider successfully :)
But when I tried to connect it to the service it failed.
IDE thrown a NPE and error message in dialog appears, says "TimeOut value is too short to connect".
There is no option for setting this timeout value.
Could any one pls help me regarding this. How can I get connected to JNDI service given by WL 8.1 ?
Has anyone also faced such problem ?
My server is up and smiling on me.
I am adding that error message fully....
java.lang.NullPointerException
at weblogic.rmi.internal.StubGenerator.getStubOnClient(StubGenerator.java:785)
at weblogic.rmi.internal.StubGenerator.getStubClass(StubGenerator.java:758)
at weblogic.rmi.internal.StubGenerator.generateStub(StubGenerator.java:803)
at weblogic.rmi.internal.StubGenerator.generateStub(StubGenerator.java:790)
at weblogic.rmi.extensions.StubFactory.getStub(StubFactory.java:79)
at weblogic.common.internal.RMIBootServiceStub.getStub(RMIBootServiceStub.java:50)
at weblogic.security.acl.internal.Security.authenticate(Security.java:152)
at weblogic.jndi.WLInitialContextFactoryDelegate.authenticateRemotely(WLInitialContextFactoryDelegate.java:597)
at weblogic.jndi.WLInitialContextFactoryDelegate.pushSubject(WLInitialContextFactoryDelegate.java:534)
at weblogic.jndi.WLInitialContextFactoryDelegate.newContext(WLInitialContextFactoryDelegate.java:336)
at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:308)
at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:234)
at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:135)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:662)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)
at javax.naming.InitialContext.init(InitialContext.java:219)
at javax.naming.InitialContext.<init>(InitialContext.java:195)
at javax.naming.directory.InitialDirContext.<init>(InitialDirContext.java:80)
at org.netbeans.modules.jndi.JndiDirContext.<init>(JndiDirContext.java:47)
at org.netbeans.modules.jndi.JndiDataType$1$Connector.checkContextValidity(JndiDataType.java:211)
at org.netbeans.modules.jndi.JndiDataType$1$Connector.run(JndiDataType.java:169)
at java.lang.Thread.run(Thread.java:534)
--------------- nested within: ------------------
weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Failed to generate class for weblogic.common.internal.RMIBootServiceImpl_811_WLStub ] - with nested exception:
[java.lang.NullPointerException]
at weblogic.rmi.internal.StubGenerator.generateStub(StubGenerator.java:807)
at weblogic.rmi.internal.StubGenerator.generateStub(StubGenerator.java:790)
at weblogic.rmi.extensions.StubFactory.getStub(StubFactory.java:79)
at weblogic.common.internal.RMIBootServiceStub.getStub(RMIBootServiceStub.java:50)
at weblogic.security.acl.internal.Security.authenticate(Security.java:152)
at weblogic.jndi.WLInitialContextFactoryDelegate.authenticateRemotely(WLInitialContextFactoryDelegate.java:597)
at weblogic.jndi.WLInitialContextFactoryDelegate.pushSubject(WLInitialContextFactoryDelegate.java:534)
at weblogic.jndi.WLInitialContextFactoryDelegate.newContext(WLInitialContextFactoryDelegate.java:336)
at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:308)
at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:234)
at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:135)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:662)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)
at javax.naming.InitialContext.init(InitialContext.java:219)
at javax.naming.InitialContext.<init>(InitialContext.java:195)
at javax.naming.directory.InitialDirContext.<init>(InitialDirContext.java:80)
at org.netbeans.modules.jndi.JndiDirContext.<init>(JndiDirContext.java:47)
at org.netbeans.modules.jndi.JndiDataType$1$Connector.checkContextValidity(JndiDataType.java:211)
at org.netbeans.modules.jndi.JndiDataType$1$Connector.run(JndiDataType.java:169)
[catch] at java.lang.Thread.run(Thread.java:534)
one this more, if u see help then it is written that WL plugin will work only with jdk 1.3.1 and not with 1.4 but my plugin works successfully. What does it mean ?
My userdir is : C:\Utility\Dir4j, when I installed the provider for connecting to JNDI service of WL, then IDE created a dir C:\Utility\Dir4j\system\JNDI folder and created weblogic_jndi_WLInitialContextFactory.impl file under it.
Because I added that weblogic.jar file on my FSystem thats' why It created it under my userdir.
Pls Help
SanjeevHi Sanjeev :
I am running into the same problem . Could you please be kind enough to tell me how you fixed the problem. I followed your solution but I am still running into the same problem.
Basically my WebStart application should be getting a connection from the Connection pool making a t3 call to a Weblogic server.
Thanks in advance . -
EPMA 11.1.1.3 manual deployment issues with WEBLOGIC in EAS and WEBANALYSIS
Hi all,
As we are working on 64 bit machines, we have to deploy hyperion products manually with WEBLOGIC. other than EAS and WEBANALYSIS, all the products are working fine.
we have followed all the steps related to manual deployment. but still we r getting JAVA related error. so if anything else that we need to perform other than normal manual deployment steps, please let me know.
NOTE: EASDOCS, HBRLAUNCHER, are working but EAS is not been deployed.
RegardsIs your WebLogic 32-bit or 64-bit WebLogic? What specific O/S and version are you using? Some of the products make use of 32-bit native libraries's for JNDI and there are not 64-bit native libraries available unless you are using the AIX or Solaris Platform and even then not all products are supported for 64-bit.
If you were to use 11.1.2 it supports most of the product suite in 64-bit on most platforms.
Refer to support matrices at: http://www.oracle.com/technetwork/middleware/bi-foundation/hyperion-supported-platforms-085957.html
Regards,
John A. Booth
http://www.metavero.com -
Apache2.2 Plugin configuration issue with Weblogic 9.2
Hi All,
We are trying to configure apache plugin for weblogic 9.2 (Apache Proxying for Weblogic) in Solaris Spark. When we are testing the httpd.conf configuration using apachectl configtest we are getting following error.
httpd: Syntax error on line 80 of /data/httpserv/apache-2.2.10/conf/httpd.conf: Cannot load /data/httpserv/apache-2.2.10/modules/mod_wl_22.so into server: ld.so.1: httpd: fatal: /data/httpserv/apache-2.2.10/modules/mod_wl_22.so: wrong ELF class: ELFCLASS32
We were using the mod_wl_22.so file provided for Solaris/Spark in the link mentioned below.
http://download.oracle.com/otn/bea/weblogic/server103/server103_apacheplugins.zip
Apache 2.2.10 installation that we are using is a 64-bit version. It seems mod_wl_22.so provided in the above link for solaris/spark is a 32-bit version. Is it possible to get a 64bit version of this library?
Anybody has worked on same/similar kind of issues? Is there any workaround, for this?
Input/thoughts from anyone is highly appreciatedHello, I'm not an expert at confugring Apache and WebLogic servers. Hopefully someone else who does know what they are doing will reply to your question.
I found your question because I am also working on an Apache / WebLogic install for an Ariba installation (in Windows 7).
However I did support a configuration of WebLogic on Solaris with Apache. I remember that the guy who did the Apache install mentioned that Apache needed to be compiled correctly - below is what he sent:
Apache server compilation options:
./configure prefix=/usr/local/apache_2.0.63 enable-mods-shared=all enable-ssl=shared enable-ssl with-ssl=/usr/local/ssl enable-proxy enable-proxy-connect enable-proxy-http --with-mpm=worker
I am still looking into the differences between the plugins (mod 22 so vs mod 20 so). Navigating the Oracle download options can be bewildering. I found the link to download a full zip file of plugins (below).
Oracle WebLogic Server Web Server Plugins 1.1
http://www.oracle.com/technetwork/middleware/ias/downloads/wls-plugins-096117.html
I clicked on "all versions."
Does the WLSPlugin1.1-64bitApache2.2-solaris-sparc.zip contain what you need?
Great luck to you!
-Tom Tobey -
Issues with weblogic 7.0 and Java 1.2, Please Respond ASAP
Hi Everyone,
I have servlet program running on weblogic 7.0. The code works fine in development (same config as Production).
But I have problems with the code in production/Test domain. The code runs successfully only for the first time. Subsequent execution of the code results into infinite loop.
Has anyone came across this issue. If so please help
Thanks in advanceHi Everyone,
The code works fine in development (same config as
Production).
But I have problems with the code in production
domain. This tells me that the first statement is false - development is NOT the same as production. You need to stop telling yourself that they're the same and figure out what's different.
The code runs successfully only for the first
time and displays the result in the screen. (its
using the if condition checking the boolean value
returned from another methods is true or false.)
Next time, when i run with the same input, it
returns the value from another method and returns
the value to the caller and starts executing from
begining of the caller methods (instead of
displaying result in the screen) and it goes in to
the loop. Could be anything - threading issues, etc. Who knows? You've really provided no details at all. I'm not sure I'd want to see them, either, because this will be a very difficult problem to solve on a forum. You really ought to be talking to your WebLogic support.
% -
Eclipselink log levels issue with weak references
Hi all,
Is it possible to get null pointer exceptions if the log level in eclipselink is set to FINEST and you are logging a weak reference probably in a IdentityWeakReferenceMap and getting a null pointer exception because the weak ref has been garbage collected ?
-Prashanth.I am getting Nullpointer exception when I set log level to FINER or FINEST in persistence.xml.
DisRootEntityRef entity which is seen in below log has week reference in erml.
Here is the exception full trace:
EL Warning: 2010-05-31 17:06:52.328--UnitOfWork(19025200)--Thread(Thread[)--java.lang.NullPointerException
at oracle.communications.platform.entity.impl.DisRootEntityRefDAO.getRootEntity(DisRootEntityRefDAO.java:300)
at oracle.communications.platform.entity.impl.DisRootEntityRefDAO.getToString(DisRootEntityRefDAO.java:591)
at oracle.communications.platform.entity.impl.DisRootEntityRefDAO.toString(DisRootEntityRefDAO.java:584)
at java.text.MessageFormat.subformat(MessageFormat.java:1246)
at java.text.MessageFormat.format(MessageFormat.java:836)
at java.text.Format.format(Format.java:140)
at java.text.MessageFormat.format(MessageFormat.java:812)
at org.eclipse.persistence.internal.localization.EclipseLinkLocalization.buildMessage(EclipseLinkLocalization.java:77)
at org.eclipse.persistence.internal.localization.TraceLocalization.buildMessage(TraceLocalization.java:30)
at org.eclipse.persistence.logging.AbstractSessionLog.formatMessage(AbstractSessionLog.java:801)
at org.eclipse.persistence.platform.server.ServerLog.log(ServerLog.java:71)
at org.eclipse.persistence.internal.sessions.AbstractSession.log(AbstractSession.java:2571)
at org.eclipse.persistence.internal.sessions.AbstractSession.log(AbstractSession.java:3664)
at org.eclipse.persistence.internal.sessions.AbstractSession.log(AbstractSession.java:3636)
at org.eclipse.persistence.internal.sessions.AbstractSession.log(AbstractSession.java:3612)
at org.eclipse.persistence.internal.sessions.AbstractSession.log(AbstractSession.java:3534)
at org.eclipse.persistence.internal.sessions.UnitOfWorkImpl.logDebugMessage(UnitOfWorkImpl.java:5397)
at org.eclipse.persistence.internal.sessions.UnitOfWorkImpl.registerExistingObject(UnitOfWorkImpl.java:3874)
at org.eclipse.persistence.internal.sessions.UnitOfWorkImpl.registerExistingObject(UnitOfWorkImpl.java:3844)
at org.eclipse.persistence.queries.ObjectBuildingQuery.registerIndividualResult(ObjectBuildingQuery.java:362)
at org.eclipse.persistence.internal.descriptors.ObjectBuilder.buildWorkingCopyCloneNormally(ObjectBuilder.java:588)
at org.eclipse.persistence.internal.descriptors.ObjectBuilder.buildObjectInUnitOfWork(ObjectBuilder.java:549)
at org.eclipse.persistence.internal.descriptors.ObjectBuilder.buildObject(ObjectBuilder.java:489)
at org.eclipse.persistence.internal.descriptors.ObjectBuilder.buildObject(ObjectBuilder.java:441)
at org.eclipse.persistence.queries.ObjectLevelReadQuery.buildObject(ObjectLevelReadQuery.java:635)
at org.eclipse.persistence.queries.ReadAllQuery.registerResultInUnitOfWork(ReadAllQuery.java:838)
at org.eclipse.persistence.queries.ReadAllQuery.executeObjectLevelReadQuery(ReadAllQuery.java:464)
at org.eclipse.persistence.queries.ObjectLevelReadQuery.executeDatabaseQuery(ObjectLevelReadQuery.java:997)
at org.eclipse.persistence.queries.DatabaseQuery.execute(DatabaseQuery.java:670)
at org.eclipse.persistence.queries.ObjectLevelReadQuery.execute(ObjectLevelReadQuery.java:958)
at org.eclipse.persistence.queries.ReadAllQuery.execute(ReadAllQuery.java:432)
at org.eclipse.persistence.queries.ObjectLevelReadQuery.executeInUnitOfWork(ObjectLevelReadQuery.java:1021)
at org.eclipse.persistence.internal.sessions.UnitOfWorkImpl.internalExecuteQuery(UnitOfWorkImpl.java:2858)
at org.eclipse.persistence.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1225)
at org.eclipse.persistence.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1207)
at org.eclipse.persistence.internal.indirection.QueryBasedValueHolder.instantiate(QueryBasedValueHolder.java:85)
at org.eclipse.persistence.internal.indirection.QueryBasedValueHolder.instantiate(QueryBasedValueHolder.java:75)
at org.eclipse.persistence.internal.indirection.DatabaseValueHolder.getValue(DatabaseValueHolder.java:83)
at org.eclipse.persistence.internal.indirection.UnitOfWorkValueHolder.instantiateImpl(UnitOfWorkValueHolder.java:161)
at org.eclipse.persistence.internal.indirection.UnitOfWorkValueHolder.instantiate(UnitOfWorkValueHolder.java:230)
at org.eclipse.persistence.internal.indirection.DatabaseValueHolder.getValue(DatabaseValueHolder.java:83)
at org.eclipse.persistence.indirection.IndirectList.buildDelegate(IndirectList.java:237)
at org.eclipse.persistence.indirection.IndirectList.getDelegate(IndirectList.java:397)
at org.eclipse.persistence.indirection.IndirectList$1.(IndirectList.java:525)
at org.eclipse.persistence.indirection.IndirectList.listIterator(IndirectList.java:524)
at org.eclipse.persistence.indirection.IndirectList.iterator(IndirectList.java:488)
at oracle.communications.platform.persistence.impl.PomsArrayList.iterator(PomsArrayList.java:598)
at oracle.communications.platform.entity.impl.DisResultGroupDAO.getRootEntities(DisResultGroupDAO.java:765)
at oracle.communications.integrity.scanCartridges.sdk.RootEntityLoaderImpl.(RootEntityLoaderImpl.java:37)
at oracle.communications.integrity.scanCartridges.sdk.BaseDiscrepancyDetectionController.init(BaseDiscrepancyDetectionController.java:71)
at oracle.communications.integrity.scanCartridges.sdk.BaseDiscrepancyDetectionController.invoke(BaseDiscrepancyDetectionController.java:41)
at oracle.communications.integrity.cartridges.ciscoextensioncartridge.detectionplugins.ciscodiscrepancydetectionsample.CiscoDiscrepancyDetectionSampleMessageDrivenBean.onMessage(CiscoDiscrepancyDetectionSampleMessageDrivenBean.java:109)
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:597)
at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy343.onMessage(Unknown Source)
at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:466)
at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.java:371)
at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:327)
at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:4585)
at weblogic.jms.client.JMSSession.execute(JMSSession.java:4271)
at weblogic.jms.client.JMSSession.executeMessage(JMSSession.java:3747)
at weblogic.jms.client.JMSSession.access$000(JMSSession.java:114)
at weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:5096)
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)
oracle.communications.integrity.cartridges.ciscoextensioncartridge.detectionplugins.ciscodiscrepancydetectionsample.CiscoDiscrepancyDetectionSampleMessageDrivenBean
java.lang.NullPointerException
at oracle.communications.platform.entity.impl.DisRootEntityRefDAO.getRootEntity(DisRootEntityRefDAO.java:300)
at oracle.communications.platform.entity.impl.DisRootEntityRefDAO.getToString(DisRootEntityRefDAO.java:591)
at oracle.communications.platform.entity.impl.DisRootEntityRefDAO.toString(DisRootEntityRefDAO.java:584)
at java.text.MessageFormat.subformat(MessageFormat.java:1246)
at java.text.MessageFormat.format(MessageFormat.java:836)
at java.text.Format.format(Format.java:140)
at java.text.MessageFormat.format(MessageFormat.java:812)
at org.eclipse.persistence.internal.localization.EclipseLinkLocalization.buildMessage(EclipseLinkLocalization.java:77)
at org.eclipse.persistence.internal.localization.TraceLocalization.buildMessage(TraceLocalization.java:30)
at org.eclipse.persistence.logging.AbstractSessionLog.formatMessage(AbstractSessionLog.java:801)
at org.eclipse.persistence.platform.server.ServerLog.log(ServerLog.java:71)
at org.eclipse.persistence.internal.sessions.AbstractSession.log(AbstractSession.java:2571)
at org.eclipse.persistence.internal.sessions.AbstractSession.log(AbstractSession.java:3664)
at org.eclipse.persistence.internal.sessions.AbstractSession.log(AbstractSession.java:3636)
at org.eclipse.persistence.internal.sessions.AbstractSession.log(AbstractSession.java:3612)
at org.eclipse.persistence.internal.sessions.AbstractSession.log(AbstractSession.java:3534)
at org.eclipse.persistence.internal.sessions.UnitOfWorkImpl.logDebugMessage(UnitOfWorkImpl.java:5397)
at org.eclipse.persistence.internal.sessions.UnitOfWorkImpl.registerExistingObject(UnitOfWorkImpl.java:3874)
at org.eclipse.persistence.internal.sessions.UnitOfWorkImpl.registerExistingObject(UnitOfWorkImpl.java:3844)
at org.eclipse.persistence.queries.ObjectBuildingQuery.registerIndividualResult(ObjectBuildingQuery.java:362)
at org.eclipse.persistence.internal.descriptors.ObjectBuilder.buildWorkingCopyCloneNormally(ObjectBuilder.java:588)
at org.eclipse.persistence.internal.descriptors.ObjectBuilder.buildObjectInUnitOfWork(ObjectBuilder.java:549)
at org.eclipse.persistence.internal.descriptors.ObjectBuilder.buildObject(ObjectBuilder.java:489)
at org.eclipse.persistence.internal.descriptors.ObjectBuilder.buildObject(ObjectBuilder.java:441)
at org.eclipse.persistence.queries.ObjectLevelReadQuery.buildObject(ObjectLevelReadQuery.java:635)
at org.eclipse.persistence.queries.ReadAllQuery.registerResultInUnitOfWork(ReadAllQuery.java:838)
at org.eclipse.persistence.queries.ReadAllQuery.executeObjectLevelReadQuery(ReadAllQuery.java:464)
at org.eclipse.persistence.queries.ObjectLevelReadQuery.executeDatabaseQuery(ObjectLevelReadQuery.java:997)
at org.eclipse.persistence.queries.DatabaseQuery.execute(DatabaseQuery.java:670)
at org.eclipse.persistence.queries.ObjectLevelReadQuery.execute(ObjectLevelReadQuery.java:958)
at org.eclipse.persistence.queries.ReadAllQuery.execute(ReadAllQuery.java:432)
at org.eclipse.persistence.queries.ObjectLevelReadQuery.executeInUnitOfWork(ObjectLevelReadQuery.java:1021)
at org.eclipse.persistence.internal.sessions.UnitOfWorkImpl.internalExecuteQuery(UnitOfWorkImpl.java:2858)
at org.eclipse.persistence.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1225)
at org.eclipse.persistence.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1207)
at org.eclipse.persistence.internal.indirection.QueryBasedValueHolder.instantiate(QueryBasedValueHolder.java:85)
at org.eclipse.persistence.internal.indirection.QueryBasedValueHolder.instantiate(QueryBasedValueHolder.java:75)
at org.eclipse.persistence.internal.indirection.DatabaseValueHolder.getValue(DatabaseValueHolder.java:83)
at org.eclipse.persistence.internal.indirection.UnitOfWorkValueHolder.instantiateImpl(UnitOfWorkValueHolder.java:161)
at org.eclipse.persistence.internal.indirection.UnitOfWorkValueHolder.instantiate(UnitOfWorkValueHolder.java:230)
at org.eclipse.persistence.internal.indirection.DatabaseValueHolder.getValue(DatabaseValueHolder.java:83)
at org.eclipse.persistence.indirection.IndirectList.buildDelegate(IndirectList.java:237)
at org.eclipse.persistence.indirection.IndirectList.getDelegate(IndirectList.java:397)
at org.eclipse.persistence.indirection.IndirectList$1.(IndirectList.java:525)
at org.eclipse.persistence.indirection.IndirectList.listIterator(IndirectList.java:524)
at org.eclipse.persistence.indirection.IndirectList.iterator(IndirectList.java:488)
at oracle.communications.platform.persistence.impl.PomsArrayList.iterator(PomsArrayList.java:598)
at oracle.communications.platform.entity.impl.DisResultGroupDAO.getRootEntities(DisResultGroupDAO.java:765)
at oracle.communications.integrity.scanCartridges.sdk.RootEntityLoaderImpl.(RootEntityLoaderImpl.java:37)
at oracle.communications.integrity.scanCartridges.sdk.BaseDiscrepancyDetectionController.init(BaseDiscrepancyDetectionController.java:71)
at oracle.communications.integrity.scanCartridges.sdk.BaseDiscrepancyDetectionController.invoke(BaseDiscrepancyDetectionController.java:41)
at oracle.communications.integrity.cartridges.ciscoextensioncartridge.detectionplugins.ciscodiscrepancydetectionsample.CiscoDiscrepancyDetectionSampleMessageDrivenBean.onMessage(CiscoDiscrepancyDetectionSampleMessageDrivenBean.java:109)
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:597)
at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy343.onMessage(Unknown Source)
at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:466)
at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.java:371)
at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:327)
at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:4585)
at weblogic.jms.client.JMSSession.execute(JMSSession.java:4271)
at weblogic.jms.client.JMSSession.executeMessage(JMSSession.java:3747)
at weblogic.jms.client.JMSSession.access$000(JMSSession.java:114)
at weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:5096)
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) -
JSP issue with WebLogic 9.1 but not with 8.1
I am getting the following errors when i am trying to build an existing web application. I was able to build it successfully using weblogic 8.1.
Below are the versions i am using
Weblogic 9.1
Ant1.6.2
JDK 1.5.0_04
===================================================
Results.jsp:596:63: The qualifier of this name is a package, which cannot contai
n methods.
onclick="PopupURLMenu('<%=ResultsUtil.getMyDoc(oDocs,cou
nt).getUrl()%>',
^------^
Results.jsp:598:28: No match was found for method getDisplayName() in type <erro
r>.
<%=ResultsUtil.getMyDoc(oDocs,count).getDisplayName()%>
^------------------------------------------------^
Results.jsp:598:40: The qualifier of this name is a package, which cannot contai
n methods.
<%=ResultsUtil.getMyDoc(oDocs,count).getDisplayName()%>
^------^
Results.jsp:606:55: No match was found for method getUrl() in type <error>.
onclick="PopupURLMenu('<%=ResultsUtil.getMyDoc(oDocs
,count+1).getUrl()%>',
^-------------------------
-----------------^
Results.jsp:606:67: The qualifier of this name is a package, which cannot contai
n methods.
onclick="PopupURLMenu('<%=ResultsUtil.getMyDoc(oDocs
,count+1).getUrl()%>',
^------^
Results.jsp:608:32: No match was found for method getDisplayName() in type <erro
r>.
<%=ResultsUtil.getMyDoc(oDocs,count+1).getDisplayNam
e()%>
^------------------------------------------------
--^
Results.jsp:608:44: The qualifier of this name is a package, which cannot contai
n methods.
<%=ResultsUtil.getMyDoc(oDocs,count+1).getDisplayNam
e()%>
^------^
Results.jsp:638:21: No match was found for method getDisplayName() in type <erro
r>.
if (ResultsUtil.getMyDoc(oDocs,q).getDisplayName().equals("") )
^--------------------------------------------^
Results.jsp:638:21: No match was found for method equals(java.lang.String) in ty
pe <error>.
if (ResultsUtil.getMyDoc(oDocs,q).getDisplayName().equals("") )
^-------------------------------------------------------^
Results.jsp:638:33: The qualifier of this name is a package, which cannot contai
n methods.
if (ResultsUtil.getMyDoc(oDocs,q).getDisplayName().equals("") )
^------^
at weblogic.servlet.jsp.jspc20.runBodyInternal(jspc20.java:424)
at weblogic.servlet.jsp.jspc20.runJspc(jspc20.java:195)
at weblogic.servlet.jsp.JspcInvoker.compile(JspcInvoker.java:239)
at weblogic.application.compiler.AppcUtils.compileWAR(AppcUtils.java:348
at weblogic.application.compiler.WARCompiler.compile(WARCompiler.java:74
at weblogic.application.compiler.flow.AppCompilerFlow.compileInput(AppCo
mpilerFlow.java:113)
at weblogic.application.compiler.flow.AppCompilerFlow.compile(AppCompile
rFlow.java:43)
at weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDri
ver.java:55)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineD
river.java:26)
at weblogic.application.compiler.FlowDriver.run(FlowDriver.java:24)
at weblogic.application.compiler.Appc.runBody(Appc.java:151)
at weblogic.utils.compiler.Tool.run(Tool.java:158)
at weblogic.utils.compiler.Tool.run(Tool.java:115)
at weblogic.application.compiler.Appc.main(Appc.java:162)
at weblogic.appc.main(appc.java:14)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at weblogic.ant.taskdefs.j2ee.CompilerTask.invokeMain(CompilerTask.java:
290)
at weblogic.ant.taskdefs.j2ee.Appc.privateExecute(Appc.java:243)
at weblogic.ant.taskdefs.j2ee.Appc.execute(Appc.java:154)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
at org.apache.tools.ant.Project.executeTargets(Project.java:1062)
at org.apache.tools.ant.Main.runBuild(Main.java:673)
at org.apache.tools.ant.Main.startAnt(Main.java:188)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:196)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:55)
====================================
Is this a problem with the classpath ?
Thanks in advance,
ByeI am also getting the same error. If you have solved this issue please share the solution.
Thanks,
Dikshit -
IPlanet 4.1 redirector issue with WebLogic 6.0 SP2
We have a servlet reading a PDF file and write out to the outputstream. We got an
IO exception when doing:
myOutputStream.write(byte[], 0, len);
The exception socket write exception: Broken pipe.
For the same program if we run it using weblogic's own internal
web server, everything run through fine.
Our pragram trace shows that the same servlet get called multiple times when using
IPlanet redirector, while only invoked once when using Weblogic's internal webserver.
Is this a redirector bug ? or there is some trick we missed out.Terry,
This is a known problem, and CR058420 was opened to address this
issue. For 6.0, there is not a patch available. The recommended
solution is to upgrade to 6.1 and apply the appropriate patch.
Thanks,
Simon
Developers Relation Engineer
BEA Support.
Terry Carter wrote:
> we use weblogic as a webserver with one of our web applications.
> The index.html page is a soft link pointing to one of 2 pages.
> 1 page is a site up page and the other is a site down page.
>
> Using a soft link worked fine with WL60 sp1 but when we moved to SP2
> we now get a 404 when trying to load the index.html page.
>
> Any ideas why this would be broken?
>
> Terry Carter
-
Issue with Weblogic 12c(12.1.2)
My service is working as expected in weblogic 11g.Now we are upgrading to weblogic 12c.
We are facing an issue of "NullPointerException" , due to the values, not getting populated during server startup from ra.xml.
In weblogic 11g the control is not going to that location, which is leading to an exception in Web logic 12c(NPE).
If we validate the null values, control is invoking twice, one with null values and another time with actual values from ra.xml.
Please help me on the same.
Thanks & Regards
Vijay
Following is the error message
WARNING: Warning from ejbc: EJB name WorkpointRulesEJB is defined in weblogic-ej
b-jar xml but the corresponding bean is missing. Please check that the name is a
ccurate
<Dec 30, 2013 9:34:06 PM IST> <Warning> <Connector> <BEA-190155> <Compliance che
cking and validation of the resource adapter C:\Oracle\Middleware\Oracle_Home\us
er_projects\domains\base_domain\applications\iam_im.ear\policyserver.rar resulte
d in the following warnings:
In META-INF/ra.xml element <connection-definition> the property "ValidateSMHeade
rsWithPS" of type "java.lang.String": unable to find a set method in class "com.
netegrity.ra.policyserver.impl.PSManagedConnectionFactory">
<Dec 30, 2013 9:34:06 PM IST> <Warning> <Connector> <BEA-190155> <Compliance che
cking and validation of the resource adapter C:\Oracle\Middleware\Oracle_Home\us
er_projects\domains\base_domain\applications\iam_im.ear\workflow.rar resulted in
the following warnings:
In META-INF/ra.xml element <connection-definition> the property "RunGeneralMonit
or" of type "java.lang.Boolean": unable to find a set method in class "com.neteg
rity.ra.workflow.impl.WFManagedConnectionFactory">
<Dec 30, 2013 9:34:10 PM IST> <Error> <Connector> <BEA-199212> <Failed to create
connection pool [iam/im/rar/Workflow] due to error: Unexpected exception thrown
by resource adapters ManagedConnectionFactory implementation "{0}", {1}. - [ja
va.lang.NullPointerException
at com.netegrity.ra.workflow.impl.WFManagedConnectionFactory.hashCode(WF
ManagedConnectionFactory.java:463)
at java.lang.Object.toString(Object.java:219)
at java.lang.String.valueOf(String.java:2826)
at java.lang.StringBuilder.append(StringBuilder.java:115)
at weblogic.connector.common.Utils.setProperties(Utils.java:102)
at weblogic.connector.outbound.RAOutboundManager.initializeMCF(RAOutboun
dManager.java:552)
at weblogic.connector.outbound.RAOutboundManager.createConnectionFactory
Internal(RAOutboundManager.java:475)
at weblogic.connector.outbound.RAOutboundManager.createConnectionFactory
(RAOutboundManager.java:433)
at weblogic.connector.outbound.RAOutboundManager.initialize(RAOutboundMa
nager.java:409)
at weblogic.connector.outbound.RAOutboundManager.<init>(RAOutboundManage
r.java:150)
at weblogic.connector.common.RAInstanceManager.createOutboundManager(RAI
nstanceManager.java:2324)
at weblogic.connector.common.RAInstanceManager.createResourceAdapter(RAI
nstanceManager.java:1271)
at weblogic.connector.common.RAInstanceManager.activate(RAInstanceManage
r.java:458)
at weblogic.connector.deploy.ConnectorModule.activate(ConnectorModule.ja
va:304)
at weblogic.application.internal.ExtensibleModuleWrapper$ActivateStateCh
ange.next(ExtensibleModuleWrapper.java:317)
at weblogic.application.internal.ExtensibleModuleWrapper$ActivateStateCh
ange.next(ExtensibleModuleWrapper.java:313)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineD
river.java:42)
at weblogic.application.internal.ExtensibleModuleWrapper.activate(Extens
ibleModuleWrapper.java:121)
at weblogic.application.internal.flow.ModuleListenerInvoker.activate(Mod
uleListenerInvoker.java:114)
at weblogic.application.internal.flow.ModuleStateDriver$2.next(ModuleSta
teDriver.java:192)
at weblogic.application.internal.flow.ModuleStateDriver$2.next(ModuleSta
teDriver.java:187)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineD
river.java:42)
at weblogic.application.internal.flow.ModuleStateDriver.activate(ModuleS
tateDriver.java:58)
at weblogic.application.internal.flow.DeploymentCallbackFlow.activate(De
ploymentCallbackFlow.java:145)
at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.ja
va:729)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineD
river.java:42)
at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.
java:258)
at weblogic.application.internal.EarDeployment.activate(EarDeployment.ja
va:61)
at weblogic.application.internal.DeploymentStateChecker.activate(Deploym
entStateChecker.java:165)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(Ap
pContainerInvoker.java:80)
at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicD
eployment.java:222)
at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromSer
verLifecycle(BasicDeployment.java:414)
at weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(De
ploymentAdapter.java:51)
at weblogic.management.deploy.internal.DeploymentAdapter.activate(Deploy
mentAdapter.java:200)
at weblogic.management.deploy.internal.AppTransition$2.transitionApp(App
Transition.java:30)
at weblogic.management.deploy.internal.ConfiguredDeployments.transitionA
pps(ConfiguredDeployments.java:240)
at weblogic.management.deploy.internal.ConfiguredDeployments.activate(Co
nfiguredDeployments.java:169)
at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(Conf
iguredDeployments.java:123)
at weblogic.management.deploy.internal.DeploymentServerService.resume(De
ploymentServerService.java:191)
at weblogic.management.deploy.internal.DeploymentServerService.start(Dep
loymentServerService.java:99)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:295)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:254)Hi Sai,
it did not solve my issue. I am getting SocketException.The post you were talking about is BindException.
Please help me if you can do something on this.
Some where i have seen like this
Using IPv6-Formatted Addresses
Platform: All
When using an IPv6-formatted address for WebLogic Server, the URL should include square brackets ('[' and ']') for the host address. Otherwise, WLST may fail to connect to the running server.
Workaround
Add square brackets to the host address. For example:
t3://[fe80:0:0:0:203:baff:fe2f:59e5]:9991.
But i dont know in which file these hosts contains. -
Hello,
I have installed weblogic 10.3.4 and ADF 11.1.1.4 on my solaris server and I have 4 war files and an ear file which I am trying to deploy on the server. I have copied some libraries in the lib folder at the domain level : /Oracle/Middleware/user_projects/domains/base_domain/lib for one of the application's war file to work. I came across a strange issue where the all the war files are in failed state if I put some libraries in this lib folder but if i put the libraries in the war file's lib folder then all applications work fine... Can someone explain why does this happen ?Hi,
You are running into classloader scope issues. Essentially if you put a library jar in the war - it is lower in the classpath than libraries at the server level. For example if you want to inject an application managed JPA EntityManagerFactory into a servlet and bypass heavyweight EE 5 practices - you use @PersistenceUnit and ship the implementation library jar (EclipseLink for example) in the WAR. Otherwise (recommended) you use the shipped or your own 3rd party jar in the modules or the server lib and use a container managed @PersistenceContext on an @EJB (session bean) in the EJB.jar. (Note: Java EE 6 via Web Profile allows most EJB functionality in the WAR now.
Think of the classloader hierarchy as a tree - a class that references another class can find it up the tree via classloader resolution from the war all the way past the server and into the JRE/JDK but not the other way around. Is there a dependency from the library into classes specifically in your WARs (this would not be good if the library is outside the WAR classloader).
This is a quick off the top of my head discussion.
Here is a slightly relevant discussion of scoping a shared library by position.
http://wiki.eclipse.org/EclipseLink/Examples/JPA/WebLogic_Web_Tutorial#EclipseLink_JAR_location
http://wiki.eclipse.org/EclipseLink/Development/JPA_2.0/weblogic#DI_1.1:_Alternative_3:_Application_Level_Shared_Library_-InUse
thank you
Michael O'Brien
EclipseLink : http://www.eclipselink.org
Telus Health/Emergis : http://telushealth.com -
Server Startup issue with Weblogic 10!!!
Hi All,
We are on weblogic 10 and have deployed few portlets along with Vignette Portl 7.4. Whenever, we are doing a restart of managed server, we are getting below error in managed01.out:
Failed to load servlet Class: FileOutputServletIgnoring: unable to load class:java.lang.ClassNotFoundException: FileOutputServlet at: weblogic.xml.schema.binding.util.ClassUtil.loadClass(ClassUtil.java:76)Failed to load servlet Class: FileOutputServletIgnoring: unable to load class:java.lang.ClassNotFoundException: FileOutputServlet at: weblogic.xml.schema.binding.util.ClassUtil.loadClass(ClassUtil.java:76)log4j:ERROR Could not parse address [].
javax.mail.internet.AddressException: Illegal address in string ``''
at javax.mail.internet.InternetAddress.<init>(InternetAddress.java:66)
at org.apache.log4j.net.SMTPAppender.getAddress(Unknown Source)
at org.apache.log4j.net.SMTPAppender.activateOptions(Unknown Source)
at org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:256)
at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:132)
at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:96)
at org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigurator.java:654)
at org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigurator.java:612)
After this, all applications are starting up without any issue. Please let me know if someone have already faced this issue before or any pointers on this?
Thanks & Regards,
SanjeevHi,
I have deployed 10 or more portlets on same managed server and every portlet have a logging initiator servlet which uses log4j. During managed server startup, above exception only comes ones and after that, all portlets are starting fine. There is no issue at all with other portlet.
I was getting same error if I am not having log4j.jar in manged server JVM startup classpath for every portlet. But, once I added log4j.jar to classpath, it is coming only once and after that, all portlets are starting fine.
Any pointer to look at? I tried to add log4j.properties to startup classpath as well, but with no luck :(
Thanks,
Sanjeev
Maybe you are looking for
-
I am trying to export photos and keep receiving an error message. I tried relocating my catalog to see if that would help since I am saving to an external drive, but now I can't find my catalog at all either. I am a newbie at this and don't know what
-
Error while creating duplicate repository
Hi, While creating a duplicate repository, i'm encountering the following error: "Unable to modify database" Can anyone plz guide me on the same
-
Can´t start After Effects
Hi, if I try to start After Effects (I have the Student & Teacher Cloud) I got a Systemerror, that "LogSession.dll" would be missing, and I had to install it again. But by using die Apllication Manager, I can´t install it. Can anybody tell me, where
-
Sales order type - mandatory setting
Hi, In reference mandatory setting in the sales document type, I want to assign delivery type. How to achieve this? Thanks
-
Updated iPhone and everything lost-please help :(
I'd be very grateful if someone can help me restore iphone to how it was 2 hours ago! I've lost all contacts, messages, notes, photos, everything. Please help! I've tried to read thru similar cases but I'm too panicked to concentrate on anything othe