Startup class (weblogic.system.startupClass) ordering
I have several classes in weblogic 4.5.1. that startup via
weblogic.system.startupClass
Unfortunately, I have found that I cannot control the ordering in which
these
classes are started. In fact, the startup ordering seems completely
independent of the the ordering of these commands in
weblogic.properties.
Is it possible to control the startup ordering? Thanks in advance for
your help!
-hjk
How is this done in weblogic 6.0 ?
Thanks
Kalpesh
"Michael Girdley" <[email protected]> wrote:
http://www.weblogic.com/docs51/admindocs/properties.html#startup
Thanks,
Michael
Michael Girdley
Product Manager, WebLogic Server & Express
BEA Systems Inc
Hyung-Jin Kim <[email protected]> wrote in message
news:[email protected]..
I have several classes in weblogic 4.5.1. that startup via
weblogic.system.startupClass
Unfortunately, I have found that I cannot control the ordering in which
these
classes are started. In fact, the startup ordering seems completely
independent of the the ordering of these commands in
weblogic.properties.
Is it possible to control the startup ordering? Thanks in advance for
your help!
-hjk
Similar Messages
-
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 -
Startup Classes w/ Arguments and Startup Order
Hi,
I know we can control the order of startup classes by specifying them in a
comma delimited list like this:
weblogic.system.startupClass.a=class1,class2,class3
Now what if class1 and class2 have several startup arguments that I need to
pass??? I would hate to think that I'll have to write my own startup
manager just to do this one simple thing?
So... if anyone knows how to specify startup arguments AND control the order
of startup classes please let me know...
Thanks in advance,
Stephen Earl
SmartPoint, Inc.Hi Don,
I've attempted to mirror the functionality of the Weblogic startup system
with no success. Basically I have an xml document specifying the startup
specifications much like the WL startup system (ie. Description, ClassName,
Args). To mirror the WL system I apparently need access to StartupThread
which, like most other WL classes, is undocumented and unexposed for use.
How would you suggest implementing such functionality??? Considering that
I'd like to have similar functionality to the current system (ie.
T3StartupDefs, RMI Servers, etc.) how can I and any other BEA customer
achieve this short of rewriting the startup mechanism???
Stephen Earl
SmartPoint, Inc.
"Don Ferguson" <[email protected]> wrote in message
news:[email protected]...
I have looked over the source code for startup classes and how thearguments
are processed, and I'm afraid I don't see any mechanism to accomplish what
you want, i.e., to specify the order that startup classes are executed,
and provide names-value pairs that are associated with each class.
You might have to come up with your own mechanism for associating
arguments with startup classes.
Anne-Katrin Schroeder-Lanz wrote:
well, if you absolutely must have identically named args for each class,
then you're stumped. should you be able to extract any kind of support
from
BEA here, I'd appreciate a notification, since we've got the sameproblem to
deal with.
happy hacking, anne
Anne-Katrin Schroeder-Lanz
Development
memIQ AG
T: +49-89-45639-19385
F: +49-89-45639-33-385
mailto:[email protected]
"Stephen Earl" <[email protected]> wrote in message
news:[email protected]...
OK... and now say that I have a startup argument called RETRIES. This
argument needs to be 10 for startup class A and 20 for startup class
B.
Now
way I can see to handle this situation.
BEA... I've logged a production 3 case regarding this issue and have
not
even received an initial response from support. Hello... Hello...
Steve...
"Anne-Katrin Schroeder-Lanz" <[email protected]> wrote in message
news:[email protected]...
hi,
just use the startArgs as documented on the list of startup classes
and
pass
a collective list of args, e.g.:
weblogic.system.startupClass.<logical_name>= xxx.yyy.Foo,
xxx.yyy.Bar
weblogic.system.startupArgs.<logical_name>= arg4Foo=some_value,
arg4Bar=another_value
hth,
cheers, anne
Anne-Katrin Schroeder-Lanz
Development
memIQ AG
T: +49-89-45639-19385
F: +49-89-45639-33-385
mailto:[email protected]
"Stephen Earl" <[email protected]> wrote in message
news:[email protected]...
Hi,
I know we can control the order of startup classes by specifying
them
in
a
comma delimited list like this:
weblogic.system.startupClass.a=class1,class2,class3
Now what if class1 and class2 have several startup arguments that
I
need
to
pass??? I would hate to think that I'll have to write my own
startup
manager just to do this one simple thing?
So... if anyone knows how to specify startup arguments AND controlthe
order
of startup classes please let me know...
Thanks in advance,
Stephen Earl
SmartPoint, Inc. -
I am using startup classes to initially populate my JNDI tree with
values (Strings) and LinkRefs (to other server JNDI trees).
* How can I control the order in which the startup classes are invoked?
Some of my startup classes place values in the JNDI tree. Other startup
classes take those values and do other things with them. I want to make
sure the value setters and run before the value users. WLS 5.1 had this
capability. I don't see it in 6.0
* How can I get some startup classes to be invoked before EJBs are
loaded and others to be invoked after EJBs are loaded? I need to setup
my LinkRefs before the EJBs attempt to build the java:comp/env local
environment for the EJBs. Other times I need to promote the EJBs Home
references outside the server. I believe that startup classes only run
after the EJB instantiations based on 5.1 experience.
thanks
jimJim and Joe,
For the First Question I believe there is a better way of doing with
making your Startup classes Invoked in the order You wanted and also make
them J2EE complaint..
Make your startup classes as start up servlets by registering them in
web.xml as startup servlets(<load-on-startup>).
While registering a startup servlet remeber that the element can have a
optional element. The optional contents of these element must be a positive
integer indicating the order in which the servlet should be loaded. Lower
integers are loaded before higherintegers.
If you need more explanation let me know, I can provide you example on the
same.
Kumar.
jim stafford wrote:
I am using startup classes to initially populate my JNDI tree with
values (Strings) and LinkRefs (to other server JNDI trees).
* How can I control the order in which the startup classes are invoked?
Some of my startup classes place values in the JNDI tree. Other startup
classes take those values and do other things with them. I want to make
sure the value setters and run before the value users. WLS 5.1 had this
capability. I don't see it in 6.0
* How can I get some startup classes to be invoked before EJBs are
loaded and others to be invoked after EJBs are loaded? I need to setup
my LinkRefs before the EJBs attempt to build the java:comp/env local
environment for the EJBs. Other times I need to promote the EJBs Home
references outside the server. I believe that startup classes only run
after the EJB instantiations based on 5.1 experience.
thanks
jim -
Hi. I have installed SP6 on WLS 5.1 and have experienced some interesting
problems.
Originally I installed the patch to fix some ClassCast problems I had with
some servlets. This essentially fixed my problems until I installed a couple
of the servlets as a startup class as follows:
# Configure the ServletStartup class to run MyServlet's init()
# method at startup
# comment these out if the server hangs on startup!!!
weblogic.system.startupClass.StartFPInitializer=\
weblogic.servlet.utils.ServletStartup
weblogic.system.startupArgs.StartFPInitializer=\
servlet=FPInitializer
I get two errors:
1.) Related to my session beans:
Mon Nov 06 23:09:34 CST 2000:<E> <WebLogicServer> Failed to invoke startup
class
StartFPInitializer=weblogic.servlet.utils.ServletStartup
java.lang.NoClassDefFoundError: com.citadel.ivweb.fundses.FundLookupHome
at com.citadel.ivweb.servlet.Initializer.class$(Initializer.java:38)
at
com.citadel.ivweb.servlet.Initializer.refresh(Initializer.java:83)
2.) Related to a second startup with a very strangly worded exception (note
the class not being found):
Mon Nov 06 23:09:34 CST 2000:<E> <WebLogicServer> Failed to invoke startup
class
StartLoginHandler=weblogic.servlet.utils.ServletStartup
java.lang.NoClassDefFoundError: weblogic/html/HtmlPage
at java.lang.Class.newInstance0(Native Method)
at java.lang.Class.newInstance(Class.java:237)
at
weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubIm
I can work around this as follows:
Install the sp6boot jar in the java_classpath and install the sp5 jar in the
wls_classpath.
Does anyone have any ideas?
Thanks,
Terry Trippany
Citadel Investment Group
ChicagoCould you try to register the HelloWorldServlet (mentioned below) and see if the
servlet gets instantiated at startup or not..
I would also recommend you to send a test case to support and follow-up with
them (if you
need immediate attention)..
Kumar
Terry Trippany wrote:
I can get sp6 to work but not with the startup classes.
The stacktrace clearly shows
java.lang.NoClassDefFoundError: com.citadel.ivweb.fundses.FundLookupHome
Do you have the above class in weblogic classpath?Yes, in fact the only way I can get around both problems is to mix the
service packs as listed below:
Install the sp6boot jar in the java_classpath and install the sp5 jar inthe
wls_classpath.This gets around the ClassCast problem and the ClassNotFound exceptions. I
have played around with the classpaths but this is the only thing that work
fore me.
Thanks,
Terry
Kumar Allamraju <[email protected]> wrote in message
news:[email protected]...
1) I just tried in SP6 and it works fine for me.
# Here we register the myservletclass servlet class
weblogic.httpd.register.MyServlet=examples.servlets.HelloWorldServlet
# Configure the ServletStartup class to run MyServlet's init() method
at startup
weblogic.system.startupClass.StartMyServlet=\
weblogic.servlet.utils.ServletStartup
weblogic.system.startupArgs.StartMyServlet=servlet=MyServlet
The stacktrace clearly shows
java.lang.NoClassDefFoundError: com.citadel.ivweb.fundses.FundLookupHome
Do you have the above class in weblogic classpath?
Does the same thing works fine with SP5?
Kumar
Terry Trippany wrote:
Hi. I have installed SP6 on WLS 5.1 and have experienced some
interesting
problems.
Originally I installed the patch to fix some ClassCast problems I hadwith
some servlets. This essentially fixed my problems until I installed acouple
of the servlets as a startup class as follows:
# Configure the ServletStartup class to run MyServlet's init()
# method at startup
# comment these out if the server hangs on startup!!!
weblogic.system.startupClass.StartFPInitializer=\
weblogic.servlet.utils.ServletStartup
weblogic.system.startupArgs.StartFPInitializer=\
servlet=FPInitializer
I get two errors:
1.) Related to my session beans:
Mon Nov 06 23:09:34 CST 2000:<E> <WebLogicServer> Failed to invokestartup
class
StartFPInitializer=weblogic.servlet.utils.ServletStartup
java.lang.NoClassDefFoundError: com.citadel.ivweb.fundses.FundLookupHome
atcom.citadel.ivweb.servlet.Initializer.class$(Initializer.java:38)
at
com.citadel.ivweb.servlet.Initializer.refresh(Initializer.java:83)
2.) Related to a second startup with a very strangly worded exception(note
the class not being found):
Mon Nov 06 23:09:34 CST 2000:<E> <WebLogicServer> Failed to invokestartup
class
StartLoginHandler=weblogic.servlet.utils.ServletStartup
java.lang.NoClassDefFoundError: weblogic/html/HtmlPage
at java.lang.Class.newInstance0(Native Method)
at java.lang.Class.newInstance(Class.java:237)
at
weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubIm
I can work around this as follows:
Install the sp6boot jar in the java_classpath and install the sp5 jar inthe
wls_classpath.
Does anyone have any ideas?
Thanks,
Terry Trippany
Citadel Investment Group
Chicago -
Failed to invoke Startup class
Hi,
Currently I have moved to weblogic 7 to 11g.
I am facing a problem while invoking a start up class which uses a Statless session bean.
I am getting the NameNotFOund exception while doing the bean look up with the proper JNDI name.
The same is working in weblogic 7.
Please suggest a way around.
Thanks in advance :)aarone wrote:
>
When I attempt to startup Weblogic, I get the error "Failed to invoke startup class
weblogic.jdbc.common.internal.JdbcStartup = weblogic.jdbc.common.internal.JdbcStartup
java.security.AccessControlException" access denied ( java.sql.SQLPermission setLog
I've checked and rechecked my properties file, class permission, class path........
Any ideas what to try next?edit your weblogic.policy file, and add this line to the last clause:
permission java.sql.SQLPermission "setLog";
Joe
PS: Folks: BEA WebLogic is expanding rapidly, with both entry and advanced positions
for people who want to work with Java, XML, SOAP and E-Commerce infrastructure products.
We have jobs at Nashua NH, Liberty Corner NJ, San Francisco and San Jose CA.
Send resumes to [email protected] -
How can I ensure the execution order of startup classes?? I want to run startupclass1
before startupclass2..Dimitri,
Upon second glance at my reply, I noticed I "mis-spoke" part of it. We want
the system administratord who control the directories to be able to change the
values in config.xml, not have control over the properties files.
We could use a higher priority startup-servlet for that, but then our system
administrators would have to edit the deployment descriptors of those servlets,
rebuild them, and redeploy them (and then the server has to be restarted anyway
to force all the deployed component to pick up the new values).
It just strikes me that the startup class provides this functionality much
more elegantly. They can just change the startup parameters in the console and
restart the server.
Jason
"Jason Titus" <[email protected]> wrote:
>
Dimitri,
Thanks for this information. Here are the details of my situation.
I am trying to set some values in the startup class that all applications
can
me use of, by putting them in a singleton. Currently we are using the
following
values: a directory from which configuration files can be read, a directory
into
which output files can be put.
The reason for this is that we are keeping our properties files out
of the
components so the components don't have to be rebuilt when we move from
test to
integration to production. We can simply get a different version of
the properties
files from configuration management as part of the deployment process.
This also
lets us expose just the properties files to the system administrators
who impact
those directories.
With this scheme in place, my servlet initialization can configure
itself by
loading its specific property file from the directory passed to the startup
class
based on the config.xml. Once it has the configuration, it can access
the database
and cache application general data before the first request is placed
to the servlet.
Does that sounds reasonable?
Jason
Dimitri Rakitine <[email protected]> wrote:
I think that startup classes are executed after applications etc are
deployed and
right before server starts servicing client requests.
Why do you need startup classes at all? load-on-startup servlets are
a much nicer
replacement, which solves lots of problems associated with startup classes.
Jason Titus <[email protected]> wrote:
According to this document, you should be able to set a startup deploymentorder
for your startup classes.
I have a servlet that is also initialized at startup, which seems
to
always get
initialized before the startup class methods are called. I've triedchanging
both the deployment order for the startup class in the console, aswell as the
servlet deployment descriptor value its priority. I can't get thestartup to
go first.
Any suggestions?
Thanks for your help.
Jason
"Michael Girdley" <[email protected]> wrote:
Check this out:
http://e-docs.bea.com/wls/docs61///////ConsoleHelp/startupclass.html
Michael Girdley
BEA Systems
Learning WebLogic? Buy the book:
http://www.learnweblogic.com/
At Amazon:
http://www.amazon.com/exec/obidos/ASIN/0130911119/learnweblogic/103-6817548-
3834229
"Rajan" <[email protected]> wrote in message
news:[email protected]...
How can I ensure the execution order of startup classes?? I want
to
run
startupclass1
before startupclass2..
Dimitri -
Startup Class in WebLogic server 6.1
I Have a Java application as startup class in Weblogic server 6.1 . I need to stop
the application without restarting the Weblogi server (The startup class should
be removed and the change should be reflected in WebLogic server). Is it possible
to achieve this. I Know that we can remove the startup class from the console
but the change is getting reflected only if i restart the WebLogic Server. Can
some one help me out ?.
Thanks,
S GopikrishnaEven if it is EJB-only, adding .war with startup logic will be more convinient
than startup classes.
S Gopikrishna <[email protected]> wrote:
Hi
Thanks a lot for the info. My application is not servlet based rather not
web based. In this case how to solve my startupclass problem.
Regards,
S Gopikrishna
Dimitri Rakitine <[email protected]> wrote:
You can deploy web-app(stand-alone, or as a part of an EAR), which has
servlets marked as
load-on-startup (in that case you can use servlet's init() method to
perform your startup
logic), or has servlet context listeners registered
(http://e-docs.bea.com/wls/docs61/webapp/app_events.html#177041) - contextInitialized()
callback will be called when application is deployed, and contextDestroyed()
will be called when application is undeployed.
S Gopikrishna <[email protected]> wrote:
Thanks a lot for the info. Iam pretty new to WeblogicServer. Can utell me about
how to use load-on-startup servlets or application listeners ?.
Thanks in Advance
S Gopikrishna
Dimitri Rakitine <[email protected]> wrote:
You can look into using load-on-startup servlets or application listeners
instead
of startup classes in 6.1 - that way you can redeploy your application
and re-execute
it's startup logic without placing any classes in the system classpath
or restarting
WebLogic.
S Gopikrishna <[email protected]> wrote:
I Have a Java application as startup class in Weblogic server 6.1
I need to stop
the application without restarting the Weblogi server (The startupclass should
be removed and the change should be reflected in WebLogic server).Is it possible
to achieve this. I Know that we can remove the startup class from
the
console
but the change is getting reflected only if i restart the WebLogicServer. Can
some one help me out ?.
Thanks,
S Gopikrishna--
Dimitri--
Dimitri
Dimitri -
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... -
Order of starting startup classes
I am using WLS 4.5. Is there a way to tell the server in which order to
start the startup classes?
I have tried putting them in certain order in the properties file, but that
certainly does not
do it. Any other tricks?per the WLS 4.5.1 documentation you can start the classes in a specific
order by putting them in the same line in the properties file separated by
commas.
e.g.
virtual class name= class A, class B, class C
Read the part on start up classes in the doc on the WebLogic properties
file.
farnaz <[email protected]> wrote in message
news:8i5nph$ifu$[email protected]..
I am using WLS 4.5. Is there a way to tell the server in which order to
start the startup classes?
I have tried putting them in certain order in the properties file, butthat
certainly does not
do it. Any other tricks? -
Problems in startup class (MDB on Weblogic 7.0 / IBM MQ)
Hello friends,
I am trying to communicate with IBM MQ through Weblogic 7.0 SP2 and
using MDB.
This is a bit strange but I had to reinstall Weblogic and I tried to
deploy the Startup class . However I am getting this error:
The WebLogic Server did not start up properly.
Exception raised:
java.lang.NoSuchMethodError
at com.ibm.mq.jms.services.ConfigEnvironment.<clinit>(ConfigEnvironment.java:173)
at java.lang.Class.forName0(Native Method)
I am totally at loss to understand this as it was working before I
reinstalled the Weblogic. (Maybe I am skipping something which I had
earlier done :-().
All help appreciated.
Thanks in advance,
Milan Doshi
Since your simply running an MQ client in a startup class, you should
be able to reproduce the issue without WebLogic in the mix. Once
that is done, contact IBM for support. I continue to suspect
a command-line problem - IBM is expecting something on
the java JVM command-line that is missing.
Tom
Milan Doshi wrote:
> Hello Tom,
>
> Thanks for the reply. I did ensure that all the relevant IBM jars are
> in the classpath but I still get that error.Infact the claspath was
> allready in place.
>
> Please give me your suggestions as I am totally at sea.
>
>
> <May 23, 2003 5:31:17 PM EDT> <Emergency> <WebLogicServer> <000342>
> <Unable to initialize the server: Fatal initialization excepti
> on
> Throwable: java.lang.NoSuchMethodError
> java.lang.NoSuchMethodError
> at com.ibm.mq.jms.services.ConfigEnvironment.<clinit>(ConfigEnvironment.java:173)
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Class.java:115)
> at com.ibm.mq.jms.MQConnection.<clinit>(MQConnection.java:149)
> at com.ibm.mq.jms.MQQueueConnectionFactory.createQueueConnection(MQQueueConnectionFactory.java:142)
> at com.jpmc.ivr.middle.util.MQJMSStartup.startup(MQJMSStartup.java:112)
> at weblogic.t3.srvr.StartupClassService.invokeStartup(StartupClassService.java:158)
> at weblogic.t3.srvr.StartupClassService.invokeClass(StartupClassService.java:139)
> at weblogic.t3.srvr.StartupClassService.access$0(StartupClassService.java:130)
> at weblogic.t3.srvr.StartupClassService$1.run(StartupClassService.java:102)
> at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:780)
> at weblogic.t3.srvr.StartupClassService.invokeStartupClass(StartupClassService.java:97)
> at weblogic.t3.srvr.StartupClassService.initialize(StartupClassService.java:60)
> at weblogic.t3.srvr.ServerLifeCycleList.initialize(ServerLifeCycleList.java:54)
> at weblogic.t3.srvr.T3Srvr.initialize1(T3Srvr.java:782)
> 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.
>
> Thanks and regards,
>
> Milan Doshi
>
> Tom Barnes <[email protected]> wrote in message news:<[email protected]>...
>
>>Make sure that your MQ client classes are in
>>the classpath used to boot the WL JVM. If you
>>re-installed WL, and are using the installation's
>>WL boot scripts rather than your own, the JVM
>>will have a vanilla classpath - which, of course,
>>won't include IBM classes.
>>
>>Tom
>>
>>Milan Doshi wrote:
>>
>>>Hello friends,
>>>
>>>I am trying to communicate with IBM MQ through Weblogic 7.0 SP2 and
>>>using MDB.
>>>
>>>This is a bit strange but I had to reinstall Weblogic and I tried to
>>>deploy the Startup class . However I am getting this error:
>>>
>>>
>>>The WebLogic Server did not start up properly.
>>>Exception raised:
>>>java.lang.NoSuchMethodError
>>> at com.ibm.mq.jms.services.ConfigEnvironment.<clinit>(ConfigEnvironment.java:173)
>>> at java.lang.Class.forName0(Native Method)
>>>
>>>I am totally at loss to understand this as it was working before I
>>>reinstalled the Weblogic. (Maybe I am skipping something which I had
>>>earlier done :-().
>>>
>>>All help appreciated.
>>>
>>>Thanks in advance,
>>>
>>>Milan Doshi
>>
-
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 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 (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
Maybe you are looking for
-
I have a Lenovo Thinkpad T410 with WIndows 7 . It has "Intel 82577LM Gigabit " network adapter. The issue is that , sometimes, my laptop doesn't connect to the internet. The problem is very intermittent. There is no issue with my wired network conne
-
IPod Touch 4th Generation shuffle problem
I have an iPod Touch 4th Generation and made the awful mistake of hitting shuffle by accident. It seems to be permanently stuck in that mode now. How do I turn the blasted shuffle off? Is there any way to disable it for good? Some albums just hav
-
How to reduce the image size of a jpeg image?
How do I reduce the size of an iphoto jpeg image?
-
My iWork '09 (pages, numbers, keynote) all won't open since i downloaded the first update for Mountain Lion. When i try to open it, it just comes up with this error report: Anybody else have this problem? Anybody know how i can fix it? Or even get ro
-
Creating condition(Price) records in product
hi, I am trying to create condition records for a product.For a sales order (TA) i create, the pricing procedure determined is RVCXUS. But i dont see any of the condition type which matches condition type for a product (in F4) and condition type main