cancel
Showing results for 
Search instead for 
Did you mean: 

J2EE engine will not start: java.util.zip.ZipException: Access is denied

Former Member
0 Kudos

Hi all,

Having trouble starting J2EE server: 7.0 SP9. Trial installed on my laptop for testing portal technologies. It was working last week. I did change some passwords, Administrator comes to mind.

Exit code 66. I have included the dev_jcontrol and the jvm_bootstrap logs.

Looks like it may be a password problem, but how do I find the problem and how to fix it?

--Amy Smith

--Haworth

jvm_bootstrap.out has the actual exception


--------------------------------------------------
Bootstrap MODE: 
<INSTANCE GLOBALS> 
 determined by parameter [ID0192591].
--------------------------------------------------
Exception occurred:
java.lang.ExceptionInInitializerError
	at javax.crypto.Cipher.a(DashoA12275)
	at javax.crypto.Cipher.getInstance(DashoA12275)
	at iaik.security.provider.IAIK.a(Unknown Source)
	at iaik.security.provider.IAIK.addAsJDK14Provider(Unknown Source)
	at iaik.security.provider.IAIK.addAsJDK14Provider(Unknown Source)
	at com.sap.security.core.server.secstorefs.Crypt.<clinit>(Crypt.java:82)
	at com.sap.security.core.server.secstorefs.SecStoreFS.setSID(SecStoreFS.java:158)
	at com.sap.engine.core.configuration.impl.persistence.rdbms.DBConnectionPool.<init>(DBConnectionPool.java:108)
	at com.sap.engine.core.configuration.impl.persistence.rdbms.PersistenceHandler.<init>(PersistenceHandler.java:38)
	at com.sap.engine.core.configuration.impl.cache.ConfigurationCache.<init>(ConfigurationCache.java:149)
	at com.sap.engine.core.configuration.bootstrap.ConfigurationManagerBootstrapImpl.init(ConfigurationManagerBootstrapImpl.java:236)
	at com.sap.engine.core.configuration.bootstrap.ConfigurationManagerBootstrapImpl.<init>(ConfigurationManagerBootstrapImpl.java:49)
	at com.sap.engine.bootstrap.Synchronizer.<init>(Synchronizer.java:60)
	at com.sap.engine.bootstrap.Bootstrap.initDatabaseConnection(Bootstrap.java:419)
	at com.sap.engine.bootstrap.Bootstrap.<init>(Bootstrap.java:144)
	at com.sap.engine.bootstrap.Bootstrap.main(Bootstrap.java:814)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:324)
	at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:81)
Caused by: java.lang.SecurityException: Cannot set up certs for trusted CAs
	at javax.crypto.SunJCE_b.<clinit>(DashoA12275)
	... 21 more
Caused by: java.security.PrivilegedActionException: java.util.zip.ZipException: Access is denied
	at java.security.AccessController.doPrivileged(Native Method)
	... 22 more
Caused by: java.util.zip.ZipException: Access is denied
	at java.util.zip.ZipFile.open(Native Method)
	at java.util.zip.ZipFile.<init>(ZipFile.java:111)
	at java.util.jar.JarFile.<init>(JarFile.java:127)
	at java.util.jar.JarFile.<init>(JarFile.java:92)
	at javax.crypto.SunJCE_b.a(DashoA12275)
	at javax.crypto.SunJCE_b.f(DashoA12275)
	at javax.crypto.SunJCE_b.e(DashoA12275)
	at javax.crypto.SunJCE_s.run(DashoA12275)
	... 23 more

[Bootstrap module]> Problem occurred while performing synchronization.

-


dev_jcontrol----




---------------------------------------------------
trc file: "C:\usr\sap\J2E\JC01\work\dev_jcontrol", trc level: 1, release: "700"
---------------------------------------------------
node name   : jcontrol
pid         : 4940
system name : J2E
system nr.  : 01
started at  : Mon May 12 15:13:51 2008
arguments	  :
	  arg[00] : C:\usr\sap\J2E\JC01\exe\jcontrol.EXE
	  arg[01] : pf=C:\usr\sap\J2E\SYS\profile\J2E_JC01_NAHOLLLO32022N


[Thr 3036] Mon May 12 15:13:51 2008
[Thr 3036] *** WARNING => INFO: Unknown property [instance.box.number=J2EJC01naholllo32022n] [jstartxx.c   841]
[Thr 3036] *** WARNING => INFO: Unknown property [instance.en.host=NAHOLLLO32022N] [jstartxx.c   841]
[Thr 3036] *** WARNING => INFO: Unknown property [instance.en.port=3200] [jstartxx.c   841]
[Thr 3036] *** WARNING => INFO: Unknown property [instance.system.id=1] [jstartxx.c   841]

