Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Does my startWebLogic.cmd look right to you?

Posted on 2003-03-27
8
Medium Priority
?
3,914 Views
Last Modified: 2013-12-10
I am trying to run this cmd file but it stops after telling me that the errors will be reported in the log file and to change that I need to do so in the console.  I know that after that it is supposed to tell me that it is listening to port 7001. But nothing happens and it just stays like that.  I looked at NT task manager and it tells me that java.exe is taking up 99% of CPU currently.  I am running Weblogic 6.0 on NT machine.  


--------------------------------------------------------
SETLOCAL
SET WLS_PW=alliance
cd ..\..

@rem Set user-defined variables.
set JAVA_HOME=D:\JavaSDK

@rem Check that script is being run from the appropriate directory
if not exist lib\weblogic.jar goto wrongplace
goto checkJRE


:wrongplace
echo startWebLogic.cmd must be run from the config\mydomain directory. 1>&2
goto finish

:checkJRE
@dir %JAVA_HOME%\lib > nul
if errorlevel 0 goto runWebLogic
echo.
echo The JRE wasn't found in directory %JAVA_HOME%.
echo Please edit the startWebLogic.cmd script so that the JAVA_HOME
echo variable points to the root directory of your Java installation.
goto finish

:runWebLogic
echo on
set PATH=.\bin;%PATH%

set CLASSPATH=c:\ora817\jdbc\lib\classes12.zip;.;.\lib\weblogic_sp.jar;.\lib\weblogic.jar;D:\j2sdkee1.3\lib\j2ee.jar;c:\ora817\jdbc\lib\classes12.zip;


"%JAVA_HOME%\bin\java" -hotspot -ms64m -mx64m -classpath %CLASSPATH% -Dweblogic.Domain=mydomain -Dweblogic.Name=myserver "-Dbea.home=D:\bea" "-Djava.security.policy==D:\bea\wlserver6.0/lib/weblogic.policy" -Dweblogic.management.password=%WLS_PW% weblogic.Server
goto finish


:finish

cd config\mydomain
ENDLOCAL
-------------------------------------------------------


Also, is it possible to show what java is doing right now?  I want to see if it is processing some file or if there was an exception thrown somewhere.

Thanks,
D
0
Comment
Question by:Dmitriy
  • 6
8 Comments
 

Expert Comment

by:nbhat
ID: 8218223
On a Pentium 3 machine , 512 MB RAM loaded with Win NT it takes atleast 3 minutes for a weblogic server to come up. "the errors will be reported in the log file and to change that I need to do so in the console." is just the beginning of the startup. Probably u have to wait for some more time before jumping into conclusion that its not coming up.
 To find out what java is doing u have to take a thread dump. For taking a thread dump you have to execute each command on the consoile rather than in a batch file.
0
 
LVL 3

Author Comment

by:Dmitriy
ID: 8218875
The batch file came with weblogic install and docs tell me that I need to run that in order to startup the server.  I have P 4 with 256Mb
0
 
LVL 3

Author Comment

by:Dmitriy
ID: 8219235
Also, this is what I have from the end of the weblogic.log file:

