cancel
Showing results for 
Search instead for 
Did you mean: 

Java Server Startup error during sapinst NW2004s SR1

Former Member
0 Kudos

Hi Folks,

Anyone experimented this error during while installing NW2004s SR1 on HPUX, java version 1.4.2.12, Oracle 10.2.0.2 ??

Sapinst hangs at Java Startup Step for hours, Dispatcher comes up OK, but the

java Server doesn't.

Thanks for your help.

Here is the std_server0.out file :

-


stdout/stderr redirect

-


node name : server0

pid : 11322

system name : EZ3

system nr. : 43

started at : Tue Feb 20 09:37:31 2007

[Thr 1] Tue Feb 20 09:37:33 2007

[Thr 1] MtxInit: -2 0 0

SAP J2EE Engine Version 7.00 PatchLevel is starting...

Error occurred while preloading classes of security providers from jre/lib/ext folder: jav

a.util.zip.ZipException: error in opening zip file

Loading: LogManager ... 3880 ms.

Loading: PoolManager ... 8 ms.

Loading: ApplicationThreadManager ... 536 ms.

Loading: ThreadManager ... 73 ms.

Loading: IpVerificationManager ... 167 ms.

Loading: ClassLoaderManager ... 194 ms.

Loading: ClusterManager ... 2312 ms.

Loading: LockingManager ... 498 ms.

Loading: ConfigurationManager ... 0.000: [GC 0.001: [ParNew: 87040K->3443K(130560K), 0.098

2672 secs] 87040K->3443K(1005056K), 0.0986039 secs]

1.808: [GC 1.808: [ParNew: 90483K->3099K(130560K), 0.0415189 secs] 90483K->3099K(1005056K)

, 0.0418049 secs]

25675 ms.

Loading: LicensingManager ... 214 ms.

Loading: CacheManager ... 2824 ms.

Loading: ServiceManager ...

Loading services.:

Service memory started. (69 ms).

Service cross started. (48 ms).

Service file started. (91 ms).

Service runtimeinfo started. (36 ms).

Service timeout started. (123 ms).

Service p4 started. (867 ms).

Service classpath_resolver started. (76 ms).

Service log_configurator started. (6296 ms).

Service locking started. (16 ms).

32.249: [GC 32.250: [ParNew: 90139K->13016K(130560K), 0.2134920 secs] 90139K->13016K(10050

56K), 0.2138817 secs]

Service naming started. (1396 ms).

service javamail ================= ERROR =================

service ts ================= ERROR =================

Cannot start service iiop; it has hard reference to service ts which is not started.

Cannot start service licensing; it has hard reference to service ts which is not started

.

Timed out services:

Service shell > hard reference to interface security.

Service bimmrdeployer > hard reference to interface container.

Service MigrationService > hard reference to interface container.

ServiceManager started for 307650 ms.

Framework started for 344321 ms.

SAP J2EE Engine Version 7.00 PatchLevel is running!

PatchLevel June 17, 2006 13:05 GMT

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi guys,

I tried to re-install the NW2004s SR1 with different Oracle DVD source, same error.

I tried to re-install on Java 1.4.2.09 instead of 1.4.2.12, same error...

I added the Java Parameter -Xbootclasspath and I don't see the warning about the jre/lib, but the java server doesn't start, same error as before...

I found more usefull info on

/usr/sap/EZ3/DVEBMGS43/j2ee/cluster/server0/log/system

#1.5#00306E3707D8000B000000000000690500042A1C8D2A4CEE#1172202022652#/System/Server##com.sap.engine.frame.core.load.res.JarResource.openJar() /usr/sap/EZ3/DVEBMGS43/j2ee/cluster/server0/bin/ser

vices/javamail/javamail.jar#######SAPEngine_System_Thread[impl:5]_24##0#0#Error#1#com.sap.engine

.frame.core.load.res.JarResource#Plain###<b>java.util.zip.ZipException: reading zip file central directory failed</b>

at java.util.zip.ZipFile.open(Native Method)

at java.util.zip.ZipFile.<init>(ZipFile.java:124)

at java.util.jar.JarFile.<init>(JarFile.java:127)

at java.util.jar.JarFile.<init>(JarFile.java:65)

at com.sap.engine.boot.JarFilter.<init>(JarFilter.java:28)

at com.sap.engine.frame.core.load.res.JarResource.openJar(JarResource.java:404)

at com.sap.engine.frame.core.load.res.JarResource.getClassInfo(JarResource.java:130)

at com.sap.engine.frame.core.load.res.JarsResource.getClassInfo(JarsResource.java:43)

at com.sap.engine.frame.core.load.ResourceLoader.loadLocalClass(ResourceLoader.java:233)

at com.sap.engine.frame.core.load.ResourceLoader.loadClass(ResourceLoader.java:127)

at com.sap.engine.frame.core.load.ReferencedLoader.loadClass(ReferencedLoader.java:365)

at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)

at java.lang.Class.forName0(Native Method)

at java.lang.Class.forName(Class.java:219)

at com.sap.engine.core.service630.container.ServiceRunner.run(ServiceRunner.java:136)

at com.sap.engine.frame.core.thread.Task.run(Task.java:64)

at com.sap.engine.core.thread.impl5.SingleThread.execute(SingleThread.java:79)

at com.sap.engine.core.thread.impl5.SingleThread.run(SingleThread.java:150)

#

#1.5#00306E3707D8000B000000020000690500042A1C8D2A5EAA#1172202022657#/System/Server##com.sap.engi

ne.core.service630.container.ServiceRunner#######SAPEngine_System_Thread[impl:5]_24##0#0#Error#1

