Websphere ApplicationServer doesn't start

Hello experts

I have the following schema:

- Linux SLES 9 SP2
- Websphere Application Server 6.1

I have installed an application on server1, everything worked just fine. When rebooting the server, I executed the command from /opt/IBM/WebSphere/AppServer/profiles/AppSrv01/bin

./startServer.sh server1

and the following error occurs:

/opt/IBM/WebSphere/AppServer/profiles/AppSrv01/bin # ./startServer.sh server1
The java class is not found:  com.ibm.ws.bootstrap.WSLauncher

Is there anything I need to check? This app was running just fine before rebooting the server

ArrismogAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

ina_donCommented:
During installation did you set any Environment Variables manually such as JAVA_HOME or something?

Its an issue most likely to do with environment variable not being set properly. The other issue might be access rights.

Look in the documentation or the installation procedure if you did something like execute an export command
http://www-01.ibm.com/support/docview.wss?uid=swg27006793
0
HonorGodSoftware EngineerCommented:
What is in the log file:

/opt/IBM/WebSphere/AppServer/profiles/AppSrv01/logs/server1/startServer.log

If we don't see anything telling there, we can verify the setupCmdLine.sh file in:

/opt/IBM/WebSphere/AppServer/profiles/AppSrv01/bin

by:
- "cd" to that directory
- use "which java" to determine the default java executable
- source setupCmdLine.sh using this notation:

  . ./setupCmdLine.sh

  Note: This is a very important point.  The command starts with:
            period space period slash

- use the "which java" to display the java executable that should be used.
  It should be something like:

/opt/IBM/WebSphere/AppServer/java/bin/java

  What do you see?
0
ArrismogAuthor Commented:
Hello experts

@ina_don : Yes, $JAVA_HOME has the path to jre:

==============================================================
# echo $JAVA_HOME
/usr/lib/java/jre
==============================================================

@HonorGod:

- startServer.log doesn't output anything, the only message that is shown is from the command line after issuing the startServer:
====================================================================
/opt/IBM/WebSphere/AppServer/profiles/AppSrv01/bin # ./startServer.sh server1
The java class is not found:  com.ibm.ws.bootstrap.WSLauncher
====================================================================

- Did the . ./setupCmdLine.sh, where:

1. Before issuing the command, which java had the output:
====================================================================
# which java
/usr/lib/java/jre/bin/java
====================================================================

2. After issuing the command, which java had the output:
====================================================================
/opt/IBM/WebSphere/AppServer/profiles/AppSrv01/bin # . ./setupCmdLine.sh
(no output displayed)
/opt/IBM/WebSphere/AppServer/profiles/AppSrv01/bin # which java
/opt/IBM/WebSphere/AppServer/java/bin/java
====================================================================

0
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

HonorGodSoftware EngineerCommented:
> The java class is not found:  com.ibm.ws.bootstrap.WSLauncher

  That is very bad.

  It appears that your classpath is either wrong (unlikely, but possible), or one, or more of your WebSphere jar files are missing, or corrupt.  This class is normally loaded from

/opt/IBM/WebSphere/AppServer/plugins/com.ibm.ws.admin.services.jar

  Is that file present?

  What is it's current size?

  Does it have the same datestamp as the other files in the same directory?

==============================================================
# echo $JAVA_HOME
/usr/lib/java/jre
==============================================================

  If you try this same command (i.e., echo $JAVA_HOME) after you do the . ./setupCmdLine.sh
then the value of JAVA_HOME should be something like:

/opt/IBM/WebSphere/AppServer/java

2. After issuing the command, which java had the output:
====================================================================
/opt/IBM/WebSphere/AppServer/profiles/AppSrv01/bin # . ./setupCmdLine.sh
(no output displayed)
/opt/IBM/WebSphere/AppServer/profiles/AppSrv01/bin # which java
/opt/IBM/WebSphere/AppServer/java/bin/java
====================================================================

That is good.  That says that PATH is set up to execute the correct java.
After that, you should be able to do:

java -version

and get the information about which java version exists.

0
ArrismogAuthor Commented:
@HonorGod: The file com.ibm.ws.admin.services.jar doesn't exist in the plugins directory, just in case, I installed another ApplicationServer in another machine from scratch to see if that module existed when it was working and it doesn't, the following files exist in the plugins directory (sorry for the long list):