####<Mar 27, 2003 11:36:51 AM EST> <Info> <JDBC Pool SsiDev> <amad20785> <myserver> <main> <system> <> <000000> <Cannot set refreshTestMinutes with '0'.  Will use 5 minutes.>
####<Mar 27, 2003 11:36:51 AM EST> <Info> <JDBC Connection Pool> <amad20785> <myserver> <main> <system> <> <000000> <Connection for pool "SsiDev" created.>
####<Mar 27, 2003 11:36:52 AM EST> <Info> <JDBC Init> <amad20785> <myserver> <main> <system> <> <000000> <Creating Data Source named weblogic.oradatasource for pool SsiDev>
####<Mar 27, 2003 11:36:54 AM EST> <Info> <J2EE> <amad20785> <myserver> <main> <system> <> <160003> <Deployed : ssi_EJB>
####<Mar 27, 2003 11:36:54 AM EST> <Info> <HTTP> <amad20785> <myserver> <main> <system> <> <101053> <[HTTP myserver] Loading web app: wl_management_internal1>
####<Mar 27, 2003 11:36:54 AM EST> <Info> <HTTP> <amad20785> <myserver> <main> <system> <> <101059> <[HTTP myserver] Loading wl_management_internal1 from WAR file: D:\bea\wlserver6.0\.\config\mydomain\applications\.wl_temp_do_not_delete\wl_local_comp51982.war>
####<Mar 27, 2003 11:36:55 AM EST> <Info> <HTTP> <amad20785> <myserver> <main> <system> <> <101031> <[Default WebApp] extracting classfiles to D:\bea\wlserver6.0\.\config\mydomain\applications\.wl_temp_do_not_delete\WEB-INF\_tmp_war_myserver_myserver_wl_management_internal1:>
####<Mar 27, 2003 11:36:55 AM EST> <Info> <HTTP> <amad20785> <myserver> <main> <system> <> <101032> <[Default WebApp] extracted classfiles successfully...>
####<Mar 27, 2003 11:36:55 AM EST> <Info> <HTTP> <amad20785> <myserver> <main> <system> <> <101047> <[WebAppServletContext(7677024,wl_management_internal1)] registering JSPServlet with initArgs '[JspConfig: verbose=true,packagePrefix=jsp_servlet,-compiler=javac,compileFlags=,workingDir=D:\bea\wlserver6.0\.\config\mydomain\applications\.wl_temp_do_not_delete\WEB-INF\_tmp_war_myserver_myserver_wl_management_internal1,pageCheckSeconds=1,superclass=null,keepgenerated=false,encoding=null,defaultfilename=index.jsp,noTryBlocks=false]'>
####<Mar 27, 2003 11:36:55 AM EST> <Info> <HTTP> <amad20785> <myserver> <main> <system> <> <101047> <[WebAppServletContext(7677024,wl_management_internal1)] registering classpath servlet with initArgs 'null'>
####<Mar 27, 2003 11:36:55 AM EST> <Info> <HTTP> <amad20785> <myserver> <main> <system> <> <101047> <[WebAppServletContext(7677024,wl_management_internal1)] registering getior servlet with initArgs 'null'>
####<Mar 27, 2003 11:36:55 AM EST> <Info> <J2EE> <amad20785> <myserver> <main> <system> <> <160003> <Deployed : wl_management_internal1>



anything that has SSI in it is valid.  I do have EJB files called ssi_EJB.  What I am confused about is  wl_management_internal1.  I have no clue of what this is.  Any ideas?  

Also, the ssi.war file is supposed to be looked at, but the log file has no mention of that.  Could it be the ..\applications directory structure that is messed up, or some property somewhere?
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
LVL 3

Author Comment

by:Dmitriy
ID: 8219271
The thing finally finished starting up.  It took an HOUR! But these are the errors that were spit out afterwards:

<Mar 27, 2003 12:19:29 PM EST> <Error> <Management> <Error preparing application component .\config\mydomain\applications of application mydomain:Name=DefaultWebApp_myserver,Type=Application for deployment: java.io.IOEx
eption: There is not enough space on the disk (local path: .\config\mydomain\applications\.wl_temp_do_not_delete\wl_comp51984.ear)>
<Mar 27, 2003 12:19:30 PM EST> <Error> <Management> <Error preparing application component DefaultWebApp_myserver of application mydomain:Name=DefaultWebApp_myserver,Type=Application: java.io.IOException: There is not e
ough space on the disk ((localPath: java.io.IOException: There is not enough space on the disk)>
<Mar 27, 2003 12:19:31 PM EST> <Error> <J2EE> <Error deploying application DefaultWebApp_myserver: error retrieving component [Caching Stub]Proxy for mydomain:Name=DefaultWebApp_myserver,Location=myserver,Type=WebAppCom
onentConfig,ApplicationConfig=DefaultWebApp_myserver>
<Mar 27, 2003 12:19:33 PM EST> <Error> <Management> <Error preparing application component .\config\mydomain\applications of application mydomain:Name=ssi,Type=Application for deployment: java.io.IOException: There is n
t enough space on the disk (local path: .\config\mydomain\applications\.wl_temp_do_not_delete\WEB-INF\_tmp_war_myserver_myserver_wl_management_internal1\weblogic\management\logging\WebLogicLogMessage.class)>
<Mar 27, 2003 12:19:33 PM EST> <Error> <Management> <Error preparing application component ssi.war of application mydomain:Name=ssi,Type=Application: java.io.IOException: There is not enough space on the disk ((localPat
: java.io.IOException: There is not enough space on the disk)>
<Mar 27, 2003 12:19:33 PM EST> <Error> <J2EE> <Error deploying application ssi: error retrieving component [Caching Stub]Proxy for mydomain:Name=ssi,Location=myserver,Type=WebAppComponentConfig,ApplicationConfig=ssi>
<Mar 27, 2003 12:19:33 PM EST> <Error> <J2EE> <Error deploying application wl_management_internal2: error retrieving component [Caching Stub]Proxy for mydomain:Name=wl_management_internal2,Location=myserver,Type=WebAppC
mponentConfig,ApplicationConfig=wl_management_internal2>
<Mar 27, 2003 12:19:35 PM EST> <Error> <Management> <Error preparing application component .\config\mydomain\applications of application mydomain:Name=certificate,Type=Application for deployment: java.io.IOException: Th
re is not enough space on the disk (local path: .\config\mydomain\applications\.wl_temp_do_not_delete\WEB-INF\_tmp_war_myserver_myserver_wl_management_internal1\weblogic\management\logging\WebLogicLogMessage.class)>
<Mar 27, 2003 12:19:35 PM EST> <Error> <Management> <Error preparing application component certificate.war of application mydomain:Name=certificate,Type=Application: java.io.IOException: There is not enough space on the
disk ((localPath: java.io.IOException: There is not enough space on the disk)>
<Mar 27, 2003 12:19:35 PM EST> <Error> <J2EE> <Error deploying application certificate: error retrieving component [Caching Stub]Proxy for mydomain:Name=certificate,Location=myserver,Type=WebAppComponentConfig,Applicati
nConfig=certificate>
<Mar 27, 2003 12:19:35 PM EST> <Error> <Management> <Error preparing application component .\config\mydomain\applications of application mydomain:Name=console,Type=Application for deployment: java.io.IOException: There
s not enough space on the disk (local path: .\config\mydomain\applications\.wl_temp_do_not_delete\WEB-INF\_tmp_war_myserver_myserver_wl_management_internal1\weblogic\management\logging\WebLogicLogMessage.class)>
<Mar 27, 2003 12:19:35 PM EST> <Error> <Management> <Error preparing application component console.war of application mydomain:Name=console,Type=Application: java.io.IOException: There is not enough space on the disk ((
ocalPath: java.io.IOException: There is not enough space on the disk)>
<Mar 27, 2003 12:19:35 PM EST> <Error> <J2EE> <Error deploying application console: error retrieving component [Caching Stub]Proxy for mydomain:Name=console,Location=myserver,Type=WebAppComponentConfig,ApplicationConfig
console>
javax.management.InstanceAlreadyExistsException: mydomain:Name=EJBDD_weblogic.utils.jars.VirtualJarFile@3c37f41048785583703,Type=EJBDescriptor,EJBComponent=ssi_EJB,Application=ssi_EJB-1
        at com.sun.management.jmx.RepositorySupport.addMBean(RepositorySupport.java:134)
        at com.sun.management.jmx.MBeanServerImpl.internal_addObject(MBeanServerImpl.java:2352)
        at com.sun.management.jmx.MBeanServerImpl.registerMBean(MBeanServerImpl.java:874)
        at weblogic.management.internal.RemoteMBeanServerImpl.registerMBean(RemoteMBeanServerImpl.java:118)
        at weblogic.management.internal.Helper.createMBean(Helper.java:324)
        at weblogic.management.internal.Helper.createAdminMBean(Helper.java:239)
        at weblogic.management.internal.RemoteMBeanServerImpl.createAdminMBean(RemoteMBeanServerImpl.java:188)
        at weblogic.management.internal.MBeanHomeImpl.createAdminMBean(MBeanHomeImpl.java:575)
        at weblogic.management.internal.AdminMBeanHomeImpl.createAdminMBean(AdminMBeanHomeImpl.java:360)
        at weblogic.ejb20.internal.EJBMBeanFactory.parseEjbJar(EJBMBeanFactory.java:216)
        at weblogic.ejb20.internal.EJBMBeanFactory.getMBeans(EJBMBeanFactory.java:130)
        at weblogic.management.mbeans.custom.Application.initializeMBean(Application.java:587)
        at weblogic.management.mbeans.custom.Application.initializeMBeans(Application.java:497)
        at weblogic.management.mbeans.custom.Application.adminLoad(Application.java:286)
        at weblogic.management.mbeans.custom.Application.load(Application.java:230)
        at java.lang.reflect.Method.invoke(Native Method)
        at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:562)
        at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:548)
        at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:285)
        at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
        at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
        at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:439)
        at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:180)
        at $Proxy6.load(Unknown Source)
        at weblogic.management.mbeans.custom.ApplicationManager.addApplication(ApplicationManager.java:547)
        at weblogic.management.mbeans.custom.ApplicationManager.addApplication(ApplicationManager.java:504)
        at weblogic.management.mbeans.custom.ApplicationManager.poll(ApplicationManager.java:428)
        at weblogic.management.mbeans.custom.ApplicationManager.poll(ApplicationManager.java:380)
        at weblogic.management.mbeans.custom.ApplicationManager.update(ApplicationManager.java:152)
        at weblogic.management.mbeans.custom.ApplicationManager.startAdminManager(ApplicationManager.java:205)
        at weblogic.management.mbeans.custom.ApplicationManager.start(ApplicationManager.java:120)
        at java.lang.reflect.Method.invoke(Native Method)
        at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:562)
        at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:548)
        at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:285)
        at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
        at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
        at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:439)
        at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:180)
        at $Proxy3.start(Unknown Source)
        at weblogic.management.Admin.startApplicationManager(Admin.java:1037)
        at weblogic.management.Admin.finish(Admin.java:493)
        at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:429)
        at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:170)
        at weblogic.Server.main(Server.java:35)
