users@glassfish.java.net

Re: An exception occured while creating a query in EntityManager

From: <glassfish_at_javadesktop.org>
Date: Wed, 18 Nov 2009 09:53:34 PST

Now I'm even more perplexed because I am getting a different message

"A persistence error occurred"

Here is the GlassFish output (I haven't been able to repeat the error from earlier):

Nov 18, 2009 11:49:40 AM com.sun.enterprise.admin.servermgmt.launch.ASLauncher buildCommand
INFO:
C:/Program Files/Java/jdk1.6.0_14\bin\java
-Dcom.sun.aas.instanceRoot=C:/Sun/AppServer/domains/domain1
-Dcom.sun.aas.ClassPathPrefix=
-Dcom.sun.aas.ClassPathSuffix=
-Dcom.sun.aas.ServerClassPath=
-Dcom.sun.aas.classloader.appserverChainJars.ee=
-Dcom.sun.aas.classloader.appserverChainJars=admin-cli.jar,admin-cli-ee.jar,j2ee-svc.jar
-Dcom.sun.aas.classloader.excludesList=admin-cli.jar,appserv-upgrade.jar,sun-appserv-ant.jar
-Dcom.sun.aas.classloader.optionalOverrideableChain.ee=
-Dcom.sun.aas.classloader.optionalOverrideableChain=webservices-rt.jar,webservices-tools.jar
-Dcom.sun.aas.classloader.serverClassPath.ee=Does not exist/lib/hadbjdbc4.jar,C:/Sun/AppServer/lib/SUNWjdmk/5.1/lib/jdmkrt.jar,Does not exist/lib/dbstate.jar,Does not exist/lib/hadbm.jar,Does not exist/lib/hadbmgt.jar,C:/Sun/AppServer/lib/SUNWmfwk/lib/mfwk_instrum_tk.jar
-Dcom.sun.aas.classloader.serverClassPath=C:/Sun/AppServer/lib/install/applications/jmsra/imqjmsra.jar,C:/Sun/AppServer/imq/lib/jaxm-api.jar,C:/Sun/AppServer/imq/lib/fscontext.jar,C:/Sun/AppServer/imq/lib/imqbroker.jar,C:/Sun/AppServer/imq/lib/imqjmx.jar,C:/Sun/AppServer/lib/ant/lib/ant.jar,C:/Sun/AppServer/lib/SUNWjdmk/5.1/lib/jdmkrt.jar
-Dcom.sun.aas.classloader.sharedChainJars.ee=appserv-se.jar,appserv-ee.jar,jesmf-plugin.jar,Does not exist/lib/dbstate.jar,Does not exist/lib/hadbjdbc4.jar,jgroups-all.jar,C:/Sun/AppServer/lib/SUNWmfwk/lib/mfwk_instrum_tk.jar
-Dcom.sun.aas.classloader.sharedChainJars=javaee.jar,C:/Program Files/Java/jdk1.6.0_14/lib/tools.jar,install/applications/jmsra/imqjmsra.jar,com-sun-commons-launcher.jar,com-sun-commons-logging.jar,C:/Sun/AppServer/imq/lib/jaxm-api.jar,C:/Sun/AppServer/imq/lib/fscontext.jar,C:/Sun/AppServer/imq/lib/imqbroker.jar,C:/Sun/AppServer/imq/lib/imqjmx.jar,C:/Sun/AppServer/imq/lib/imqxm.jar,webservices-rt.jar,webservices-tools.jar,mail.jar,appserv-jstl.jar,jmxremote_optional.jar,C:/Sun/AppServer/lib/SUNWjdmk/5.1/lib/jdmkrt.jar,activation.jar,appserv-rt.jar,appserv-admin.jar,appserv-cmp.jar,C:/Sun/AppServer/updatecenter/lib/updatecenter.jar,C:/Sun/AppServer/jbi/lib/jbi.jar,C:/Sun/AppServer/imq/lib/imqjmx.jar,C:/Sun/AppServer/lib/ant/lib/ant.jar,dbschema.jar
-Dcom.sun.aas.configName=server-config
-Dcom.sun.aas.configRoot=C:/Sun/AppServer/config
-Dcom.sun.aas.defaultLogFile=C:/Sun/AppServer/domains/domain1/logs/server.log
-Dcom.sun.aas.domainName=domain1
-Dcom.sun.aas.installRoot=C:/Sun/AppServer
-Dcom.sun.aas.instanceName=server
-Dcom.sun.aas.processLauncher=SE
-Dcom.sun.aas.promptForIdentity=true
-Dcom.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory
-Dcom.sun.enterprise.overrideablejavaxpackages=javax.help,javax.portlet
-Dcom.sun.enterprise.taglibs=appserv-jstl.jar,jsf-impl.jar
-Dcom.sun.enterprise.taglisteners=jsf-impl.jar
-Dcom.sun.updatecenter.home=C:/Sun/AppServer/updatecenter
-Ddomain.name=domain1
-Djava.endorsed.dirs=C:/Sun/AppServer/lib/endorsed
-Djava.ext.dirs=C:/Program Files/Java/jdk1.6.0_14/lib/ext;C:/Program Files/Java/jdk1.6.0_14/jre/lib/ext;C:/Sun/AppServer/domains/domain1/lib/ext;C:/Sun/AppServer/javadb/lib
-Djava.library.path=C:\Sun\AppServer\lib;C:\Sun\AppServer\lib;C:\Sun\AppServer\bin;C:\Sun\AppServer\bin
-Djava.security.auth.login.config=C:/Sun/AppServer/domains/domain1/config/login.conf
-Djava.security.policy=C:/Sun/AppServer/domains/domain1/config/server.policy
-Djava.util.logging.manager=com.sun.enterprise.server.logging.ServerLogManager
-Djavax.management.builder.initial=com.sun.enterprise.admin.server.core.jmx.AppServerMBeanServerBuilder
-Djavax.net.ssl.keyStore=C:/Sun/AppServer/domains/domain1/config/keystore.jks
-Djavax.net.ssl.trustStore=C:/Sun/AppServer/domains/domain1/config/cacerts.jks
-Djdbc.drivers=org.apache.derby.jdbc.ClientDriver
-Djmx.invoke.getters=true
-Dsun.rmi.dgc.client.gcInterval=3600000
-Dsun.rmi.dgc.server.gcInterval=3600000
-client
-XX:+UnlockDiagnosticVMOptions
-XX:MaxPermSize=192m
-Xmx512m
-XX:NewRatio=2
-XX:+LogVMOutput
-XX:LogFile=C:/Sun/AppServer/domains/domain1/logs/jvm.log
-cp
C:/Sun/AppServer/lib/jhall.jar;C:\Sun\AppServer\lib\appserv-launch.jar
com.sun.enterprise.server.PELaunch
start
CORE5076: Using [Java HotSpot(TM) Client VM, Version 1.6.0_14] from [Sun Microsystems Inc.]
Using MQ RA for Broker lifecycle control
SEC1002: Security Manager is OFF.
SEC1143: Loading policy provider com.sun.enterprise.security.provider.PolicyWrapper.
WEB0114: SSO is disabled in virtual server [server]
WEB0114: SSO is disabled in virtual server [__asadmin]
REgistering Custom ContextConfig
REgistering Custom Context
JTS5014: Recoverable JTS instance, serverId = [4845]
ADM1079: Initialization of AMX MBeans started
ADM1504: Here is the JMXServiceURL for the Standard JMXConnectorServer: [service:jmx:rmi:///jndi/rmi://t61philipa.integsap.integinc.com:8686/jmxrmi]. This is where the remote administrative clients should connect using the standard JMX connectors
ADM1506: Status of Standard JMX Connector: Active = [true]
JMS Service Connection URL is :mq://t61philipa:7676/
MQJMSRA_RA1101: SJSMQ JMS Resource Adapter starting...
MQJMSRA_EB1101: EMBEDDED broker started with code =0
MQJMSRA_RA1101: SJSMQ JMSRA Started:DIRECT
LDR5010: All ejb(s) of [MEjbApp] loaded successfully!
EJB5109:EJB Timer Service started successfully for datasource [jdbc/__TimerPool]
LDR5010: All ejb(s) of [__ejb_container_timer_app] loaded successfully!
CORE5048: generated dir is obsolete compared to default-web.xml for application SampleJavaApplication1; loading from application directory C:/Documents and Settings/phillipa/My Documents/NetBeansProjects/SampleJavaApplication1/build/web instead. This takes longer than loading from the generated directory; redeploying the app will recreate the generated directory but is not required.
Not registering AMX MBean against old MBean "com.sun.appserv:j2eeType=WebModule,name=SampleJavaApplication1,J2EEServer=server,J2EEApplication=null,category=runtime" due to malformed composite WebModule name.
CORE5048: generated dir is obsolete compared to default-web.xml for application ConsultingAgency; loading from application directory C:/Documents and Settings/phillipa/My Documents/NetBeansProjects/ConsultingAgency/build/web instead. This takes longer than loading from the generated directory; redeploying the app will recreate the generated directory but is not required.
Not registering AMX MBean against old MBean "com.sun.appserv:j2eeType=WebModule,name=ConsultingAgency,J2EEServer=server,J2EEApplication=null,category=runtime" due to malformed composite WebModule name.
CORE5048: generated dir is obsolete compared to default-web.xml for application HelloWeb; loading from application directory C:/Documents and Settings/phillipa/My Documents/NetBeansProjects/HelloWeb/build/web instead. This takes longer than loading from the generated directory; redeploying the app will recreate the generated directory but is not required.
Not registering AMX MBean against old MBean "com.sun.appserv:j2eeType=WebModule,name=HelloWeb,J2EEServer=server,J2EEApplication=null,category=runtime" due to malformed composite WebModule name.
CORE5048: generated dir is obsolete compared to default-web.xml for application IFPWAFCAD; loading from application directory C:/Documents and Settings/phillipa/My Documents/NetBeansProjects/IFPWAFCAD/build/web instead. This takes longer than loading from the generated directory; redeploying the app will recreate the generated directory but is not required.
JBIFW0010: JBI framework ready to accept requests.
Not registering AMX MBean against old MBean "com.sun.appserv:j2eeType=WebModule,name=IFPWAFCAD,J2EEServer=server,J2EEApplication=null,category=runtime" due to malformed composite WebModule name.
CORE5048: generated dir is obsolete compared to default-web.xml for application ICMaster_BU; loading from application directory C:/Documents and Settings/phillipa/My Documents/NetBeansProjects/ICMaster_BU/build/web instead. This takes longer than loading from the generated directory; redeploying the app will recreate the generated directory but is not required.
Not registering AMX MBean against old MBean "com.sun.appserv:j2eeType=WebModule,name=ICMaster_BU,J2EEServer=server,J2EEApplication=null,category=runtime" due to malformed composite WebModule name.
CORE5048: generated dir is obsolete compared to default-web.xml for application CustomerBook; loading from application directory C:/Documents and Settings/phillipa/My Documents/NetBeansProjects/CustomerBook/build/web instead. This takes longer than loading from the generated directory; redeploying the app will recreate the generated directory but is not required.
Not registering AMX MBean against old MBean "com.sun.appserv:j2eeType=WebModule,name=CustomerBook,J2EEServer=server,J2EEApplication=null,category=runtime" due to malformed composite WebModule name.
CORE5048: generated dir is obsolete compared to default-web.xml for application ICMaster; loading from application directory C:/Documents and Settings/phillipa/My Documents/NetBeansProjects/ICMaster/build/web instead. This takes longer than loading from the generated directory; redeploying the app will recreate the generated directory but is not required.
Not registering AMX MBean against old MBean "com.sun.appserv:j2eeType=WebModule,name=ICMaster,J2EEServer=server,J2EEApplication=null,category=runtime" due to malformed composite WebModule name.
WEB0302: Starting Sun-Java-System/Application-Server.
WEB0712: Starting Sun-Java-System/Application-Server HTTP/1.1 on 8080
WEB0712: Starting Sun-Java-System/Application-Server HTTP/1.1 on 8181
WEB0712: Starting Sun-Java-System/Application-Server HTTP/1.1 on 4848
Initializing Sun's JavaServer Faces implementation (1.2_04-b22-p05) for context '/ICMaster_BU'
Initializing Sun's JavaServer Faces implementation (1.2_04-b22-p05) for context '/ConsultingAgency'
Initializing Sun's JavaServer Faces implementation (1.2_04-b22-p05) for context '/ICMaster'
SMGT0007: Self Management Rules service is enabled
Application server startup complete.
Configuring Mappings instance of type
org.apache.shale.remoting.impl.MappingsImpl
Configuring processor mapping
/static/*:org.apache.shale.remoting.impl.ClassResourceProcessor
Configuring processor mapping
/dynamic/*:org.apache.shale.remoting.impl.MethodBindingProcessor
Configuring processor mapping
/webapp/*:org.apache.shale.remoting.impl.WebResourceProcessor
[Message sent by forum member 'phillipa' ]

http://forums.java.net/jive/thread.jspa?messageID=372412