**********************************************************************
JStartupReadInstanceProperties: read instance properties [C:\usr\sap\J2E\JC01\j2ee\cluster\instance.properties;C:\usr\sap\J2E\JC01\SDM\program\config\sdm_jstartup.properties]
-> ms host    : NAHOLLLO32022N
-> ms port    : 3900
-> OS libs    : C:\usr\sap\J2E\JC01\j2ee\os_libs
-> Admin URL  : 
-> run mode   : normal
-> run action : NONE
-> enabled    : yes
**********************************************************************


**********************************************************************
Used property files
-> files [00] : C:\usr\sap\J2E\JC01\j2ee\cluster\instance.properties
-> files [01] : C:\usr\sap\J2E\JC01\SDM\program\config\sdm_jstartup.properties
**********************************************************************

**********************************************************************
Instance properties
-> ms host    : NAHOLLLO32022N
-> ms port    : 3900
-> os libs    : C:\usr\sap\J2E\JC01\j2ee\os_libs
-> admin URL  : 
-> run mode   : normal
-> run action : NONE
-> enabled    : yes
**********************************************************************

**********************************************************************
Bootstrap nodes
-> [00] bootstrap            : C:\usr\sap\J2E\JC01\j2ee\cluster\instance.properties
-> [01] bootstrap_ID19259100 : C:\usr\sap\J2E\JC01\j2ee\cluster\instance.properties
-> [02] bootstrap_ID19259150 : C:\usr\sap\J2E\JC01\j2ee\cluster\instance.properties
**********************************************************************

**********************************************************************
Worker nodes
-> [00] ID19259100           : C:\usr\sap\J2E\JC01\j2ee\cluster\instance.properties
-> [01] ID19259150           : C:\usr\sap\J2E\JC01\j2ee\cluster\instance.properties
-> [02] sdm                  : C:\usr\sap\J2E\JC01\SDM\program\config\sdm_jstartup.properties
**********************************************************************

[Thr 3036] JControlExecuteBootstrap: execute bootstrap process [bootstrap]
[Thr 3036] [Node: bootstrap] java home is set by profile parameter
	Java Home: C:\Program Files\Java\j2sdk1.4.2_09
[Thr 3036] JStartupICheckFrameworkPackage: can't find framework package C:\usr\sap\J2E\JC01\exe\jvmx.jar

**********************************************************************
JStartupIReadSection: read node properties [bootstrap]
-> node name          : bootstrap
-> node type          : bootstrap
-> node execute       : yes
-> java path          : C:\Program Files\Java\j2sdk1.4.2_09
-> java parameters    : -Djco.jarm=1 -Djco.jarm=1
-> java vm version    : 1.4.2_09-b05
-> java vm vendor     : Java HotSpot(TM) Server VM (Sun Microsystems Inc.)
-> java vm type       : server
-> java vm cpu        : x86
-> heap size          : 512M
-> root path          : C:\usr\sap\J2E\JC01\j2ee\cluster
-> class path         : .\bootstrap\launcher.jar
-> OS libs path       : C:\usr\sap\J2E\JC01\j2ee\os_libs
-> main class         : com.sap.engine.offline.OfflineToolStart
-> framework class    : com.sap.bc.proj.jstartup.JStartupFramework
-> registr. class     : com.sap.bc.proj.jstartup.JStartupNatives
-> framework path     : C:\usr\sap\J2E\JC01\exe\jstartup.jar;C:\usr\sap\J2E\JC01\exe\jvmx.jar
-> parameters         : com.sap.engine.bootstrap.Bootstrap ./bootstrap ID0192591
-> debuggable         : yes
-> debug mode         : no
-> debug port         : 60000
-> shutdown timeout   : 120000
**********************************************************************