--------------- nested within: ------------------
weblogic.management.MBeanCreationException:  - with nested exception:
[javax.management.InstanceAlreadyExistsException: mydomain:Name=EJBDD_weblogic.utils.jars.VirtualJarFile@3c37f41048785583703,Type=EJBDescriptor,EJBComponent=ssi_EJB,Application=ssi_EJB-1]
        at weblogic.management.internal.Helper.createMBean(Helper.java:331)
        at weblogic.management.internal.Helper.createAdminMBean(Helper.java:239)
        at weblogic.management.internal.RemoteMBeanServerImpl.createAdminMBean(RemoteMBeanServerImpl.java:188)
        at weblogic.management.internal.MBeanHomeImpl.createAdminMBean(MBeanHomeImpl.java:575)
        at weblogic.management.internal.AdminMBeanHomeImpl.createAdminMBean(AdminMBeanHomeImpl.java:360)
        at weblogic.ejb20.internal.EJBMBeanFactory.parseEjbJar(EJBMBeanFactory.java:216)
        at weblogic.ejb20.internal.EJBMBeanFactory.getMBeans(EJBMBeanFactory.java:130)
        at weblogic.management.mbeans.custom.Application.initializeMBean(Application.java:587)
        at weblogic.management.mbeans.custom.Application.initializeMBeans(Application.java:497)
        at weblogic.management.mbeans.custom.Application.adminLoad(Application.java:286)
        at weblogic.management.mbeans.custom.Application.load(Application.java:230)
        at java.lang.reflect.Method.invoke(Native Method)
        at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:562)
        at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:548)
        at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:285)
        at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
        at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
        at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:439)
        at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:180)
        at $Proxy6.load(Unknown Source)
        at weblogic.management.mbeans.custom.ApplicationManager.addApplication(ApplicationManager.java:547)
        at weblogic.management.mbeans.custom.ApplicationManager.addApplication(ApplicationManager.java:504)
        at weblogic.management.mbeans.custom.ApplicationManager.poll(ApplicationManager.java:428)
        at weblogic.management.mbeans.custom.ApplicationManager.poll(ApplicationManager.java:380)
        at weblogic.management.mbeans.custom.ApplicationManager.update(ApplicationManager.java:152)
        at weblogic.management.mbeans.custom.ApplicationManager.startAdminManager(ApplicationManager.java:205)
        at weblogic.management.mbeans.custom.ApplicationManager.start(ApplicationManager.java:120)
        at java.lang.reflect.Method.invoke(Native Method)
        at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:562)
        at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:548)
        at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:285)
        at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
        at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
        at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:439)
        at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:180)
        at $Proxy3.start(Unknown Source)
        at weblogic.management.Admin.startApplicationManager(Admin.java:1037)
        at weblogic.management.Admin.finish(Admin.java:493)
        at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:429)
        at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:170)
        at weblogic.Server.main(Server.java:35)