/opt/IBM/WebSphere/AppServer/plugins # l
total 96380
drwxr-xr-x   2 root root     4096 Mar 15 19:05 ./
drwxr-xr-x  32 root root     4096 Mar 23 19:37 ../
-rwxr-xr-x   1 root root     5050 Mar 15 19:04 com.ibm.cds_1.0.0.jar*
-rwxr-xr-x   1 root root  1690001 Mar 15 19:04 com.ibm.events.client_6.1.0.jar*
-rwxr-xr-x   1 root root   264377 Mar 15 19:04 com.ibm.events.service_6.1.0.jar*
-rwxr-xr-x   1 root root  2153341 Mar 15 19:05 com.ibm.uddi_1.0.0.jar*
-rwxr-xr-x   1 root root    53131 Mar 15 19:04 com.ibm.ws.bootstrap_6.1.0.jar*
-rwxr-xr-x   1 root root     2580 Mar 15 19:04 com.ibm.ws.debug.osgi_6.1.0.jar*
-rwxr-xr-x   1 root root    77521 Mar 15 19:04 com.ibm.ws.ejbportable_6.1.0.jar*
-rwxr-xr-x   1 root root  3355425 Mar 15 19:04 com.ibm.ws.emf_2.1.0.jar*
-rwxr-xr-x   1 root root    30702 Mar 15 19:04 com.ibm.ws.esi_6.1.0.jar*
-rwxr-xr-x   1 root root      476 Mar 15 19:04 com.ibm.ws.jdt.core_6.1.0.jar*
-rwxr-xr-x   1 root root   992820 Mar 15 19:04 com.ibm.ws.migration_6.1.0.jar*
-rwxr-xr-x   1 root root      698 Mar 15 19:04 com.ibm.ws.portletcontainer.ext_2.0.0.jar*
-rwxr-xr-x   1 root root   617233 Mar 15 19:04 com.ibm.ws.portletcontainer_2.0.0.jar*
-rwxr-xr-x   1 root root    40032 Mar 15 19:04 com.ibm.ws.proxy.admin_6.1.0.jar*
-rwxr-xr-x   1 root root   677154 Mar 15 19:04 com.ibm.ws.proxy_6.1.0.jar*
-rwxr-xr-x   1 root root   212393 Mar 15 19:04 com.ibm.ws.runtime.coregroupbridge_6.1.0.jar*
-rwxr-xr-x   1 root root  1927095 Mar 15 19:04 com.ibm.ws.runtime.dist_6.1.0.jar*
-rwxr-xr-x   1 root root     1736 Mar 15 19:04 com.ibm.ws.runtime.gateway_6.1.0.jar*
-rwxr-xr-x   1 root root 52695347 Mar 15 19:04 com.ibm.ws.runtime_6.1.0.jar*
-rwxr-xr-x   1 root root    11280 Mar 15 19:04 com.ibm.ws.security.crypto_6.1.0.jar*
-rwxr-xr-x   1 root root 11747203 Mar 15 19:05 com.ibm.ws.sib.server_2.0.0.jar*
-rwxr-xr-x   1 root root    82759 Mar 15 19:05 com.ibm.ws.sib.utils_2.0.0.jar*
-rwxr-xr-x   1 root root   535994 Mar 15 19:05 com.ibm.ws.sib.wccm_2.0.0.jar*
-rwxr-xr-x   1 root root     6036 Mar 15 19:05 com.ibm.ws.sib.webservices.wsgw_2.0.0.jar*
-rwxr-xr-x   1 root root  1165848 Mar 15 19:05 com.ibm.ws.sip.container_6.1.0.jar*
-rwxr-xr-x   1 root root   227546 Mar 15 19:05 com.ibm.ws.sip.proxy_6.1.0.jar*
-rwxr-xr-x   1 root root    28349 Mar 15 19:04 com.ibm.ws.wccm.compatibility_6.1.0.jar*
-rwxr-xr-x   1 root root  9221351 Mar 15 19:04 com.ibm.ws.wccm_6.1.0.jar*
-rwxr-xr-x   1 root root  3241897 Mar 15 19:04 com.ibm.ws.webcontainer_2.0.0.jar*
-rwxr-xr-x   1 root root   444714 Mar 15 19:04 com.ibm.ws.webui_6.1.0.jar*
-rwxr-xr-x   1 root root    14569 Mar 15 19:04 com.ibm.wsspi.extension_6.1.0.jar*
-rwxr-xr-x   1 root root     3447 Mar 15 19:04 com.ibm.wsspi.proxy.extension_6.1.0.jar*
-rwxr-xr-x   1 root root   795899 Mar 15 19:05 com.ibm.wsspi.rrd_6.1.0.jar*
-rwxr-xr-x   1 root root    88809 Mar 15 19:04 org.eclipse.ant.core_3.1.1.jar*
-rwxr-xr-x   1 root root   613515 Mar 15 19:04 org.eclipse.core.resources_3.1.2.jar*
-rwxr-xr-x   1 root root    85083 Mar 15 19:04 org.eclipse.core.runtime.compatibility_3.1.0.jar*
-rwxr-xr-x   1 root root   454385 Mar 15 19:04 org.eclipse.core.runtime_3.1.2.jar*
-rwxr-xr-x   1 root root    25068 Mar 15 19:04 org.eclipse.core.variables_3.1.0.jar*
-rwxr-xr-x   1 root root  3570737 Mar 15 19:04 org.eclipse.jdt.core_3.1.2.jar*
-rwxr-xr-x   1 root root   751589 Mar 15 19:04 org.eclipse.osgi_3.1.2.jar*
-rwxr-xr-x   1 root root   220497 Mar 15 19:04 org.eclipse.team.core_3.1.1.jar*
-rwxr-xr-x   1 root root   183187 Mar 15 19:04 org.eclipse.text_3.1.1.jar*
-rwxr-xr-x   1 root root    91271 Mar 15 19:04 org.eclipse.update.configurator_3.1.0.jar*

