Weblogic Startup
Hi All,
My server was earlier installed on some other machine. I have heard that there are config files that need to be edited and pointed to the new IP.
How can I do that?
When I am starting the server on the new machine the following exception is thrown: * The Weblogic Server did not start properly. * Exception raised: 'weblogic.server.ServerLifecycleException: Server failed to bind to the requested port.'.
What should I do to rectify these errors so that the server starts properly.
Please guide me.
Thanks
Do not copy WLS server setups (or installations!) from one machine to another unless you really know what you're doing. If you're using WLS 8+, just use the $WL_HOME/common/bin/config.sh to set a new one up - it's a heckuva lot easier than trying to "fix" things by hand. Chaning the configuration by hand (especially if you're new to it) will usually end up with a completely unusable server and you'd have to install a new one anyway...
Similar Messages
-
WLS 10.0 Mp1 - Weblogic startup class to initialize client's SSL channels
Hi,
Is it possible to use Weblogic startup class to initialize client's SSL channels?
Any pointers are appreciated.
Thanks in advance.Hey
If possible can you explain the issue in detail.
What do you mean by “initialize client's SSL channels”
Regards,
Hussain -
Weblogic Startup Class does not run as Windows Service
If you know the answer, plase send me an email at [email protected]
I'm running a weblogic startup class that starts a Thread. I need to
run a batch program that should be running as long as WebLogic is
running (to process new orders).
It works fine when I run WebLogic (5.1 SP8) from a script, but causes
problem when I'm running it as a Windows Service. It calls the
startup class, however, the startup class never spawns the Thread
class.
Following is excerpts from different components:
=============================================================
*** weblogic.properties ***
weblogic.system.startupClass.pdfCreatorStart=WebLogicStartupPdfCreator
*** WebLogicStartupPdfCreator.java ***
public class WebLogicStartupPdfCreator implements T3StartupDef {
public String startup(String name, Hashtable args) throws
Exception {
Thread t = new ProductionPdfBatchRunner();
t.start();
return "success";
*** ProductionPdfBatchRunner.java ***
public class ProductionPdfBatchRunner extends Thread {
public void run() {
try {
//work being done here
this.sleep(30000);
catch (InterruptedException ie) {
catch(Exception e) {
e.printStackTrace();
=============================================================
Thanks for any helpHi,
Ok. Few suggestions.
1. Can you review the SAP note:
552286 Troubleshooting for the SAP Web Dispatcher
2. When you said: "web dispatcher does not get started ", what error you got ? Can you be more details here ?
3. Please check the trace file dev_webdisp" that generated in the work directory. If the log entries is not abvious, increase the trace level to 2 or 3, and reproduce and re-check the trace file.
4. What is the output of the command "sapwebdisp -v"
5. How about sapwebdisp.pfl ? Are those settings correct ?
Hope this helps.
Regards,
Vincent -
Weblogic startup class (urgent)
Hi All,
I need a java program (weblogic startup class) which should fetch data from the database and instantiate another one class (it will be the data holder) and store that object into a webapplication context. Anyone tried this? Since its urgent any help will be appreciated.
Thanks in advance
Cheers,
PandiarajDo this in the init() method of a servlet and start
the servlet when you start your weblogic server
second that. just give a value of 1 for <load-on-startup> in web.xml -
Automating Weblogic Startup/Shutdown on Linux
hello and hope you fine
im using weblogic 10.3 with oracle db 11g on CentoOS 5.5
everything is working fine
but my problem is that i want to startup/shutdown weblogic on system start/shutdown
i defined weblogic as service ( i tried all levels) and it works but the problem is
when the system is booting it start weblogic but it stops continue system boot!
i also tries put the start weblogic on the .bash_profile
the system boot but when im trying to login it stops because the same problem
(weblogic startup and prevent contitnue the loginin )
i also tried to add startWeblogic in /etc/rc.d/rc.local
and the same problem when weblogic start system cant continue booting
i also tried using nohup
also the same problem
so how can i start/shutdown weblogic ?
and thanks for help
Edited by: user13113692 on Aug 2, 2010 3:22 AMthank you for your replay
but its the same
when server is booting
the weblogic start and goes to the running state
it stops continue the other services and
the server boot could not continue
here is some of my script
#!/bin/sh
WEBLOGIC_HOME=/root/Oracle/Middleware/user_projects/domains/mydomain/
# source function library
. /etc/rc.d/init.d/functions
case "$1" in
start)
echo "Starting weblogic..."
cd $WEBLOGIC_HOME
su root $WEBLOGIC_HOME/bin/startWebLogic.sh &
stop)
echo "Stopping weblogic..."
cd $WEBLOGIC_HOME
su root $WEBLOGIC_HOME/bin/stopWebLogic.sh &
i also tried something like this to grape all the output to a log file
but the problem here is that the weblogic give me a exception about the paths
case "$1" in
start)
echo "Starting weblogic..."
cd $WEBLOGIC_HOME
su root $WEBLOGIC_HOME/bin/startWebLogic.sh ALL > ${WEBLOGIC_HOME}/logz/start.log 2>&1 &
stop)
echo "Stopping weblogic..."
cd $WEBLOGIC_HOME
su root $WEBLOGIC_HOME/bin/stopWebLogic.sh ALL >${WEBLOGIC_HOME}/logz/stops.log 2>&1 &
i also tried this with the standalone weblogic and its the same
any help will be appreciated -
JMS Warning on weblogic startup
The JMS experts may here know better. Looking hard to resolve this issue relaated to JMS. can anyone help here.
Re: JMS Warning on weblogic startupI'm not familiar it, but apparently there's a feature in the security subsystem that allows propagating security information for "L2 Caches" via JMS, and it is this feature that's generating the Warning -- not JMS itself.
I do not happen to know how this feature works, what kind of JMS configuration it expects, or if the Warning is simply a natural ephemeral part of the boot/initialization process of the security feature that can be ignored.
You might want to try posting to the "WebLogic Server - Security" newsgroup.
Tom -
Configure weblogic startup class in deployment jar
We need to invoke a class during weblogic startup that is part of application deployment jar...
It works if startup class is added to server classpath ( Weblogic documentation also insists that). But our startup class uses application logic and needs to be part of application jar..
We are getting java.lang.ClassNotFoundException for the class during start up. setting LoadBeforeAppDeployments to false also does not help...
Is there any other way to invoke a application class during weblogic startup...?
Any help would be appreciated.
Thanks,
Rajasekar.here is the solution to this:
in the conventional method of implementing a startup class, one needs to impletent the T3STartupDef interface and register the class as a startup class in the console / config.xml
in this method, the startup class need not implement the T3STartupDef interface, it just needs to have a "main" method that will be called. the process of registeration is also simple, if you have an application ear.
while making the application ear, add a weblogic-application.xml along with the application.xml. the weblogic-application.xml should contain :
<startup>
<startup-class>myStartup</startup-class>
<startup-uri>myStartupArchive.jar</startup-uri>
</startup>
the myStartupArchive.jar should contain the startup class and all classes used by it
also, use a "manifest" file to point to other library jars within the ear
hope this helps someone !
going, going, ... gone. -
How do I sound an alarm if a thread fails to start from the weblogic startup script?
Here's the problem. I have a critical java program for my web app that
is its own thread and is started by the weblogic startup script when
the weblogic server is started. The constructor of this thread will
throw exceptions and send out emergency emails to the Sys Ops people
if it cant instantiate itself correctly. The only time that it wont be
able to do that is if it cant read the email property from a config
file to know where to send sys ops email to. In that situation what
would be the best way to alert someone that the thread failed to
start?[email protected] (Mike Lomage) wrote in message news:<[email protected]>...
... The only time that it wont be
able to do that is if it cant read the email property from a config
file to know where to send sys ops email to. In that situation what
would be the best way to alert someone that the thread failed to
start?My 2 cents worth:-
1) Post a console message to the admin (thro' net send in NT).
2) Hard code a default email address (easiest).
drit
Freelance Java Developer / Code Inspector
http://www.geocities.com/doc_i_t/CodeInspectionService.html -
Unable to create connection pool on weblogic startup
Hi, I have a problem currently with the connection pool of weblogic 8.1 not being able to be created on a scheduled restart daily.
The weblogic server is restarted daily at 6am. However, the oracle database is shut down for maintenance daily till 7am before it is up again. It is not possible to shift either timings of restarting weblogic and oracle.
Is there any script or option settings in weblogic to reconnect the connection pool after 7am daily without restarting the weblogic instance?
Please help. Thanks.Kwee Tin Toh wrote:
Hi, I have a problem currently with the connection pool of weblogic 8.1 not being able to be created on a scheduled restart daily.
The weblogic server is restarted daily at 6am. However, the oracle database is shut down for maintenance daily till 7am before it is up again. It is not possible to shift either timings of restarting weblogic and oracle.
Is there any script or option settings in weblogic to reconnect the connection pool after 7am daily without restarting the weblogic instance?
Please help. Thanks.You can use the weblogic.Admin command line program to create, destroy, disable, or enable pools
in a running server. However, the easiest thing to do is to define your pool to have an initial
capacity of zero, so it is allowed to be created at startup, without needing to make any connections.
Then it will self-populate as needed when application load starts, if/when the DBMS is available.
Joe -
I've been searching through this board and through other sources to find some answers..... I recently tried to update fusion middleware (Fusion Middleware 11g Release 1 (11.1.1.5)) on top of an existing copy we had installed due to a forms error we kept encountering. I ran the install without any issues and ran it without any "config" options.... After all was said and I done, I was able to start the adminserver services without issues, however my WLS_FORMS will no longer start and I'm not clear as to why at this point and I've pretty much wasted the last day trying to troubleshoot this.... We're running Weblogic and Forms 11g on a Windows 2008 R2 (64bit) server. Here's the output from the WLS_FORMS log... any help would be appreciated!
+<Feb 2, 2012 9:13:49 AM> <INFO> <NodeManager> <Server output log file is 'C:\Oracle\Middleware\user_projects\domains\ClassicDomain\servers\WLS_FORMS\logs\WLS_FORMS.out'>+
C:\Oracle\Middleware\user_projects\domains\ClassicDomain>SETLOCAL
C:\Oracle\Middleware\user_projects\domains\ClassicDomain>GOTO :ENDFUNCTIONS
C:\Oracle\Middleware\user_projects\domains\ClassicDomain>set DOMAIN_HOME=C:\Oracle\Middleware\user_projects\domains\ClassicDomain
C:\Oracle\Middleware\user_projects\domains\ClassicDomain>for %i in ("C:\Oracle\Middleware\user_projects\domains\ClassicDomain") do set DOMAIN_HOME=%~fsi
C:\Oracle\Middleware\user_projects\domains\ClassicDomain>set DOMAIN_HOME=C:\Oracle\MIDDLE~1\USER_P~1\domains\CLASSI~1
C:\Oracle\Middleware\user_projects\domains\ClassicDomain>call "C:\Oracle\MIDDLE~1\USER_P~1\domains\CLASSI~1\bin\setDomainEnv.cmd"
+'else' is not recognized as an internal or external command,+
operable program or batch file.
+.+
+.+
JAVA Memory arguments: -Xms256m -Xmx512m -XX:MaxPermSize=512m
+.+
WLS Start Mode=Development
+.+
CLASSPATH=C:\Oracle\MIDDLE~1\WLSERV~1.3\server\ext\jdbc\oracle\11g\ojdbc6dms.jar;C:\Oracle\MIDDLE~1\patch_wls1033\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\PROGRA~1\Java\JDK16~1.0_2\lib\tools.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic_sp.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.jar;C:\Oracle\MIDDLE~1\modules\features\weblogic.server.modules_10.3.3.0.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\webservices.jar;C:\Oracle\MIDDLE~1\modules\ORGAPA~1.1/lib/ant-all.jar;C:\Oracle\MIDDLE~1\modules\NETSFA~1.0_1/lib/ant-contrib.jar;C:\Oracle\Middleware\wlserver_10.3\server\lib\weblogic.jar;C:\Oracle\Middleware\oracle_common\modules\oracle.dms_11.1.1\dms.jar;C:\Oracle\Middleware\oracle_common\modules\oracle.jmx_11.1.1\jmxframework.jar;C:\Oracle\Middleware\oracle_common\modules\oracle.jmx_11.1.1\jmxspi.jar;C:\Oracle\Middleware\oracle_common\modules\oracle.odl_11.1.1\ojdl.jar;C:\Oracle\Middleware\wlserver_10.3\server\lib\weblogic.jar;C:\Oracle\Middleware\FORMS\opmn\lib\nonj2eembeans.jar;C:\Oracle\Middleware\FORMS\jdbc\lib\ojdbc6.jar;C:\Oracle\Middleware\FORMS\opmn\lib\optic.jar;C:\Oracle\Middleware\FORMS\opmn\lib\iasprovision.jar;C:\Oracle\Middleware\oracle_common\modules\oracle.ldap_11.1.1\ldapjclnt11.jar;C:\Oracle\Middleware\oracle_common\jlib\rcucommon.jar;C:\Oracle\Middleware\FORMS\opmn\lib\opmneditor.jar;C:\Oracle\Middleware\FORMS\opmn\lib\wlfullclient.jar;C:\Oracle\MIDDLE~1\ORACLE~1\soa\modules\commons-cli-1.1.jar;C:\Oracle\MIDDLE~1\ORACLE~1\soa\modules\oracle.soa.mgmt_11.1.1\soa-infra-mgmt.jar;C:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.jrf_11.1.1\jrf.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\common\derby\lib\derbyclient.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\xqrl.jar
+.+
PATH=C:\Oracle\MIDDLE~1\patch_wls1033\profiles\default\native;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\native\win\x64;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\bin;C:\Oracle\MIDDLE~1\modules\ORGAPA~1.1\bin;C:\PROGRA~1\Java\JDK16~1.0_2\jre\bin;C:\PROGRA~1\Java\JDK16~1.0_2\bin;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\native\win\x64;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\bin;C:\PROGRA~1\Java\JDK16~1.0_2\jre\bin;C:\PROGRA~1\Java\JDK16~1.0_2\bin;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\native\win\x64\oci920_8;C:\Oracle\product\11.2.0\client_1\bin;C:\Oracle\product\11.2.0\client32\bin;C:\Oracle\Middleware\FORMS\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\PROGRA~2\MICROF~1\NETEXP~1.1\Base\Bin\WIN64;C:\Oracle\Middleware\oracle_common\bin;C:\MinGW\mingw64\bin;c:\PROGRA~2\Adobe\READER~1.0\Reader;C:\Program Files\ASCI\ActiveBatchV8\;C:\Oracle\Middleware\FORMS\opmn\bin;C:\Oracle\Middleware\FORMS\opmn\lib;C:\Oracle\Middleware\FORMS\perl\bin;C:\Oracle\Middleware\FORMS\OPatch;;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\native\win\x64\oci920_8
+.+
+* To start WebLogic Server, use a username and *+
+* password assigned to an admin-level user. For *+
+* server administration, use the WebLogic Server *+
+* console at http:\\hostname:port\console *+
starting weblogic with Java version:
java version "1.6.0_21"
Java(TM) SE Runtime Environment (build 1.6.0_21-b07)
Java HotSpot(TM) 64-Bit Server VM (build 17.0-b17, mixed mode)
Starting WLS with line:
C:\PROGRA~1\Java\JDK16~1.0_2\bin\java -client -Xms256m -Xmx512m -XX:MaxPermSize=512m -Dweblogic.Name=WLS_FORMS -Djava.security.policy=C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.policy -Dweblogic.system.BootIdentityFile=C:\Oracle\Middleware\user_projects\domains\ClassicDomain\servers\WLS_FORMS\data\nodemanager\boot.properties -Dweblogic.nodemanager.ServiceEnabled=true -Dweblogic.security.SSL.ignoreHostnameVerification=false -Dweblogic.ReverseDNSAllowed=false -Xverify:none -da -Dplatform.home=C:\Oracle\MIDDLE~1\WLSERV~1.3 -Dwls.home=C:\Oracle\MIDDLE~1\WLSERV~1.3\server -Dweblogic.home=C:\Oracle\MIDDLE~1\WLSERV~1.3\server -Xms512m -Xmx1024m -XX:PermSize=256m -XX:MaxPermSize=512m -Doracle.home=C:\Oracle\Middleware\FORMS -Ddomain.home=C:\Oracle\Middleware\user_projects\domains\ClassicDomain -Xms256m -Xmx512m -XX:PermSize=256m -XX:MaxPermSize=512m -Djava.ext.dirs=C:\Oracle\Middleware\FORMS\jdk\jre\lib\ext -Doracle.security.jps.config=C:\Oracle\Middleware\user_projects\domains\ClassicDomain\config\fmwconfig\jps-config.xml -Doracle.home=C:\Oracle\Middleware\FORMS -Ddomain.home=C:\Oracle\Middleware\user_projects\domains\ClassicDomain -Doracle.instance=C:\Oracle\Middleware\Instance\Frm_Domain -Doracle.instance.name=Frm_Domain -Doracle.forms.weblogic=1 -Ddomain.name=ClassicDomain -Ddomain.home=C:\Oracle\MIDDLE~1\USER_P~1\domains\CLASSI~1 -Dcommon.components.home=C:\Oracle\MIDDLE~1\ORACLE~1 -Djrf.version=11.1.1 -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger -Djrockit.optfile=C:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.jrf_11.1.1\jrocket_optfile.txt -Doracle.domain.config.dir=C:\Oracle\MIDDLE~1\USER_P~1\domains\CLASSI~1\config\FMWCON~1 -Doracle.server.config.dir=C:\Oracle\MIDDLE~1\USER_P~1\domains\CLASSI~1\config\FMWCON~1\servers\WLS_FORMS -Doracle.security.jps.config=C:\Oracle\MIDDLE~1\USER_P~1\domains\CLASSI~1\config\fmwconfig\jps-config.xml -Djava.protocol.handler.pkgs=oracle.mds.net.protocol -Digf.arisidbeans.carmlloc=C:\Oracle\MIDDLE~1\USER_P~1\domains\CLASSI~1\config\FMWCON~1\carml -Digf.arisidstack.home=C:\Oracle\MIDDLE~1\USER_P~1\domains\CLASSI~1\config\FMWCON~1\arisidprovider -Dweblogic.alternateTypesDirectory=C:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.ossoiap_11.1.1,C:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.oamprovider_11.1.1 -Dweblogic.jdbc.remoteEnabled=false -Dwc.oracle.home=C:\Oracle\Middleware\FORMS -Dclassic.oracle.home=C:\Oracle\Middleware\FORMS -Dem.oracle.home=C:\Oracle\Middleware\oracle_common -Djava.awt.headless=true -Dweblogic.management.discover=false -Dweblogic.management.server=http://192.168.200.166:7002 -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=C:\Oracle\MIDDLE~1\patch_wls1033\profiles\default\sysext_manifest_classpath -Dweblogic.management.username=weblogic -Dweblogic.management.password=weblogic1 weblogic.Server
+<Feb 2, 2012 9:13:50 AM AST> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) 64-Bit Server VM Version 17.0-b17 from Sun Microsystems Inc.>+
+<Feb 2, 2012 9:13:52 AM AST> <Info> <Management> <BEA-141107> <Version: WebLogic Server 10.3.3.0 Fri Apr 9 00:05:28 PDT 2010 1321401 >+
+<Feb 2, 2012 9:13:53 AM AST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>+
+<Feb 2, 2012 9:13:53 AM AST> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool>+
+<Feb 2, 2012 9:13:53 AM AST> <Notice> <Log Management> <BEA-170019> <The server log file C:\Oracle\Middleware\user_projects\domains\ClassicDomain\servers\WLS_FORMS\logs\WLS_FORMS.log is opened. All server side log events will be written to this file.>+
+<Feb 2, 2012 9:14:00 AM AST> <Error> <Security> <BEA-090870> <The realm "myrealm" failed to be loaded: weblogic.security.service.SecurityServiceException: com.bea.common.engine.ServiceInitializationException: javax.jdo.JDOFatalInternalException: Unexpected exception caught.+
NestedThrowables:
java.lang.reflect.InvocationTargetException.
weblogic.security.service.SecurityServiceException: com.bea.common.engine.ServiceInitializationException: javax.jdo.JDOFatalInternalException: Unexpected exception caught.
NestedThrowables:
java.lang.reflect.InvocationTargetException
+ at weblogic.security.service.CSSWLSDelegateImpl.initializeServiceEngine(CSSWLSDelegateImpl.java:342)+
+ at weblogic.security.service.CSSWLSDelegateImpl.initialize(CSSWLSDelegateImpl.java:221)+
+ at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.InitializeServiceEngine(CommonSecurityServiceManagerDelegateImpl.java:1783)+
+ at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initializeRealm(CommonSecurityServiceManagerDelegateImpl.java:442)+
+ at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.loadRealm(CommonSecurityServiceManagerDelegateImpl.java:840)+
+ Truncated. see log file for complete stacktrace+
Caused By: com.bea.common.engine.ServiceInitializationException: javax.jdo.JDOFatalInternalException: Unexpected exception caught.
NestedThrowables:
java.lang.reflect.InvocationTargetException
+ at com.bea.common.engine.internal.ServiceEngineImpl.findOrStartService(ServiceEngineImpl.java:365)+
+ at com.bea.common.engine.internal.ServiceEngineImpl.findOrStartService(ServiceEngineImpl.java:315)+
+ at com.bea.common.engine.internal.ServiceEngineImpl.lookupService(ServiceEngineImpl.java:257)+
+ at com.bea.common.engine.internal.ServicesImpl.getService(ServicesImpl.java:72)+
+ at weblogic.security.service.internal.WLSIdentityServiceImpl.initialize(WLSIdentityServiceImpl.java:47)+
+ Truncated. see log file for complete stacktrace+
Caused By: javax.jdo.JDOFatalInternalException: Unexpected exception caught.
NestedThrowables:
java.lang.reflect.InvocationTargetException
+ at javax.jdo.JDOHelper.getPersistenceManagerFactory(JDOHelper.java:549)+
+ at com.bea.common.security.storeservice.util.StoreServiceDelegate.initJDO(StoreServiceDelegate.java:149)+
+ at com.bea.common.security.storeservice.util.StoreServiceDelegate.<init>(StoreServiceDelegate.java:98)+
+ at com.bea.common.security.internal.service.StoreServiceImpl.init(StoreServiceImpl.java:76)+
+ at com.bea.common.engine.internal.ServiceEngineImpl.findOrStartService(ServiceEngineImpl.java:363)+
+ Truncated. see log file for complete stacktrace+
Caused By: java.lang.reflect.InvocationTargetException
+ at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)+
+ at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)+
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)+
+ at java.lang.reflect.Method.invoke(Method.java:597)+
+ at javax.jdo.JDOHelper.getPersistenceManagerFactory(JDOHelper.java:534)+
+ Truncated. see log file for complete stacktrace+
Caused By: <openjpa-1.1.1-SNAPSHOT-r422266:891341 fatal internal error> org.apache.openjpa.util.InternalException: There was an error when invoking the static getInstance method on the named factory class "org.apache.openjpa.abstractstore.AbstractStoreBrokerFactory". See the nested exception for details.
+ at org.apache.openjpa.kernel.Bootstrap.getBrokerFactory(Bootstrap.java:95)+
+ at kodo.jdo.PersistenceManagerFactoryImpl.getPersistenceManagerFactory(PersistenceManagerFactoryImpl.java:41)+
+ at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)+
+ at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)+
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)+
+ Truncated. see log file for complete stacktrace+
Caused By: java.lang.OutOfMemoryError: Java heap space
+ at java.util.Arrays.copyOf(Arrays.java:2734)+
+ at java.util.ArrayList.ensureCapacity(ArrayList.java:167)+
+ at java.util.ArrayList.add(ArrayList.java:351)+
+ at org.apache.openjpa.conf.CacheMarshallerImpl.setInputUrlFromResourceLocation(CacheMarshallerImpl.java:226)+
+ at org.apache.openjpa.conf.CacheMarshallerImpl.endConfiguration(CacheMarshallerImpl.java:207)+
+ Truncated. see log file for complete stacktrace+
+>+
+<Feb 2, 2012 9:14:00 AM AST> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>+
+<Feb 2, 2012 9:14:00 AM AST> <Critical> <WebLogicServer> <BEA-000362> <Server failed. Reason:+
There are 1 nested errors:
+weblogic.security.service.SecurityServiceRuntimeException: [Security:090399]Security Services Unavailable+
+ at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.doBootAuthorization(CommonSecurityServiceManagerDelegateImpl.java:916)+
+ at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initialize(CommonSecurityServiceManagerDelegateImpl.java:1050)+
+ at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:875)+
+ at weblogic.security.SecurityService.start(SecurityService.java:141)+
+ at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)+
+ at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)+
+ at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)+
+>+
+<Feb 2, 2012 9:14:00 AM AST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FAILED>+
+<Feb 2, 2012 9:14:00 AM AST> <Error> <WebLogicServer> <BEA-000383> <A critical service failed. The server will shut itself down>+
+<Feb 2, 2012 9:14:00 AM AST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FORCE_SHUTTING_DOWN>+
+<Feb 2, 2012 9:14:01 AM> <FINEST> <NodeManager> <Waiting for the process to die: 5968>+
+<Feb 2, 2012 9:14:01 AM> <INFO> <NodeManager> <Server failed during startup so will not be restarted>+
+<Feb 2, 2012 9:14:01 AM> <FINEST> <NodeManager> <runMonitor returned, setting finished=true and notifying waiters>+I increased parameter values, but still similar outcome... I noticed on our production server that the WLS_FORMS server instance has security policy attached to the config (Servers --> WLS_FORMS --> Security (tab) --> Policies (tab), whereas this update now seems to force me to select "XACMLAuthorizer" where I just can't seem to disable this option at all, so based on the error highlighted below, could that have anything to do with it?
<Feb 2, 2012 10:08:17 AM> <INFO> <NodeManager> <Server output log file is 'C:\Oracle\Middleware\user_projects\domains\ClassicDomain\servers\WLS_FORMS\logs\WLS_FORMS.out'>
C:\Oracle\Middleware\user_projects\domains\ClassicDomain>SETLOCAL
C:\Oracle\Middleware\user_projects\domains\ClassicDomain>GOTO :ENDFUNCTIONS
C:\Oracle\Middleware\user_projects\domains\ClassicDomain>set DOMAIN_HOME=C:\Oracle\Middleware\user_projects\domains\ClassicDomain
C:\Oracle\Middleware\user_projects\domains\ClassicDomain>for %i in ("C:\Oracle\Middleware\user_projects\domains\ClassicDomain") do set DOMAIN_HOME=%~fsi
C:\Oracle\Middleware\user_projects\domains\ClassicDomain>set DOMAIN_HOME=C:\Oracle\MIDDLE~1\USER_P~1\domains\CLASSI~1
C:\Oracle\Middleware\user_projects\domains\ClassicDomain>call "C:\Oracle\MIDDLE~1\USER_P~1\domains\CLASSI~1\bin\setDomainEnv.cmd"
'else' is not recognized as an internal or external command,
operable program or batch file.
JAVA Memory arguments: -Xms512m -Xmx512m -XX:MaxPermSize=512m
WLS Start Mode=Development
CLASSPATH=C:\Oracle\MIDDLE~1\WLSERV~1.3\server\ext\jdbc\oracle\11g\ojdbc6dms.jar;C:\Oracle\MIDDLE~1\patch_wls1033\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\PROGRA~1\Java\JDK16~1.0_2\lib\tools.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic_sp.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.jar;C:\Oracle\MIDDLE~1\modules\features\weblogic.server.modules_10.3.3.0.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\webservices.jar;C:\Oracle\MIDDLE~1\modules\ORGAPA~1.1/lib/ant-all.jar;C:\Oracle\MIDDLE~1\modules\NETSFA~1.0_1/lib/ant-contrib.jar;C:\Oracle\Middleware\wlserver_10.3\server\lib\weblogic.jar;C:\Oracle\Middleware\oracle_common\modules\oracle.dms_11.1.1\dms.jar;C:\Oracle\Middleware\oracle_common\modules\oracle.jmx_11.1.1\jmxframework.jar;C:\Oracle\Middleware\oracle_common\modules\oracle.jmx_11.1.1\jmxspi.jar;C:\Oracle\Middleware\oracle_common\modules\oracle.odl_11.1.1\ojdl.jar;C:\Oracle\Middleware\wlserver_10.3\server\lib\weblogic.jar;C:\Oracle\Middleware\FORMS\opmn\lib\nonj2eembeans.jar;C:\Oracle\Middleware\FORMS\jdbc\lib\ojdbc6.jar;C:\Oracle\Middleware\FORMS\opmn\lib\optic.jar;C:\Oracle\Middleware\FORMS\opmn\lib\iasprovision.jar;C:\Oracle\Middleware\oracle_common\modules\oracle.ldap_11.1.1\ldapjclnt11.jar;C:\Oracle\Middleware\oracle_common\jlib\rcucommon.jar;C:\Oracle\Middleware\FORMS\opmn\lib\opmneditor.jar;C:\Oracle\Middleware\FORMS\opmn\lib\wlfullclient.jar;C:\Oracle\MIDDLE~1\ORACLE~1\soa\modules\commons-cli-1.1.jar;C:\Oracle\MIDDLE~1\ORACLE~1\soa\modules\oracle.soa.mgmt_11.1.1\soa-infra-mgmt.jar;C:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.jrf_11.1.1\jrf.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\common\derby\lib\derbyclient.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\xqrl.jar
PATH=C:\Oracle\MIDDLE~1\patch_wls1033\profiles\default\native;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\native\win\x64;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\bin;C:\Oracle\MIDDLE~1\modules\ORGAPA~1.1\bin;C:\PROGRA~1\Java\JDK16~1.0_2\jre\bin;C:\PROGRA~1\Java\JDK16~1.0_2\bin;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\native\win\x64;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\bin;C:\PROGRA~1\Java\JDK16~1.0_2\jre\bin;C:\PROGRA~1\Java\JDK16~1.0_2\bin;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\native\win\x64\oci920_8;C:\Oracle\product\11.2.0\client_1\bin;C:\Oracle\product\11.2.0\client32\bin;C:\Oracle\Middleware\FORMS\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\PROGRA~2\MICROF~1\NETEXP~1.1\Base\Bin\WIN64;C:\Oracle\Middleware\oracle_common\bin;C:\MinGW\mingw64\bin;c:\PROGRA~2\Adobe\READER~1.0\Reader;C:\Program Files\ASCI\ActiveBatchV8\;C:\Oracle\Middleware\FORMS\opmn\bin;C:\Oracle\Middleware\FORMS\opmn\lib;C:\Oracle\Middleware\FORMS\perl\bin;C:\Oracle\Middleware\FORMS\OPatch;;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\native\win\x64\oci920_8
* To start WebLogic Server, use a username and *
* password assigned to an admin-level user. For *
* server administration, use the WebLogic Server *
* console at http:\\hostname:port\console *
starting weblogic with Java version:
java version "1.6.0_21"
Java(TM) SE Runtime Environment (build 1.6.0_21-b07)
Java HotSpot(TM) 64-Bit Server VM (build 17.0-b17, mixed mode)
Starting WLS with line:
C:\PROGRA~1\Java\JDK16~1.0_2\bin\java -client -Xms512m -Xmx512m -XX:MaxPermSize=512m -Dweblogic.Name=WLS_FORMS -Djava.security.policy=C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.policy -Dweblogic.system.BootIdentityFile=C:\Oracle\Middleware\user_projects\domains\ClassicDomain\servers\WLS_FORMS\data\nodemanager\boot.properties -Dweblogic.nodemanager.ServiceEnabled=true -Dweblogic.security.SSL.ignoreHostnameVerification=false -Dweblogic.ReverseDNSAllowed=false -Xverify:none -da -Dplatform.home=C:\Oracle\MIDDLE~1\WLSERV~1.3 -Dwls.home=C:\Oracle\MIDDLE~1\WLSERV~1.3\server -Dweblogic.home=C:\Oracle\MIDDLE~1\WLSERV~1.3\server -Xms512m -Xmx1024m -XX:PermSize=256m -XX:MaxPermSize=512m -Doracle.home=C:\Oracle\Middleware\FORMS -Ddomain.home=C:\Oracle\Middleware\user_projects\domains\ClassicDomain -Xms256m -Xmx512m -XX:PermSize=256m -XX:MaxPermSize=512m -Djava.ext.dirs=C:\Oracle\Middleware\FORMS\jdk\jre\lib\ext -Doracle.security.jps.config=C:\Oracle\Middleware\user_projects\domains\ClassicDomain\config\fmwconfig\jps-config.xml -Doracle.home=C:\Oracle\Middleware\FORMS -Ddomain.home=C:\Oracle\Middleware\user_projects\domains\ClassicDomain -Doracle.instance=C:\Oracle\Middleware\Instance\Frm_Domain -Doracle.instance.name=Frm_Domain -Doracle.forms.weblogic=1 -Ddomain.name=ClassicDomain -Ddomain.home=C:\Oracle\MIDDLE~1\USER_P~1\domains\CLASSI~1 -Dcommon.components.home=C:\Oracle\MIDDLE~1\ORACLE~1 -Djrf.version=11.1.1 -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger -Djrockit.optfile=C:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.jrf_11.1.1\jrocket_optfile.txt -Doracle.domain.config.dir=C:\Oracle\MIDDLE~1\USER_P~1\domains\CLASSI~1\config\FMWCON~1 -Doracle.server.config.dir=C:\Oracle\MIDDLE~1\USER_P~1\domains\CLASSI~1\config\FMWCON~1\servers\WLS_FORMS -Doracle.security.jps.config=C:\Oracle\MIDDLE~1\USER_P~1\domains\CLASSI~1\config\fmwconfig\jps-config.xml -Djava.protocol.handler.pkgs=oracle.mds.net.protocol -Digf.arisidbeans.carmlloc=C:\Oracle\MIDDLE~1\USER_P~1\domains\CLASSI~1\config\FMWCON~1\carml -Digf.arisidstack.home=C:\Oracle\MIDDLE~1\USER_P~1\domains\CLASSI~1\config\FMWCON~1\arisidprovider -Dweblogic.alternateTypesDirectory=C:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.ossoiap_11.1.1,C:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.oamprovider_11.1.1 -Dweblogic.jdbc.remoteEnabled=false -Dwc.oracle.home=C:\Oracle\Middleware\FORMS -Dclassic.oracle.home=C:\Oracle\Middleware\FORMS -Dem.oracle.home=C:\Oracle\Middleware\oracle_common -Djava.awt.headless=true -Dweblogic.management.discover=false -Dweblogic.management.server=http://192.168.200.166:7002 -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=C:\Oracle\MIDDLE~1\patch_wls1033\profiles\default\sysext_manifest_classpath -Dweblogic.management.username=weblogic -Dweblogic.management.password=weblogic1 weblogic.Server
<Feb 2, 2012 10:08:18 AM AST> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) 64-Bit Server VM Version 17.0-b17 from Sun Microsystems Inc.>
<Feb 2, 2012 10:08:20 AM AST> <Info> <Management> <BEA-141107> <Version: WebLogic Server 10.3.3.0 Fri Apr 9 00:05:28 PDT 2010 1321401 >
<Feb 2, 2012 10:08:22 AM AST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
<Feb 2, 2012 10:08:22 AM AST> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool>
<Feb 2, 2012 10:08:22 AM AST> <Notice> <Log Management> <BEA-170019> <The server log file C:\Oracle\Middleware\user_projects\domains\ClassicDomain\servers\WLS_FORMS\logs\WLS_FORMS.log is opened. All server side log events will be written to this file.>
*<Feb 2, 2012 10:08:28 AM AST> <Error> <Security> <BEA-090870> <The realm "myrealm" failed to be loaded: weblogic.security.service.SecurityServiceException: com.bea.common.engine.ServiceInitializationException: javax.jdo.JDOFatalInternalException: Unexpected exception caught.*
NestedThrowables:
java.lang.reflect.InvocationTargetException.
weblogic.security.service.SecurityServiceException: com.bea.common.engine.ServiceInitializationException: javax.jdo.JDOFatalInternalException: Unexpected exception caught.
NestedThrowables:
java.lang.reflect.InvocationTargetException
at weblogic.security.service.CSSWLSDelegateImpl.initializeServiceEngine(CSSWLSDelegateImpl.java:342)
at weblogic.security.service.CSSWLSDelegateImpl.initialize(CSSWLSDelegateImpl.java:221)
at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.InitializeServiceEngine(CommonSecurityServiceManagerDelegateImpl.java:1783)
at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initializeRealm(CommonSecurityServiceManagerDelegateImpl.java:442)
at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.loadRealm(CommonSecurityServiceManagerDelegateImpl.java:840)
Truncated. see log file for complete stacktrace
Caused By: com.bea.common.engine.ServiceInitializationException: javax.jdo.JDOFatalInternalException: Unexpected exception caught.
NestedThrowables:
java.lang.reflect.InvocationTargetException
at com.bea.common.engine.internal.ServiceEngineImpl.findOrStartService(ServiceEngineImpl.java:365)
at com.bea.common.engine.internal.ServiceEngineImpl.findOrStartService(ServiceEngineImpl.java:315)
at com.bea.common.engine.internal.ServiceEngineImpl.lookupService(ServiceEngineImpl.java:257)
at com.bea.common.engine.internal.ServicesImpl.getService(ServicesImpl.java:72)
at weblogic.security.service.internal.WLSIdentityServiceImpl.initialize(WLSIdentityServiceImpl.java:47)
Truncated. see log file for complete stacktrace
Caused By: javax.jdo.JDOFatalInternalException: Unexpected exception caught.
NestedThrowables:
java.lang.reflect.InvocationTargetException
at javax.jdo.JDOHelper.getPersistenceManagerFactory(JDOHelper.java:549)
at com.bea.common.security.storeservice.util.StoreServiceDelegate.initJDO(StoreServiceDelegate.java:149)
at com.bea.common.security.storeservice.util.StoreServiceDelegate.<init>(StoreServiceDelegate.java:98)
at com.bea.common.security.internal.service.StoreServiceImpl.init(StoreServiceImpl.java:76)
at com.bea.common.engine.internal.ServiceEngineImpl.findOrStartService(ServiceEngineImpl.java:363)
Truncated. see log file for complete stacktrace
Caused By: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at javax.jdo.JDOHelper.getPersistenceManagerFactory(JDOHelper.java:534)
Truncated. see log file for complete stacktrace
Caused By: <openjpa-1.1.1-SNAPSHOT-r422266:891341 fatal internal error> org.apache.openjpa.util.InternalException: There was an error when invoking the static getInstance method on the named factory class "org.apache.openjpa.abstractstore.AbstractStoreBrokerFactory". See the nested exception for details.
at org.apache.openjpa.kernel.Bootstrap.getBrokerFactory(Bootstrap.java:95)
at kodo.jdo.PersistenceManagerFactoryImpl.getPersistenceManagerFactory(PersistenceManagerFactoryImpl.java:41)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
Truncated. see log file for complete stacktrace
Caused By: java.lang.OutOfMemoryError: Java heap space
at java.util.Arrays.copyOf(Arrays.java:2734)
at java.util.ArrayList.ensureCapacity(ArrayList.java:167)
at java.util.ArrayList.add(ArrayList.java:351)
at org.apache.openjpa.conf.CacheMarshallerImpl.setInputUrlFromResourceLocation(CacheMarshallerImpl.java:226)
at org.apache.openjpa.conf.CacheMarshallerImpl.endConfiguration(CacheMarshallerImpl.java:207)
Truncated. see log file for complete stacktrace
>
<Feb 2, 2012 10:08:28 AM AST> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
<Feb 2, 2012 10:08:28 AM AST> <Critical> <WebLogicServer> <BEA-000362> <Server failed. Reason:
There are 1 nested errors:
weblogic.security.service.SecurityServiceRuntimeException: [Security:090399]Security Services Unavailable
at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.doBootAuthorization(CommonSecurityServiceManagerDelegateImpl.java:916)
at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initialize(CommonSecurityServiceManagerDelegateImpl.java:1050)
at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:875)
at weblogic.security.SecurityService.start(SecurityService.java:141)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
>
<Feb 2, 2012 10:08:28 AM AST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FAILED>
<Feb 2, 2012 10:08:28 AM AST> <Error> <WebLogicServer> <BEA-000383> <A critical service failed. The server will shut itself down>
<Feb 2, 2012 10:08:28 AM AST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FORCE_SHUTTING_DOWN>
<Feb 2, 2012 10:08:29 AM> <FINEST> <NodeManager> <Waiting for the process to die: 3140>
<Feb 2, 2012 10:08:29 AM> <INFO> <NodeManager> <Server failed during startup so will not be restarted>
<Feb 2, 2012 10:08:29 AM> <FINEST> <NodeManager> <runMonitor returned, setting finished=true and notifying waiters> -
Weblogic startup class and EAR file
Hi,
I am using WL 8.1.5.
I have a weblogic starup class MyStartup that implements T3StartupDef. (it does not specify package).
I jar-ed it. And I placed MyStartup.jar file into the MyEA.ear file. And I placed that into applications dir.
With WL Console I defined the startup class and for the ClassName specified MyStartup.
Yet I get the java.lang.ClassNotFoundException.
I also have a Manifest.mf file with
Class-Path: MyStartup.jar
Please help me solve this problem, I literally don't know what to do next.
MBHi,
thanks.
This seems like a completely opposite method of the depplying startup class with weblogic console.
Does my class still need to implement T3StartupDef?
I get this exception. And my classnotfound is still there.
Exception:weblogic.management.ApplicationException: startup.MyStartup
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(SlaveDeployer.java:2484)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2396)
at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:883)
at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:591)
at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:500)
at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
Regards,
MB -
Hello,
I need to set up a start up class for quartz jobs in my weblogic server.
I have created the startup class from the weblogic console but i dont know where to put the class or java file.
Where is it read from?follow this :
http://download.oracle.com/docs/cd/E13222_01/wls/docs81/ConsoleHelp/startup_shutdown.html#1108355 -
Weblogic startup class: problem calling EJB's
Has anyone ever experienced a problem in using a startup class (registered in weblogic.properties)
and tried to lookup and use an EJB in the same application?
Basically, I have a startup class which registers to receive messages from an
MQ queue, and when it receives a message, it tries to do a lookup of a bean and
use it, but I receive a 'NullPointerException'.
I'm running Weblogic 5.1
(I know that Weblogic 6.0 makes use of MessageDrivenBeans, but my app isn't using
6 or EJB 2.0)
Thanks...Can you post weblogic.log? Are you sure that EJB was deployed successfully.
Also comment the PROVIDER_URL in initial context and see if that solves the problem
Viresh Garg
BEA Systems
shaun wrote:
The exception is simply a 'NullPointerException' coming from the startup class
(I don't have the old log file or I would include the trace here.). Basically,
when my startup class receives a call to the onMessage(...) method (from listening
for messages), it looks up an EJB on the server, through the InitialContect class
and gets a 'null' returned back, thereby throwing the NullPointerException.
If anyone else is successful in having a startup class which can lookup and call
an EJB within the same Weblogic server, please help.
Thanks again....
Viresh Garg <[email protected]> wrote:
Can you post the exception stack trace? Also what exactly are you doing
in startup class.
Viresh Garg
Principal Developer Relations Engineer
BEA Systems
Shaun wrote:
Has anyone ever experienced a problem in using a startup class (registeredin weblogic.properties)
and tried to lookup and use an EJB in the same application?
Basically, I have a startup class which registers to receive messagesfrom an
MQ queue, and when it receives a message, it tries to do a lookup ofa bean and
use it, but I receive a 'NullPointerException'.
I'm running Weblogic 5.1
(I know that Weblogic 6.0 makes use of MessageDrivenBeans, but my appisn't using
6 or EJB 2.0)
Thanks... -
Weblogic startup servlet loading
Hi
I am encountering problems in loading a Servlet on Weblogic
server startup.
The steps to be followed to load a servlet on webLogic
Server startup are as follows
Register the following in the Weblogic properties
file.
1.register the servlet
weblogic.httpd.register.MyServlet=\
examples.servlets.myservletclass
2.weblogic.system.startupClass.StartMyServlet=\
weblogic.servlet.utils.ServletStartup
3.weblogic.system.startupArgs.StartMyServlet=\
servlet=MyServlet
where MyServlet is the synonym used for registering the
servlet in the file and myservletclass is the Actual
name of the servlet.
I have followed the steps accordingly but the server
is failing to load my servlet on startup.
Any suggestions,solutions for the above problem
will be most welcome.
Thanx
Tapan.Hi
I am encountering problems in loading a Servlet on Weblogic
server startup.
The steps to be followed to load a servlet on webLogic
Server startup are as follows
Register the following in the Weblogic properties
file.
1.register the servlet
weblogic.httpd.register.MyServlet=\
examples.servlets.myservletclass
2.weblogic.system.startupClass.StartMyServlet=\
weblogic.servlet.utils.ServletStartup
3.weblogic.system.startupArgs.StartMyServlet=\
servlet=MyServlet
where MyServlet is the synonym used for registering the
servlet in the file and myservletclass is the Actual
name of the servlet.
I have followed the steps accordingly but the server
is failing to load my servlet on startup.
Any suggestions,solutions for the above problem
will be most welcome.
Thanx
Tapan. -
Hi,
I am encountering problems in running a Servlet on Weblogic
server startup.
The steps to be followed to execute a servlet on webLogic
Server startup are as follows
Register the following in the Weblogic properties
file.
1.register the servlet
weblogic.httpd.register.MyServlet=\
examples.servlets.myservletclass
2.weblogic.system.startupClass.StartMyServlet=\
weblogic.servlet.utils.ServletStartup
3.weblogic.system.startupArgs.StartMyServlet=\
servlet=MyServlet
where MyServlet is the synonym used for registering the
servlet in the file and myservletclass is the Actual
name of the servlet.
I have followed the steps accordingly but the server
is failing to execute my servlet on startup.
Any suggestions,solutions for the above problem
will be most welcome.
Thanx
Tapan.
HOw did you specified the load-on-startup? and what error you get
upon startup/deployment time?
Kumar
Giulia Esposito wrote:
> I try to load my servlet on startup of Bea WebLogic Server 6.1 (SP 3) cluster.
> This load failed.
>
> Can you help me?
>
> Tank's!
>
-
"problem about weblogic startUp feature"
I write one classe "A" in weblogic5.1.0 that startup via weblogic.system.startupClass, in the "startup" method of class "A", i initalize a singtlon class "B", after weblogic started, how can i invoke the object of class "B" in other class. thanks.
Hi jim.
If you have create a Singleton you can refer to insyance by "getInstance()"
method;
but I image that you lost object because GC collect the garbage and your
singleton is not referred by anyone.
Then, in startup class, after initialization, you can put your Singleton in
system properties
(System.getProperties()) or in a WL workspace.
Have a nice day.
Giuseppe Villanova
Software Engineer
IT Staff s.p.a.
081/7877028
[email protected]
"jim" <[email protected]> wrote in message
news:3a6604d6$[email protected]..
>
I write one classe "A" in weblogic5.1.0 that startup viaweblogic.system.startupClass, in the "startup" method of class "A", i
initalize a singtlon class "B", after weblogic started, how can i invoke the
object of class "B" in other class. thanks.
Maybe you are looking for
-
Automatic creation of Production order when credit limit lock got released
It seems that production order will be created only when the sales order is created without credit lock error from the first. Once credit lock happened, even if user release the lock, production order will not be created automatically anymore. Is the
-
When downloading purchased music I get an Error ( -50 )
I tunes will try for a long periodof time to dowload the songs and it will sometimes give an error message about not being able to connect to the music store. the problem is that it just won't download these songs and I don't know how to fix it. I ha
-
Why does iDVD enlarge video size?
Hey guys, I've been trying to make a DVD with iDVD, consisting of some 20+ little clips I shot over the last year. The overall size of these clips is 3.97 GB. However, when I import them in iDVD, it says that it exceeds the available disk space. I ca
-
Volume control setting in iOS 4.2.1
What is this new on/off slider for the volume control in sound settings...what does this actualy do...i turned it off and its still working?
-
I've had this problem for ages and its driving me crazy. I'm using a MOTU 2408 MK3 for my audio ins/outs. In Logic the default outputs for the master out is set for analog outputs 1/2. I want to switch this to spidif out 1 but when I open up Audio Co