**********************************************************************
JControlStartJLaunch: program = C:\usr\sap\J2E\JC01\exe\jlaunch.exe
-> arg[00] = C:\usr\sap\J2E\JC01\exe\jlaunch.exe
-> arg[01] = pf=C:\usr\sap\J2E\SYS\profile\J2E_JC01_NAHOLLLO32022N
-> arg[02] = -DSAPINFO=J2E_01_bootstrap
-> arg[03] = -nodeId=-1
-> arg[04] = -file=C:\usr\sap\J2E\JC01\j2ee\cluster\instance.properties
-> arg[05] = -syncSem=JSTARTUP_WAIT_ON_4940
-> arg[06] = -nodeName=bootstrap
-> arg[07] = -jvmOutFile=C:\usr\sap\J2E\JC01\work\jvm_bootstrap.out
-> arg[08] = -stdOutFile=C:\usr\sap\J2E\JC01\work\std_bootstrap.out
-> arg[09] = -locOutFile=C:\usr\sap\J2E\JC01\work\dev_bootstrap
-> arg[10] = -mode=BOOTSTRAP
-> arg[11] = pf=C:\usr\sap\J2E\SYS\profile\J2E_JC01_NAHOLLLO32022N
-> lib path = PATH=C:\Program Files\Java\j2sdk1.4.2_09\jre\bin\server;C:\Program Files\Java\j2sdk1.4.2_09\jre\bin;c:\sapdb\programs\bin;c:\sapdb\programs\pgm;C:\Program Files\Business Objects\BusinessObjects Enterprise 6\bin\orb\asp\6.0\bin;C:\Program Files\Business Objects\BusinessObjects Enterprise 6\bin\orb\bin;C:\Program Files\Business Objects\BusinessObjects Enterprise 6\bin;c:\tools\cygwin\bin;C:\oracle\ora92\bin;c:\;C:\jdev1012\jdk\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32\WBEM;C:\tools\cvs;C:\Program Files\Common Files\GTK\2.0\bin;C:\tools\apache-ant-1.6.5\bin;C:\InstantRails\ruby\bin;C:\InstantRails\mysql\bin;c:\Program Files\QuickTime\QTSystem\;c:\Program Files\Microsoft SQL Server\90\Tools\binn\;c:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PrivateAssemblies\;c:\Program Files\Microsoft SQL Server\90\DTS\Binn\;c:\Program Files\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE\;C:\usr\sap\J2E\SYS\exe\uc\NTI386
-> exe path = PATH=C:\Program Files\Java\j2sdk1.4.2_09\bin;C:\usr\sap\J2E\JC01\j2ee\os_libs;c:\sapdb\programs\bin;c:\sapdb\programs\pgm;C:\Program Files\Business Objects\BusinessObjects Enterprise 6\bin\orb\asp\6.0\bin;C:\Program Files\Business Objects\BusinessObjects Enterprise 6\bin\orb\bin;C:\Program Files\Business Objects\BusinessObjects Enterprise 6\bin;c:\tools\cygwin\bin;C:\oracle\ora92\bin;c:\;C:\jdev1012\jdk\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32\WBEM;C:\tools\cvs;C:\Program Files\Common Files\GTK\2.0\bin;C:\tools\apache-ant-1.6.5\bin;C:\InstantRails\ruby\bin;C:\InstantRails\mysql\bin;c:\Program Files\QuickTime\QTSystem\;c:\Program Files\Microsoft SQL Server\90\Tools\binn\;c:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PrivateAssemblies\;c:\Program Files\Microsoft SQL Server\90\DTS\Binn\;c:\Program Files\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE\;C:\usr\sap\J2E\SYS\exe\uc\NTI386
**********************************************************************


[Thr 3036] Mon May 12 15:13:53 2008
[Thr 3036] *** ERROR => invalid return code of process [bootstrap] (exitcode = 66) [jstartxx.c   1642]
[Thr 3036] JControlExecuteBootstrap: error executing bootstrap node [bootstrap] (rc = 66)
[Thr 3036] JControlCloseProgram: started (exitcode = 66)
[Thr 3036] JControlCloseProgram: good bye... (exitcode = 66)

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi!

As I see things the bootstrap is failing - looks like there is a problem accessing the Database. This could

be caused by changing the password of your DB-Schema and not updateing the respective things in

configtool (btw: Does the configtool work?) or (more likely in this case) by access problems to the

.zip File mentioned in the trace. Does the Service-User running the SAP-Service have Administrator

privileges in your computer? It does not look like a problem with Administrator Password as it fails so

early in the chain.

Regards,

Jörg

Former Member
0 Kudos

Thanks Jorg --

It was the SAP users that were removed from the Windows Administrators group. Apparently we have a Windows group policy that occassionally "fixes" the group. I wrote a VB script to add the users back into the group.

--Amy Smith

--Haworth

Answers (3)

Answers (3)

Former Member
0 Kudos

HI,

Can you check log_bootstrap_IDXXXXXX file ....

They tend to provide more detailed info .....

Also note that if you have changed the DB Schema user SAP<SID>DB to update in the secure store using config tool.

Thanks & Regards,

Vijith

Former Member
0 Kudos

Try install JDK 1.4.2_12 and restart.

Since its a Trial version, Uninstall and Reinstall the SW.

Former Member
0 Kudos

Looks like your host name is too long. There used to be restriction on hostname length. I think its should be less than 12 ..

Thanks

Prince Jose

Former Member
0 Kudos

I read that limitation too. Decided to try the install anyways as I can't change my PC name, corporate network and all. It worked. I have had the server running multiple times with that server name...

Thanks though,

--Amy