Open in new window

0
HonorGodSoftware EngineerCommented:
What version of WebSphere is being used?

  It looks like 6.1 something

Does the versionInfo command script work?

  For my 6.1 environment I used the stuff shown in the second code section (below), and saw that
WSLauncher class was being loaded from:

/opt/IBM/WebSphere/AppServer/plugins/com.ibm.ws.runtime_6.1.0.jar

Which you appear to have.

  Can you:

# cd opt/IBM/WebSphere/AppServer/bin
# . ./setupCmdLine.sh
# cd ../plugins
# jar -t com.ibm.ws.runtime_6.1.0.jar | grep WSLauncher


  I'm not 100% certain that this jar -t will work.  I have to go get my son from school and get back online after I get home...
cd /opt/IBM/WebSphere/AppServer/bin
./versionInfo.sh

Open in new window

export JVM_EXTRA_CMD_ARGS=-verbose
./startServer.sh server1 -profileName AppSrv01

Open in new window

0
ArrismogAuthor Commented:
@HonorGod

Yes, versionInfo.sh works:
/opt/IBM/WebSphere/AppServer/bin # ./versionInfo.sh
WVER0010I: Copyright (c) IBM Corporation 2002, 2005; All rights reserved.
WVER0012I: VersionInfo reporter version 1.15.1.13, dated 3/29/06

--------------------------------------------------------------------------------
IBM WebSphere Application Server Product Installation Status Report
--------------------------------------------------------------------------------

Report at date and time April 4, 2011 12:53:01 PM CDT

Installation
--------------------------------------------------------------------------------
Product Directory        /opt/IBM/WebSphere/AppServer
Version Directory        /opt/IBM/WebSphere/AppServer/properties/version
DTD Directory            /opt/IBM/WebSphere/AppServer/properties/version/dtd
Log Directory            /opt/IBM/WebSphere/AppServer/logs
Backup Directory         /opt/IBM/WebSphere/AppServer/properties/version/nif/backup
TMP Directory            /tmp

Product List
--------------------------------------------------------------------------------
ND                       installed

Installed Product
--------------------------------------------------------------------------------
Name                     IBM WebSphere Application Server - ND
Version                  6.1.0.0
ID                       ND
Build Level              b0620.14
Build Date               5/16/06

--------------------------------------------------------------------------------
End Installation Status Report
--------------------------------------------------------------------------------

Open in new window


Issuing jar -t com.ibm.ws.runtime_6.1.0.jar | grep WSLauncher  gets hanged for a reasonable time (15 minutes and still running), at the moment, no output is displayed

Issuing startServer with verbose mode outputs the following, in fact, the only error I'm seeing is the "The java class is not found:  com.ibm.ws.bootstrap.WSLauncher" error, I suppose it stops after trying to look for this one...



