WLST invoking error in weblogic 8.1SP5
Hi,
I am getting below error while trying to run WLST.
Error Message: Exception in thread "main" java.lang.NoClassDefFoundError: weblogic/WLST
weblogic version : 8.1 SP5
OS: HP-UX 11i V2
Java : 1.4.2.17
After going through the topic "*Support Provided for WebLogic Scripting Tool (WLST)*" from release notes http://download-llnw.oracle.com/docs/cd/E1319601/platform/docs81/relnotes/relnotes.html#1091001_,
it is refering to two URLS's which are not available now.
https://codesamples.projects.dev2dev.bea.com/servlets/Scarab?id=13
https://codesamples.projects.dev2dev.bea.com/servlets/Scarab?id=97
Please help from where i can get the above details & files.
Cheers
Thalla
Hi,
Till WLS 8.1 SP5 you need to download the Wlst.jar Separately along with jython.jar. You can download these Jars from : http://www.4shared.com/file/116721496/8c3533ea/WLST_WLS_81.html
These Jars are available by default with WLS9.x onwards as part of *"weblogic.jar"* itself.
Thanks
Jay SenSharma
http://jaysensharma.wordpress.com (WebLogic Wonders Are Here)
Similar Messages
-
Hi Guys!
I want craete the new user 'jdoe' for domain 'tst2_domain' (WebLogic Server Version: 10.3.5.0)
For it I have script 'create_user.sh':
# Set the Environment Variables
/home/testuser/Oracle/Middleware/user_projects/domains/tst2_domain/bin/setDomainEnv.sh
export JAVA_HOME=/home/testuser/Oracle/Middleware/jdk160_24/
export PATH=$PATH:$JAVA_HOME/bin/
export CLASSPATH=/home/testuser/Oracle/Middleware/wlserver_10.3/server/lib/weblogic.jar:/home/testuser/Oracle/Middleware/Oracle_OSB1/modules/com.bea.common.configfwk_1.5.0.0.jar:/home/testuser/Oracle/Middleware/Oracle_OSB1/lib/sb-kernel-api.jar:/home/testuser/Oracle/Middleware/Oracle_OSB1/lib/sb-kernel-impl.jar:/home/testuser/Oracle/Middleware/Oracle_OSB1/lib/sb-kernel-common.jar:/home/testuser/Oracle/Middleware/Oracle_OSB1/lib/sb-kernel-resources.jar
# Execute the WLST script..
cd resources
java weblogic.WLST createUsers.py.../resources/createUsers.py:
url = 'localhost:7001'
username = 'weblogic'
password = 'welcome1'
print 'Adding users to DefaultAuthenticator.'
connect(username, password, url)
# Check if user already exists
cd('/')
authProvider = cmo.getSecurityConfiguration().getDefaultRealm().lookupAuthenticationProvider("DefaultAuthenticator")
if authProvider.userExists('jdoe'):
print 'User jdoe already exists'
exit()
else:
# Create users
print 'Creating new user: jdoe'
authProvider.createUser('jdoe','welcome2','a sample service bus administrator')
authProvider.addMemberToGroup('Administrators','jdoe')
print 'Users created successfully.'
exit()Domain 'tst2_domain' is running...
I started the create_user.sh and then i had the error:
$ ./create_user.sh
Initializing WebLogic Scripting Tool (WLST) ...
Problem invoking WLST - java.lang.NoClassDefFoundError: weblogic.management.scripting.WLScriptContext
Could you please help me? Which the problem in the script?
$ ./setWLSEnv.sh
CLASSPATH=/home/testuser/Oracle/Middleware/patch_wls1035/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/home/testuser/Oracle/Middleware/patch_oepe1050/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/home/testuser/Oracle/Middleware/patch_ocp360/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/home/testuser/Oracle/Middleware/jrockit_160_24_D1.1.2-4/lib/tools.jar:/home/testuser/Oracle/Middleware/wlserver_10.3/server/lib/weblogic_sp.jar:/home/testuser/Oracle/Middleware/wlserver_10.3/server/lib/weblogic.jar:/home/testuser/Oracle/Middleware/modules/features/weblogic.server.modules_10.3.5.0.jar:/home/testuser/Oracle/Middleware/wlserver_10.3/server/lib/webservices.jar:/home/testuser/Oracle/Middleware/modules/org.apache.ant_1.7.1/lib/ant-all.jar:/home/testuser/Oracle/Middleware/modules/net.sf.antcontrib_1.1.0.0_1-0b2/lib/ant-contrib.jar:
PATH=/home/testuser/Oracle/Middleware/wlserver_10.3/server/bin:/home/testuser/Oracle/Middleware/modules/org.apache.ant_1.7.1/bin:/home/testuser/Oracle/Middleware/jrockit_160_24_D1.1.2-4/jre/bin:/home/testuser/Oracle/Middleware/jrockit_160_24_D1.1.2-4/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/testuser/bin
Your environment has been set.
$ java weblogic.WLST
Exception in thread "main" java.lang.NoClassDefFoundError: weblogic.WLST
at gnu.java.lang.MainThread.run(libgcj.so.7rh)
Caused by: java.lang.ClassNotFoundException: weblogic.WLST not found in gnu.gcj.runtime.SystemClassLoader{urls=[file:./], parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}
at java.net.URLClassLoader.findClass(libgcj.so.7rh)
at gnu.gcj.runtime.SystemClassLoader.findClass(libgcj.so.7rh)
at java.lang.ClassLoader.loadClass(libgcj.so.7rh)
at java.lang.ClassLoader.loadClass(libgcj.so.7rh)
at gnu.java.lang.MainThread.run(libgcj.so.7rh)But if run script as $ ./wlst.sh /home/testuser/create_user/resources/createUsers.py - its ok!
$ ./wlst.sh /home/testuser/labs/Practice_05/create_user/resources/createUsers.py
CLASSPATH=/home/testuser/Oracle/Middleware/patch_wls1035/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/home/testuser/Oracle/Middleware/patch_oepe1050/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/home/testuser/Oracle/Middleware/patch_ocp360/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/home/testuser/Oracle/Middleware/jrockit_160_24_D1.1.2-4/lib/tools.jar:/home/testuser/Oracle/Middleware/wlserver_10.3/server/lib/weblogic_sp.jar:/home/testuser/Oracle/Middleware/wlserver_10.3/server/lib/weblogic.jar:/home/testuser/Oracle/Middleware/modules/features/weblogic.server.modules_10.3.5.0.jar:/home/testuser/Oracle/Middleware/wlserver_10.3/server/lib/webservices.jar:/home/testuser/Oracle/Middleware/modules/org.apache.ant_1.7.1/lib/ant-all.jar:/home/testuser/Oracle/Middleware/modules/net.sf.antcontrib_1.1.0.0_1-0b2/lib/ant-contrib.jar:
PATH=/home/testuser/Oracle/Middleware/wlserver_10.3/server/bin:/home/testuser/Oracle/Middleware/modules/org.apache.ant_1.7.1/bin:/home/testuser/Oracle/Middleware/jrockit_160_24_D1.1.2-4/jre/bin:/home/testuser/Oracle/Middleware/jrockit_160_24_D1.1.2-4/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/testuser/bin
Your environment has been set.
CLASSPATH=/home/testuser/Oracle/Middleware/patch_wls1035/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/home/testuser/Oracle/Middleware/patch_oepe1050/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/home/testuser/Oracle/Middleware/patch_ocp360/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/home/testuser/Oracle/Middleware/jrockit_160_24_D1.1.2-4/lib/tools.jar:/home/testuser/Oracle/Middleware/wlserver_10.3/server/lib/weblogic_sp.jar:/home/testuser/Oracle/Middleware/wlserver_10.3/server/lib/weblogic.jar:/home/testuser/Oracle/Middleware/modules/features/weblogic.server.modules_10.3.5.0.jar:/home/testuser/Oracle/Middleware/wlserver_10.3/server/lib/webservices.jar:/home/testuser/Oracle/Middleware/modules/org.apache.ant_1.7.1/lib/ant-all.jar:/home/testuser/Oracle/Middleware/modules/net.sf.antcontrib_1.1.0.0_1-0b2/lib/ant-contrib.jar::/home/testuser/Oracle/Middleware/utils/config/10.3/config-launch.jar::/home/testuser/Oracle/Middleware/wlserver_10.3/common/derby/lib/derbynet.jar:/home/testuser/Oracle/Middleware/wlserver_10.3/common/derby/lib/derbyclient.jar:/home/testuser/Oracle/Middleware/wlserver_10.3/common/derby/lib/derbytools.jar::
Initializing WebLogic Scripting Tool (WLST) ...
Welcome to WebLogic Server Administration Scripting Shell
Type help() for help on available commands
Adding users to DefaultAuthenticator.
Connecting to t3://localhost:7001 with userid weblogic ...
Successfully connected to Admin Server 'tst2_as_server' that belongs to domain 'tst2_domain'.
Warning: An insecure protocol was used to connect to the
server. To ensure on-the-wire security, the SSL port or
Admin port should be used instead.
Creating new user: jdoe
Users created successfully.
Exiting WebLogic Scripting Tool. -
Wlst connect error in AIX 64 bit 10.3.3
What is the following?
I create a server using scripted WLST and call a
startServer('AdminServer','MyDomain'.....)
connect('weblogic','weblogic1','t3://xxxx:7019')
server is started. But connect fails with the following. The WLST script is OS unaware and works on Windows/HP/Solaris. The problem is only on AIX/64 bit/10.3.3. I can go to the MyDomain that I created and start the server using startWebLogic.sh. If I invoke weblogic.WLST from command line and I still get the following
=======================
AdminServer> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1282604457094> <BEA-080003> <RuntimeExceptio
n thrown by rmi server: weblogic.management.remote.iiop.IIOPServerImpl.newClient
(Ljava.lang.Object;)
java.lang.NullPointerException.
java.lang.NullPointerException
at org.apache.harmony.security.Util.equalsIgnoreCase(Util.java:46)
at org.apache.harmony.security.fortress.PolicyUtils.getPolicyURLs(PolicyUtils.java:429)
at org.apache.harmony.security.fortress.DefaultPolicy$1.run(DefaultPolicy.java:307)
at org.apache.harmony.security.fortress.DefaultPolicy$1.run(DefaultPolicy.java:300)
at java.security.AccessController.doPrivileged(AccessController.java:202)
at org.apache.harmony.security.fortress.DefaultPolicy.refreshImpl(DefaultPolicy.java:300)
at org.apache.harmony.security.fortress.DefaultPolicy.<init>(DefaultPolicy.java:202)
at org.apache.harmony.security.fortress.DefaultPolicy.<init>(DefaultPolicy.java:195)
at org.apache.harmony.security.fortress.DefaultPolicy.<init>(DefaultPolicy.java:182)
at java.security.Policy.getDefaultProvider(Policy.java:485)
at java.security.Policy.getAccessiblePolicy(Policy.java:524)
at java.security.ProtectionDomain.implies(ProtectionDomain.java:159)
at java.security.AccessController.checkPermission(AccessController.java:98)
at com.sun.jmx.remote.security.SubjectDelegator.checkRemoveCallerContext(SubjectDelegator.java:135)
at javax.management.remote.rmi.RMIConnectionImpl.<init>(RMIConnectionImpl.java:128)
at weblogic.management.remote.iiop.IIOPServerImpl.makeClient(IIOPServerImpl.java:69)
at javax.management.remote.rmi.RMIServerImpl.doNewClient(RMIServerImpl.java:243)
at javax.management.remote.rmi.RMIServerImpl.newClient(RMIServerImpl.java:192)
at weblogic.management.remote.iiop.IIOPServerImpl_WLSkel.invoke(UnknownSource)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:589)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:477)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:473)
at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Edited by: user9975126 on Aug 25, 2010 5:55 AMThis does not make any difference. I sourced setWLSEnv.sh. Manually started my server (and not through WLST startServer command)
And tried a
connect('weblogic','xxxxxxxxx','t3://xxxxxx:7019')
Server Console
=========
<Aug 24, 2010 7:18:16 AM EDT> <Warning> <RMI> <BEA-080003> <RuntimeException thr
own by rmi server: weblogic.management.remote.iiop.IIOPServerImpl.newClient(Ljava.lang.Object;)
java.lang.NullPointerException.
java.lang.NullPointerException
at org.apache.harmony.security.Util.equalsIgnoreCase(Util.java:46)
at org.apache.harmony.security.fortress.PolicyUtils.getPolicyURLs(PolicyUtils.java:429)
at org.apache.harmony.security.fortress.DefaultPolicy$1.run(DefaultPolicy.java:307)
at org.apache.harmony.security.fortress.DefaultPolicy$1.run(DefaultPolicy.java:300)
at java.security.AccessController.doPrivileged(AccessController.java:202)
Truncated. see log file for complete stacktrace>
WLST side
=======
Initializing WebLogic Scripting Tool (WLST) ...
Welcome to WebLogic Server Administration Scripting Shell
Type help() for help on available commands
wls:/offline> connect('weblogic','weblogic1','t3://xxxx01:7019')
Connecting to t3://xxxx01:7019 with userid weblogic ...
WLST detected that the RuntimeMBeanServer is not enabled. This
might happen if the RuntimeMBeanServer is disabled via the JMXMBean.
Please ensure that this MBeanServer is enabled. Online WLST cannot
function without this MBeanServer.
Traceback (innermost last):
File "<console>", line 1, in ?
File "<iostream>", line 22, in connect
File "<iostream>", line 646, in raiseWLSTException
WLSTException: Error occured while performing connect : "Cannot connect to WLST.
Use dumpStack() to view the full stacktrace
========================
dumpStack()
wls:/xxxDomain/config> dumpStack()
This Exception occurred at Tue Aug 24 07:18:16 EDT 2010.
java.lang.NullPointerException
at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:234)
at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:223)
at weblogic.management.remote.iiop.IIOPServerImpl_1033_WLStub.newClient(Unknown Source)
at weblogic.management.remote.common.RMIServerWrapper.newClient(ClientProviderBase.java:339)
at javax.management.remote.rmi.RMIConnector.getConnection(RMIConnector.java:2339)
at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:291)
at weblogic.management.remote.common.WLSRMIConnector.doConnect(WLSRMIConnector.java:150)
at weblogic.management.remote.common.WLSRMIConnector.access$100(WLSRMIConnector.java:27)
at weblogic.management.remote.common.WLSRMIConnector$2.run(WLSRMIConnector.java:138)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
at weblogic.security.Security.runAs(Security.java:61)
at weblogic.management.remote.common.WLSRMIConnector.connect(WLSRMIConnector.java:136)
at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:260)
at weblogic.management.scripting.WLSTHelper.lookupMBeanServerConnection(WLSTHelper.java:678)
at weblogic.management.scripting.WLSTHelper.initRuntimeServerConnection(WLSTHelper.java:398)
at weblogic.management.scripting.WLSTHelper.initConnections(WLSTHelper.java:315)
at weblogic.management.scripting.WLSTHelper.connect(WLSTHelper.java:203)
at weblogic.management.scripting.WLScriptContext.connect(WLScriptContext.java:61)
at weblogic.management.scripting.utils.WLSTUtil.initializeOnlineWLST(WLSTUtil.java:147)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:600)
at org.python.core.PyReflectedFunction.__call__(Unknown Source)
at org.python.core.PyMethod.__call__(Unknown Source)
at org.python.core.PyObject.__call__(Unknown Source)
at org.python.core.PyObject.invoke(Unknown Source)
at org.python.pycode._pyx4.connect$1(<iostream>:16)
at org.python.pycode._pyx4.call_function(<iostream>)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyFunction.__call__(Unknown Source)
at org.python.pycode._pyx16.f$0(<console>:1)
at org.python.pycode._pyx16.call_function(<console>)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyCode.call(Unknown Source)
at org.python.core.Py.runCode(Unknown Source)
at org.python.core.Py.exec(Unknown Source)
at org.python.util.PythonInterpreter.exec(Unknown Source)
at org.python.util.InteractiveInterpreter.runcode(Unknown Source)
at org.python.util.InteractiveInterpreter.runsource(Unknown Source)
at org.python.util.InteractiveInterpreter.runsource(Unknown Source)
at weblogic.management.scripting.WLST.main(WLST.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:600)
at weblogic.WLST.main(WLST.java:29)
Caused by: java.lang.NullPointerException
at org.apache.harmony.security.Util.equalsIgnoreCase(Util.java:46)
at org.apache.harmony.security.fortress.PolicyUtils.getPolicyURLs(PolicyUtils.java:429)
at org.apache.harmony.security.fortress.DefaultPolicy$1.run(DefaultPolicy.java:307)
at org.apache.harmony.security.fortress.DefaultPolicy$1.run(DefaultPolicy.java:300)
at java.security.AccessController.doPrivileged(AccessController.java:202)
at org.apache.harmony.security.fortress.DefaultPolicy.refreshImpl(DefaultPolicy.java:300)
at org.apache.harmony.security.fortress.DefaultPolicy.<init>(DefaultPolicy.java:202)
at org.apache.harmony.security.fortress.DefaultPolicy.<init>(DefaultPolicy.java:195)
at org.apache.harmony.security.fortress.DefaultPolicy.<init>(DefaultPolicy.java:182)
at java.security.Policy.getDefaultProvider(Policy.java:485)
at java.security.Policy.getAccessiblePolicy(Policy.java:524)
at java.security.ProtectionDomain.implies(ProtectionDomain.java:159)
at java.security.AccessController.checkPermission(AccessController.java:98)
at com.sun.jmx.remote.security.SubjectDelegator.checkRemoveCallerContext(SubjectDelegator.java:135)
at javax.management.remote.rmi.RMIConnectionImpl.<init>(RMIConnectionImpl.java:128)
at weblogic.management.remote.iiop.IIOPServerImpl.makeClient(IIOPServerImpl.java:69)
at javax.management.remote.rmi.RMIServerImpl.doNewClient(RMIServerImpl.j
at javax.management.remote.rmi.RMIServerImpl.newClient(RMIServerImpl.java:192)
at weblogic.management.remote.iiop.IIOPServerImpl_WLSkel.invoke(UnknownSource)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:589)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:477)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:473)
at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
java.lang.NullPointerException
wls:/xxxDomain/config>
Edited by: user9975126 on Aug 24, 2010 4:54 AM -
The error is weblogic.descriptor.DescriptorException: Unmarshaller failed
hi All,
I am receiving the following error while starting my weblogic server.
Can anyone please help.
Aug 4, 2010 6:45:17 PM GMT+05:30> <Error> <J2EE> <BEA-160197> <Unable to load descriptor java.net.URLClassLoader@4ba3a3/null of module null. The error is weblogic.descriptor.DescriptorException: Unmarshaller failed
at weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:152)
at weblogic.descriptor.BasicDescriptorManager.createDescriptor(BasicDescriptorManager.java:306)
at weblogic.application.descriptor.AbstractDescriptorLoader2.getDescriptorBeanFromReader(AbstractDescriptorLoader2.java:788)
at weblogic.application.descriptor.AbstractDescriptorLoader2.createDescriptorBean(AbstractDescriptorLoader2.java:409)
at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBeanWithoutPlan(AbstractDescriptorLoader2.java:759)
at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBean(AbstractDescriptorLoader2.java:768)
at weblogic.jms.module.JMSParser.getJMSBean(JMSParser.java:251)
at weblogic.jms.module.JMSParser.createJMSDescriptor(JMSParser.java:216)
at weblogic.management.mbeans.custom.JMSSystemResource.loadDescriptor(JMSSystemResource.java:59)
at weblogic.management.mbeans.custom.ConfigurationExtension.getExtensionRoot(ConfigurationExtension.java:178)
at weblogic.management.mbeans.custom.JMSSystemResource.getJMSResource(JMSSystemResource.java:44)
at weblogic.management.mbeans.custom.JMSSystemResource._postCreate(JMSSystemResource.java:49)
at weblogic.management.configuration.JMSSystemResourceMBeanImpl._postCreate(JMSSystemResourceMBeanImpl.java:350)
at weblogic.descriptor.internal.AbstractDescriptorBean._postCreate(AbstractDescriptorBean.java:669)
at weblogic.management.configuration.DomainMBeanImpl.setJMSSystemResources(DomainMBeanImpl.java:10789)
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.staxb.runtime.internal.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:48)
at com.bea.staxb.runtime.internal.RuntimeBindingType$BeanRuntimeProperty.setValue(RuntimeBindingType.java:531)
at com.bea.staxb.runtime.internal.AttributeRuntimeBindingType$QNameRuntimeProperty.fillCollection(AttributeRuntimeBindingType.java:385)
at com.bea.staxb.runtime.internal.MultiIntermediary.getFinalValue(MultiIntermediary.java:52)
at com.bea.staxb.runtime.internal.AttributeRuntimeBindingType.getFinalObjectFromIntermediary(AttributeRuntimeBindingType.java:145)
at com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalBindingType(UnmarshalResult.java:190)
at com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalDocument(UnmarshalResult.java:159)
at com.bea.staxb.runtime.internal.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:65)
at weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:95)
at weblogic.descriptor.BasicDescriptorManager.createDescriptor(BasicDescriptorManager.java:240)
at weblogic.management.provider.internal.DescriptorManagerHelper.loadDescriptor(DescriptorManagerHelper.java:63)
at weblogic.management.provider.internal.RuntimeAccessImpl$IOHelperImpl.parseXML(RuntimeAccessImpl.java:683)
at weblogic.management.provider.internal.RuntimeAccessImpl.parseNewStyleConfig(RuntimeAccessImpl.java:268)
at weblogic.management.provider.internal.RuntimeAccessImpl.<init>(RuntimeAccessImpl.java:115)
at weblogic.management.provider.internal.RuntimeAccessService.start(RuntimeAccessService.java:39)
at weblogic.t3.srvr.ServerServicesManager.startService(ServerServicesManager.java:459)
at weblogic.t3.srvr.ServerServicesManager.startInStandbyState(ServerServicesManager.java:164)
at weblogic.t3.srvr.T3Srvr.initializeStandby(T3Srvr.java:711)
at weblogic.t3.srvr.T3Srvr.startup(T3Srvr.java:482)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:440)
at weblogic.Server.main(Server.java:67)
Caused by: com.bea.xml.XmlException: weblogic.descriptor.BeanAlreadyExistsException: Bean already exists: "weblogic.j2ee.descriptor.wl.QuotaBeanImpl@8b31daf1(/Quotas[QueueIn.Quota])"
at com.bea.staxb.runtime.internal.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:54)
at com.bea.staxb.runtime.internal.RuntimeBindingType$BeanRuntimeProperty.setValue(RuntimeBindingType.java:531)
at com.bea.staxb.runtime.internal.AttributeRuntimeBindingType$QNameRuntimeProperty.fillCollection(AttributeRuntimeBindingType.java:385)
at com.bea.staxb.runtime.internal.MultiIntermediary.getFinalValue(MultiIntermediary.java:52)
at com.bea.staxb.runtime.internal.AttributeRuntimeBindingType.getFinalObjectFromIntermediary(AttributeRuntimeBindingType.java:145)
at com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalBindingType(UnmarshalResult.java:190)
at com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalDocument(UnmarshalResult.java:159)
at com.bea.staxb.runtime.internal.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:65)
at weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:141)
... 39 more
Caused by: weblogic.descriptor.BeanAlreadyExistsException: Bean already exists: "weblogic.j2ee.descriptor.wl.QuotaBeanImpl@8b31daf1(/Quotas[QueueIn.Quota])"
at weblogic.descriptor.internal.ReferenceManager.registerBean(ReferenceManager.java:227)
at weblogic.j2ee.descriptor.wl.JMSBeanImpl.setQuotas(JMSBeanImpl.java:242)
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.staxb.runtime.internal.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:48)
... 47 more
.>
<Aug 4, 2010 6:45:17 PM GMT+05:30> <Critical> <WebLogicServer> <BEA-000362> <Server failed. Reason: [Management:141266]Parsing Failure in config.xml: weblogic.management.ManagementRuntimeException: weblogic.application.ModuleException: Could not create the JMS descriptor>
<Aug 4, 2010 6:45:17 PM GMT+05:30> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FAILED>
<Aug 4, 2010 6:45:17 PM GMT+05:30> <Error> <WebLogicServer> <BEA-000383> <A critical service failed. The server will shut itself down>
<Aug 4, 2010 6:45:17 PM GMT+05:30> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FORCE_SHUTTING_DOWN>hey, getting the same error..
<Dec 10, 2010 11:12:00 AM SGT> <Error> <J2EE> <BEA-160197> <Unable to load descriptor /app/cpfciapp/cpferegdomain1/servers/AdminServer/tmp/.appmergegen_1291950708307_krm.ear/krm-prod.war/WEB-INF/weblogic.xml of module krm-prod.war. The error is weblogic.descriptor.DescriptorException: Unmarshaller failed
at weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:152)
at weblogic.descriptor.BasicDescriptorManager.createDescriptor(BasicDescriptorManager.java:306)
at weblogic.application.descriptor.AbstractDescriptorLoader2.getDescriptorBeanFromReader(AbstractDescriptorLoader2.java:788)
at weblogic.application.descriptor.AbstractDescriptorLoader2.createDescriptorBean(AbstractDescriptorLoader2.java:409)
at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBeanWithoutPlan(AbstractDescriptorLoader2.java:759)
at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBean(AbstractDescriptorLoader2.java:768)
at weblogic.servlet.internal.WebAppDescriptor.getWeblogicWebAppBean(WebAppDescriptor.java:170)
at weblogic.servlet.utils.WarUtils.getWlWebAppBean(WarUtils.java:107)
at weblogic.application.compiler.WARModule.processLibraries(WARModule.java:363)
at weblogic.application.compiler.WARModule.merge(WARModule.java:450)
at weblogic.application.compiler.flow.MergeModuleFlow.compile(MergeModuleFlow.java:23)
at weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:69)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
at weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:36)
at weblogic.application.compiler.FlowDriver$CompilerFlowDriver.compile(FlowDriver.java:96)
at weblogic.application.compiler.ReadOnlyEarMerger.merge(ReadOnlyEarMerger.java:49)
at weblogic.application.compiler.flow.AppMergerFlow.mergeInput(AppMergerFlow.java:94)
at weblogic.application.compiler.flow.AppMergerFlow.compile(AppMergerFlow.java:47)
at weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:69)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
at weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:36)
at weblogic.application.compiler.FlowDriver$CompilerFlowDriver.compile(FlowDriver.java:96)
at weblogic.application.compiler.AppMerge.runBody(AppMerge.java:157)
at weblogic.utils.compiler.Tool.run(Tool.java:158)
at weblogic.utils.compiler.Tool.run(Tool.java:115)
at weblogic.application.compiler.AppMerge.merge(AppMerge.java:169)
at weblogic.deploy.api.internal.utils.AppMerger.merge(AppMerger.java:88)
at weblogic.deploy.api.internal.utils.AppMerger.getMergedApp(AppMerger.java:63)
at weblogic.deploy.api.model.internal.WebLogicDeployableObjectFactoryImpl.createDeployableObject(WebLogicDeployableObjectFactoryImpl.java:181)
at weblogic.deploy.api.model.internal.WebLogicDeployableObjectFactoryImpl.createLazyDeployableObject(WebLogicDeployableObjectFactoryImpl.java:156)
at weblogic.deploy.api.tools.SessionHelper.inspect(SessionHelper.java:661)
at com.bea.console.actions.app.install.Flow$2.execute(Flow.java:463)
at com.bea.console.utils.DeploymentUtils.runDeploymentAction(DeploymentUtils.java:4625)
at com.bea.console.actions.app.install.Flow.appSelected(Flow.java:461)
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 org.apache.beehive.netui.pageflow.FlowController.invokeActionMethod(FlowController.java:870)
at org.apache.beehive.netui.pageflow.FlowController.getActionMethodForward(FlowController.java:809)
at org.apache.beehive.netui.pageflow.FlowController.internalExecute(FlowController.java:478)
at org.apache.beehive.netui.pageflow.PageFlowController.internalExecute(PageFlowController.java:306)
at org.apache.beehive.netui.pageflow.FlowController.execute(FlowController.java:336)
at org.apache.beehive.netui.pageflow.internal.FlowControllerAction.execute(FlowControllerAction.java:52)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.access$201(PageFlowRequestProcessor.java:97)
at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor$ActionRunner.execute(PageFlowRequestProcessor.java:2044)
at org.apache.beehive.netui.pageflow.interceptor.action.internal.ActionInterceptors$WrapActionInterceptorChain.continueChain(ActionInterceptors.java:64)
at org.apache.beehive.netui.pageflow.interceptor.action.ActionInterceptor.wrapAction(ActionInterceptor.java:184)
at org.apache.beehive.netui.pageflow.interceptor.action.internal.ActionInterceptors$WrapActionInterceptorChain.invoke(ActionInterceptors.java:50)
at org.apache.beehive.netui.pageflow.interceptor.action.internal.ActionInterceptors$WrapActionInterceptorChain.continueChain(ActionInterceptors.java:58)
at org.apache.beehive.netui.pageflow.interceptor.action.internal.ActionInterceptors.wrapAction(ActionInterceptors.java:87)
at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processActionPerform(PageFlowRequestProcessor.java:2116)
at com.bea.console.internal.ConsolePageFlowRequestProcessor.processActionPerform(ConsolePageFlowRequestProcessor.java:255)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processInternal(PageFlowRequestProcessor.java:556)
at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.process(PageFlowRequestProcessor.java:853)
at org.apache.beehive.netui.pageflow.AutoRegisterActionServlet.process(AutoRegisterActionServlet.java:631)
at org.apache.beehive.netui.pageflow.PageFlowActionServlet.process(PageFlowActionServlet.java:158)
at com.bea.console.internal.ConsoleActionServlet.process(ConsoleActionServlet.java:256)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at com.bea.console.internal.ConsoleActionServlet.doGet(ConsoleActionServlet.java:133)
at org.apache.beehive.netui.pageflow.PageFlowUtils.strutsLookup(PageFlowUtils.java:1199)
at com.bea.portlet.adapter.scopedcontent.ScopedContentCommonSupport.executeAction(ScopedContentCommonSupport.java:686)
at com.bea.portlet.adapter.scopedcontent.ScopedContentCommonSupport.processActionInternal(ScopedContentCommonSupport.java:142)
at com.bea.portlet.adapter.scopedcontent.PageFlowStubImpl.processAction(PageFlowStubImpl.java:106)
at com.bea.portlet.adapter.NetuiActionHandler.raiseScopedAction(NetuiActionHandler.java:111)
at com.bea.netuix.servlets.controls.content.NetuiContent.raiseScopedAction(NetuiContent.java:181)
at com.bea.netuix.servlets.controls.content.NetuiContent.raiseScopedAction(NetuiContent.java:167)
at com.bea.netuix.servlets.controls.content.NetuiContent.handlePostbackData(NetuiContent.java:225)
at com.bea.netuix.nf.ControlLifecycle$2.visit(ControlLifecycle.java:180)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:324)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:130)
at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:395)
at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:361)
at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:352)
at com.bea.netuix.nf.Lifecycle.runInbound(Lifecycle.java:184)
at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:159)
at com.bea.netuix.servlets.manager.UIServlet.runLifecycle(UIServlet.java:388)
at com.bea.netuix.servlets.manager.UIServlet.doPost(UIServlet.java:258)
at com.bea.netuix.servlets.manager.UIServlet.service(UIServlet.java:199)
at com.bea.netuix.servlets.manager.SingleFileServlet.service(SingleFileServlet.java:251)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at com.bea.console.utils.MBeanUtilsInitSingleFileServlet.service(MBeanUtilsInitSingleFileServlet.java:54)
at weblogic.servlet.AsyncInitServlet.service(AsyncInitServlet.java:130)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3496)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2180)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Caused by: com.bea.xml.XmlException: failed to load java type corresponding to e=weblogic-web-app@http://xmlns.oracle.com/weblogic/weblogic-web-app
at com.bea.staxb.runtime.internal.UnmarshalResult.getPojoBindingType(UnmarshalResult.java:361)
at com.bea.staxb.runtime.internal.UnmarshalResult.determineTypeForGlobalElement(UnmarshalResult.java:316)
at com.bea.staxb.runtime.internal.UnmarshalResult.determineTypeForGlobalElement(UnmarshalResult.java:326)
at com.bea.staxb.runtime.internal.UnmarshalResult.determineRootType(UnmarshalResult.java:307)
at com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalDocument(UnmarshalResult.java:158)
at com.bea.staxb.runtime.internal.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:65)
at weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:141)
... 121 more
.> -
Hi ,
I unable to generate the stub/skeleton in my java classes using rmic. With help of below code in build.xml file
<taskdef name="rmic" classname="org.apache.tools.ant.taskdefs.Rmic"/>
<rmic base="${build.dest}" includes="**/*.class" classpathref="compilation-classpath" compiler="weblogic" iiop="true"/>
Below is the Error facing in cmd prompt
Error starting WebLogic rmic
BUILD FAILED
C:\OPOM_CRM\CRMModule\crm\build.xml:190: Error starting WebLogic rmic:
at org.apache.tools.ant.taskdefs.rmic.WLRmic.execute(WLRmic.java:84)
at org.apache.tools.ant.taskdefs.Rmic.execute(Rmic.java:548)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
In advance thanks for the help..
Regards
BashaHi.
Try posting your question on weblogic.developer.interest.portal.
Thanks,
Michael
Allen Gu wrote:
I have installed WebLogic Portal 4.0 using wlportal400_with_sp1_win.exe
downloaded from http://www.bea.com, but when I tried to run it from Start
menu, I got the following error:
Starting WebLogic Server ....
The WebLogic Server did not start up properly.
Exception raised:
java.lang.IllegalAccessError: try to access method
weblogic/management/internal/
Helper.preloadMBeanInfos()V from class weblogic/management/Admin
at weblogic.management.Admin.initialize(Admin.java:210)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:362)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:202)
at weblogic.Server.main(Server.java:35)
Reason: Fatal initialization exception
Press any key to continue . . .
What could have gone wrong?
Thanks,
Allen--
Michael Young
Developer Relations Engineer
BEA Support -
BPM Configuration Error on Weblogic Configuration
Hi,
I try to configure BPM Directory and always get error on wlst.sh command
weblogic.common.resourcepool.ResourceSystemException: Cannot load driver class: weblogic.jdbcx.oracle.OracleDataSource
My system spec:
- Solaris SPARC 64
- Weblogic 10.3.0.0 using JRockit 1.6.0_16
- BPM 10gR3
The configuration error in weblogic configuration.
Really need help here..
Thanks
Regards,
Eric WijayaHi Eric,
Just checking: Are you using BPM 10.3.2?
Do you mean the BPM Directory Configuration?Yes, I'm talking about the directory configuration and the engine configuration too.
I've configure the BPM Directory to use BPM's Oracle Driver Version:10,11 which is selected by default by the BPM Configuration Wizard but still got the jdbc driver error. If you are using 10.3.2, you will see that there is another driver called: "Oracle Driver Version:10,11" (without BPM!!). You must use that driver. (if you install the latest 10.3.2 HF, that driver is the default one).
If you don't have that driver, then you are using an older version than 10.3.2. Please migrate to 10.3.2.
Hope this helps,
Ariel -
Hi.
We are doing the migration from Weblogic 6.1sp5/TopLink 3.6.3 to Weblogic 8.1 & TopLink 9.0.4
We have been reading available documentation and started the migration. We have not had any problems with package ranaming issues and XML DOCTYPES changes.
As we do have a lot of ammedmed querys, we do prefer to use a java class as our proyect mapping descriptor rather than a huge XML.
We are currently porting all our querys to the new system.
As we are doing a lot of changes we are also updating our EJB 1.1 entity beans to EJB 2.0 (maybe in the future we will deploy our EJBs with local interfaces too).
The main problem we are facing right now is with all the querys we had in our toplink-cmp-<bean>.xml files. Even if most of the finders are "REDIRECT" querys that had to be ammendmed we have a good number of "EXPRESSION"s on them.
As far as we are able to see we should move them to the TopLink Project java file in the querys section. The question is: is it possible to declare them in the ejb-jar.xml file into the <ejb-ql> tag (we have seen that the TopLinkImplemented string appears on the <ejb-ql> telling the container who should handle the query, so if Weblogic can be "tricked" to do that "ejb-ql" it may be possible to do the same with a TopLink expression isn't it?.
Another issue we don't have clear is if now all the querys must be either ejb-ql (compliant with the EJB 2.0 standard) or named querys (either TopLink expressions or SQL querys) defined in the TopLink Project java or XML files. What happened with the redirect querys
I would like to point just another issue we have "solved" but we are not really satisfied with how we solved it.
We are using timestamp locking with our entity beans. The shouldBindAllParameters is set to true too and we have the logging activated so we have been able to track down the problem.
The problem seems to be something like this.
You create a new entity bean and TopLink issues a sentence like this against the DB (Oracle 8.1.7 I must say we have also configured the login session to use the Oracle8PlatformSupport)
INSERT INTO FOO(OID,OCA) VALUES (?, ?)
bind => [1, 2004-04-26 13:16:45.251]
As far as we know Oracle 8.1.7 doesn't store the milliseconds (we are using DATE type in Oracle tables) so the ".251" value is stored as "0"
Then we try to delete the entity bean and TopLink sends this sentence to the database:
DELETE FROM FOO WHERE ((OID = ? AND OCA = ?))
bind => [1, 2004-04-26 13:16:45.251]
Then, a TOPLINK-5003 (the object has been modified or deleted since last read) is raised and the transaction is rolled back.
We tried without binding and it works perfect (it seems that the timestamp is treated as YYYY-MM-DD SSSSS in the "to_date" function issued)
As we would like to keep with binding all parameters in order to optimize our database accesses we have changed the default jdbc driver (sun.jdbc...) that is showed when reading the proper property of the login sesion with the oracle.jdbc.driver.OracleDriver. This latest driver seems to solve the problem with the reminders of the timestamps but this brings us a doubt.
If we have configured two datasources in our Weblogic's config.xml file (one for transactional operations, beeing that one also an XA driver as we need to coordinate RDBMS operations with a JMS service, and the other one being a "standar" oracle.jdbc.driver.OracleDriver) why is that the driver used as default by the login method is that "weird" sun.jdbc... driver? Shouldn't TopLink use one (the XA driver I hopefully) of the drivers defined in Weblogic's datasource?
1. Is the issue we are seeing with the timestamp a known bug/problem?
2. Is there a better way to solve it than changing the driver (we are affraid of the "new" issues changing it could raise)
I have seen that with TopLink 3.6.3 and the "default" driver used in the login (it is the same by default on both TopLink 3.6.3 and TopLink 9.0.4) the binded timestamp are "truncated" to the second resolution and it works without any problem.
Thanks in advance.
IgnacioNot sure on all of the issues, but can provide some information on some of them.
Re-directors:
Support was added for re-director to core queries, so now your named queries can make use of re-director if they require advanced dynamic execution. So all re-director queries can become named queries.
Timestamp locking:
In general we would always suggest numeric version locking if you have the choice. I'm not clear on what you are saying about the driver having an effect on the problem, however in general Oracle 8 does not support milliseconds, if you use timestamp locking with local timestamps they will have milliseconds and the database values will not match the ones in memory.
To resolve this you can,
- Use server timestamps TimestampLockingPolicy.useServerTime()
- Clear the timestamp's milli/nano second value through an aboutToInsert event.
- Extend Oracle8Platform.convertObject to clear the timestamp's milli/nano second value.
- If you can use Oracle 9 or 10 there is now a TIMESTAMP type that does support milliseconds.
If a different driver seems to be solving this, it is most likely the database ignores the milliseconds in the comparison, but the driver you are using sends the millisecond to the database incorrectly when binding. -
Error starting weblogic Admin server
Hi All,
I am not very familiar with Fusion and weblogic but here is my situation:
Background: I am trying to install Fusion Middleware so I can integrate Oracle Transport Management with E-Business Suite (as per note Integrating Oracle E-Business Suite Release 12 with Oracle BPEL in Oracle SOA Suite 11g (Doc ID 1321776.1))
I just installed the following on Oracle Enterprise Linux 64bits
- SOA Suite 11.1.1.7.0
- Weblogic Server 10.3.6
-JDK 1.7.0_25
-Jdev 11.1.1.7.0
When starting the weblogic Admin server using "DOMAIN_HOME/startWebLogic.sh' I get an error:
Starting weblogic with Java version:
Unrecognized option -jrockit
Error: Could not create the Java virtual machine
I found a few thread with similar issue (for different versions of SOA suite) where it got fixed by changing some parameters in the cmd file but I am not sure they apply to my case.
Is the jdk version compatible? (I can start JDeveloper ok) , if not which one is the appropriate version. If i need to change it, can you provide details of how to do it? (I am not expert on SOA/Jdev )
Can you please help me here ?
Thanks in advance!Well, I tested it
java -version and it shows :
1.7.0_25
Java HotSpot 64 bit Server VM
--> So I guess the problem is I don't seem to have the jrockit.
I donwloaded it (Rel 28.7) and installed it. During installation it says "for JDK 1.6.0_45"
Anyway. I let it install anyway and I modified the PATH to point to the Jrockit bin directory. Then run java -version and it now shows JDK 1.6.0_45 and jvm as rockit
Now I tried to start the weblogic server and I get the same error. it still uses the JDK 1.7
So.. again.. is this supported with JDK 7 ?
How can I fix it now that I installed everything using the JDK 7?
Thanks -
EJB deployment error for Weblogic server 9.2 mp4
Hi,
While trying to deploy a small EJB jar file which uses EJB 2.1 CMP beans with relationships, getting the following error from Weblogic server 9.2 MP4:
=================================================================================================
<Error> <EJB> <VinodThinkPad> <AdminServer> <[STANDBY] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1320143988333> <BEA-012036> <Compiling generated EJB classes produced the following Java compiler error message:
C:\bea\user_projects\domains\base_domain\servers\AdminServer\cache\EJBCompilerCache\19ivqhpr6jvsc\Test1\Order_cpl9bk__WebLogic_CMP_RDBMS.java:570: incompatible types
found : <nulltype>
required: int
shipmentId = null;
^
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 error
>
####<Nov 1, 2011 4:09:48 PM IST> <Error> <Deployer> <VinodThinkPad> <AdminServer> <[STANDBY] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1320143988380> <BEA-149265> <Failure occured in the execution of deployment request with ID '1320143984947' for task '1'. Error is: 'weblogic.application.ModuleException: Exception preparing module: EJBModule(EJBTest)
Unable to deploy EJB: EJBTest.jar from EJBTest.jar:
There are 1 nested errors:
java.io.IOException: Compiler failed executable.exec:
C:\bea\user_projects\domains\base_domain\servers\AdminServer\cache\EJBCompilerCache\19ivqhpr6jvsc\Test1\Order_cpl9bk__WebLogic_CMP_RDBMS.java:570: incompatible types
found : <nulltype>
required: int
shipmentId = null;
^
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 error
at weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.java:493)
at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:332)
at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:340)
at weblogic.ejb.container.ejbc.EJBCompiler.doCompile(EJBCompiler.java:309)
at weblogic.ejb.container.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:497)
at weblogic.ejb.container.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:464)
at weblogic.ejb.container.deployer.EJBDeployer.runEJBC(EJBDeployer.java:432)
at weblogic.ejb.container.deployer.EJBDeployer.compileJar(EJBDeployer.java:754)
at weblogic.ejb.container.deployer.EJBDeployer.compileIfNecessary(EJBDeployer.java:657)
at weblogic.ejb.container.deployer.EJBDeployer.prepare(EJBDeployer.java:1201)
at weblogic.ejb.container.deployer.EJBModule.prepare(EJBModule.java:355)
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)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:46)
at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:615)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:191)
at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:147)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:61)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:189)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:87)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:718)
at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1185)
at weblogic.deploy.internal.targetserver.DeploymentManager.configPrepareCompleted(DeploymentManager.java:594)
at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepareCompleted(DeploymentServiceDispatcher.java:171)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCompletedCallback(DeploymentReceiverCallbackDeliverer.java:228)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$300(DeploymentReceiverCallbackDeliverer.java:12)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$4.run(DeploymentReceiverCallbackDeliverer.java:95)
at weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
weblogic.application.ModuleException: Exception preparing module: EJBModule(EJBTest)
Unable to deploy EJB: EJBTest.jar from EJBTest.jar:
There are 1 nested errors:
java.io.IOException: Compiler failed executable.exec:
C:\bea\user_projects\domains\base_domain\servers\AdminServer\cache\EJBCompilerCache\19ivqhpr6jvsc\Test1\Order_cpl9bk__WebLogic_CMP_RDBMS.java:570: incompatible types
found : <nulltype>
required: int
shipmentId = null;
^
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 error
at weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.java:493)
at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:332)
at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:340)
at weblogic.ejb.container.ejbc.EJBCompiler.doCompile(EJBCompiler.java:309)
at weblogic.ejb.container.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:497)
at weblogic.ejb.container.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:464)
at weblogic.ejb.container.deployer.EJBDeployer.runEJBC(EJBDeployer.java:432)
at weblogic.ejb.container.deployer.EJBDeployer.compileJar(EJBDeployer.java:754)
at weblogic.ejb.container.deployer.EJBDeployer.compileIfNecessary(EJBDeployer.java:657)
at weblogic.ejb.container.deployer.EJBDeployer.prepare(EJBDeployer.java:1201)
at weblogic.ejb.container.deployer.EJBModule.prepare(EJBModule.java:355)
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)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:46)
at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:615)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:191)
at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:147)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:61)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:189)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:87)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:718)
at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1185)
at weblogic.deploy.internal.targetserver.DeploymentManager.configPrepareCompleted(DeploymentManager.java:594)
at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepareCompleted(DeploymentServiceDispatcher.java:171)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCompletedCallback(DeploymentReceiverCallbackDeliverer.java:228)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$300(DeploymentReceiverCallbackDeliverer.java:12)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$4.run(DeploymentReceiverCallbackDeliverer.java:95)
at weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
at weblogic.ejb.container.deployer.EJBModule.prepare(EJBModule.java:382)
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)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:46)
at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:615)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:191)
at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:147)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:61)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:189)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:87)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:718)
at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1185)
at weblogic.deploy.internal.targetserver.DeploymentManager.configPrepareCompleted(DeploymentManager.java:594)
at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepareCompleted(DeploymentServiceDispatcher.java:171)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCompletedCallback(DeploymentReceiverCallbackDeliverer.java:228)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$300(DeploymentReceiverCallbackDeliverer.java:12)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$4.run(DeploymentReceiverCallbackDeliverer.java:95)
at weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
java.io.IOException: Compiler failed executable.exec:
C:\bea\user_projects\domains\base_domain\servers\AdminServer\cache\EJBCompilerCache\19ivqhpr6jvsc\Test1\Order_cpl9bk__WebLogic_CMP_RDBMS.java:570: incompatible types
found : <nulltype>
required: int
shipmentId = null;
^
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 error
at weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.java:493)
at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:332)
at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:340)
at weblogic.ejb.container.ejbc.EJBCompiler.doCompile(EJBCompiler.java:309)
at weblogic.ejb.container.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:497)
at weblogic.ejb.container.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:464)
at weblogic.ejb.container.deployer.EJBDeployer.runEJBC(EJBDeployer.java:432)
at weblogic.ejb.container.deployer.EJBDeployer.compileJar(EJBDeployer.java:754)
at weblogic.ejb.container.deployer.EJBDeployer.compileIfNecessary(EJBDeployer.java:657)
at weblogic.ejb.container.deployer.EJBDeployer.prepare(EJBDeployer.java:1201)
at weblogic.ejb.container.deployer.EJBModule.prepare(EJBModule.java:355)
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)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:46)
at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:615)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:191)
at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:147)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:61)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:189)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:87)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:718)
at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1185)
at weblogic.deploy.internal.targetserver.DeploymentManager.configPrepareCompleted(DeploymentManager.java:594)
at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepareCompleted(DeploymentServiceDispatcher.java:171)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCompletedCallback(DeploymentReceiverCallbackDeliverer.java:228)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$300(DeploymentReceiverCallbackDeliverer.java:12)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$4.run(DeploymentReceiverCallbackDeliverer.java:95)
at weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
>
=================================================================================================
While I'm able to deploy without the CMP 1-1 relationship, the moment I introduce the 1-1 relationship, I get this error. Database used is Oracle 10g XE.
I have been battling this error for more than a day now. Kindly help me fix this.
Thanks in advance!
Regards,
VinodHi,
I was able to figure out the root cause. I was using the primitive data type "int" for primary key and foreign key for one of the beans in the relationship. After I changed it to "Integer" wrapper type, the issue got resolved.
-Vinod -
Error Starting WebLogic Portal 4.0
I have installed WebLogic Portal 4.0 using wlportal400_with_sp1_win.exe
downloaded from http://www.bea.com, but when I tried to run it from Start
menu, I got the following error:
Starting WebLogic Server ....
The WebLogic Server did not start up properly.
Exception raised:
java.lang.IllegalAccessError: try to access method
weblogic/management/internal/
Helper.preloadMBeanInfos()V from class weblogic/management/Admin
at weblogic.management.Admin.initialize(Admin.java:210)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:362)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:202)
at weblogic.Server.main(Server.java:35)
Reason: Fatal initialization exception
Press any key to continue . . .
What could have gone wrong?
Thanks,
AllenHi.
Try posting your question on weblogic.developer.interest.portal.
Thanks,
Michael
Allen Gu wrote:
I have installed WebLogic Portal 4.0 using wlportal400_with_sp1_win.exe
downloaded from http://www.bea.com, but when I tried to run it from Start
menu, I got the following error:
Starting WebLogic Server ....
The WebLogic Server did not start up properly.
Exception raised:
java.lang.IllegalAccessError: try to access method
weblogic/management/internal/
Helper.preloadMBeanInfos()V from class weblogic/management/Admin
at weblogic.management.Admin.initialize(Admin.java:210)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:362)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:202)
at weblogic.Server.main(Server.java:35)
Reason: Fatal initialization exception
Press any key to continue . . .
What could have gone wrong?
Thanks,
Allen--
Michael Young
Developer Relations Engineer
BEA Support -
JSP compilation errors in weblogic 6.1
I'm getting these JSP compilation errors in weblogic 6.1 on Solaris. Please help.
Full compiler error(s):
error: Invalid class file format:
^
/opt/projects/redherring/beahome/wlserver6.1/config/mydomain/applica
tions/.wlnotdelete/WEB-INF/_tmp_war_myserver_myserver_redherring/jsp_servlet/_w
eb/_jsp/_event/__eventForm.java:34: Class
com.ford.redherring.model.PropertiesAttributesModel not found in import.
import com.ford.redherring.model.PropertiesAttributesModel; <file://[>
/web/jsp/event/eventForm.jsp; Line: 64]
^
/opt/projects/redherring/beahome/wlserver6.1/config/mydomain/applica
tions/.wlnotdelete/WEB-INF/_tmp_war_myserver_myserver_redherring/jsp_servlet/_w
eb/_jsp/_event/__eventForm.java:38: Class com.ford.redherring.util.DialogHeader
not found in import.
import com.ford.redherring.util.DialogHeader; <file://[> /web/jsp/event/eventForm.jsp;
Line: 68]
^
/opt/projects/redherring/beahome/wlserver6.1/config/mydomain/applica
tions/.wlnotdelete/WEB-INF/_tmp_war_myserver_myserver_redherring/jsp_servlet/_w
eb/_jsp/_event/__eventForm.java:39: Class com.ford.redherring.util.DialogFooter
not found in import.
import com.ford.redherring.util.DialogFooter; <file://[> /web/jsp/event/eventForm.jsp;
Line: 69]
^
/opt/projects/redherring/beahome/wlserver6.1/config/mydomain/applica
tions/.wlnotdelete/WEB-INF/_tmp_war_myserver_myserver_redherring/jsp_servlet/_w
eb/_jsp/_event/__eventForm.java:40: Class com.ford.redherring.model.DDContainer
not found in import.
import com.ford.redherring.model.DDContainer; <file://[> /web/jsp/event/eventForm.jsp;
Line: 70]
^
/opt/projects/redherring/beahome/wlserver6.1/config/mydomain/applica
tions/.wlnotdelete/WEB-INF/_tmp_war_myserver_myserver_redherring/jsp_servlet/_w
eb/_jsp/_event/__eventForm.java:41: Class
com.ford.redherring.model.DDValidationModel not found in import.
import com.ford.redherring.model.DDValidationModel; <file://[>
/web/jsp/event/eventForm.jsp; Line: 71]
This appears to be a CLASSPATH problem (you are missing references to
'com.ford.redherring.model.*' and 'com.ford.redherring.util.*'). The
CLASSPATH may be set in the server startup script. Hope this helps.
Wade.
"Katri Alur" <[email protected]> wrote in message news:<[email protected]>...
> I'm getting these JSP compilation errors in weblogic 6.1 on Solaris. Please help.
>
> ----------------------------------------------------------------------------
> ----
> Full compiler error(s):
> error: Invalid class file format:
>
>
> ^
> /opt/projects/redherring/beahome/wlserver6.1/config/mydomain/applica
> tions/.wlnotdelete/WEB-INF/_tmp_war_myserver_myserver_redherring/jsp_servlet/_w
> eb/_jsp/_event/__eventForm.java:34: Class
> com.ford.redherring.model.PropertiesAttributesModel not found in import.
> import com.ford.redherring.model.PropertiesAttributesModel; <file://[>
> /web/jsp/event/eventForm.jsp; Line: 64]
> ^
> /opt/projects/redherring/beahome/wlserver6.1/config/mydomain/applica
> tions/.wlnotdelete/WEB-INF/_tmp_war_myserver_myserver_redherring/jsp_servlet/_w
> eb/_jsp/_event/__eventForm.java:38: Class com.ford.redherring.util.DialogHeader
> not found in import.
> import com.ford.redherring.util.DialogHeader; <file://[> /web/jsp/event/eventForm.jsp;
> Line: 68]
> ^
> /opt/projects/redherring/beahome/wlserver6.1/config/mydomain/applica
> tions/.wlnotdelete/WEB-INF/_tmp_war_myserver_myserver_redherring/jsp_servlet/_w
> eb/_jsp/_event/__eventForm.java:39: Class com.ford.redherring.util.DialogFooter
> not found in import.
> import com.ford.redherring.util.DialogFooter; <file://[> /web/jsp/event/eventForm.jsp;
> Line: 69]
> ^
> /opt/projects/redherring/beahome/wlserver6.1/config/mydomain/applica
> tions/.wlnotdelete/WEB-INF/_tmp_war_myserver_myserver_redherring/jsp_servlet/_w
> eb/_jsp/_event/__eventForm.java:40: Class com.ford.redherring.model.DDContainer
> not found in import.
> import com.ford.redherring.model.DDContainer; <file://[> /web/jsp/event/eventForm.jsp;
> Line: 70]
> ^
> /opt/projects/redherring/beahome/wlserver6.1/config/mydomain/applica
> tions/.wlnotdelete/WEB-INF/_tmp_war_myserver_myserver_redherring/jsp_servlet/_w
> eb/_jsp/_event/__eventForm.java:41: Class
> com.ford.redherring.model.DDValidationModel not found in import.
> import com.ford.redherring.model.DDValidationModel; <file://[>
> /web/jsp/event/eventForm.jsp; Line: 71]
-
Form processing error in weblogic
Hi all
'm having this really strange problem in weblogic. I've developed a small portlet for a propritery portal. The portal is an web application and runs on a j2ee servlet engine. On my development machine im using tomcat as the servlet container. On the deployment server the portal in which the portlet is going to be deployed is running on weblogic.
So my problem is that on one of the jsp's in the portlet i have a form of type enctype="multipart/form-data" for uploading files to the server. On tomcat the form processing works fine (im using the MultiPartParser class from com.oreily package). But when I deploy the portlet in weblogic enviroment I get an exception when trying to process the abovementioned form.
Top of the stack trace follows:
2005-12-01 17:22:10,699 [ERROR] Demo User Navigation.jsp
- Original request not available
javax.servlet.jsp.JspException: Original request not available
at org.apache.taglibs.standard.tag.common.core.ImportSupport.acquireStri
ng(ImportSupport.java:322)Cant find anything on this issue in the forums. Can anyone help??Upgrade to sp3.
"Sreekanth" <[email protected]> wrote:
>
I am getting the following error in weblogic server. I am unable to understand
the situation when this occurs. can anybody help. Sometimes i get the
mentioned
class as "weblogic.rmi.internal.MethodDescriptor"/ "weblogic.rjvm.ClassTableEntry"
<Aug 7, 2003 2:48:31 AM IST> <Error> <ConnectionManager> <
java.rmi.UnmarshalException: Incoming message header or abbreviation
processing
failed ; nested exception is:
java.lang.ClassCastException: weblogic.rjvm.ClassTableEntry
Start server side stack trace:
java.rmi.UnmarshalException: Incoming message header or abbreviation
processing
failed ; nested exception is:
java.lang.ClassCastException: weblogic.rjvm.ClassTableEntry
java.lang.ClassCastException: weblogic.rjvm.ClassTableEntry
at weblogic.rjvm.MsgAbbrevJVMConnection.readMsgAbbrevs(MsgAbbrevJVMConnection.java:182)
at weblogic.rjvm.MsgAbbrevInputStream.readMessageContext(MsgAbbrevInputStream.java:154)
at weblogic.rjvm.ConnectionManager.dispatch(ConnectionManager.java:579)
at weblogic.rjvm.t3.T3JVMConnection.dispatch(T3JVMConnection.java:454)
at weblogic.socket.PosixSocketMuxer.deliverGoodNews(PosixSocketMuxer.java:456)
at weblogic.socket.PosixSocketMuxer.processSockets(PosixSocketMuxer.java:385)
at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:24)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
End server side stack trace
; nested exception is:
java.lang.ClassCastException: weblogic.rjvm.ClassTableEntry -
Patch error in Weblogic server9.1 & 9.2
:Ohi,
i am using weblogic 9.1 and 9.2 on windows xp.
when i click smart update to get patches i am getting an error:
"an unknown error occured upgrading the patch client ",
when i have a BEA support id and password , i am unable to see error in log file of BEA home directory.
can u plz give me the solution as i need to apply public patches .
thanks in advance,
swetaUpgrade to sp3.
"Sreekanth" <[email protected]> wrote:
>
I am getting the following error in weblogic server. I am unable to understand
the situation when this occurs. can anybody help. Sometimes i get the
mentioned
class as "weblogic.rmi.internal.MethodDescriptor"/ "weblogic.rjvm.ClassTableEntry"
<Aug 7, 2003 2:48:31 AM IST> <Error> <ConnectionManager> <
java.rmi.UnmarshalException: Incoming message header or abbreviation
processing
failed ; nested exception is:
java.lang.ClassCastException: weblogic.rjvm.ClassTableEntry
Start server side stack trace:
java.rmi.UnmarshalException: Incoming message header or abbreviation
processing
failed ; nested exception is:
java.lang.ClassCastException: weblogic.rjvm.ClassTableEntry
java.lang.ClassCastException: weblogic.rjvm.ClassTableEntry
at weblogic.rjvm.MsgAbbrevJVMConnection.readMsgAbbrevs(MsgAbbrevJVMConnection.java:182)
at weblogic.rjvm.MsgAbbrevInputStream.readMessageContext(MsgAbbrevInputStream.java:154)
at weblogic.rjvm.ConnectionManager.dispatch(ConnectionManager.java:579)
at weblogic.rjvm.t3.T3JVMConnection.dispatch(T3JVMConnection.java:454)
at weblogic.socket.PosixSocketMuxer.deliverGoodNews(PosixSocketMuxer.java:456)
at weblogic.socket.PosixSocketMuxer.processSockets(PosixSocketMuxer.java:385)
at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:24)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
End server side stack trace
; nested exception is:
java.lang.ClassCastException: weblogic.rjvm.ClassTableEntry -
SOAP Invoke error: Status (500): Internal Server Error
I have a BLS with a WebService action. I am testing the WebService call with each operation within the wsdl address. I used the wsdl address to make the call. I selected the only port available. There are several operations available. This WebService call is successful for all operations except for one. The operation that fails, I get the following errors in the "ServletExec.log" for this one operation. Can you tell me where the issue may be?
"SOAP Invoke error: Status (500): Internal Server Error"
"java.lang.Exception: Status (500): Internal Server Error"
"at com.lighthammer.webservice.SoapClient.invoke(Unknown Source)"
"at com.lighthammer.xacute.actions.webservice.WebServiceAction.RawInvoke(Unknown Source)"
"at com.lighthammer.xacute.actions.webservice.WebServiceAction.Invoke(Unknown Source)"
Thanks,
ChrisThe Web Service had been "Reversed Engineered". In doing this, the parameters had been changed in the Web Service. This created a "break" on MII's side (i.e. MII was still trying to pass the authentication token to the parameter named "authenticationToken", instead of passing it to the parameter named "paramString1".).
Thanks,
Chris -
Panic[cpu7]/thread=30000375d00: Can't invoke , error 2
Hi,
I am trying to install Solaris 9 into an Ultra Entreprise 3000 (client) from a JumpStart server. I did setup this new client with add_install_client, updated rules, sysidcfg and profiles, etc. ,but the client always stops with a "panic cpu" error message.
Requesting Internet address for 8:0:20:83:b9:4
Internet address is: (Address IP)
hostname: test5
Found 192.168.166.171 @ 8:0:20:83:b5:16
root server: test3 (Address IP)
root directory: /jumpstart/solaris_9/install/Solaris_9/Tools/Boot
Size: 0x5d91b+0x14bb5+0x2563f Bytes
SunOS Release 5.9 Version Generic_117171-07 64-bit
Copyright 1983-2003 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.
Ethernet address = 8:0:20:83:b9:4
Using default device instance data
mem = 524288K (0x20000000)
avail mem = 491601920
root nexus = 4-slot Sun Enterprise 3000
sbus0 at root: UPA 0x2 0x0 ...
sbus0 is /sbus@2,0
sbus1 at root: UPA 0x3 0x0 ...
sbus1 is /sbus@3,0
SUNW,hme0 : Sbus (Rev Id = 22) Found
hme0 at sbus1: SBus1 slot 0x3 offset 0x8c00000 and slot 0x3 offset 0x8c02000 and slot 0x3 offset 0x8c04000 and slot 0x3 offset 0x8c06000 and slot 0x3 offset 0x8c07000 SBus level 4 sparc9 ipl 7
hme0 is /sbus@3,0/SUNW,hme@3,8c00000
Requesting Internet address for 8:0:20:83:b9:4
SUNW,hme0 : Internal Transceiver Selected.
SUNW,hme0 : 100 Mbps Full-Duplex Link Up
Found my IP address: c0a8a6ad (IP Address)
hostname: test5
whoami: no domain name
root on test3:/jumpstart/solaris_9/install/Solaris_9/Tools/Boot fstype nfsdyn
fhc0 at root: UPA 0x6 0xf8800000
fhc0 is /fhc@6,f8800000
ac0 board 3 bank 0: base 0x0 size 256mb rstate 2 ostate 1 condition 1
ac0 board 3 bank 1: base 0x40 size 256mb rstate 2 ostate 1 condition 1
ac0 is /fhc@6,f8800000/ac@0,1000000
fhc1 at root: UPA 0x2 0xf8800000
fhc1 is /fhc@2,f8800000
ac1 is /fhc@2,f8800000/ac@0,1000000
central0 at root: UPA 0x1f 0x0 ...
fhc2 at root: UPA 0x0 0xf8800000
fhc2 is /central@1f,0/fhc@0,f8800000
sysctrl0 is /central@1f,0/fhc@0,f8800000/clock-board@0,900000
sysctrl0: Key switch is in the secure position
environ0 is /fhc@6,f8800000/environment@0,400000
environ1 is /fhc@2,f8800000/environment@0,400000
simmstat0 is /fhc@6,f8800000/simm-status@0,600000
sram0 is /fhc@6,f8800000/sram@0,200000
zs0 is /central@1f,0/fhc@0,f8800000/zs@0,902000
zs1 is /central@1f,0/fhc@0,f8800000/zs@0,904000
cpu6: UltraSPARC-II (portid 6 impl 0x11 ver 0x11 clock 248 MHz)
cpu7: UltraSPARC-II (portid 7 impl 0x11 ver 0x11 clock 248 MHz)
panic[cpu7]/thread=30000375d00: Can't invoke , error 2
000002a1001a5a40 genunix:icode+284 (1444c00, 0, 1438a38, 30000379438, 16, 0)
%l0-3: 00000000ffbfffec 00000000ffbffffb 0000000000000000 0000030000b35c08
%l4-7: 0000000000000000 00000000ffbffffc 00000000014579d0 0000000001457800
syncing file systems... done
skipping system dump - no dump device configured
rebooting...
Resetting...
Software Power ON
Could anyone please help ?
Many thanks, regards.Check the ports of Web services and those of BPEL, as Hambo have different communication ports.
Normally Webservices point to the port 8080 and BPEL to 18181 or 9084.
Check and I accounts.
Greetings.
Maybe you are looking for
-
1. Is there any Mail update for OS 10.4.11 users beyond v. 2.1.3? 2. Is there any version of OS 10.5 (Leopard) installable on G4s described below? I know OS 10.5.6 needs a faster processor so cannot be installed. 3. MAIN QUESTION: I have concluded af
-
Package javax.xml.parsers does not exist
When I compile the sample program for xml, DOMEcho.java, or any other xml java program, I get errors on the import statements. For all the import statements within java.xml.* I get an error message such as: package javax.xml.parsers does not exist. I
-
Scanner on solaris HELP!!!!
I am running Solaris 10 6/06 and have installed the companion cd as well as someother things (Quake II, QEMU for example). I am trying to set up a USB HP office Jet 5500 all-in-one series. I set it up as a printer but i cant set up the scanner functi
-
PSE 9 update is not applicable; error loading
Hi I am struggling with this after several attempts. Have PSE9. Apparently it was shipped with camera raw 6.1 but I can't see it. Tried downloading 6.3 and followed the instructions eg: unzip, launch Patchinstaller. But I get update not applicable wi
-
Multiple Monitors Multiple Graphics Cards... FCP 6.0.6
Hi, I'm running a 2 x 3 GHZ Quad core xeon machine with 4x Nvidia 7300 GT Cards installed. with the following monitor setup / GFX CardSetup : NVIDIA GeForce 7300 GT (CARD1of4): Chipset Model: NVIDIA GeForce 7300 GT Type: Display Bus: PCIe Slot: Slot-