Getting serailization exeception when starting the server
Hi All,
I succesfully got the "ComputeEngine" running from the basic RMI tutorial.
I then began reating my own classes based on the tutorial, which is still basically copied code from ComputeEngine.java.
For some reason when when I try to start my server class I get a "Not serializable" exception. This can be fixed by adding "implements Serializable" to my class. But what I'm confused about is that the ComputeEngine class from the tutorial does not require the "implements Serializable". Why does mine require it?
Anyone have any ideas?
Here is my code:
public class RemoteExecuteServer implements RemoteExecute, Serializable {
public RemoteExecuteServer() throws RemoteException {
super();
public Object executeRunnable() throws RemoteException {
System.out.println("Hello, this is the server.");
return null;
public static void main(String[] args) {
if (System.getSecurityManager() == null) {
System.setSecurityManager(new RMISecurityManager());
// TODO: Get the server name from a config file
String name = "//sunxxx/RemoteExecuteServer";
try {
RemoteExecute engine = new RemoteExecuteServer();
Naming.rebind(name, engine);
System.out.println("RemoteExecuteServer bound");
} catch (Exception e) {
System.err.println("RemoteExecuteServer exception: " +
e.getMessage());
e.printStackTrace();
}
Never mind,
I wasn't extending UnicastRemoteObject. Thanks anyway.
Similar Messages
-
Security Error when starting the server - WPLS 7.0
Security Error when starting the server - WPLS 7.0
what may be the reason ...
console :
BUILD SUCCESSFUL
Total time: 3 seconds
Starting WebLogic Server...
<May 30, 2005 4:22:15 PM IST> <Notice> <Management> <140005> <Loading configuration C:\cpDomain\.\config.xml>
<May 30, 2005 4:22:18 PM IST> <Info> <Logging> <000000> <FileLogger Opened at C:\cpDomain\portalServer\weblogi
c.portalServer.log>
<May 30, 2005 4:22:21 PM IST> <Info> <Security> <090516> <The RoleMapper provider has preexisting LDAP data.>
<May 30, 2005 4:22:21 PM IST> <Info> <Security> <090516> <The Authorizer provider has preexisting LDAP data.>
<May 30, 2005 4:22:21 PM IST> <Info> <Security> <090143> <The weblogic keystore provider DefaultKeyStore in re
alm cprealm cannot be used for private keys because its configured private key keystore file wlDefaultKeyStore
.jks does not exist.>
<May 30, 2005 4:22:21 PM IST> <Info> <Security> <090142> <The weblogic keystore provider DefaultKeyStore in re
alm cprealm cannot be used for trusted (root) CAs because its trusted (root) CA keystore was not configured.>
<May 30, 2005 4:22:21 PM IST> <Notice> <Security> <090082> <Security initializing using realm cprealm.>
<May 30, 2005 4:22:21 PM IST> <Critical> <WebLogicServer> <000364> <Server failed during initialization. Excep
tion:java.lang.SecurityException: Authentication for user weblogic denied
java.lang.SecurityException: Authentication for user weblogic denied
at weblogic.security.service.SecurityServiceManagerDelegateImpl.doBootAuthorization(SecurityServiceMan
agerDelegateImpl.java:411)
at weblogic.security.service.SecurityServiceManagerDelegateImpl.initialize(SecurityServiceManagerDeleg
ateImpl.java:539)
at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:917)
at weblogic.t3.srvr.T3Srvr.initialize1(T3Srvr.java:723)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:594)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:282)
at weblogic.Server.main(Server.java:32)
>
<May 30, 2005 4:22:21 PM IST> <Emergency> <WebLogicServer> <000342> <Unable to initialize the server: Fatal in
itialization exception
Throwable: java.lang.SecurityException: Authentication for user weblogic denied
java.lang.SecurityException: Authentication for user weblogic denied
at weblogic.security.service.SecurityServiceManagerDelegateImpl.doBootAuthorization(SecurityServiceMan
agerDelegateImpl.java:411)
at weblogic.security.service.SecurityServiceManagerDelegateImpl.initialize(SecurityServiceManagerDeleg
ateImpl.java:539)
at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:917)
at weblogic.t3.srvr.T3Srvr.initialize1(T3Srvr.java:723)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:594)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:282)
at weblogic.Server.main(Server.java:32)
>
The WebLogic Server did not start up properly.
Exception raised:
java.lang.SecurityException: Authentication for user weblogic denied
at weblogic.security.service.SecurityServiceManagerDelegateImpl.doBootAuthorization(SecurityServiceMan
agerDelegateImpl.java:411)
at weblogic.security.service.SecurityServiceManagerDelegateImpl.initialize(SecurityServiceManagerDeleg
ateImpl.java:539)
at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:917)
at weblogic.t3.srvr.T3Srvr.initialize1(T3Srvr.java:723)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:594)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:282)
at weblogic.Server.main(Server.java:32)
Reason: Fatal initialization exception
Throwable: java.lang.SecurityException: Authentication for user weblogic denied
java.lang.SecurityException: Authentication for user weblogic denied
at weblogic.security.service.SecurityServiceManagerDelegateImpl.doBootAuthorization(SecurityServiceMan
agerDelegateImpl.java:411)
at weblogic.security.service.SecurityServiceManagerDelegateImpl.initialize(SecurityServiceManagerDeleg
ateImpl.java:539)
at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:917)
at weblogic.t3.srvr.T3Srvr.initialize1(T3Srvr.java:723)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:594)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:282)
at weblogic.Server.main(Server.java:32)
C:\cpDomain\bin>
Thanks
Thanks & Regards,
Siva VP,
[email protected]Looks like you cannot connect to LDAP. Are you configured correctly?
-
WLST problems when starting the server
Hi all,
I try to use WSLT (with ant) to start bea within an existing domain. The ant target is:
<target name="start-server">
<echo message="Starting bea weblogic..."/>
<wlserver
dir="${domain.home}"
beahome="${weblogic.home}/.."
weblogichome="${weblogic.home}"
servername="${server.name}"
domainname="${domain.name}"
username="${weblogic.user.name}"
password="${weblogic.user.password}"
host="${server.host}"
port="${server.port}"
generateconfig="false"
action="start"
failonerror="true"
configFile="/config/config.xml"
classpath="${weblogic.home}/server/lib/weblogic.j ar"
verbose="true"
/>
</target>
Unfortunately I got hundrets of NoClassDefFoundError when running this target. Serveral for each deployed component. Therefore I put classpath extensions to different files:
1. %BEA_HOME%\user_projects\domains\wcsdomain\bin\startWebLogic.cmd
2. %BEA_HOME%\user_projects\domains\wcsdomain\bin\setDomainEnv.cmd
3. %BEA_HOME%\weblogic91\common\bin\commEnv.cmd
4. %BEA_HOME%\weblogic91\server\binsetWLSEnv.cmd
But the classes are still missing.
Question:
Can anyone tell me where to put classpath extensions for the deployment jars?
ThanksYou are not using WLST any where, you are using the wlserver ant task. The wlserver ant task does not use the scripts to start the server. You should add the jars to the wlserver classpath element.
HTH,
-satya
BEA Blog:
http://dev2dev.bea.com/blog/sghattu/
Get Involved in CodeShare:
https://wls-console-extensions.projects.dev2dev.bea.com/
https://wlnav.projects.dev2dev.bea.com/
https://eclipse-wlst.projects.dev2dev.bea.com/
https://wlst.projects.dev2dev.bea.com/ -
Messages when starting the server
Hi,
I am using OC4J 10.1.3.
When i start the server i am getting this message
May 5, 2005 10:09:14 AM com.evermind.server.ejb.EJBPackageDeployment isIIOPConfigured
INFO: Beans associated with application Twe will not be available via RMI/IIOP: GenerateIIOP system property=false, enableIIO
P application setting=false, server.xml configured for IIOP=true
May 5, 2005 10:09:14 AM com.evermind.server.ejb.EJBPackageDeployment isIIOPConfigured
Any idea why this is coming. Does this mean that my beans are not deployed or I will not be able to access them.
Thanks
Kiran
----Kiran, there is no real problem here; the message, of type "INFO", is just to inform/warn you that your application is not properly configured for the purpose of accessing it through RMI/IIOP. Your beans are deployed and you will be able to access them as long as you are not using RMI/IIOP; otherwise, there should be other real error message printed out.
Furthermore, this message is in the process of moving to some log file instead of popping up when the server is started. So, you probably won't notice them the next time you install a newer oc4j.
Hope this helps. -
Calling a static method when starting the server???
Hi,
i wanted to call a static method of a java class,
whenever i start the server.
plz give some input on this.
thanks and regards
sivaSiva -- Can you be more specific as to the problem you are trying to solve (why do you want to call this static method,.)
The reason I ask is that there are some ways to make this happen but they may have limitations
that won't work for you. For instance, you can create a servlet that calls your class' static method and then make the
servlet be loaded on startup.
Thanks -- Jeff -
Redirecting output when starting the server as Service
Hi,
I was wondering if there is any way to redirect the error to a log file if the
weblogic server has been started as Service. We are getting some crashes and we
are not sure what exactly the issue is. We have tried running it on the command
line and we have been able to capture some info but if there is a way to do the
same when starting it as service,it would be great
thanks
Sushilwls8.1 sp3:
To redirect the output to log files you must redirsct standard out and standard error to a file.
This can be done by following steps:
1. Create a backup copy of the WL_HOME\server\bin\installSvc.cmd master script.
2. In a text editor, open the WL_HOME\server\bin\installSvc.cmd master script.
3. In installSvc.cmd, the last command in the script invokes the beasvc utility. At the end of the beasvc command, append the following command option:
-log:"pathname "
where pathname is a fully qualified path and filename of the file that you want to store the server's standard out and standard error messages.
The modified beasvc command will resemble the following command:
"%WL_HOME%\server\bin\beasvc" -install
-svcname:"%DOMAIN_NAME%_%SERVER_NAME%"
-javahome:"%JAVA_HOME%" -execdir:"%USERDOMAIN_HOME%"
-extrapath:"%WL_HOME%\server\bin" -password:"%WLS_PW%"
-cmdline:%CMDLINE%
-log:"d:\bea\user_projects\domains\myWLSdomain\myWLSserver-stdout.txt"
4. By default, every 24 hours the Windows service archives messages to a file named pathname-yyyy_mm_dd-hh_mm_ss. New messages collect in the file that you specified in the previous step.
For information on changing the default behavior, see Changing the Default Rotation Criteria <http://e-docs.bea.com/wls/docs81/adminguide/winservice.html>.
After you install the service and restart the Windows host, to view the messages that the server writes to standard out or standard error, do one of the following:
§ Make a copy of the file that you specified and view the copy. The Windows file system cannot write to files that are currently opened.
§ To view the messages as they are being printed to the file, open a command prompt and, using a DOS utility that supports the tail command, enter tail -f stdout-filename. -
Installation of JES5 on Solaris10 and error when starting the server
Hi ..
This is my first time that i tried to install JES5 on SOlaris10 system
I finished the installation process and when i tried to start the domain1 i recieved an error in the log file and the server won't start.
Here is the error message in the server log file :
Thanks for the help
[#|2007-12-17T12:28:13.977+0200|WARNING|sun-appserver-ee8.2|javax.enterprise.system.stream.err|_ThreadID=10;|netscape.ldap.LDAPException: failed to connect to server ldap://poolsun3.precise.com:389 (91); Cannot connect to the LDAP server
Got LDAPServiceException code=-1
at com.iplanet.services.ldap.DSConfigMgr.getConnection(DSConfigMgr.java:404)
at com.iplanet.services.ldap.DSConfigMgr.getNewFailoverConnection(DSConfigMgr.java:358)
at com.iplanet.services.ldap.DSConfigMgr.getNewConnection(DSConfigMgr.java:287)
at com.iplanet.services.ldap.DSConfigMgr.getNewProxyConnection(DSConfigMgr.java:211)
at com.iplanet.services.ldap.DSConfigMgr.getNewProxyConnection(DSConfigMgr.java:223)
at com.iplanet.ums.DataLayer.initLdapPool(DataLayer.java:1270)
at com.iplanet.ums.DataLayer.<init>(DataLayer.java:203)
at com.iplanet.ums.DataLayer.getInstance(DataLayer.java:228)
at com.iplanet.ums.DataLayer.getInstance(DataLayer.java:249)
at com.sun.identity.sm.ldap.SMSLdapObject.initialize(SMSLdapObject.java:157)
at com.sun.identity.sm.ldap.SMSLdapObject.<init>(SMSLdapObject.java:125)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at java.lang.Class.newInstance0(Class.java:350)
at java.lang.Class.newInstance(Class.java:303)
at com.sun.identity.sm.SMSEntry.<clinit>(SMSEntry.java:229)
at com.sun.identity.sm.ServiceManager.<clinit>(ServiceManager.java:74)
at com.sun.identity.authentication.internal.AuthContext.getOrganizationName(AuthContext.java:762)
at com.sun.identity.authentication.internal.AuthContext.getSSOToken(AuthContext.java:792)
at com.sun.identity.security.AdminTokenAction.getSSOToken(AdminTokenAction.java:271)
at com.sun.identity.security.AdminTokenAction.run(AdminTokenAction.java:174)
at java.security.AccessController.doPrivileged(Native Method)
at com.iplanet.am.util.AMClientDetector.getServiceSchemaManager(AMClientDetector.java:220)
at com.iplanet.am.util.AMClientDetector.<clinit>(AMClientDetector.java:93)
at com.sun.mobile.filter.AMLController.init(AMLController.java:79)
at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:229)
at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:312)
at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:83)
at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3881)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4527)
at com.sun.enterprise.web.WebModule.start(WebModule.java:241)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1086)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:847)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1086)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:483)
at org.apache.catalina.startup.Embedded.start(Embedded.java:894)
at com.sun.enterprise.web.WebContainer.start(WebContainer.java:741)
at com.sun.enterprise.web.HttpServiceWebContainer.startInstance(HttpServiceWebContainer.java:935)
at com.sun.enterprise.web.HttpServiceWebContainerLifecycle.onStartup(HttpServiceWebContainerLifecycle.java:50)
at com.sun.enterprise.server.ApplicationServer.onStartup(ApplicationServer.java:300)
at com.sun.enterprise.server.PEMain.run(PEMain.java:294)
at com.sun.enterprise.server.PEMain.main(PEMain.java:220)
|#]
[#|2007-12-17T12:28:32.183+0200|INFO|sun-appserver-ee8.2|javax.enterprise.resource.webservices.rpc.server.http|_ThreadID=10;|JAXRPCSERVLET12: JAX-RPC context listener initializing|#]
[#|2007-12-17T12:28:32.721+0200|INFO|sun-appserver-ee8.2|javax.enterprise.resource.webservices.rpc.server.http|_ThreadID=10;|JAXRPCSERVLET14: JAX-RPC servlet initializing|#]
[#|2007-12-17T12:28:40.048+0200|SEVERE|sun-appserver-ee8.2|javax.enterprise.system.container.web|_ThreadID=10;|WebModule[/amserver]StandardWrapper.Throwable
java.lang.NullPointerException
at com.sun.identity.authentication.UI.LoginLogoutMapping.initializeAuth(LoginLogoutMapping.java:89)
at com.sun.identity.authentication.UI.LoginLogoutMapping.init(LoginLogoutMapping.java:74)
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:585)
at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:118)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1093)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:931)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4183)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4535)
at com.sun.enterprise.web.WebModule.start(WebModule.java:241)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1086)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:847)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1086)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:483)
at org.apache.catalina.startup.Embedded.start(Embedded.java:894)
at com.sun.enterprise.web.WebContainer.start(WebContainer.java:741)
at com.sun.enterprise.web.HttpServiceWebContainer.startInstance(HttpServiceWebContainer.java:935)
at com.sun.enterprise.web.HttpServiceWebContainerLifecycle.onStartup(HttpServiceWebContainerLifecycle.java:50)
at com.sun.enterprise.server.ApplicationServer.onStartup(ApplicationServer.java:300)
at com.sun.enterprise.server.PEMain.run(PEMain.java:294)
at com.sun.enterprise.server.PEMain.main(PEMain.java:220)
|#]
[#|2007-12-17T12:28:40.052+0200|SEVERE|sun-appserver-ee8.2|javax.enterprise.system.container.web|_ThreadID=10;|WebModule[/amserver]Servlet /amserver threw load() exception
javax.servlet.ServletException: Servlet.init() for servlet LoginLogoutMapping threw exception
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1142)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:931)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4183)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4535)
at com.sun.enterprise.web.WebModule.start(WebModule.java:241)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1086)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:847)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1086)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:483)
at org.apache.catalina.startup.Embedded.start(Embedded.java:894)
at com.sun.enterprise.web.WebContainer.start(WebContainer.java:741)
at com.sun.enterprise.web.HttpServiceWebContainer.startInstance(HttpServiceWebContainer.java:935)
at com.sun.enterprise.web.HttpServiceWebContainerLifecycle.onStartup(HttpServiceWebContainerLifecycle.java:50)
at com.sun.enterprise.server.ApplicationServer.onStartup(ApplicationServer.java:300)
at com.sun.enterprise.server.PEMain.run(PEMain.java:294)
at com.sun.enterprise.server.PEMain.main(PEMain.java:220)
----- Root Cause -----
java.lang.NullPointerException
at com.sun.identity.authentication.UI.LoginLogoutMapping.initializeAuth(LoginLogoutMapping.java:89)
at com.sun.identity.authentication.UI.LoginLogoutMapping.init(LoginLogoutMapping.java:74)
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:585)
at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:118)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1093)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:931)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4183)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4535)
at com.sun.enterprise.web.WebModule.start(WebModule.java:241)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1086)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:847)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1086)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:483)
at org.apache.catalina.startup.Embedded.start(Embedded.java:894)
at com.sun.enterprise.web.WebContainer.start(WebContainer.java:741)
at com.sun.enterprise.web.HttpServiceWebContainer.startInstance(HttpServiceWebContainer.java:935)
at com.sun.enterprise.web.HttpServiceWebContainerLifecycle.onStartup(HttpServiceWebContainerLifecycle.java:50)
at com.sun.enterprise.server.ApplicationServer.onStartup(ApplicationServer.java:300)
at com.sun.enterprise.server.PEMain.run(PEMain.java:294)
at com.sun.enterprise.server.PEMain.main(PEMain.java:220)
|#]
[#|2007-12-17T12:28:44.594+0200|INFO|sun-appserver-ee8.2|javax.enterprise.system.container.web|_ThreadID=10;|WEB3040 : Initializing HttpService|#]
[#|2007-12-17T12:28:44.639+0200|ALERT|sun-appserver-ee8.2|javax.enterprise.system.container.web|_ThreadID=10;|security (22532): CORE3192: Temporary directory /var/opt/SUNWappserver/domains/domain1/generated/tmp (specified by the TempDir magnus.conf directive) is accessible to others. Please change TempDir or modify the permissions of the directory and restart the server.
|#]
[#|2007-12-17T12:28:44.640+0200|SEVERE|sun-appserver-ee8.2|javax.enterprise.system.container.web|_ThreadID=10;|WEB3004 : Received an exception while initializing the HTTP service
com.sun.httpservice.spi.HttpServiceSPIException: exception thrown from native
at com.sun.httpservice.spi.HttpService.httpservice_init(Native Method)
at com.sun.httpservice.spi.HttpService.init(HttpService.java:234)
at com.sun.enterprise.web.HttpServiceWebContainer.initHttpService(HttpServiceWebContainer.java:1102)
at com.sun.enterprise.web.HttpServiceWebContainer.initAndRunHttpService(HttpServiceWebContainer.java:1057)
at com.sun.enterprise.web.HttpServiceWebContainer.startInstance(HttpServiceWebContainer.java:936)
at com.sun.enterprise.web.HttpServiceWebContainerLifecycle.onStartup(HttpServiceWebContainerLifecycle.java:50)
at com.sun.enterprise.server.ApplicationServer.onStartup(ApplicationServer.java:300)
at com.sun.enterprise.server.PEMain.run(PEMain.java:294)
at com.sun.enterprise.server.PEMain.main(PEMain.java:220)
|#]
[#|2007-12-17T12:28:44.643+0200|SEVERE|sun-appserver-ee8.2|javax.enterprise.system.core|_ThreadID=10;|CORE5071: An error occured during initialization
java.lang.RuntimeException: java.lang.RuntimeException: com.sun.httpservice.spi.HttpServiceSPIException: exception thrown from native
at com.sun.enterprise.web.HttpServiceWebContainer.initAndRunHttpService(HttpServiceWebContainer.java:1060)
at com.sun.enterprise.web.HttpServiceWebContainer.startInstance(HttpServiceWebContainer.java:936)
at com.sun.enterprise.web.HttpServiceWebContainerLifecycle.onStartup(HttpServiceWebContainerLifecycle.java:50)
at com.sun.enterprise.server.ApplicationServer.onStartup(ApplicationServer.java:300)
at com.sun.enterprise.server.PEMain.run(PEMain.java:294)
at com.sun.enterprise.server.PEMain.main(PEMain.java:220)
Caused by: java.lang.RuntimeException: com.sun.httpservice.spi.HttpServiceSPIException: exception thrown from native
at com.sun.enterprise.web.HttpServiceWebContainer.initHttpService(HttpServiceWebContainer.java:1108)
at com.sun.enterprise.web.HttpServiceWebContainer.initAndRunHttpService(HttpServiceWebContainer.java:1057)
... 5 more
Caused by: com.sun.httpservice.spi.HttpServiceSPIException: exception thrown from native
at com.sun.httpservice.spi.HttpService.httpservice_init(Native Method)
at com.sun.httpservice.spi.HttpService.init(HttpService.java:234)
at com.sun.enterprise.web.HttpServiceWebContainer.initHttpService(HttpServiceWebContainer.java:1102)
... 6 more
|#]
[#|2007-12-17T12:28:44.645+0200|SEVERE|sun-appserver-ee8.2|javax.enterprise.system.core|_ThreadID=10;|Server Startup failed. Exiting...|#]
[#|2007-12-17T12:28:44.645+0200|INFO|sun-appserver-ee8.2|javax.enterprise.system.core|_ThreadID=10;|Server shutdown in progress...|#]
[#|2007-12-17T12:28:44.646+0200|INFO|sun-appserver-ee8.2|javax.enterprise.system.container.web|_ThreadID=10;|WEB3046 : Stopping HttpService|#]
[#|2007-12-17T12:28:44.646+0200|WARNING|sun-appserver-ee8.2|javax.enterprise.system.container.web|_ThreadID=10;|WEB3048 : HttpService: Received exception while stoping HttpService
com.sun.httpservice.spi.HttpServiceSPIException: Illegal state, cannot perform call
at com.sun.httpservice.spi.HttpService.stop(HttpService.java:287)
at com.sun.enterprise.web.HttpServiceWebContainer.stopHttpService(HttpServiceWebContainer.java:1151)
at com.sun.enterprise.web.HttpServiceWebContainer.stopInstance(HttpServiceWebContainer.java:959)
at com.sun.enterprise.web.HttpServiceWebContainerLifecycle.onShutdown(HttpServiceWebContainerLifecycle.java:62)
at com.sun.enterprise.server.ApplicationServer.onShutdown(ApplicationServer.java:414)
at com.sun.enterprise.server.PEMain.run(PEMain.java:317)
at com.sun.enterprise.server.PEMain.main(PEMain.java:220)
|#]
[#|2007-12-17T12:28:44.651+0200|INFO|sun-appserver-ee8.2|javax.enterprise.system.stream.out|_ThreadID=10;|SHUTDOWN-about to gather shutdownCleanupCapables|#]Looks like you cannot connect to LDAP. Are you configured correctly?
-
Getting following error when starting J2EE server
Hi ,
The sap server fails to start with following error:
My DBSID is J2E
ctsaix02:j2eadm 17> vi /local/home/j2eadm/startj2eedb.log
"/local/home/j2eadm/startj2eedb.log" 37 lines, 1073 characters
Thu Dec 28 22:53:03 PAKST 2006
LOGFILE FOR STARTING DATABASE
Trying to start database ...
Thu Dec 28 22:53:03 PAKST 2006
Checking required environment variables
SAPSYSTEMNAME is >J2E<
Start database with xuserkey >c_J2EE<
Thu Dec 28 22:53:03 PAKST 2006
Connect to the database to check the database state
dbmcli: connect check finished with return code: 0
Database not available
Thu Dec 28 22:53:03 PAKST 2006
Starting XServer
12916 XSERVER Found other running x_server with version 'X64/AIX 7.5.0 Build 032-123-111-699'
12902 XSERVER started, 'already...'
Thu Dec 28 22:53:05 PAKST 2006
Starting database
Starting Database Instance...
Error! XUser not found!
Opening Database...
Error! XUser not found!
Thu Dec 28 22:53:05 PAKST 2006
Connect to the database to verify the database is now open
dbmcli check finished with return code: 0
Database start failed
~
What can be the problemManoj,
it looks like the USER data needed to connect to the instance hasn't been saved correctly. Please look at SAP note 39439 and save this data.
If you continue to have problems, you will need to open a CSS message.
Regards,
Ashwath -
I'm getting an error (BEA-090508) when trying to apply SSL and starting the server
I'm trying to apply SSL with my own CA on a Weblogic Server. I'm getting an error (BEA-090508) when trying to start the server.
regardsHi peggy gray,
I believe you have the Photography subscription purchased wherein the applications other than PS and LR are available as trial only.
Please check the link below:
Creative Cloud Photography plan | Adobe Creative Cloud
Regards,
Sheena -
Getting error while starting the server.
I am getting the following error while starting the server. Please help
trc file: "C:\SAP\JP1\JC00\work\dev_jstart", trc level: 1, release: "710"
sysno 00
sid JP1
systemid 560 (PC with Windows NT)
relno 7100
patchlevel 0
patchno 0
intno 20063500
make multithreaded, Unicode, optimized
profile C:\SAP\JP1\SYS\profile\JP1_JC00_EmpMXMobile
pid 2240
ACTIVE TRACE LEVEL 1
ACTIVE TRACE COMPONENTS all, JM
arguments :
arg[ 0] : C:\SAP\JP1\SYS\exe\run\jstart.exe
arg[ 1] : pf=C:\SAP\JP1\SYS\profile\JP1_JC00_EmpMXMobile
F
F [Thr 3540] Tue Sep 04 20:55:33 2007
F [Thr 3540] SfCJdkConfig::get: JDK home directory is set by profile
F [Thr 3540] Java home: C:\SAP\JP1\SYS\exe\run\sapjvm_5
F [Thr 3540] SfCJdkConfig::get: Java VM type is set by profile
F [Thr 3540] Java VM type: server
F ********************************************************************************
F Java SDK properties (C:\SAP\JP1\JC00\work\jstart.jdk)
F root directory : C:\SAP\JP1\SYS\exe\run\sapjvm_5
F vendor : SAP AG
F version : 1.5.0_07-b00
F cpu : x86
F java vm type : server
F jvm library name : jvm.dll
F library path : C:\SAP\JP1\SYS\exe\run\sapjvm_5\jre\bin\server;C:\SAP\JP1\SYS\exe\run\sapjvm_5\jre\bin
F executable path : C:\SAP\JP1\SYS\exe\run\sapjvm_5\bin
F ********************************************************************************
I [Thr 3540] MtxInit: 30002 0 2
F [Thr 3540] JsfCreateShm: ShmCreate(79, 4096, ATTACH) failed (rc = 3 SHM segment doesn't exist)...
F [Thr 3540] SfCInstanceManager::newState: starting run level 1.
F [Thr 3540] *** ERROR => SfICreateFiElem: FiInit(JSF-FI-BRSESS, 1, 32) failed (rc = 6 invalid argument) [jsfxxshm.c 1909]
F [Thr 3540] *** ERROR => SfEInternalError: SfCInstanceManager::createDynShm: JsfCreateDynShm failed (rc = 1 general error) [sfxxinst.hpp 349]
SAP (R) - R/3(TM) Callstack, Version 1.0
Copyright (C) SAP AG. All rights reserved.
Callstack without Exception:
App : jstart.exe (pid=2240)
When : 9/4/2007 20:55:34.296
Threads : 2
Computer Name : EMPMXMOBILE
User Name : SYSTEM
Number of Processors: 2
Processor Type: x86 Family 6 Model 15 Stepping 6
Windows Version : 5.1 Current Build: 2600
Stack Dump for Thread Id dd4
--> Stack Back Trace <--
FramePtr ReturnAd Param#1 Param#2 Param#3 Param#4 Function Name
0006f784 00000000 7c8025cb 00000000 00000604 00000000 ntdll!KiFastSystemCallRet
0006f7fc 00000000 004385ac 00000000 00000604 00000000 kernel32!WaitForSingleObject
0006f820 00000000 0044aeee 00000000 0044af27 00000000 jstart!_STL::basic_ostream<wchar_t,_STL::char_traits<wchar_t> >::operator<<
0006fa40 00000000 7c9106eb 00000000 78134d85 00000000 jstart!_STL::basic_ostream<wchar_t,_STL::char_traits<wchar_t> >::operator<<
005b36b8 00000000 00000000 00000000 00000029 00000000 ntdll!RtlAllocateHeap
Stack Dump for Thread Id dd8
--> Stack Back Trace <--
FramePtr ReturnAd Param#1 Param#2 Param#3 Param#4 Function Name
0172feac 00000000 7c8314a6 00000000 00000674 00000000 ntdll!KiFastSystemCallRet
0172ff74 00000000 781329b9 00000000 00000000 00000000 jstart!FcaConnection_fcaCloseOutput
0172ffac 00000000 78132a45 00000000 7c910738 00000000 MSVCR80!endthreadex
0172ffec 00000000 00000000 00000000 781329df 00000000 MSVCR80!endthreadex
F
F [Thr 3540] Tue Sep 04 20:55:34 2007
F [Thr 3540] SfCOptions::doExit: goodbye... (exitcode 1, retcode 1)Hi Viji,
It seem's some memory(RAM) problem is strucking, can you try to shut down the OS and try to start the server?
Regards,
Hari. -
JVM Initialization Error when Starting the Second Managed Server
Hi,
I am getting the below error when starting the 2nd Managed server on Solaris X86 machine.
starting weblogic with Java version:
java version "1.5.0_17"
Java(TM) Platform, Standard Edition for Business (build 1.5.0_17-b04)
Java HotSpot(TM) Client VM (build 1.5.0_17-b04, mixed mode, sharing)
Starting WLS with line:
/usr/jdk/instances/jdk1.5.0/bin/java -client -Xms256m -Xmx512m -XX:CompileThre shold=8000 -XX:PermSize=48m -XX:MaxPermSize=128m -Xverify:none -da -Dplatform .home=/beafiler/weblogic10g/bea/wlserver_10.0 -Dwls.home=/beafiler/weblogic10g/b ea/wlserver_10.0/server -Dweblogic.home=/beafiler/weblogic10g/bea/wlserver_10.0/ server -Dwli.home= -Dweblogic.management.discover=false -Dweblogic.management.s erver=http://test_admin:7001 -Dwlw.iterativeDev=false -Dwlw.testConsole=false - Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=/beafiler/weblogic10g/bea/patch_wss 110/profiles/default/sysext_manifest_classpath:/beafiler/weblogic10g/bea/patch_w lw1021/profiles/default/sysext_manifest_classpath:/beafiler/weblogic10g/bea/patc h_wls1002/profiles/default/sysext_manifest_classpath:/beafiler/weblogic10g/bea/p atch_cie640/profiles/default/sysext_manifest_classpath -Dweblogic.security.provi ders.authentication.LDAPDelegatePoolSize=50 -Dweblogic.Name=wls_test2 -Djava.sec urity.policy=/beafiler/weblogic10g/bea/wlserver_10.0/server/lib/weblogic.policy weblogic.Server
Error occurred during initialization of VM
Could not reserve enough space for object heap
Can any one please help me troubleshoot this?
Edited by: user4877326 on Jul 13, 2010 1:33 PMHi P.k,
The table QRTZ92_TRIGGERS is there in the database.But while trying to run this command (UPDATE QRTZ92_TRIGGERS set NEXT_FIRE_TIME=1 where NEXT_FIRE_TIME < 0)in database i am getting the table or view does not exist.
What is GTC resource?
OIM version - 11.1.1.5.0.
-Deena. -
Getting log file when starting J2EE 1.4 Application Server
I get a log file when starting up the Application Server. I am just a beginner.
Is there anyone who could help me in setting up?
Thanks,
AboliRanadeWhat do you mean by you get a log file when starting up the AppServer? There is always a log file present. There should not be a new log file created every time you start the server. Look under <install directory>/domains/domain1/logs for the server log file.
-
After installing Mountain Lion, iMessages and Facetime does not work. When I try to sign-in I get a message that says: The server encountered an error processing registration. Please try again later. After 4 calls to apple and 8 and a half hours on the phone. The apple people does not how to solve the problem. The last thing they told me is that they will send the problem to their engineers and I will hear from them. unfortunately they have not contact me.
During the phone calls I tried putting the date and time in automatic, changing the username and password, I even tried using somebody elses username and password. Please help, facetime is my tool to telecomute, and it is hurting my job.I had the same problem and found the solution here:
https://discussions.apple.com/thread/3189272 -
Oracle Error when starting the WLI server (samples domain) on Windows XP
I've installed WLI (SP2) on Windows XP and after Starting the Server (from the
"Start Server and Launch Examples" commands on the start menu) I get the following
Oracle error in the console:
I'm using WLI 7.0 with SP2 and Oracle 9i on Windows XP Home.
ORA-12154: TNS:could not resolve service name
Any ideas?Hi Peter,
Based on the error messages it looks like this might be a Windows 7 security issue, which would be why it doesn't occur on XP since security is handled differently in that OS. Have you gone into dcomcnfg.exe and checked the DCOM permissions as described in the error message? -
When starting the computer, I get a grey screen and following status: your startup disk is full. How can I still enter (in order to free-up some space)?
Simple way to make HDD free space is delete files you don't need anymore.
Or get bigger drive and external HDD case, then:
1) install bigger HDD in external drive case.
2) connect external drive and format and mount it with Disk Utility.
3) make clone with Carbon Copy Cloner or SuperDuper!(source drive is internal HDD, target drive is external one).
4) install external bigger drive into your Macbook Pro.
In the cace if your're using Mac Pro:
1) get bigger HDD and install it in drive bay of Mac Pro.
2) format and mount it with Disk Utility.
3) make clone with Carbon Copy Cloner or SuperDuper!(source drive is old HDD, target drive is new one).
4) Select boot drive to new bigger one.
Maybe you are looking for
-
HT2305 How to upgrade my iPAD 2 OS to iOS5.0?
Hi, Can anybody help ? I am still using the old iOS comes with my iPAD2. Will like to upgrade to the latest iOS in order I can use iCLOUD to back up my iPAD. Please show me the steps thanks, muditalow
-
Need help in Update rule coding - URGENT
Hi Gurus, I am creating an update rule there i need to compare some filed with the fields in inforsouce so here what should be the name used for the infosource can i use something like this read table TAB where <fields1> = DATA
-
Windows installer missing??? Satellit A505-S6960
Have had the computer since late August. Used constantly. Yesterday when I turn it on it gave me an error message loading the webcam as well as my malware sweep program. says itunes is not installed correctly. Also can't access microsoft word
-
Adobe AIR stream publish breaks on iOS devices
Hi All I am using Adobe Air 13.0 to upload a streaming video to Flash Media Server. This works fine on all Android devices, but on iOS devices (both iPad and iPhone) the publish stream breaks after several time (could be 10 seconds, could be 5 minute
-
In windows live mail, how do i increase font size?
in windows live mail, how do i increase font size? This question was solved. View Solution.