/opt/IBM/WebSphere/AppServer/profiles/AppSrv01/bin # ./startServer.sh server1 -profileName AppSrv01
class load: java/lang/Object
class load: java/lang/J9VMInternals
class load: java/io/Serializable
class load: java/lang/reflect/GenericDeclaration
class load: java/lang/reflect/Type
class load: java/lang/reflect/AnnotatedElement
class load: java/lang/Class
class load: void
class load: boolean
class load: java/lang/Cloneable
class load: boolean[]
class load: char
class load: char[]
class load: float
class load: float[]
class load: double
class load: double[]
class load: byte
class load: byte[]
class load: short
class load: short[]
class load: int
class load: int[]
class load: long
class load: long[]
class load: java/lang/Comparable
class load: java/lang/CharSequence
class load: java/lang/String
class load: java/util/Comparator
class load: java/lang/String$CaseInsensitiveComparator
class load: java/io/ObjectStreamField
class load: java/io/ObjectStreamField[]
class load: java/lang/Class[]
class load: java/lang/Runnable
class load: java/lang/Thread
class load: java/security/Guard
class load: java/security/Permission
class load: java/security/BasicPermission
class load: java/lang/RuntimePermission
class load: java/lang/StackTraceElement
class load: java/lang/Throwable
class load: java/lang/Error
class load: java/lang/VirtualMachineError
class load: java/lang/OutOfMemoryError
class load: sun/reflect/MagicAccessorImpl
class load: sun/reflect/ConstructorAccessor
class load: sun/reflect/ConstructorAccessorImpl
class load: sun/reflect/MethodAccessor
class load: sun/reflect/MethodAccessorImpl
class load: java/lang/Thread$UncaughtExceptionHandler
class load: java/lang/ThreadGroup
class load: java/lang/Thread[]
class load: java/lang/ThreadGroup[]
class load: java/lang/ClassLoader
class load: java/security/cert/Certificate
class load: java/security/cert/Certificate[]
class load: java/lang/System
class load: java/lang/Runtime
class load: java/lang/Math
class load: com/ibm/jvm/Util
class load: java/lang/Exception
class load: java/lang/ClassNotFoundException
class load: java/lang/Number
class load: java/lang/Double
class load: java/util/Dictionary
class load: java/util/Map
class load: java/util/Hashtable
class load: java/util/Properties
class load: java/util/Map$Entry
class load: java/util/MapEntry
class load: java/util/Hashtable$Entry
class load: java/util/Hashtable$Entry[]
class load: java/util/Enumeration
class load: java/util/Hashtable$HashEnumerator
class load: com/ibm/oti/util/Util
class load: com/ibm/oti/vm/VM
class load: java/lang/String[]
class load: java/lang/StringCoding
class load: java/lang/ThreadLocal
class load: java/lang/ThreadLocal$ThreadLocalMap
class load: java/lang/ref/Reference
class load: java/lang/ref/WeakReference
class load: java/lang/ThreadLocal$ThreadLocalMap$Entry
class load: java/lang/ThreadLocal$ThreadLocalMap$Entry[]
class load: java/lang/StringCoding$DecoderCache
class load: java/security/PrivilegedAction
class load: java/lang/StringCoding$1
class load: java/security/AccessController
class load: java/lang/Object[]
class load: java/security/PrivilegedExceptionAction
class load: java/lang/StringCoding$DecoderCache$1
class load: sun/io/Converters
class load: java/lang/ref/SoftReference
class load: java/lang/ref/SoftReference[]
class load: java/lang/ref/SoftReference[][]
class load: sun/security/action/GetPropertyAction
class load: sun/io/ByteToCharConverter
class load: sun/io/CharacterEncoding
class load: java/util/AbstractMap
class load: java/util/HashMap
class load: java/lang/Float
class load: java/util/HashMap$Entry
class load: java/util/HashMap$Entry[]
class load: java/util/Collections
class load: java/util/Random
class load: java/lang/Iterable
class load: java/util/Collection
class load: java/util/AbstractCollection
class load: java/util/Set
class load: java/util/AbstractSet
class load: java/util/Collections$EmptySet
class load: java/util/List
class load: java/util/AbstractList
class load: java/util/RandomAccess
class load: java/util/Collections$EmptyList
class load: java/util/Collections$EmptyMap
class load: java/util/Collections$ReverseComparator
class load: java/util/Collections$UnmodifiableMap
class load: java/util/Locale
class load: java/lang/Character
class load: java/lang/CharacterDataLatin1
class load: java/lang/Appendable
class load: java/lang/StringBuilder
class load: sun/io/ByteToCharUTF8
class load: sun/misc/VM
class load: java/lang/StringCoding$EncoderCache
class load: java/lang/StringCoding$2
class load: java/lang/StringCoding$EncoderCache$1
class load: sun/io/CharToByteConverter
class load: sun/io/CharToByteUTF8
class load: java/io/Closeable
class load: java/io/Flushable
class load: java/io/OutputStream
class load: java/io/FilterOutputStream
class load: java/io/BufferedOutputStream
class load: java/io/FileOutputStream
class load: java/io/FileDescriptor
class load: java/io/PrintStream
class load: com/ibm/jvm/io/ConsolePrintStream
class load: java/io/InputStream
class load: java/io/FilterInputStream
class load: com/ibm/jvm/io/LocalizedInputStream
class load: java/util/zip/ZipConstants
class load: java/util/zip/ZipFile
class load: sun/security/action/LoadLibraryAction
class load: java/util/Vector
class load: java/util/zip/ZipFile$ZipFileInputStream
class load: com/ibm/jvm/io/LocalizedInputStream$1
class load: java/io/Writer
class load: java/io/OutputStreamWriter
class load: sun/nio/cs/StreamEncoder
class load: sun/nio/cs/StreamEncoder$ConverterSE
class load: java/io/BufferedWriter
class load: com/ibm/misc/SystemIntialization
class load: com/ibm/oti/vm/AbstractClassLoader
class load: com/ibm/oti/vm/BootstrapClassLoader
class load: java/lang/Integer
class load: sun/misc/Launcher
class load: java/lang/Package
class load: java/util/Hashtable$HashtableCacheHashEntry
class load: java/net/URLStreamHandlerFactory
class load: sun/misc/Launcher$Factory
class load: java/security/SecureClassLoader
class load: java/net/URLClassLoader
class load: sun/misc/Launcher$ExtClassLoader
class load: sun/security/util/Debug
class load: java/util/StringTokenizer
class load: java/io/File
class load: java/io/FileSystem
class load: java/io/UnixFileSystem
class load: java/io/ExpiringCache
class load: java/util/LinkedHashMap
class load: java/io/ExpiringCache$1
class load: java/util/LinkedHashMap$Entry
class load: java/io/File[]
class load: sun/misc/Launcher$ExtClassLoader$1
class load: java/io/FilenameFilter
class load: sun/misc/JarFilter
class load: java/nio/charset/Charset
class load: java/nio/charset/Charset$1
class load: java/nio/charset/spi/CharsetProvider
class load: com/ibm/nio/cs/CharsetContains
class load: com/ibm/nio/cs/IBMCharsets
class load: sun/nio/cs/StandardCharsets
class load: java/util/SortedMap
class load: java/util/TreeMap
class load: java/util/TreeMap$Entry
class load: java/lang/Long
class load: sun/nio/cs/HistoricallyNamedCharset
class load: com/ibm/nio/cs/Converter
class load: java/util/ArrayList
class load: java/lang/reflect/Array
class load: java/io/ExpiringCache$Entry
class load: sun/net/www/ParseUtil
class load: java/util/BitSet
class load: java/net/URL
class load: java/net/Parts
class load: java/net/URLStreamHandler
class load: sun/net/www/protocol/file/Handler
class load: java/net/URL[]
class load: com/ibm/oti/shared/Shared
class load: com/ibm/oti/util/PriviAction
class load: sun/misc/URLClassPath
class load: java/util/Stack
class load: sun/net/www/protocol/jar/Handler
class load: java/security/AccessControlContext
class load: java/security/SecurityPermission
class load: java/security/ProtectionDomain
class load: java/security/ProtectionDomain[]
class load: sun/misc/Launcher$AppClassLoader
class load: sun/misc/Launcher$AppClassLoader$1
class load: java/io/BufferedInputStream
class load: java/util/concurrent/atomic/AtomicReferenceFieldUpdater
class load: java/util/concurrent/atomic/AtomicReferenceFieldUpdater$AtomicReferenceFieldUpdaterImpl
class load: sun/misc/Unsafe
class load: sun/reflect/Reflection
class load: java/util/Collections$SynchronizedMap
class load: java/lang/reflect/AccessibleObject
class load: java/lang/reflect/Member
class load: java/lang/reflect/Field
class load: java/lang/reflect/ReflectPermission
class load: sun/reflect/ReflectionFactory$GetReflectionFactoryAction
class load: sun/reflect/ReflectionFactory
class load: java/lang/annotation/Annotation
class load: java/lang/annotation/Annotation[]
class load: sun/reflect/misc/ReflectUtil
class load: java/lang/reflect/Modifier
class load: sun/reflect/LangReflectAccess
class load: java/lang/reflect/ReflectAccess
class load: java/io/FileInputStream
class load: com/ibm/jvm/io/ConsoleInputStream
class load: java/lang/Terminator
class load: sun/misc/SignalHandler
class load: java/lang/Terminator$1
class load: sun/misc/Signal
class load: com/ibm/misc/AbstractSignalInfo
class load: com/ibm/misc/SignalInfo
class load: sun/misc/NativeSignalHandler
class load: java/lang/Void
class load: java/lang/reflect/Method
class load: java/lang/Boolean
class load: java/lang/Byte
class load: java/lang/Short
class load: java/lang/StringBuffer
class load: com/ibm/misc/SignalDispatcher
class load: java/lang/reflect/Constructor
class load: java/util/WeakHashMap
class load: java/lang/ref/ReferenceQueue
class load: java/lang/ref/Reference[]
class load: java/util/WeakHashMap$Entry
class load: java/util/WeakHashMap$Entry[]
class load: java/util/regex/Pattern
class load: java/util/regex/Pattern$Node
class load: java/util/regex/Pattern$LastNode
class load: java/util/regex/Pattern$GroupHead
class load: java/util/regex/Pattern$GroupHead[]
class load: java/util/regex/Pattern$Ctype
class load: java/util/regex/ASCII
class load: java/util/regex/Pattern$Curly
class load: java/util/regex/Pattern$Slice
class load: java/util/regex/Pattern$Begin
class load: java/util/regex/Pattern$First
class load: java/util/regex/Pattern$Start
class load: java/util/regex/Pattern$TreeInfo
class load: java/util/regex/MatchResult
class load: java/util/regex/Matcher
class load: com/ibm/misc/JavaRuntimeVersion
class load: java/lang/ThreadDeath
class load: com/ibm/jvm/Trace
class load: java/net/URLClassLoader$ClassFinder
class load: sun/misc/URLClassPath$3
class load: sun/misc/URLClassPath$Loader
class load: sun/misc/URLClassPath$JarLoader
class load: sun/misc/FileURLMapper
class load: java/util/jar/JarFile
class load: sun/misc/JavaUtilJarAccess
class load: java/util/jar/JavaUtilJarAccessImpl
class load: sun/misc/SharedSecrets
class load: sun/misc/JarIndex
class load: java/util/zip/ZipEntry
class load: java/util/jar/JarEntry
class load: sun/misc/ExtensionDependency
class load: java/util/jar/JarFile$JarFileEntry
class load: java/io/DataInput
class load: java/io/DataInputStream
class load: java/util/zip/InflaterInputStream
class load: java/util/zip/ZipFile$2
class load: java/util/zip/Inflater
class load: java/security/PrivilegedActionException
class load: sun/misc/URLClassPath$FileLoader
class load: java/io/IOException
class load: java/util/zip/ZipException
class load: java/lang/RuntimeException
class load: java/io/FileNotFoundException
class load: java/lang/LinkageError
class load: java/lang/NoClassDefFoundError
The java class is not found:  com.ibm.ws.bootstrap.WSLauncher
class load: java/lang/Shutdown
class load: java/lang/Shutdown$Lock