#com.sap.engine.core.service630.container.ServiceRunner#Plain###Service javamail error. Nested exception is: java.lang.ClassNotFoundException: com.sap.engine.services.javamail.server.JavaMailS

erverFrame^M

Former Member
0 Kudos

HI,

Check if javamail.jar exists in /usr/sap/EZ3/DVEBMGS43/j2ee/cluster/server0/bin/ser

vices/javamail/javamail.jar and make sure perm issions to access it set correctly (640 for jar file, 750 for directory). If you have unzip utility available, try to open javamail.jar and see it you get any problems extracting it content.

Regards,

Mike

Answers (7)

Answers (7)

phanikumar_akella
Participant
0 Kudos

Please check if the listner for Oracle running or not.

Former Member
0 Kudos

Hello David,

Thank you for the hint about IIOP service.

This services starts properly since I fixed the javamail.jar and the transactionext_api.jar files (Services javamail + ts)

Now my concerns are about the <b>timeouts</b> caused by the "<b>interface security</b>" and the

"<b>interface container</b>".

Here is the latest std_server0.out file:

-


stdout/stderr redirect

-


node name : server0

pid : 13880

system name : EZ3

system nr. : 43

started at : Thu Mar 1 08:42:09 2007

[Thr 1] MtxInit: -2 0 0

SAP J2EE Engine Version 7.00 PatchLevel is starting...

Error occurred while preloading classes of security providers from jre/lib/ext folder: java.util.zip.ZipException: error in opening zip file

Loading: LogManager ... 2783 ms.

Loading: PoolManager ... 15 ms.

Loading: ApplicationThreadManager ... 830 ms.

Loading: ThreadManager ... 113 ms.

Loading: IpVerificationManager ... 61 ms.

Loading: ClassLoaderManager ... 67 ms.

Loading: ClusterManager ... 2390 ms.

Loading: LockingManager ... 2547 ms.

Loading: ConfigurationManager ... 0.000: [GC 0.001: [ParNew: 87040K->3248K(130560K), 0.1227555 secs] 87040K->3248K(1005056K), 0.1231219 secs]

1.247: [GC 1.248: [ParNew: 90288K->3105K(130560K), 0.0611352 secs] 90288K->3105K(1005056K), 0.0614666 secs]

23050 ms.

Loading: LicensingManager ... 191 ms.

Loading: CacheManager ... 1932 ms.

Loading: ServiceManager ...

Loading services.:

Service runtimeinfo started. (113 ms).

Service memory started. (211 ms).

Service cross started. (241 ms).

Service timeout started. (254 ms).

Service file started. (538 ms).

Service p4 started. (652 ms).

Service classpath_resolver started. (81 ms).

Service log_configurator started. (12581 ms).

Service locking started. (13 ms).

44.117: [GC 44.117: [ParNew: 90145K->13112K(130560K), 0.6812383 secs] 90145K->13112K(1005056K), 0.6816423 secs]

Service naming started. (3984 ms).

Service javamail started. (333 ms).

Service ts started. (375 ms).

Service licensing started. (26 ms).

Service iiop started. (535 ms).

Timed out services:

Service shell > hard reference to interface security.

Service bimmrdeployer > hard reference to interface container.

Service MigrationService > hard reference to interface container.

ServiceManager started for 311713 ms.

Framework started for 346641 ms.

SAP J2EE Engine Version 7.00 PatchLevel is running!

PatchLevel June 17, 2006 13:05 GMT

Former Member
0 Kudos

I found in note 928216:

- Fixed a bug that was causing error message "Error occurred while preloading classes of security provider from jre/lib/ext folder", which was occurring when starting up the J2EE Engine.

This is one of the fixes for SP9. There has to be a note somewhere about the spacific error, I just have to found it yet.

Former Member
0 Kudos

Hi Folks,

Java Server doesn't come up. these 3 services time out...

Timed out services:

Service shell > hard reference to interface security.

Service bimmrdeployer > hard reference to interface container.

Service MigrationService > hard reference to interface container.

Anyone experimented this? What can cause these time out? What enables the "interface security" and the "interface container" ??

Thank you

Former Member
0 Kudos

If your IIOP is not starting this may trigger what you are seeing . In the PDF of 2004s component upgrade guide, page 22, section 4.4 refers to the install of ADS on the system. This is manditory for 2004s. IIOP must be set to always start. in the configtool. There is also a line of code that has to be entered in the java parameters of the general tab. Once this is added, restart the engine/install.

Former Member
0 Kudos

Thank you,

The files jamail.jar and transactionext_api.jar were present with the right permissions bur were empty !! size = 0.

I recopy these 2 files from another Instance, and finally the Java server came up without error.

Great way to start my week-end

Bye

former_member192343
Active Contributor
0 Kudos

adn check if the file java.util.zip exist in jre/lib/ext folder

note about jre/lib/ext:

Note 965451 - Error, while preloading security provider classes

https://service.sap.com/sap/support/notes/965451

Message was edited by:

Mikhail Koshkin

former_member192343
Active Contributor
0 Kudos
former_member214355
Contributor
0 Kudos

Hello Stéphane

please retest using the update Oracle DVD with the old JDBC driver.

Former Member
0 Kudos

Hello Kenny,

Thanks for the reply, but can you explain it in more details?

I'm in a middle of an installation, Oracle has been installed but not patched yet.

Do you suggest to start a new installation?

Or apply Oracle Opatches?

Or stop the Java Engine, a replace the JDBC driver, and restart it ?

What is the build number of the correct JDBC driver??

Thank you