<Mar 27, 2003 12:19:43 PM EST> <Error> <J2EE> <Error deploying application ssi_EJB: error retrieving component [Caching Stub]Proxy for mydomain:Name=ssi_EJB,Location=myserver,Type=EJBComponentConfig,ApplicationConfig=ss
_EJB-1>
<Mar 27, 2003 12:19:44 PM EST> <Error> <J2EE> <Error deploying application console: error retrieving component [Caching Stub]Proxy for mydomain:Name=console,Location=myserver,Type=WebAppComponentConfig,ApplicationConfig
console-1>
<Mar 27, 2003 12:19:44 PM EST> <Error> <J2EE> <Error deploying application certificate: error retrieving component [Caching Stub]Proxy for mydomain:Name=certificate,Location=myserver,Type=WebAppComponentConfig,Applicati
nConfig=certificate-1>
<Mar 27, 2003 12:19:44 PM EST> <Notice> <WebLogicServer> <WebLogic Server started>
<Mar 27, 2003 12:19:44 PM EST> <Notice> <WebLogicServer> <ListenThread listening on port 7001>
<Mar 27, 2003 12:19:44 PM EST> <Notice> <WebLogicServer> <SSLListenThread listening on port 7002>



HOLY SMOKES!  10GBs of my space was eaten up and there is no more free space available on my D drive.  This could give you a clue perhaps.
0
 
LVL 3

Author Comment

by:Dmitriy
ID: 8219298
I terminated the application and the Free Space is back to normal.
0
 
LVL 3

Author Comment

by:Dmitriy
ID: 8219730
I terminated the application and the Free Space is back to normal.
0
 
LVL 3

Author Comment

by:Dmitriy
ID: 8226085
Problem solved:  I reinstalled the WebLogic Server and redeployed my EAR file.  Now everything looks good.

Please delete question
0
 

Accepted Solution

by:
SpideyMod earned 0 total points
ID: 8226312
PAQ'd and all 500 points refunded.

SpideyMod
Community Support Moderator @Experts Exchange
0

Featured Post

Become an Android App Developer

Ready to kick start your career in 2018? Learn how to build an Android app in January’s Course of the Month and open the door to new opportunities.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Verbose logging is used to diagnose garbage collector problems. By default, -verbose:gc output is written to either native_stderr.log or native_stdout.log.   It is also possible to redirect the logs to a user-specified file. This article will de…
This exercise is about for the following scenario: Dmgr and One node with 2 application server. Each application server contains it owns application. Application server name as follows server1 contains app1 server2 contains app1 Prereq…
When cloud platforms entered the scene, users and companies jumped on board to take advantage of the many benefits, like the ability to work and connect with company information from various locations. What many didn't foresee was the increased risk…
How can you see what you are working on when you want to see it while you to save a copy? Add a "Save As" icon to the Quick Access Toolbar, or QAT. That way, when you save a copy of a query, form, report, or other object you are modifying, you…
Suggested Courses

564 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question