J2EE Error
Hi All,
upon generating EWA I got these RED error on my CRM production running on J2EE, please refer to the error as attached.
I'm not particular clear about Garbage Collection (GC), how do we clear those? or it just a setting?
Any pointer or guidance to iron our this issue would be helpful,
Thank you,
Regards,
Ura
is it very easy guys?
You have to use the JVM switch tool to change from vendors JVM to SAP JVM.
Now, the switch process itself in a small task and won't consume much of your time.
do you think by upgrading to JVM will boost the performance as well?
The new JVM is based on new specification, which in turn brings new functions.
For eg, a new JVM has improved GC algorithm and add additional parameters for debugging.
Regards,
Divyanshu
Similar Messages
-
please help.
J2EE error can not start, below is last error message from std_server0.out
[Framework -> criticalShutdown] Core service security failed. J2EE Engine cannot be started.
Jul 2, 2007 5:22:04 PM com.sap.engine.core.Framework [SAPEngine_System_Thread[impl:5]_22] Fatal: Critical shutdown was invoked. Reason is: Core service security failed. J2EE Engine cannot be started.thanks for your fast response vladimir
#1.5#001A642FC09C00230000000E000015DC000434445CB5597C#1183368124656#com.sap.engine.core.service630.container.ServiceRunner##com.sap.engine.core.service630.container.ServiceRunner#######SAPEngine_System_Thread[impl:5]_22##0#0#Error#1#/System/Server#Java###Core service security failed. J2EE Engine cannot be started.
[EXCEPTION]
#1#com.sap.engine.services.security.exceptions.SecurityServiceException: Unexpected exception:
at com.sap.engine.services.security.SecurityServerFrame.start(SecurityServerFrame.java:179)
at com.sap.engine.core.service630.container.ServiceRunner.startApplicationServiceFrame(ServiceRunner.java:214)
at com.sap.engine.core.service630.container.ServiceRunner.run(ServiceRunner.java:144)
at com.sap.engine.frame.core.thread.Task.run(Task.java:64)
at com.sap.engine.core.thread.impl5.SingleThread.execute(SingleThread.java:79)
at com.sap.engine.core.thread.impl5.SingleThread.run(SingleThread.java:150)
Caused by: com.sap.engine.services.security.exceptions.BaseSecurityException: No active userstore is set.
at com.sap.engine.services.security.server.UserStoreFactoryImpl.getActiveUserStore(UserStoreFactoryImpl.java:77)
at com.sap.engine.services.security.server.jaas.LoginModuleHelperImpl.update(LoginModuleHelperImpl.java:402)
at com.sap.engine.services.security.server.jaas.LoginModuleHelperImpl.<init>(LoginModuleHelperImpl.java:81)
at com.sap.engine.services.security.server.SecurityContextImpl.<init>(SecurityContextImpl.java:57)
at com.sap.engine.services.security.SecurityServerFrame.start(SecurityServerFrame.java:135)
... 5 more
#1.5#001A642FC09C002300000010000015DC000434445CB55B31#1183368124656#com.sap.engine.core.Framework##com.sap.engine.core.Framework#######SAPEngine_System_Thread[impl:5]_22##0#0#Fatal#1#/System/Server#Plain###Critical shutdown was invoked. Reason is: Core service security failed. J2EE Engine cannot be started.# -
J2ee error--Could not login to config tool
hi,
the J2ee instance in my SAP Server is not running.
The SAP Server is of the following configuration.
OS: AIX
Installation: AS-ABAP + JAVA
Database: Oracle
My ABAP instance is running. ABAP and JAVA are runnning on different schema
When i try to connect to config tool , I am getting the following error. Please guide, of if you have faced a situation before
Connecting to database ... java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
at java.lang.reflect.Method.invoke(Method.java:391)
at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:81)
Caused by: java.lang.NoClassDefFoundError: iaik.utils.Base64Exception
at java.lang.J9VMInternals.verifyImpl(Native Method)
at java.lang.J9VMInternals.verify(J9VMInternals.java:59)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:120)
at com.sap.engine.core.configuration.impl.persistence.rdbms.DBConnectionPool.<init>(DBConnectionPool.java:108)
at com.sap.engine.core.configuration.impl.persistence.rdbms.PersistenceHandler.<init>(PersistenceHandler.java:38)
at com.sap.engine.core.configuration.impl.cache.ConfigurationCache.<init>(ConfigurationCache.java:149)
at com.sap.engine.core.configuration.bootstrap.ConfigurationManagerBootstrapImpl.init(ConfigurationManagerBootstrapImpl.java:236)
at com.sap.engine.core.configuration.bootstrap.ConfigurationManagerBootstrapImpl.<init>(ConfigurationManagerBootstrapImpl.java:49)
at com.sap.engine.configtool.console.ConsoleConfigTool.loadClusterData(ConsoleConfigTool.java:97)
at com.sap.engine.configtool.console.ConsoleConfigTool.<init>(ConsoleConfigTool.java:53)
at com.sap.engine.configtool.console.ConsoleConfigTool.main(ConsoleConfigTool.java:1279)
... 6 moreHello Balaji,
The ClassNotFoundError is complaining about class Base64. This class is part of the util.jar library which can be found in the following location:
./j2ee/configtool/lib/util.jar
Please verify that this library file is present. If it is, please verify that the file is not corrupt by executing the following command:
jar -tvf util.jar
With the above command you should see the contents of the archive. One of the classes should be Base64.class.
If necessary you can redeploy the configtool.sda archive which is located under
.\SDM\root\origin\sap.com\com.sap.engine.configtool\SAP AG\<#>\<version_info>\configtool.sda.
Use SDM to redeploy the archive using option 'Update SCAs/SDAs that have any version' under the deploy tab.
Regards,
Nathan -
I have been trying to resolve the error shown below which occurs when starting the J2EE server. The J2EE version is the latest - J2EE SDK 1.3.1. I know this is a long post, but I wanted to be clear about the problem -
The following error occurs when running the command:
j2ee -verbose
Here is the screen output - look carefully at the exception thrown and then read on below the stack trace:
J2EE server listen port: 1050
Naming service started:1050
Binding DataSource, name = jdbc/DB1, url = jdbc:cloudscape:rmi:CloudscapeDB;create=true
Binding DataSource, name = jdbc/InventoryDB, url = jdbc:cloudscape:rmi:CloudscapeDB;create=true
Binding DataSource, name = jdbc/EstoreDB, url = jdbc:cloudscape:rmi:CloudscapeDB;create=true
Binding DataSource, name = jdbc/Cloudscape, url = jdbc:cloudscape:rmi:CloudscapeDB;create=true
Binding DataSource, name = jdbc/DB2, url = jdbc:cloudscape:rmi:CloudscapeDB;create=true
Binding DataSource, name = jdbc/XACloudscape, url = jdbc/XACloudscape__xa
Exception in thread "main" java.lang.NoClassDefFoundError: javax/sql/XADataSource
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:493)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:111)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:248)
at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
at java.lang.ClassLoader.loadClass(ClassLoader.java:292)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286)
at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:120)
at com.sun.enterprise.repository.JdbcXAResource.createDataSource(JdbcXAResource.java:65)
at com.sun.enterprise.resource.ResourceInstaller.installJdbcXADataSources(ResourceInstaller.java:458)
at com.sun.enterprise.resource.ResourceInstaller.installJdbcDataSources(ResourceInstaller.java:349)
at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:264)
at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:972)
OK - now here are the important things to note:
I am running Win XP w/ J2SE 1.3.1_02, and J2EE 1.3.1 installed:
I have set the J2EE_HOME, JAVA_HOME, and PATH variables EXACTLY per the installation instructions. I have NOT altered the system's CLASSPATH - the instructions advise that you use the .bat files provided in the %J2EE_HOME%/bin directory which will set a classpath for you. If you look at 2 of the installed .bat files in the %J2EE_HOME%/bin directory:
j2ee.bat
setenv.bat
...it is clear that j2ee.bat calls setenv.bat which sets a whole group of env variables. The variable CPATH in particular is created by setenv.bat and is used in the final line of j2ee.bat as the value passed on the java command with the -classpath switch which actually launches the class
com.sun.enterprise.server.J2EEServer. This is the startup of the j2ee server.
Per the install instructions, I have set as system env variables:
JAVA_HOME=C:\jdk1.3.1_02
J2EE_HOME=C:\j2sdkee1.3.1
Other than that I have altered nothing else.
I have not altered any of the batch files that are installed in %J2EE_HOME%\bin EXCEPT to echo the value of %CPATH% just before the java command issued at the end of j2ee.bat. Here is the CPATH value:
C:\j2sdkee1.3.1\lib\system\cloudscape.jar;C:\j2sdkee1.3.1\lib\system\tools.jar;C:\j2sdkee1.3.1lib\cloudscape\RmiJdbc.jar;C:\j2sdkee1.3.1\lib\cloudscape\cloudclient.jar;C:\j2sdkee1.3.1\lib\classes;C:\j2sdkee1.3.1\classes;C:\j2sdkee1.3.1\lib
\j2ee.jar;C:\j2sdkee1.3.1\lib\toolclasses;C:\j2sdkee1.3.1\lib\j2eetools.jar;C:\j2sdkee1.3.1\lib\locale;;C:\jdk1.3.1_02\lib\tools.jar;C:\j2sdkee1.3.1\lib\jhall.jar
Note that C:\j2sdkee1.3.1\lib\j2ee.jar is included in the CPATH value used as the -classpath value in the command at the end of the j2ee.bat file that comes with the installation. MOST IMPORTANTLY (look back at the stack trace) - many of the classes that are executing OK - especially the class: com.sun.enterprise.server.J2EEServer
ARE in the j2ee.jar WHICH is also where the class:
javax.sql.XADataSource CAN ALSO BE FOUND.
And so.....how can some classes in the j2ee.jar be found... but not others??????
(And yes - I have un-installed and re-installed more than once already). And I HAVE NOT altered ANY of the .properties files installed in the various directories under %J2EE_HOME%.
Any help or ideas would be really appreciated.Pls extract ur rt.jar file and check whether the
XADataSource file is available in javax.sql package. I
think that file is missing in ur rt.jar. rt.jar is
available in jdk1.3.1_02\jre\lib.Yes - one would think to check that first - but the XADataSource class is in the j2ee.jar - which is in the classpath set by CPATH. Look carefully at the stack trace again...many of the classes including the javax.sql.XADataSource as well as the com.sun.enterprise.server.J2EEServer class which is the startup class ARE in the j2ee.jar. The fact that it takes a NoClassDefFoundError makes no sense at all - given that it can find other classes in the same j2ee.jar. I opened the j2ee.jar file and IT IS THERE. Thanks for the input....still no solution yet though. -
Hey All,
I have a Java only system. We did a monthly reboot of the server and since then J2EE engine does not start. (JControl.exe has the status 'stopped').
The JVM_Bootstrap.out file says : Database Initialization failed.. check DB parameters.. Error connecting to DB..
As a result config tool also does not start : Error occurred while working with Configuration (Scanning). Msg: Error while connecting to DB.
I checked the DB thru brtools n the state is OPEN. Restarted it too but no luck. All the envir variables seem to be fine too. Have compared with the other java only systems. Oracle services on the OS (Windows) are also running.
Few forum topics suggest restarting SAPDB: [SID] service, but i cant find that.
Any Ideas ?Hi Kunal,
we are facinh the similar problem as mentoined in the thread on our CRM 5.0 Server while accessing configtool. It throws an error :"Error occured while working with configurations (scanning). Msg: Error connecting to DB".
In the thread, you have mentoined about changes in Listener.ora. Could you throw some more light on this?
Please let us know the path and changes that need to be done in this file. Just to inform you, the DB we are using is MS SQL.
Regards,
Savan -
Hi,
I've installed J2 SDK 1.4.1 and J2 SDKEE 1.4 on my Laptop with Windows XP Professional. I'm working on a LAN with MS Outlook.
Now i want to start J2EE (to view the J2EE tutorial examples), but i'm getting the error and I've tried to solve the problem, so J2EE starts, but all my efforts didn't work.
Does somebody know how to solve this problem??
The error:
INFO: J2EE server listen port: 1050
SEVERE: J2EE server startup error
org.omg.CORBA.INTERNAL: vmcid: SUN minor code: 209 completed: No
at com.sun.corba.se.internal.iiop.GIOPImpl.createListener(GIOPImpl.java:253)
at com.sun.corba.se.internal.iiop.GIOPImpl.getEndpoint(GIOPImpl.java:202)
at com.sun.corba.se.internal.POA.POAORB.setPersistentServerPort(POAORB.java:447)
at com.sun.enterprise.iiop.POAEJBORB.setPersistentServerPort(POAEJBORB.java:418)
at com.sun.enterprise.iiop.POAProtocolMgr.setPersistentServerPort(POAProtocolMgr.java:147)
at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:201)
at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:720)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.commons.launcher.ChildMain.run(ChildMain.java:280)
SEVERE: J2EE server fatal error
java.lang.RuntimeException:
at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:334)
at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:720)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.commons.launcher.ChildMain.run(ChildMain.java:280)
Caused by: org.omg.CORBA.INTERNAL: vmcid: SUN minor code: 209 completed: No
at com.sun.corba.se.internal.iiop.GIOPImpl.createListener(GIOPImpl.java:253)
at com.sun.corba.se.internal.iiop.GIOPImpl.getEndpoint(GIOPImpl.java:202)
at com.sun.corba.se.internal.POA.POAORB.setPersistentServerPort(POAORB.java:447)
at com.sun.enterprise.iiop.POAEJBORB.setPersistentServerPort(POAEJBORB.java:418)
at com.sun.enterprise.iiop.POAProtocolMgr.setPersistentServerPort(POAProtocolMgr.java:147)
at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:201)
... 6 more
Thanx in advance,
J. ValkonetChange the property value of "orb.port" in the %j2ee_home%\config\server-config.xml. Try 1051 instead of 1050
Good luck,
Julien -
Setting up j2ee / error: deploytool only runs on java2
Hi everyone,
I've installed the following and set the classpaths:
set CATALINA_BASE=C:\tomcat\jakarta-tomcat-4.0.4-LE-jdk14
set CATALINA_HOME=C:\tomcat\jakarta-tomcat-4.0.4-LE-jdk14
set JAVA_HOME=C:\jdk1.4
set J2EE_HOME=C:\j2sdkee1.2.1
set ANT_HOME=C:\ant\jakarta-ant-1.4.1
Everything works except the deploytool command and j2ee -verbose from msdos prompt. I'm not even sure if these are essential since the jsp example programs in tomcat do work.
I get a fatal error from msdos prompt.
Fatal Error: This j2ee SDK release runs only on java 2 (JDK 1.2 or later)
In searching the files the error is instigated when excecuting the following command from the j2ee.bat file:
%JAVACMD% -Djava.security.policy==%J2EE_HOME%\lib\security\server.policy -Dcom.sun.enterprise.home=%J2EE_HOME% -classpath "%CPATH%" com.sun.enterprise.server.J2EEServer %1 %2
I don't fully understand this msdos code.
But I did install jdk1.4 correctly and it does function normally.
Any ideas on what might be wrong?
Thanks for helping!
[email protected]This is from http://java.sun.com/j2ee/sdk_1.2.1/:
"This release relies on the Java 2 SDK, Standard Edition. Only the following versions of the Java 2 SDK, Standard Edition (J2SETM) have been tested and are supported:
Operating System J2SETM Version
SolarisTM SPARC 7, 8 1.2.2 or 1.3.0 Production Release
Windows NT 4.0
Windows 2000 Professional 1.2.2 or 1.3.0 Production Release
Linux Redhat, v. 6.0, 6.1 1.2.2 or 1.3.0 Production Release"Your combination isn't listed. -
J2EE Error while buildind examples
I am trying to test web service with JAX-RPC. I started with building the helloservice but when I was trying to sun asant build command at the Prompt window there is an error.
BUILD FAILED
file:C:/Sun/j2eetutorial14/examples/jaxrpc/common/targets.xml:82: Execute failed
: java.io.IOException: CreateProcess: \bin\wscompile.bat -define -mapping build/
mapping.xml -d build -nd build -classpath build config-interface.xml error=3
It is very difficult for me to solve the problem.
Please help me!
Thank you very much!J2EE_HOME is not set. Set this value properly in the appropriate properties file
-
Weblogic error while deplying a simple servlet program
Hi This is a very simple servlet program.
I am trying to deploy it on the weblogic server but i get this error as follow
Unable to access the selected application.
*javax.enterprise.deploy.spi.exceptions.InvalidModuleException: [J2EE Deployment SPI:260105]Failed to create*
DDBeanRoot for application, 'E:\AqanTech\WebApp1\myApp.war'.
I have checked everything, right from my code to my web.xml file. I have used a build.bat file to build my war file.
PLEASE HELP ME TO SOLVE THIS HUGE PROBLEM OF MINE ?
Thanks,
ShoebHi,
The J2EE Error code siply suggest that there is something wrong in your Deployment Descriptors...
Can u please post the XML files available inside your "WEB-INF" directory?
Thanks
Jay SenSharma
http://jaysensharma.wordpress.com (WebLogic Wonders Are Here) -
Error in deploying .ear file in weblogic 6.1
Hi
i had deployed an ear file named ProjectBroker.ear using hte weblogic console
and it was working fine .i had made changes to the ejb bean file and hence tried
redeploy it,though on the console it shows that it is deployed it , i'm not able
to access the ejb methods ,also when i start the server it gives me the following
error ---
<Mar 11, 2002 11:22:32 AM IST> <Error> <J2EE> <Error deploying application web-s
ervices: Cannot deploy WebAppServletContext(5197502,web-services,/ProjectBroker)
on myserver because WebAppServletContext(5450599,web-services,/ProjectBroker)
i
s already registered for path /ProjectBroker>
java.lang.reflect.UndeclaredThrowableException: weblogic.j2ee.DeploymentExceptio
n: Cannot deploy WebAppServletContext(5197502,web-services,/ProjectBroker) on
my
server because WebAppServletContext(5450599,web-services,/ProjectBroker) is alre
ady registered for path /ProjectBroker
could any one help me out on this issue
Rgds
raviHi Ivaylo,
to answer your first question, the EAR that I am trying
to deploy gets created as part of the publish step. When
I look in the application.xml file of this EAR I see a
version attribute with value of 1.4 in the application
tag, can we assume that this implies J2EE 1.4 compliancy?
One thing about this generated EAR is that it does not
include any java code (VM or otherwise). When I generate
the EAR by hand (by exporting the EJB project as an EAR
file there is a JAR for the actual java code put in
there, but when generating the EAR via publish there is
only some xml and manifest stuff put in the EAR, with the
result that it's only 2KB or so in size. I have specified
a J2EE module dependency from the Enterprise Application
project to the EJB project, but is there something else I
need to do to ensure that the java code (jar) gets
included in the EAR of the Enterprise Application when
attempting to deploy via publish?
Thanks for the other suggest, "Import J2EE Archive".
However, I am having difficulty locating this button.
When I look at the "Deploy View" window I see on the left
the Workspace and External Deployable Archives trees,
and on the right there are "Setting for Updating
SCAs/SDAs" radio buttons, as well as "Error Strategy"
radio buttons, but no "Import J2EE Archive" button.
Thanks for the info about SDM by the way, I was wondering
why I was not able to launch it (there is still a remote
gui shortcut, which should probably go away). -
I encountered a bug while using the deploytool to deploy
an EAR file to the Sun J2EE 1.3_01 server.
I submitted a bug report to Sun via the Sun Java Developer Connection.
(Sorry, it has not been assigned a BugID yet)
Question:
Does anybody know if the web container in Sun's
J2EE 1.3_01 server supports access to local enterprise beans?
Screenshots of the bug are available at
http://sync4j.sourceforge.net/deploymentbug/
Full details below....
-Sean
category: j2ee
subcategory: deployment
release: 1.3_01
hardware: x86
OSversion: windows_2000
synopsis: java.lang.ClassCastException thrown during deployment of Session bean
java -version
java version "1.3.1_01"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_01)
Java HotSpot(TM) Client VM (build 1.3.1_01, mixed mode)
C:\j2sdkee1.3\bin>j2ee -version
Java 2 Enterprise Edition version 1.3_01, build 1.3_01-b01
I built a EJB 2.0 compliant stateful session bean.
The session bean has a remote interface (ISyncRemote),
a remote home interface (ISyncHomeRemote),
a local interface (ISyncLocal),
and a local home interface (ISyncHomeLocal).
I built an HTTP Servlet that is supposed to access
the Stateful Session Bean using ISyncHomeLocal and
ISyncLocal
I run "deploytool.bat" in GUI mode to perform the deployment.
During deployment, the deploytool GUI displays a message
box which states:
"There was a deployment error.
java.rmi.ServerException: RemoteException occurred in server thread;
nested exception is:
java.rmi.RemoteException: An error was encountered while loading
a web component.
Please refer to
<J2EE_HOME>/logs/<machine-name>/j2ee//j2ee/error.log
for more information. Please verify your Application with the
Verifier tool."
The "error.log" file did not contain any useful information.
I ran the J2EE "verifier.bat" tool to verify that my EAR archive is OK.
The Sun J2EE server output this error string:
"java.lang.ClassCastException:
com.sun.enterprise.deployment.EjbExternalDescriptor"
Here is the full output from the Sun J2EE server:
C:\j2sdkee1.3\bin>j2ee -verbose
J2EE server listen port: 1050
Naming service started:1050
Binding DataSource, name = jdbc/EstoreDB, url =
jdbc:cloudscape:rmi:CloudscapeDB;create=true
Binding DataSource, name = jdbc/Cloudscape, url =
jdbc:cloudscape:rmi:CloudscapeDB;create=true
Binding DataSource, name = jdbc/DB1, url =
jdbc:cloudscape:rmi:CloudscapeDB;create=true
Binding DataSource, name = jdbc/DB2, url =
jdbc:cloudscape:rmi:CloudscapeDB;create=true
Binding DataSource, name = jdbc/InventoryDB, url =
jdbc:cloudscape:rmi:CloudscapeDB;create=true
Binding DataSource, name = jdbc/XACloudscape, url = jdbc/XACloudscape__xa
Binding DataSource, name = jdbc/XACloudscape__xa, dataSource =
COM.cloudscape.core.RemoteXaDataSourc
e@245536
Starting JMS service...
Initialization complete - waiting for client requests
Binding: < JMS Destination : jms/Queue , javax.jms.Queue >
Binding: < JMS Destination : jms/Topic , javax.jms.Topic >
Binding: < JMS Cnx Factory : TopicConnectionFactory , Topic , No properties >
Binding: < JMS Cnx Factory : jms/TopicConnectionFactory , Topic , No properties
>
Binding: < JMS Cnx Factory : QueueConnectionFactory , Queue , No properties >
Binding: < JMS Cnx Factory : jms/QueueConnectionFactory , Queue , No properties
>
Starting web service at port: 8000
Starting secure web service at port: 7000
J2EE SDK/1.3
Starting web service at port: 9191
J2EE SDK/1.3
J2EE server startup complete.
Compiling c:\j2sdkee1.3\repository\rbi\gnrtrTMP\Sync4j Server enterprise
application\sync4j\server\s
yncbean\SyncBean_LocalHomeImpl.java ....
Compiling c:\j2sdkee1.3\repository\rbi\gnrtrTMP\Sync4j Server enterprise
application\sync4j\server\s
yncbean\SyncBean_EJBLocalObjectImpl.java ....
Compiling c:\j2sdkee1.3\repository\rbi\gnrtrTMP\Sync4j Server enterprise
application\sync4j\server\s
yncbean\SyncBean_RemoteHomeImpl.java ....
Compiling c:\j2sdkee1.3\repository\rbi\gnrtrTMP\Sync4j Server enterprise
application\sync4j\server\s
yncbean\SyncBean_EJBObjectImpl.java ....
rmic sync4j.server.syncbean.SyncBean_RemoteHomeImpl...
rmic sync4j.server.syncbean.SyncBean_EJBObjectImpl...
c:\j2sdkee1.3\repository\rbi\applications\Sync4j Server enterprise
application1004172068449Server.ja
r
Binding name:`java:comp/env/ejb/ISyncHomeRemote`
Binding name:`java:comp/env/ejb/ISyncHomeLocal`
java.lang.ClassCastException:
com.sun.enterprise.deployment.EjbExternalDescriptor
at com.sun.enterprise.deployment.EjbReferenceDescriptor.getValue
(EjbReferenceDescriptor.java
:202)
at com.sun.enterprise.naming.NamingManagerImpl.bindObjects
(NamingManagerImpl.java:394)
at com.sun.web.server.WebService.addContext(WebService.java:148)
at com.sun.web.server.ServletDeployerImpl.loadWebComponents
(ServletDeployerImpl.java:214)
at
com.sun.enterprise.tools.deployment.backend.JarInstallerImpl.deployWebComponent
s
(JarInsta
llerImpl.java:791)
at
com.sun.enterprise.tools.deployment.backend.JarInstallerImpl.deployApplication
(JarInstall
erImpl.java:219)
at
org.omg.stub.com.sun.enterprise.tools.deployment.backend._JarInstallerImpl_Tie.
invoke(Un
known Source)
at com.sun.corba.ee.internal.corba.ServerDelegate.dispatch
(ServerDelegate.java:355)
at com.sun.corba.ee.internal.iiop.ORB.process(ORB.java:273)
at com.sun.corba.ee.internal.iiop.RequestProcessor.process
(RequestProcessor.java:84)
at com.sun.corba.ee.internal.orbutil.ThreadPool$PooledThread.run
(ThreadPool.java:99)
Does the Sun J2EE server implementation support the invocation
of Session EJB's via a Local interface?
Does the Sun J2EE server implementation allow a Servlet to invoke
Session EJB's via the bean's Local interface?
While researching this issue, I read the J2EE 1.3 final specification.
The spec says:
"The EJB container is required to access to local enterprise beans.
We recommend that the web container also support access to local
enterprise beans."
Does the web container in Sun's J2EE server support access to local enterprise beans?I'm pretty much sure that you cannot access a
local Session bean from outside the EJB container.Please read the J2EE 1.3 specification before posting messages about EJB and J2EE.
According to the J2EE 1.3 specification:
"The EJB container is required to support access to local enterprise beans. We recommend that the web container also support access to local enterprise beans.
No support is provided for access to local enterprise beans from the application client container or the applet container."
If you use local interfaces for your session bean,
than your client must be local too. A local client is
a client that is collocated in the same JVM with the
session/entity that provides the local view and which
can be tightly coupled to the bean.My client is running in the same JVM as my EJB. The client is a servlet. The servlet is running in the same JVM as the EJB.
For what its worth, the error that I observed occurs during deployment. I haven't figured out why deployment is failing. -
Error before installing SP3 in WLS 6.1
Any help/idea why is this happening and how to fix it?
Thanks.
This is the log I got when I try to start WL just after installing SP3:
Starting WebLogic Server ....
<11-jul-02 21:03:10 CEST> <Notice> <Management> <Loading configuration file C:\b
ea\wlintegration2.1\config\samples\config.xml ...>
<11-jul-02 21:03:19 CEST> <Notice> <WebLogicServer> <Starting WebLogic Admin Ser
ver "myserver" for domain "samples">
<11-jul-02 21:04:13 CEST> <Error> <J2EE> <Error deploying application wlai-ejb-s
erver:
Unable to deploy EJB: com.bea.wlai.client.DeployManager from wlai-ejb-server.jar
There is a mismatch between the bean code and generated code.com.bea.wlai.client
.DeployManagerHome . Please rerun ejbc on the bean code.The error was java.l
ang.NoSuchFieldException: md_eo_deployConnectionFactory_com_bea_wlai_common_ICon
nectionFactoryDescriptorbb
at java.lang.Class.getField0(Native Method)
at java.lang.Class.getDeclaredField(Class.java:1113)
at weblogic.ejb20.deployer.ClientDrivenBeanInfoImpl.setMDField(ClientDri
venBeanInfoImpl.java:651)
at weblogic.ejb20.deployer.ClientDrivenBeanInfoImpl.setMethodDescriptors
(ClientDrivenBeanInfoImpl.java:723)
at weblogic.ejb20.deployer.ClientDrivenBeanInfoImpl.deploy(ClientDrivenB
eanInfoImpl.java:823)
at weblogic.ejb20.deployer.Deployer.deployDescriptor(Deployer.java:1294)
at weblogic.ejb20.deployer.Deployer.deploy(Deployer.java:996)
at weblogic.j2ee.EJBComponent.deploy(EJBComponent.java:31)
at weblogic.j2ee.Application.addComponent(Application.java:170)
at weblogic.j2ee.J2EEService.addDeployment(J2EEService.java:117)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(Depl
oymentTarget.java:360)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployments(Dep
loymentTarget.java:285)
at weblogic.management.mbeans.custom.DeploymentTarget.updateServerDeploy
ments(DeploymentTarget.java:239)
at weblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(
DeploymentTarget.java:199)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMB
eanImpl.java:636)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl
.java:621)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
ionMBeanImpl.java:360)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
57)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
25)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
at $Proxy44.updateDeployments(Unknown Source)
at weblogic.management.configuration.ServerMBean_CachingStub.updateDeplo
yments(ServerMBean_CachingStub.java:2977)
at weblogic.management.mbeans.custom.ApplicationManager.startConfigManag
er(ApplicationManager.java:372)
at weblogic.management.mbeans.custom.ApplicationManager.start(Applicatio
nManager.java:160)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMB
eanImpl.java:636)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl
.java:621)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
ionMBeanImpl.java:360)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
57)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
25)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
at $Proxy66.start(Unknown Source)
at weblogic.management.configuration.ApplicationManagerMBean_CachingStub
.start(ApplicationManagerMBean_CachingStub.java:480)
at weblogic.management.Admin.startApplicationManager(Admin.java:1234)
at weblogic.management.Admin.finish(Admin.java:645)
at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:526)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:207)
at weblogic.Server.main(Server.java:35)
>
<11-jul-02 21:04:14 CEST> <Error> <J2EE> <Error deploying application wlai-admin
-ejb:
Unable to deploy EJB: com.bea.wlai.AdminDeployManager from wlai-admin-ejb.jar:
There is a mismatch between the bean code and generated code.com.bea.wlai.AdminD
eployManagerHome . Please rerun ejbc on the bean code.The error was java.l
ang.NoSuchFieldException: md_eo_getApplicationViewDeploymentDescriptor_com_bea_w
lai_common_QualifiedNamecom_bea_wlai_HostInfo
at java.lang.Class.getField0(Native Method)
at java.lang.Class.getDeclaredField(Class.java:1113)
at weblogic.ejb20.deployer.ClientDrivenBeanInfoImpl.setMDField(ClientDri
venBeanInfoImpl.java:651)
at weblogic.ejb20.deployer.ClientDrivenBeanInfoImpl.setMethodDescriptors
(ClientDrivenBeanInfoImpl.java:723)
at weblogic.ejb20.deployer.ClientDrivenBeanInfoImpl.deploy(ClientDrivenB
eanInfoImpl.java:823)
at weblogic.ejb20.deployer.Deployer.deployDescriptor(Deployer.java:1294)
at weblogic.ejb20.deployer.Deployer.deploy(Deployer.java:996)
at weblogic.j2ee.EJBComponent.deploy(EJBComponent.java:31)
at weblogic.j2ee.Application.addComponent(Application.java:170)
at weblogic.j2ee.J2EEService.addDeployment(J2EEService.java:117)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(Depl
oymentTarget.java:360)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployments(Dep
loymentTarget.java:285)
at weblogic.management.mbeans.custom.DeploymentTarget.updateServerDeploy
ments(DeploymentTarget.java:239)
at weblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(
DeploymentTarget.java:199)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMB
eanImpl.java:636)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl
.java:621)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
ionMBeanImpl.java:360)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
57)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
25)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
at $Proxy44.updateDeployments(Unknown Source)
at weblogic.management.configuration.ServerMBean_CachingStub.updateDeplo
yments(ServerMBean_CachingStub.java:2977)
at weblogic.management.mbeans.custom.ApplicationManager.startConfigManag
er(ApplicationManager.java:372)
at weblogic.management.mbeans.custom.ApplicationManager.start(Applicatio
nManager.java:160)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMB
eanImpl.java:636)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl
.java:621)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
ionMBeanImpl.java:360)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
57)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
25)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
at $Proxy66.start(Unknown Source)
at weblogic.management.configuration.ApplicationManagerMBean_CachingStub
.start(ApplicationManagerMBean_CachingStub.java:480)
at weblogic.management.Admin.startApplicationManager(Admin.java:1234)
at weblogic.management.Admin.finish(Admin.java:645)
at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:526)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:207)
at weblogic.Server.main(Server.java:35)
>
<11-jul-02 21:04:34 CEST> <Notice> <Management> <Application Poller started for
development server.>
<11-jul-02 21:04:52 CEST> <Notice> <B2BIntegration> <INFO: WebLogic Integration
- B2Bi Server started successfully.>
<11-jul-02 21:04:53 CEST> <Error> <T3Services> <Couldn't initialize an instance
of AdminDeployManager
javax.naming.NameNotFoundException: Unable to resolve 'com.bea.wlai.AdminDeployM
anagerHome' Resolved: 'com.bea.wlai' Unresolved:'AdminDeployManagerHome' ; remai
ning name 'AdminDeployManagerHome'
>
javax.naming.NameNotFoundException: Unable to resolve 'com.bea.wlai.AdminDeployM
anagerHome' Resolved: 'com.bea.wlai' Unresolved:'AdminDeployManagerHome' ; remai
ning name 'AdminDeployManagerHome'
<11-jul-02 21:04:53 CEST> <Error> <T3Services> <WLAI Startup
java.lang.NullPointerException:
at com.bea.wlai.WLAIStartup.startup(WLAIStartup.java:346)
at weblogic.t3.srvr.StartupClassRunner.invokeStartup(StartupClassRunner.
java:129)
at weblogic.t3.srvr.StartupClassRunner.invokeClass(StartupClassRunner.ja
va:110)
at weblogic.t3.srvr.StartupClassRunner.run(StartupClassRunner.java:78)
at java.lang.Thread.run(Thread.java:484)
>
<11-jul-02 21:04:54 CEST> <Notice> <WebLogicServer> <ListenThread listening on p
ort 7001>
<11-jul-02 21:04:55 CEST> <Notice> <WebLogicServer> <Started WebLogic Admin Serv
er "myserver" for domain "samples" running in Development Mode>
<11-jul-02 21:04:55 CEST> <Notice> <B2BIntegration> <INFO: WebLogic Integration
- B2Bi server shutdown successfully.>
<11-jul-02 21:04:55 CEST> <Error> <T3Services> <Couldn't initialize an instance
of AdminDeployManager
javax.naming.NameNotFoundException: Unable to resolve 'com.bea.wlai.AdminDeployM
anagerHome' Resolved: 'com.bea.wlai' Unresolved:'AdminDeployManagerHome' ; remai
ning name 'AdminDeployManagerHome'
>
javax.naming.NameNotFoundException: Unable to resolve 'com.bea.wlai.AdminDeployM
anagerHome' Resolved: 'com.bea.wlai' Unresolved:'AdminDeployManagerHome' ; remai
ning name 'AdminDeployManagerHome'
<11-jul-02 21:04:55 CEST> <Critical> <WebLogicServer> <Failed to invoke shutdown
class "WLAI_ShutdownClass", java.lang.NullPointerException: >"Nick" <[email protected]> wrote:
>
"ivan" ivan.dom.com wrote:
Any help/idea why is this happening and how to fix it?
Thanks.
This is the log I got when I try to start WL just after installing SP3:
Starting WebLogic Server ....
<11-jul-02 21:03:10 CEST> <Notice> <Management> <Loading configurationfile
C:\b
ea\wlintegration2.1\config\samples\config.xml ...>
<11-jul-02 21:03:19 CEST> <Notice> <WebLogicServer> <Starting WebLogicAdmin
Ser
ver "myserver" for domain "samples">
<11-jul-02 21:04:13 CEST> <Error> <J2EE> <Error deploying applicationwlai-ejb-s
erver:
Unable to deploy EJB: com.bea.wlai.client.DeployManager from wlai-ejb-server.jar
There is a mismatch between the bean code and generated code.com.bea.wlai.client
.DeployManagerHome . Please rerun ejbc on the bean code.The errorwas
java.l
ang.NoSuchFieldException: md_eo_deployConnectionFactory_com_bea_wlai_common_ICon
nectionFactoryDescriptorbb
at java.lang.Class.getField0(Native Method)
at java.lang.Class.getDeclaredField(Class.java:1113)
at weblogic.ejb20.deployer.ClientDrivenBeanInfoImpl.setMDField(ClientDri
venBeanInfoImpl.java:651)
at weblogic.ejb20.deployer.ClientDrivenBeanInfoImpl.setMethodDescriptors
(ClientDrivenBeanInfoImpl.java:723)
at weblogic.ejb20.deployer.ClientDrivenBeanInfoImpl.deploy(ClientDrivenB
eanInfoImpl.java:823)
at weblogic.ejb20.deployer.Deployer.deployDescriptor(Deployer.java:1294)
at weblogic.ejb20.deployer.Deployer.deploy(Deployer.java:996)
at weblogic.j2ee.EJBComponent.deploy(EJBComponent.java:31)
at weblogic.j2ee.Application.addComponent(Application.java:170)
at weblogic.j2ee.J2EEService.addDeployment(J2EEService.java:117)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(Depl
oymentTarget.java:360)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployments(Dep
loymentTarget.java:285)
at weblogic.management.mbeans.custom.DeploymentTarget.updateServerDeploy
ments(DeploymentTarget.java:239)
at weblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(
DeploymentTarget.java:199)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMB
eanImpl.java:636)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl
.java:621)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
ionMBeanImpl.java:360)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
57)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
25)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
at $Proxy44.updateDeployments(Unknown Source)
at weblogic.management.configuration.ServerMBean_CachingStub.updateDeplo
yments(ServerMBean_CachingStub.java:2977)
at weblogic.management.mbeans.custom.ApplicationManager.startConfigManag
er(ApplicationManager.java:372)
at weblogic.management.mbeans.custom.ApplicationManager.start(Applicatio
nManager.java:160)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMB
eanImpl.java:636)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl
.java:621)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
ionMBeanImpl.java:360)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
57)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
25)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
at $Proxy66.start(Unknown Source)
at weblogic.management.configuration.ApplicationManagerMBean_CachingStub
.start(ApplicationManagerMBean_CachingStub.java:480)
at weblogic.management.Admin.startApplicationManager(Admin.java:1234)
at weblogic.management.Admin.finish(Admin.java:645)
at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:526)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:207)
at weblogic.Server.main(Server.java:35)
>
<11-jul-02 21:04:14 CEST> <Error> <J2EE> <Error deploying applicationwlai-admin
-ejb:
Unable to deploy EJB: com.bea.wlai.AdminDeployManager from wlai-admin-ejb.jar:
There is a mismatch between the bean code and generated code.com.bea.wlai.AdminD
eployManagerHome . Please rerun ejbc on the bean code.The errorwas
java.l
ang.NoSuchFieldException: md_eo_getApplicationViewDeploymentDescriptor_com_bea_w
lai_common_QualifiedNamecom_bea_wlai_HostInfo
at java.lang.Class.getField0(Native Method)
at java.lang.Class.getDeclaredField(Class.java:1113)
at weblogic.ejb20.deployer.ClientDrivenBeanInfoImpl.setMDField(ClientDri
venBeanInfoImpl.java:651)
at weblogic.ejb20.deployer.ClientDrivenBeanInfoImpl.setMethodDescriptors
(ClientDrivenBeanInfoImpl.java:723)
at weblogic.ejb20.deployer.ClientDrivenBeanInfoImpl.deploy(ClientDrivenB
eanInfoImpl.java:823)
at weblogic.ejb20.deployer.Deployer.deployDescriptor(Deployer.java:1294)
at weblogic.ejb20.deployer.Deployer.deploy(Deployer.java:996)
at weblogic.j2ee.EJBComponent.deploy(EJBComponent.java:31)
at weblogic.j2ee.Application.addComponent(Application.java:170)
at weblogic.j2ee.J2EEService.addDeployment(J2EEService.java:117)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(Depl
oymentTarget.java:360)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployments(Dep
loymentTarget.java:285)
at weblogic.management.mbeans.custom.DeploymentTarget.updateServerDeploy
ments(DeploymentTarget.java:239)
at weblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(
DeploymentTarget.java:199)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMB
eanImpl.java:636)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl
.java:621)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
ionMBeanImpl.java:360)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
57)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
25)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
at $Proxy44.updateDeployments(Unknown Source)
at weblogic.management.configuration.ServerMBean_CachingStub.updateDeplo
yments(ServerMBean_CachingStub.java:2977)
at weblogic.management.mbeans.custom.ApplicationManager.startConfigManag
er(ApplicationManager.java:372)
at weblogic.management.mbeans.custom.ApplicationManager.start(Applicatio
nManager.java:160)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMB
eanImpl.java:636)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl
.java:621)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
ionMBeanImpl.java:360)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
57)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
25)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
at $Proxy66.start(Unknown Source)
at weblogic.management.configuration.ApplicationManagerMBean_CachingStub
.start(ApplicationManagerMBean_CachingStub.java:480)
at weblogic.management.Admin.startApplicationManager(Admin.java:1234)
at weblogic.management.Admin.finish(Admin.java:645)
at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:526)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:207)
at weblogic.Server.main(Server.java:35)
>
<11-jul-02 21:04:34 CEST> <Notice> <Management> <Application Pollerstarted
for
development server.>
<11-jul-02 21:04:52 CEST> <Notice> <B2BIntegration> <INFO: WebLogicIntegration
- B2Bi Server started successfully.>
<11-jul-02 21:04:53 CEST> <Error> <T3Services> <Couldn't initializean instance
of AdminDeployManager
javax.naming.NameNotFoundException: Unable to resolve 'com.bea.wlai.AdminDeployM
anagerHome' Resolved: 'com.bea.wlai' Unresolved:'AdminDeployManagerHome'
; remai
ning name 'AdminDeployManagerHome'
>
javax.naming.NameNotFoundException: Unable to resolve 'com.bea.wlai.AdminDeployM
anagerHome' Resolved: 'com.bea.wlai' Unresolved:'AdminDeployManagerHome'
; remai
ning name 'AdminDeployManagerHome'
<11-jul-02 21:04:53 CEST> <Error> <T3Services> <WLAI Startup
java.lang.NullPointerException:
at com.bea.wlai.WLAIStartup.startup(WLAIStartup.java:346)
at weblogic.t3.srvr.StartupClassRunner.invokeStartup(StartupClassRunner.
java:129)
at weblogic.t3.srvr.StartupClassRunner.invokeClass(StartupClassRunner.ja
va:110)
at weblogic.t3.srvr.StartupClassRunner.run(StartupClassRunner.java:78)
at java.lang.Thread.run(Thread.java:484)
>
<11-jul-02 21:04:54 CEST> <Notice> <WebLogicServer> <ListenThread listening
on p
ort 7001>
<11-jul-02 21:04:55 CEST> <Notice> <WebLogicServer> <Started WebLogicAdmin
Serv
er "myserver" for domain "samples" running in Development Mode>
<11-jul-02 21:04:55 CEST> <Notice> <B2BIntegration> <INFO: WebLogicIntegration
- B2Bi server shutdown successfully.>
<11-jul-02 21:04:55 CEST> <Error> <T3Services> <Couldn't initializean instance
of AdminDeployManager
javax.naming.NameNotFoundException: Unable to resolve 'com.bea.wlai.AdminDeployM
anagerHome' Resolved: 'com.bea.wlai' Unresolved:'AdminDeployManagerHome'
; remai
ning name 'AdminDeployManagerHome'
>
javax.naming.NameNotFoundException: Unable to resolve 'com.bea.wlai.AdminDeployM
anagerHome' Resolved: 'com.bea.wlai' Unresolved:'AdminDeployManagerHome'
; remai
ning name 'AdminDeployManagerHome'
<11-jul-02 21:04:55 CEST> <Critical> <WebLogicServer> <Failed to invoke
shutdown
class "WLAI_ShutdownClass", java.lang.NullPointerException: >
hi,
we have the same trouble on our hp boxes.
I think you have the generic update installed, there is the problem with
the jdk.
give me more infos of your environment. perhaps it is the same problem.
kind regards
nickI have the same exception. I use WLS6.1sp2 generic on linux (red hat 7.2).
I had a finder in my entity bean(CMP) and I can not deploy my bean. -
When I try to hot deploy an ear file I get the following error message in the log
file
<Nov 15, 2002 9:05:18 AM PST> <Error> <J2EE> <Error undeploying application asd:
null> <Nov 15, 2002 9:05:18 AM PST> <Error> <Management> <InvocationTargetException
setting attribute Deployed on MBean mydomain:Location=myserver,Name=asd,Type=ApplicationConfig
to value false. Method: public void weblogic.management.mbeans.custom.Application.setDeployed(boolean)
throws weblogic.manageme nt.DeploymentException,weblogic.management.UndeploymentException
java.lang.NullPointerException at javax.servlet.GenericServlet.getServletContext(GenericServlet.java:205)
at javax.servlet.GenericServlet.log(GenericServlet.java:300) at javax.servlet.GenericServlet.destroy(GenericServlet.java:122)
at weblogic.servlet.internal.ServletStubImpl.destroyServlet(ServletStubImpl.java:451)
at weblogic.servlet.internal.ServletStubImpl.destroyServlet(ServletStubImpl.java:434)
at weblogic.servlet.internal.WebAppServletContext.destroyServlets(WebAppServletContext.java:3805)
at weblogic.servlet.internal.WebAppServletContext.shutdown(WebAppServletContext.java:3764)
at weblogic.servlet.internal.ServletContextManager.removeContext(ServletContextManager.java:153)
at weblogic.servlet.internal.HttpServer.unloadWebApp(HttpServer.java:519) at weblogic.j2ee.WebAppComponent.undeploy(WebAppComponent.java:90)
at weblogic.j2ee.Application.undeploy(Application.java:285) at weblogic.j2ee.J2EEService.undeployApplication(J2EEService.java:232)
at weblogic.management.mbeans.custom.Application.setLocalDeployed(Application.java:370)
at weblogic.management.mbeans.custom.Application.setDeployed(Application.java:300)
at java.lang.reflect.Method.invoke(Native Method) at weblogic.management.internal.DynamicMBeanImpl.invokeSetter(DynamicMBeanImpl.java:1401)
at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:894)
at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:847)
at weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(ConfigurationMBeanImpl.java:296)
at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1358)
at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1333)
at weblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBeans(ConfigurationMBeanImpl.java:393)
at weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(ConfigurationMBeanImpl.java:299)
at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1358)
at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1333)
at weblogic.management.internal.MBeanProxy.setAttribute(MBeanProxy.java:322) at
weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:204) at $Proxy18.setDeployed(Unknown
Source) at weblogic.management.mbeans.custom.ApplicationManager.poll(ApplicationManager.java:846)
at weblogic.management.mbeans.custom.ApplicationManager.poll(ApplicationManager.java:748)
at weblogic.management.mbeans.custom.ApplicationManager.update(ApplicationManager.java:206)
at weblogic.management.mbeans.custom.ApplicationManager$ApplicationPoller.run(ApplicationManager.java:1098)
--------------- nested within: ------------------ weblogic.management.UndeploymentException:
- with nested exception: [java.lang.NullPointerException] at weblogic.j2ee.J2EEService.undeployApplication(J2EEService.java:248)
at weblogic.management.mbeans.custom.Application.setLocalDeployed(Application.java:370)
at weblogic.management.mbeans.custom.Application.setDeployed(Application.java:300)
at java.lang.reflect.Method.invoke(Native Method) at weblogic.management.internal.DynamicMBeanImpl.invokeSetter(DynamicMBeanImpl.java:1401)
at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:894)
at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:847)
at weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(ConfigurationMBeanImpl.java:296)
at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1358)
at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1333)
at weblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBeans(ConfigurationMBeanImpl.java:393)
at weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(ConfigurationMBeanImpl.java:299)
at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1358)
at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1333)
at weblogic.management.internal.MBeanProxy.setAttribute(MBeanProxy.java:322) at
weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:204) at $Proxy18.setDeployed(Unknown
Source) at weblogic.management.mbeans.custom.ApplicationManager.poll(ApplicationManager.java:846)
at weblogic.management.mbeans.custom.ApplicationManager.poll(ApplicationManager.java:748)
at weblogic.management.mbeans.custom.ApplicationManager.update(ApplicationManager.java:206)
at weblogic.management.mbeans.custom.ApplicationManager$ApplicationPoller.run(ApplicationManager.java:1098)
>Hi Chandra,
One of the reason for this problem could be that
your LDAP server has got corrupted. To verify that
if possible, try to deploy this in any other
instance of application server pointing to a
different LDAP.
Another reason could be, problem with your
build.xml file. Did you build this myapp.ear
from scratch or did you use the build.xml from
one of our sample application?
If you have used one of our sample application
build.xml, there is a high possibility that
you might not have changed the name of your
application in one of the entries.
Thank you -
Error messages in launching startExampleServer.cmd
Hi All
WL 6.0 on Win2000.
Somehow I can't launch startExampleServer.cmd, or at least lost of error
messages
prevent me from correctly running my applications, even a simple jsp page.
I can't see why I need a table named "StockTable". Do I have to have this
table
for running any applications?
Following is (part of) the error message. Hope someone can help.
Thanks in advance.
Lynch
<Error> <J2EE> <Error deploying EJB Component : ejb_extensions_readMostly
weblogic.ejb20.EJBDeploymentException: Error Deploying CMP EJB:; nested
exception is:
weblogic.ejb20.cmp.rdbms.RDBMSException: Could not access table
'StockTable'.
weblogic.ejb20.cmp.rdbms.RDBMSException: Could not access table
'StockTable'.
at
weblogic.ejb20.cmp11.rdbms.PersistenceManagerImpl.verifyTableExists(Persiste
nceManagerImpl.java:129)
at
weblogic.ejb20.cmp11.rdbms.PersistenceManagerImpl.verifyTablesExist(Persiste
nceManagerImpl.java:138)
at
weblogic.ejb20.cmp11.rdbms.PersistenceManagerImpl.setup(PersistenceManagerIm
pl.java:90)
at
weblogic.ejb20.internal.EntityEJBHome.setBeanInfo(EntityEJBHome.java:144)
at
weblogic.ejb20.deployer.ClientDrivenBeanInfoImpl.deploy(ClientDrivenBeanInfo
Impl.java:474)
at
weblogic.ejb20.deployer.Deployer.deployDescriptor(Deployer.java:968)
at weblogic.ejb20.deployer.Deployer.deploy(Deployer.java:792)
at weblogic.j2ee.EJBComponent.deploy(EJBComponent.java:31)
at weblogic.j2ee.Application.addComponent(Application.java:116)
<Error> <J2EE> <Error deploying application ejb_extensions_readMostly: Could
not deploy:
jb_extensions_readMostly.jar'
Possible reasons include:
1. The bean or an interface class has been modified but
the deployment descriptor has not been updated
2. The database mappings in the deployment descriptor do not
match the database definition
3. The jar file is not a valid jar file
4. The jar file does not contain a valid bean>How you installed Firefox in Ubuntu
Ubuntu Software sources/terminal -
What's the error in taglib?
Hi guys,
i've builded the FileUpload example of Ajax for testing it in eclipse.
The problem is that it not run because eclipse find this problem in web.xml
Multiple annotations found at this line and indicates
<taglib>
<taglib-uri>/tags/taglib</taglib-uri>
<taglib-location>/WEB-INF/taglib.tld</taglib-location>
</taglib>
How can i solve this problem?
I post web.xml
<?xml version="1.0" encoding="UTF-8"?>
<web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
<display-name>Ajax Upload Component</display-name>
<filter>
<filter-name>UploadMultipartFilter</filter-name>
<filter-class>upload.UploadMultipartFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>UploadMultipartFilter</filter-name>
<url-pattern>*.jspx</url-pattern>
</filter-mapping>
<!-- Faces Servlet -->
<servlet>
<servlet-name>Faces Servlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>*.jspx</url-pattern>
</servlet-mapping>
<welcome-file-list>
<welcome-file>index.html</welcome-file>
</welcome-file-list>
<taglib>
<taglib-uri>/tags/taglib</taglib-uri>
<taglib-location>/WEB-INF/taglib.tld</taglib-location>
</taglib>
</web-app>
the taglib-location is corrected....what have i do?
Please help me..........
i'm not expert of web.xml....yes,but i don't understand....it says
35:11 cvc complex-type.2.4.a:Invalid was found starting with element 'taglib'
Severity Description Resource In Folder Location Creation Time Id
2 35:11 cvc-complex-type.2.4.a: Invalid content was found starting with element 'taglib'. One of '{"http://java.sun.com/xml/ns/j2ee":description, "http://java.sun.com/xml/ns/j2ee":display-name, "http://java.sun.com/xml/ns/j2ee":icon, "http://java.sun.com/xml/ns/j2ee":distributable, "http://java.sun.com/xml/ns/j2ee":context-param, "http://java.sun.com/xml/ns/j2ee":filter, "http://java.sun.com/xml/ns/j2ee":filter-mapping, "http://java.sun.com/xml/ns/j2ee":listener, "http://java.sun.com/xml/ns/j2ee":servlet, "http://java.sun.com/xml/ns/j2ee":servlet-mapping, "http://java.sun.com/xml/ns/j2ee":session-config, "http://java.sun.com/xml/ns/j2ee":mime-mapping, "http://java.sun.com/xml/ns/j2ee":welcome-file-list, "http://java.sun.com/xml/ns/j2ee":error-page, "http://java.sun.com/xml/ns/j2ee":jsp-config, "http://java.sun.com/xml/ns/j2ee":security-constraint, "http://java.sun.com/xml/ns/j2ee":login-config, "http://java.sun.com/xml/ns/j2ee":security-role, "http://java.sun.com/xml/ns/j2ee":env-entry, "http://java.sun.com/xml/ns/j2ee":ejb-ref, "http://java.sun.com/xml/ns/j2ee":ejb-local-ref, "http://java.sun.com/xml/ns/j2ee":service-ref, "http://java.sun.com/xml/ns/j2ee":resource-ref, "http://java.sun.com/xml/ns/j2ee":resource-env-ref, "http://java.sun.com/xml/ns/j2ee":message-destination-ref, "http://java.sun.com/xml/ns/j2ee":message-destination, "http://java.sun.com/xml/ns/j2ee":locale-encoding-mapping-list}' is expected. web.xml UploadComponent/WebContent/WEB-INF line 35 13 luglio 2006 23.27.33 20245
and
Severity Description Resource In Folder Location Creation Time Id
2 cvc-complex-type.2.4.a: Invalid content was found starting with element 'taglib'. One of '{"http://java.sun.com/xml/ns/j2ee":description, "http://java.sun.com/xml/ns/j2ee":display-name, "http://java.sun.com/xml/ns/j2ee":icon, "http://java.sun.com/xml/ns/j2ee":distributable, "http://java.sun.com/xml/ns/j2ee":context-param, "http://java.sun.com/xml/ns/j2ee":filter, "http://java.sun.com/xml/ns/j2ee":filter-mapping, "http://java.sun.com/xml/ns/j2ee":listener, "http://java.sun.com/xml/ns/j2ee":servlet, "http://java.sun.com/xml/ns/j2ee":servlet-mapping, "http://java.sun.com/xml/ns/j2ee":session-config, "http://java.sun.com/xml/ns/j2ee":mime-mapping, "http://java.sun.com/xml/ns/j2ee":welcome-file-list, "http://java.sun.com/xml/ns/j2ee":error-page, "http://java.sun.com/xml/ns/j2ee":jsp-config, "http://java.sun.com/xml/ns/j2ee":security-constraint, "http://java.sun.com/xml/ns/j2ee":login-config, "http://java.sun.com/xml/ns/j2ee":security-role, "http://java.sun.com/xml/ns/j2ee":env-entry, "http://java.sun.com/xml/ns/j2ee":ejb-ref, "http://java.sun.com/xml/ns/j2ee":ejb-local-ref, "http://java.sun.com/xml/ns/j2ee":service-ref, "http://java.sun.com/xml/ns/j2ee":resource-ref, "http://java.sun.com/xml/ns/j2ee":resource-env-ref, "http://java.sun.com/xml/ns/j2ee":message-destination-ref, "http://java.sun.com/xml/ns/j2ee":message-destination, "http://java.sun.com/xml/ns/j2ee":locale-encoding-mapping-list}' is expected. web.xml UploadComponent/WebContent/WEB-INF line 35 13 luglio 2006 23.33.15 20247
can you help me please.........
Maybe you are looking for
-
<blockquote>Locking duplicate thread.<br> Please continue here: [/questions/749757]<br> Thanks - c</blockquote><br> I have to do it also to other programs that use the net. This started to happen to me after I installed firefox. It never happened whi
-
Hi Team I have some query plz solve with clear picture 1) How to drop the columns in table. 2) How to change the columns name in table. 3) How to find the version name select v$version from dual; it is showing error .. how? Thanks and Regards Suman M
-
LabVIEW 2011 Development System fails to install
I have just tried several times to install my new copy of LabVIEW 2011 Dev Suite, but get an unknown exception (with no details - see attached picture) right at the start of installing the development system (English 32-bit). I have rebooted and clo
-
Amateur question - how to setup iChat service?
"Make sure the user is a user or member of a group that's defined in the Open Directory search path of the iChat server." How do I verify this? I have created a user and the user is a member of the "chat server group", but I still can't connect to to
-
Favicon will not appear on iweb/moblie me published page
I've researched this quite a bit and tried every option from including html snippets on every page, to uploading the .ico and editing the .htmls at the root of my idisk. I've also tried using itweak. I still can't manage to get it to work. I have a p