Open in new window

0
HonorGodSoftware EngineerCommented:
ok, what do you get in the startServer.log file after you try:

./startServer.sh <serverName> -profileName <profileName> -trace
0
ArrismogAuthor Commented:
Hi HonorGod

Running the startServer with the -trace option outputs the same result as with the verbose mode:


/opt/IBM/WebSphere/AppServer/profiles/AppSrv01/bin # ./startServer.sh server1 -profileName AppSrv01 -trace
class load: java/lang/Object
class load: java/lang/J9VMInternals
class load: java/io/Serializable
class load: java/lang/reflect/GenericDeclaration
class load: java/lang/reflect/Type
class load: java/lang/reflect/AnnotatedElement
class load: java/lang/Class
class load: void
class load: boolean
class load: java/lang/Cloneable
class load: boolean[]
class load: char
class load: char[]
class load: float
class load: float[]
class load: double
class load: double[]
class load: byte
class load: byte[]
class load: short
class load: short[]
class load: int
class load: int[]
class load: long
class load: long[]
class load: java/lang/Comparable
class load: java/lang/CharSequence
class load: java/lang/String
class load: java/util/Comparator
class load: java/lang/String$CaseInsensitiveComparator
class load: java/io/ObjectStreamField
class load: java/io/ObjectStreamField[]
class load: java/lang/Class[]
class load: java/lang/Runnable
class load: java/lang/Thread
class load: java/security/Guard
class load: java/security/Permission
class load: java/security/BasicPermission
class load: java/lang/RuntimePermission
class load: java/lang/StackTraceElement
class load: java/lang/Throwable
class load: java/lang/Error
class load: java/lang/VirtualMachineError
class load: java/lang/OutOfMemoryError
class load: sun/reflect/MagicAccessorImpl
class load: sun/reflect/ConstructorAccessor
class load: sun/reflect/ConstructorAccessorImpl
class load: sun/reflect/MethodAccessor
class load: sun/reflect/MethodAccessorImpl
class load: java/lang/Thread$UncaughtExceptionHandler
class load: java/lang/ThreadGroup
class load: java/lang/Thread[]
class load: java/lang/ThreadGroup[]
class load: java/lang/ClassLoader
class load: java/security/cert/Certificate
class load: java/security/cert/Certificate[]
class load: java/lang/System
class load: java/lang/Runtime
class load: java/lang/Math
class load: com/ibm/jvm/Util
class load: java/lang/Exception
class load: java/lang/ClassNotFoundException
class load: java/lang/Number
class load: java/lang/Double
class load: java/util/Dictionary
class load: java/util/Map
class load: java/util/Hashtable
class load: java/util/Properties
class load: java/util/Map$Entry
class load: java/util/MapEntry
class load: java/util/Hashtable$Entry
class load: java/util/Hashtable$Entry[]
class load: java/util/Enumeration
class load: java/util/Hashtable$HashEnumerator
class load: com/ibm/oti/util/Util
class load: com/ibm/oti/vm/VM
class load: java/lang/String[]
class load: java/lang/StringCoding
class load: java/lang/ThreadLocal
class load: java/lang/ThreadLocal$ThreadLocalMap
class load: java/lang/ref/Reference
class load: java/lang/ref/WeakReference
class load: java/lang/ThreadLocal$ThreadLocalMap$Entry
class load: java/lang/ThreadLocal$ThreadLocalMap$Entry[]
class load: java/lang/StringCoding$DecoderCache
class load: java/security/PrivilegedAction
class load: java/lang/StringCoding$1
class load: java/security/AccessController
class load: java/lang/Object[]
class load: java/security/PrivilegedExceptionAction
class load: java/lang/StringCoding$DecoderCache$1
class load: sun/io/Converters
class load: java/lang/ref/SoftReference
class load: java/lang/ref/SoftReference[]
class load: java/lang/ref/SoftReference[][]
class load: sun/security/action/GetPropertyAction
class load: sun/io/ByteToCharConverter
class load: sun/io/CharacterEncoding
class load: java/util/AbstractMap
class load: java/util/HashMap
class load: java/lang/Float
class load: java/util/HashMap$Entry
class load: java/util/HashMap$Entry[]
class load: java/util/Collections
class load: java/util/Random
class load: java/lang/Iterable
class load: java/util/Collection
class load: java/util/AbstractCollection
class load: java/util/Set
class load: java/util/AbstractSet
class load: java/util/Collections$EmptySet
class load: java/util/List
class load: java/util/AbstractList
class load: java/util/RandomAccess
class load: java/util/Collections$EmptyList
class load: java/util/Collections$EmptyMap
class load: java/util/Collections$ReverseComparator
class load: java/util/Collections$UnmodifiableMap
class load: java/util/Locale
class load: java/lang/Character
class load: java/lang/CharacterDataLatin1
class load: java/lang/Appendable
class load: java/lang/StringBuilder
class load: sun/io/ByteToCharUTF8
class load: sun/misc/VM
class load: java/lang/StringCoding$EncoderCache
class load: java/lang/StringCoding$2
class load: java/lang/StringCoding$EncoderCache$1
class load: sun/io/CharToByteConverter
class load: sun/io/CharToByteUTF8
class load: java/io/Closeable
class load: java/io/Flushable
class load: java/io/OutputStream
class load: java/io/FilterOutputStream
class load: java/io/BufferedOutputStream
class load: java/io/FileOutputStream
class load: java/io/FileDescriptor
class load: java/io/PrintStream
class load: com/ibm/jvm/io/ConsolePrintStream
class load: java/io/InputStream
class load: java/io/FilterInputStream
class load: com/ibm/jvm/io/LocalizedInputStream
class load: java/util/zip/ZipConstants
class load: java/util/zip/ZipFile
class load: sun/security/action/LoadLibraryAction
class load: java/util/Vector
class load: java/util/zip/ZipFile$ZipFileInputStream
class load: com/ibm/jvm/io/LocalizedInputStream$1
class load: java/io/Writer
class load: java/io/OutputStreamWriter
class load: sun/nio/cs/StreamEncoder
class load: sun/nio/cs/StreamEncoder$ConverterSE
class load: java/io/BufferedWriter
class load: com/ibm/misc/SystemIntialization
class load: com/ibm/oti/vm/AbstractClassLoader
class load: com/ibm/oti/vm/BootstrapClassLoader
class load: java/lang/Integer
class load: sun/misc/Launcher
class load: java/lang/Package
class load: java/util/Hashtable$HashtableCacheHashEntry
class load: java/net/URLStreamHandlerFactory
class load: sun/misc/Launcher$Factory
class load: java/security/SecureClassLoader
class load: java/net/URLClassLoader
class load: sun/misc/Launcher$ExtClassLoader
class load: sun/security/util/Debug
class load: java/util/StringTokenizer
class load: java/io/File
class load: java/io/FileSystem
class load: java/io/UnixFileSystem
class load: java/io/ExpiringCache
class load: java/util/LinkedHashMap
class load: java/io/ExpiringCache$1
class load: java/util/LinkedHashMap$Entry
class load: java/io/File[]
class load: sun/misc/Launcher$ExtClassLoader$1
class load: java/io/FilenameFilter
class load: sun/misc/JarFilter
class load: java/nio/charset/Charset
class load: java/nio/charset/Charset$1
class load: java/nio/charset/spi/CharsetProvider
class load: com/ibm/nio/cs/CharsetContains
class load: com/ibm/nio/cs/IBMCharsets
class load: sun/nio/cs/StandardCharsets
class load: java/util/SortedMap
class load: java/util/TreeMap
class load: java/util/TreeMap$Entry
class load: java/lang/Long
class load: sun/nio/cs/HistoricallyNamedCharset
class load: com/ibm/nio/cs/Converter
class load: java/util/ArrayList
class load: java/lang/reflect/Array
class load: java/io/ExpiringCache$Entry
class load: sun/net/www/ParseUtil
class load: java/util/BitSet
class load: java/net/URL
class load: java/net/Parts
class load: java/net/URLStreamHandler
class load: sun/net/www/protocol/file/Handler
class load: java/net/URL[]
class load: com/ibm/oti/shared/Shared
class load: com/ibm/oti/util/PriviAction
class load: sun/misc/URLClassPath
class load: java/util/Stack
class load: sun/net/www/protocol/jar/Handler
class load: java/security/AccessControlContext
class load: java/security/SecurityPermission
class load: java/security/ProtectionDomain
class load: java/security/ProtectionDomain[]
class load: sun/misc/Launcher$AppClassLoader
class load: sun/misc/Launcher$AppClassLoader$1
class load: java/io/BufferedInputStream
class load: java/util/concurrent/atomic/AtomicReferenceFieldUpdater
class load: java/util/concurrent/atomic/AtomicReferenceFieldUpdater$AtomicReferenceFieldUpdaterImpl
class load: sun/misc/Unsafe
class load: sun/reflect/Reflection
class load: java/util/Collections$SynchronizedMap
class load: java/lang/reflect/AccessibleObject
class load: java/lang/reflect/Member
class load: java/lang/reflect/Field
class load: java/lang/reflect/ReflectPermission
class load: sun/reflect/ReflectionFactory$GetReflectionFactoryAction
class load: sun/reflect/ReflectionFactory
class load: java/lang/annotation/Annotation
class load: java/lang/annotation/Annotation[]
class load: sun/reflect/misc/ReflectUtil
class load: java/lang/reflect/Modifier
class load: sun/reflect/LangReflectAccess
class load: java/lang/reflect/ReflectAccess
class load: java/io/FileInputStream
class load: com/ibm/jvm/io/ConsoleInputStream
class load: java/lang/Terminator
class load: sun/misc/SignalHandler
class load: java/lang/Terminator$1
class load: sun/misc/Signal
class load: com/ibm/misc/AbstractSignalInfo
class load: com/ibm/misc/SignalInfo
class load: sun/misc/NativeSignalHandler
class load: java/lang/Void
class load: java/lang/reflect/Method
class load: java/lang/Boolean
class load: java/lang/Byte
class load: java/lang/Short
class load: java/lang/StringBuffer
class load: com/ibm/misc/SignalDispatcher
class load: java/lang/reflect/Constructor
class load: java/util/WeakHashMap
class load: java/lang/ref/ReferenceQueue
class load: java/lang/ref/Reference[]
class load: java/util/WeakHashMap$Entry
class load: java/util/WeakHashMap$Entry[]
class load: java/util/regex/Pattern
class load: java/util/regex/Pattern$Node
class load: java/util/regex/Pattern$LastNode
class load: java/util/regex/Pattern$GroupHead
class load: java/util/regex/Pattern$GroupHead[]
class load: java/util/regex/Pattern$Ctype
class load: java/util/regex/ASCII
class load: java/util/regex/Pattern$Curly
class load: java/util/regex/Pattern$Slice
class load: java/util/regex/Pattern$Begin
class load: java/util/regex/Pattern$First
class load: java/util/regex/Pattern$Start
class load: java/util/regex/Pattern$TreeInfo
class load: java/util/regex/MatchResult
class load: java/util/regex/Matcher
class load: com/ibm/misc/JavaRuntimeVersion
class load: java/lang/ThreadDeath
class load: com/ibm/jvm/Trace
class load: java/net/URLClassLoader$ClassFinder
class load: sun/misc/URLClassPath$3
class load: sun/misc/URLClassPath$Loader
class load: sun/misc/URLClassPath$JarLoader
class load: sun/misc/FileURLMapper
class load: java/util/jar/JarFile
class load: sun/misc/JavaUtilJarAccess
class load: java/util/jar/JavaUtilJarAccessImpl
class load: sun/misc/SharedSecrets
class load: sun/misc/JarIndex
class load: java/util/zip/ZipEntry
class load: java/util/jar/JarEntry
class load: sun/misc/ExtensionDependency
class load: java/util/jar/JarFile$JarFileEntry
class load: java/io/DataInput
class load: java/io/DataInputStream
class load: java/util/zip/InflaterInputStream
class load: java/util/zip/ZipFile$2
class load: java/util/zip/Inflater
class load: java/security/PrivilegedActionException
class load: sun/misc/URLClassPath$FileLoader
class load: java/io/IOException
class load: java/util/zip/ZipException
class load: java/lang/RuntimeException
class load: java/io/FileNotFoundException
class load: java/lang/LinkageError
class load: java/lang/NoClassDefFoundError
The java class is not found:  com.ibm.ws.bootstrap.WSLauncher
class load: java/lang/Shutdown
class load: java/lang/Shutdown$Lock

