Simple question - Error in creating Weblogic Domain 8.1

Hello all

I am new to weblogic. I am trying to create a domain for my development. I am following the the steps from

http://edocs.bea.com/wls/docs81/adminguide/overview_domain.html

$ setWLSEnv.sh

Your environment has been set.

$ java weblogic.Server

Exception in thread "main" java.lang.NoClassDefFoundError: weblogic/Server

So i tried this below

$ startWLS.sh

***************************************************

* Warning: This script is DEPRECATED. Please *

* don't start new Domains with this script. Use *

* scripts generated by Domain Configuration *

* Wizard instead. *

***************************************************

And eventually i am not able to create a domain

Please help me figuring out what is the problem.

-Raje

[840 byte] By [rajrajma] at [2007-10-2 11:35:31]
# 1
run the configuration wizard if you're on Windows. it'll create the whole shebang for you. when it's done, run the startWebLogic.cmd%
duffymoa at 2007-7-13 5:04:46 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 2

:( .. :(

I am on unix ( sun ).

I am accessing sun ( telnet'***) from windows.. i do not have any configuration wizard.

I tried running config.sh from the console mode ( text based ) it is not giving me all the information which i need to do

Is there anyway to invoke the cinfiguration wizard from the xterm ? Please let me know

rajrajma at 2007-7-13 5:04:46 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 3

I fixed the first issue . Creating the Develpment domain using the "Configuration Wizard". Now when i do "startWebLogic.sh"

I am getting the below error

$ startWebLogic.sh

.

CLASSPATH=/usr/jdk/j2sdk1.4.2_05/lib/tools.jar:/opt/app/d1fdm1m1/WebLogic/8.1/weblogic81/server/lib/weblogic_sp.jar:/opt/app/d1fdm1m1/WebLogic/8.1/weblogic81/server/lib/weblogic.jar::/opt/app/d1fdm1m1/WebLogic/8.1/weblogic81/common/eval/pointbase/lib/pbserver44.jar:/opt/app/d1fdm1m1/WebLogic/8.1/weblogic81/common/eval/pointbase/lib/pbclient44.jar:/usr/jdk/j2sdk1.4.2_05/jre/lib/rt.jar:/opt/app/d1fdm1m1/WebLogic/8.1/weblogic81/server/lib/webservices.jar:

.

PATH=/opt/app/d1fdm1m1/WebLogic/8.1/weblogic81/server/bin:/usr/jdk/j2sdk1.4.2_05/jre/bin:/usr/jdk/j2sdk1.4.2_05/bin:/usr/bin::/usr/local/bin:/etc:/opt/EMCpower/bin/sparcv9:/etc/emc/bin:/usr/bin:/usr/sbin:/usr/bin:/usr/sbin:/usr/bin:/usr/sbin:/usr/X/bin:/usr/bin:/usr/sbin:/usr/X/bin:/usr/bin:/usr/sbin:/usr/X/bin

.

***************************************************

* 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*

***************************************************

<Feb 7, 2006 2:49:28 PM PST> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) Client VM Version 1.4.2_05-b04 from Sun Microsystems Inc.>

<Feb 7, 2006 2:49:28 PM PST> <Info> <Configuration Management> <BEA-150016> <This server is being started as the administration server.>

<Feb 7, 2006 2:49:28 PM PST> <Info> <Management> <BEA-141107> <Version: WebLogic Server 8.1 SP5 Mon Sep 19 23:06:54 PDT 2005 641358

WebLogic XMLX Module 8.1 SP5 Mon Sep 19 23:06:54 PDT 2005 641358 >

<Feb 7, 2006 2:49:28 PM PST> <Notice> <Management> <BEA-140005> <Loading domain configuration from configuration repository at /opt/app/d1fdm1m1/WebLogic/8.1/user_projects/domains/Atlay_MediationDomain1/./config.xml.>

<Feb 7, 2006 2:49:30 PM PST> <Notice> <Log Management> <BEA-170019> <The server log file /opt/app/d1fdm1m1/WebLogic/8.1/user_projects/domains/Atlay_MediationDomain1/myserver/myserver.log is opened. All server side log events will be written to this file.>

<Feb 7, 2006 2:49:32 PM PST> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>

<Feb 7, 2006 2:49:32 PM PST> <Notice> <WebLogicServer> <BEA-000327> <Starting WebLogic Admin Server "myserver" for domain "Atlay_MediationDomain1">

<Feb 7, 2006 2:49:38 PM PST> <Notice> <JTA> <BEA-110025> <Creating new transaction log file [./myserver/./myserver.0000.tlog].>

<Feb 7, 2006 2:49:38 PM PST> <Notice> <JTA> <BEA-110025> <Creating new transaction log file [./myserver/./myserver.heur.0000.tlog].>

<Feb 7, 2006 2:49:38 PM PST> <Emergency> <WebLogicServer> <BEA-000351> <Unable to create a server socket on Channel Default for port: 7001. java.net.BindException: Address already in use Perhaps another process is using port 7001.>

<Feb 7, 2006 2:49:38 PM PST> <Emergency> <Security> <BEA-090085> <Server failed to bind to the configured port. The port may already be used by another process.>

<Feb 7, 2006 2:49:38 PM PST> <Emergency> <WebLogicServer> <BEA-000342> <Unable to initialize the server: Server failed to bind to the requested port. See preceeding log message for details.>

***************************************************************************

The WebLogic Server did not start up properly.

Exception raised: 'weblogic.server.ServerLifecycleException: Server failed to bind to the requested port. See preceeding log message for details.'

Reason: Server failed to bind to the requested port. See preceeding log message for details.

***************************************************************************

Why it is saying this how will the change the port if already 7001 is used ?

Thanks,

-Raje

rajrajma at 2007-7-13 5:04:47 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 4

Sorry I'm not more helpful. I've only run WL on Windows.

Sounds like you have something else listening on that port. An old instance of WL that wasn't shut down properly, perhaps?

I believe the Unix command netstat might help in determining if there's a listener on port 7001. ps -a will tell you if there's a WL process running.

%

duffymoa at 2007-7-13 5:04:47 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...