Open in new window

0
HonorGodSoftware EngineerCommented:
on the command line, or in the startServer.log file?
0
ArrismogAuthor Commented:
The output was from the command line, no output from the startServer.log was displayed from that command.
0
HonorGodSoftware EngineerCommented:
ok, the output was written to the console because you still had that environment variable (JVM_EXTRA_CMD_ARGS) defined

ok, please:

- open a new command prompt
- cd to the appropriate logs directory e.g.,
  cd /opt/IBM/WebSphere/AppServer/profiles/AppSrv01/logs/server1
- either move the contents somewhere , or just remove the files
- cd back to the bin directory
  /opt/IBM/WebSphere/AppServer/profiles/AppSrv01/
- try the startServer again, with the -trace
- zip up the logs directory, and attach it here.

Thanks!
0
ArrismogAuthor Commented:
Hmmmm pretty strange, no log is created, I :

1. opened a new command prompt
2. went to /opt/IBM/WebSphere/AppServer/profiles/AppSrv01/logs/server1 , where the logs should be created
3. rm * all logs in that directory
4. Ran ./startServer.sh server1 -profileName AppSrv01 -trace from the corresponding bin directory
5. This time the only output from the command line was :
The java class is not found:  com.ibm.ws.bootstrap.WSLauncher
6. No logs were created, just in case if they were created in another folder, I ran
find / -mtime -1 -print  
just to see if there were any other Websphere log-related file created (in the last 24 hours just in case), but none were modified or created at the time when I launched the startServer this time

0
HonorGodSoftware EngineerCommented:
What messages were written to the screen when you issued the startServer command?
0
ArrismogAuthor Commented:
Just one output was sent:

/opt/IBM/WebSphere/AppServer/profiles/AppSrv01/bin # ./startServer.sh server1 -profileName AppSrv01
The java class is not found:  com.ibm.ws.bootstrap.WSLauncher
/opt/IBM/WebSphere/AppServer/profiles/AppSrv01/bin #

No log was/is generated, seems as this installation got messed up. I think that at this point and considering all options, a new Websphere installation, along all apps previously installed, is the best option :(
0
HonorGodSoftware EngineerCommented:
I'm afraid so.

It's either that, or contact IBM Technical support and open a Problem Management Record.

Sorry.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
ArrismogAuthor Commented:
We tried all possibilities available, I greatly thank HonorGod for staying at the end
0
HonorGodSoftware EngineerCommented:
Thanks for the grade & points.

Good luck & have a great day.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Application Servers

From novice to tech pro — start learning today.