4 Ответы Последний ответ: 27.09.2011 21:12, автор: J.A.M

    AdminServer Windows Service 64-bit

    J.A.M
      I followed the Oracle document: ID 1214693.1 to install WebLogic as a windows service. It states that this works for 32-bit and 64-bit. I can get it to work with 32-bit with no issue, however not with 64-bit. With the steps followed this is what my log is outputting. I am running this on my VM with 4 GB memory.

      [Tue Sep 27 12:58:47 2011] [initLog] initializing logger
      [Tue Sep 27 12:58:47 2011] [E] [initLog] No 'ROTATION_TYPE' header found. 'TIME' based rotation will be used by default.
      [Tue Sep 27 12:58:47 2011] [E] [initLog] No 'TIME_START_DATE' header found or value is invalid. Rotation will take place every 24 hours beginning today at 23:59:59
      [Tue Sep 27 12:58:47 2011] [E] [initLog] No 'TIME_INTERVAL_MINS' header found. Using the default value of 24 hours.
      [Tue Sep 27 12:58:47 2011] [I] [initLog] TIME based log rotation is ON
      [Tue Sep 27 12:58:47 2011] [I] [trigger] First rotation due in 39672 secs
      [Tue Sep 27 12:58:47 2011] [I] [ServiceStart] console allocation successful. THREAD_DUMP redirection enabled
      [Tue Sep 27 12:58:47 2011] [I] [ServiceStart] About to execute CreateThread()
      [Tue Sep 27 12:58:47 2011] [I] [ServiceStart] lpszCmdLine = -server -Xms32m -Xmx200m -XX:MaxPermSize=128m -XX:+UseSpinning -Dweblogic.ProductionModeEnabled=true -da -Dplatform.home=C:\Oracle\MIDDLE~1\WLSERV~1.3 -Dwls.home=C:\Oracle\MIDDLE~1\WLSERV~1.3\server -Dweblogic.home=C:\Oracle\MIDDLE~1\WLSERV~1.3\server -Dcommon.components.home=C:\Oracle\MIDDLE~1\ORACLE~1 -Djrf.version=11.1.1 -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger -Ddomain.home=C:\Oracle\MIDDLE~1\USER_P~1\domains\BIFOUN~1 -Djrockit.optfile=C:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.jrf_11.1.1\jrocket_optfile.txt -Doracle.server.config.dir=C:\Oracle\MIDDLE~1\USER_P~1\domains\BIFOUN~1\config\FMWCON~1\servers\AdminServer -Doracle.domain.config.dir=C:\Oracle\MIDDLE~1\USER_P~1\domains\BIFOUN~1\config\FMWCON~1 -Digf.arisidbeans.carmlloc=C:\Oracle\MIDDLE~1\USER_P~1\domains\BIFOUN~1\config\FMWCON~1\carml -Digf.arisidstack.home=C:\Oracle\MIDDLE~1\USER_P~1\domains\BIFOUN~1\config\FMWCON~1\arisidprovider -Doracle.security.jps.config=C:\Oracle\MIDDLE~1\USER_P~1\domains\BIFOUN~1\config\fmwconfig\jps-config.xml -Doracle.deployed.app.dir=C:\Oracle\MIDDLE~1\USER_P~1\domains\BIFOUN~1\servers\AdminServer\tmp\_WL_user -Doracle.deployed.app.ext=\- -Dweblogic.alternateTypesDirectory=C:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.ossoiap_11.1.1,C:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.oamprovider_11.1.1 -Djava.protocol.handler.pkgs=oracle.mds.net.protocol -Dweblogic.jdbc.remoteEnabled=false -DEPM_ORACLE_HOME=C:\Oracle\Middleware\Oracle_BI1 -DHYPERION_HOME=C:\Oracle\Middleware\Oracle_BI1 -DEPM_ORACLE_INSTANCE=novalue -Dhyperion.home=C:\Oracle\Middleware\Oracle_BI1 -DEPM_REG_PROPERTIES_PATH=C:\Oracle\MIDDLE~1\USER_P~1\domains\BIFOUN~1\config\fmwconfig -Depm.useApplicationContextId=false -Doracle.biee.search.bisearchproperties=C:\Oracle\Middleware\Oracle_BI1\bifoundation\jee\BISearchConfig.properties -Dweblogic.management.clearTextCredentialAccessEnabled=true -Doracle.notification.filewatching.interval=2000 -Dweblogic.security.SSL.ignoreHostnameVerification=true -Dweblogic.security.SSL.enableJSSE=true -Dfile.encoding=utf-8 -Duser.language=en -Duser.region=US -Dbi.oracle.home=C:\Oracle\Middleware\Oracle_BI1 -DEPM_ORACLE_HOME=C:\Oracle\Middleware\Oracle_BI1 -Doracle.ecsf.security.service=oracle.biee.search.security.BISearchSecurityService -Doracle.ecsf.configuration.class=oracle.biee.search.services.BISearchServiceConfiguration -Dxdo.server.config.dir=C:\Oracle\Middleware\user_projects\domains\bifoundation_domain\config\bipublisher -DXDO_FONT_DIR=C:\Oracle\Middleware\Oracle_BI1\common\fonts -Drtd.instanceName=RTD_AdminServer -Dem.oracle.home=C:\Oracle\Middleware\oracle_common -Djava.awt.headless=true -Dweblogic.management.discover=true -Dwlw.iterativeDev=false -Dwlw.testConsole=false -Dwlw.logErrorsToConsole=false -Dweblogic.ext.dirs=C:\Oracle\MIDDLE~1\patch_wls1035\profiles\default\sysext_manifest_classpath -classpath "C:\Oracle\MIDDLE~1\patch_wls1035\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\Oracle\MIDDLE~1\ORACLE~2\jdk\lib\tools.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic_sp.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.jar;C:\Oracle\MIDDLE~1\modules\features\weblogic.server.modules_10.3.5.0.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\webservices.jar;C:\Oracle\MIDDLE~1\modules\ORGAPA~1.1/lib/ant-all.jar;C:\Oracle\MIDDLE~1\modules\NETSFA~1.0_1/lib/ant-contrib.jar;C:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.jdbc_11.1.1\ojdbc6dms.jar;C:\Oracle\Middleware\Oracle_BI1\bifoundation\jdbc\jdk16\bijdbc.jar;;C:\Oracle\MIDDLE~1\patch_wls1035\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\Oracle\MIDDLE~1\ORACLE~2\jdk\lib\tools.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic_sp.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.jar;C:\Oracle\MIDDLE~1\modules\features\weblogic.server.modules_10.3.5.0.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\webservices.jar;C:\Oracle\MIDDLE~1\modules\ORGAPA~1.1/lib/ant-all.jar;C:\Oracle\MIDDLE~1\modules\NETSFA~1.0_1/lib/ant-contrib.jar;C:\Oracle\Middleware\wlserver_10.3\server\lib\weblogic.jar;C:\Oracle\Middleware\oracle_common\modules\oracle.dms_11.1.1\dms.jar;C:\Oracle\Middleware\oracle_common\modules\oracle.jmx_11.1.1\jmxframework.jar;C:\Oracle\Middleware\oracle_common\modules\oracle.jmx_11.1.1\jmxspi.jar;C:\Oracle\Middleware\oracle_common\modules\oracle.odl_11.1.1\ojdl.jar;C:\Oracle\MIDDLE~1\ORACLE~1\soa\modules\commons-cli-1.1.jar;C:\Oracle\MIDDLE~1\ORACLE~1\soa\modules\oracle.soa.mgmt_11.1.1\soa-infra-mgmt.jar;C:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.jrf_11.1.1\jrf.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\common\derby\lib\derbyclient.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\xqrl.jar" -Dweblogic.Name=AdminServer -Dweblogic.management.username= -Dweblogic.ProductionModeEnabled=true -Djava.security.policy="C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.policy" weblogic.Server
      [Tue Sep 27 12:58:47 2011] [I] [ServiceStart] lpszJavaHome = C:\Oracle\MIDDLE~1\ORACLE~2\jdk
      [Tue Sep 27 12:58:47 2011] [I] [ServiceStart] lpszExecDir = C:\Oracle\Middleware\user_projects\domains\bifoundation_domain
      [Tue Sep 27 12:58:47 2011] [I] [ServiceStart] lpszOldPath = C:\Oracle\database\product\11.2.0\dbhome_1\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Oracle\Middleware\Oracle_BI1\products\Essbase\EssbaseServer\bin;C:\Oracle\Middleware\Oracle_BI1\bin;C:\Oracle\Middleware\Oracle_BI1\opmn\bin;C:\Oracle\Middleware\Oracle_BI1\opmn\lib;C:\Oracle\Middleware\Oracle_BI1\perl\bin;
      [Tue Sep 27 12:58:47 2011] [I] [ServiceStart] lpszNewPath = C:\Oracle\MIDDLE~1\WLSERV~1.3\server\native\win\x64\;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\bin;C:\Oracle\MIDDLE~1\ORACLE~2\jdk\jre\bin;C:\Oracle\MIDDLE~1\ORACLE~2\jdk\bin;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\native\win\x64\oci920_8;C:\Oracle\database\product\11.2.0\dbhome_1\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Oracle\Middleware\Oracle_BI1\products\Essbase\EssbaseServer\bin;C:\Oracle\Middleware\Oracle_BI1\bin;C:\Oracle\Middleware\Oracle_BI1\opmn\bin;C:\Oracle\Middleware\Oracle_BI1\opmn\lib;C:\Oracle\Middleware\Oracle_BI1\perl\bin;
      [Tue Sep 27 12:58:47 2011] [I] [ServiceStart] lpszDelay = 0
      [Tue Sep 27 12:58:47 2011] [I] [ServiceStart] lpszStopClass = []
      [Tue Sep 27 12:58:47 2011] [I] [ServiceStart] lpszLog = [C:\TestWL\WLServer-stdout.txt]
      [Tue Sep 27 12:58:47 2011] [I] [ServiceStart] Thread created successfully
      [Tue Sep 27 12:58:47 2011] [I] [ServiceStart] Reporting SCM of SERVICE_START_PENDING with delay=0
      [Tue Sep 27 12:58:47 2011] [I] [ServiceStart] lpszHost = []
      [Tue Sep 27 12:58:47 2011] [I] [ServiceStart] lpszPort = []
      [Tue Sep 27 12:58:47 2011] [I] [StartJVM] Parsing JVM Arguments
      [Tue Sep 27 12:58:47 2011] [I] [StartJVM] Initializing JVM
      [Tue Sep 27 12:58:48 2011] [I] [ServiceStart] Reporting SCM of SERVICE_RUNNING
      [Tue Sep 27 12:58:48 2011] [I] [ServiceStart] waiting for multiple events
      [Tue Sep 27 12:58:48 2011] [I] [RunJavaApp] Loading class - weblogic.Server
      [Tue Sep 27 12:58:48 2011] [I] [RunJavaApp] Locating method "public static void main([]String)" in main class
      [Tue Sep 27 12:58:48 2011] [I] [RunJavaApp] Building arguments for main class
      [Tue Sep 27 12:58:48 2011] [I] [RunJavaApp] Invoking main class
      <Sep 27, 2011 12:58:49 PM CDT> <Info> <Security> <BEA-090905> <Disabling CryptoJ JCE Provider self-integrity check for better startup performance. To enable this check, specify -Dweblogic.security.allowCryptoJDefaultJCEVerification=true>
      <Sep 27, 2011 12:58:49 PM CDT> <Info> <Security> <BEA-090906> <Changing the default Random Number Generator in RSA CryptoJ from ECDRBG to FIPS186PRNG. To disable this change, specify -Dweblogic.security.allowCryptoJDefaultPRNG=true>
      <Sep 27, 2011 12:58:50 PM CDT> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) 64-Bit Server VM Version 19.1-b02 from Sun Microsystems Inc.>
      <Sep 27, 2011 12:58:51 PM CDT> <Info> <Management> <BEA-141107> <Version: WebLogic Server 10.3.5.0 Fri Apr 1 20:20:06 PDT 2011 1398638 >
      <Sep 27, 2011 12:58:54 PM CDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
      <Sep 27, 2011 12:58:54 PM CDT> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool>
      <Sep 27, 2011 12:58:55 PM CDT> <Notice> <Log Management> <BEA-170019> <The server log file C:\Oracle\Middleware\user_projects\domains\bifoundation_domain\servers\AdminServer\logs\AdminServer.log is opened. All server side log events will be written to this file.>
      <Sep 27, 2011 12:59:05 PM CDT> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
      <Sep 27, 2011 12:59:24 PM CDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STANDBY>
      <Sep 27, 2011 12:59:24 PM CDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
      <Sep 27, 2011 12:59:39 PM CDT> <Warning> <Munger> <BEA-2156203> <A version attribute was not found in element application in the deployment descriptor in C:\Oracle\Middleware\user_projects\domains\bifoundation_domain\servers\AdminServer\upload\NonJ2EEManagement\app\NonJ2EEManagement.ear/META-INF/application.xml. A version attribute is required, but this version of the Weblogic Server will assume that the JEE5 is used. Future versions of the Weblogic Server will reject descriptors that do not specify the JEE version.>
      <Sep 27, 2011 12:59:41 PM CDT> <Warning> <Munger> <BEA-2156203> <A version attribute was not found in element application in the deployment descriptor in C:\Oracle\Middleware\user_projects\applications\bifoundation_domain\em.ear/META-INF/application.xml. A version attribute is required, but this version of the Weblogic Server will assume that the JEE5 is used. Future versions of the Weblogic Server will reject descriptors that do not specify the JEE version.>
      <Sep 27, 2011 12:59:41 PM CDT> <Warning> <J2EE> <BEA-160195> <The application version lifecycle event listener oracle.security.jps.wls.listeners.JpsAppVersionLifecycleListener is ignored because the application em is not versioned.>
      <Sep 27, 2011 12:59:48 PM CDT> <Error> <Deployer> <BEA-149205> <Failed to initialize the application 'em' due to error java.lang.OutOfMemoryError: PermGen space.
      java.lang.OutOfMemoryError: PermGen space
           at java.lang.ClassLoader.defineClass1(Native Method)
           at java.lang.ClassLoader.defineClassCond(ClassLoader.java:630)
           at java.lang.ClassLoader.defineClass(ClassLoader.java:614)
           at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
           at weblogic.utils.classloaders.GenericClassLoader.defineClass(GenericClassLoader.java:343)
           Truncated. see log file for complete stacktrace
      Caused By: java.lang.OutOfMemoryError: PermGen space
           at java.lang.ClassLoader.defineClass1(Native Method)
           at java.lang.ClassLoader.defineClassCond(ClassLoader.java:630)
           at java.lang.ClassLoader.defineClass(ClassLoader.java:614)
           at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
           at weblogic.utils.classloaders.GenericClassLoader.defineClass(GenericClassLoader.java:343)
           Truncated. see log file for complete stacktrace
      >
      <Sep 27, 2011 12:59:51 PM CDT> <Error> <HTTP> <BEA-101216> <Servlet: "AsyncResponseServiceServlethttps" failed to preload on startup in Web application: "bea_wls9_async_response.war".
      java.lang.ExceptionInInitializerError
           at weblogic.wsee.bind.BaseTypeLoaderFactory.newInstance(BaseTypeLoaderFactory.java:23)
           at weblogic.wsee.bind.runtime.internal.Deploytime109MappingHelper.initSchemaTypeSystem(Deploytime109MappingHelper.java:211)
           at weblogic.wsee.bind.runtime.internal.Deploytime109MappingHelper.<init>(Deploytime109MappingHelper.java:167)
           at weblogic.wsee.bind.runtime.internal.RuntimeBindingsBuilderImpl.createRuntimeBindings(RuntimeBindingsBuilderImpl.java:86)
           at weblogic.wsee.ws.WsBuilder.createRuntimeBindingProvider(WsBuilder.java:705)
           Truncated. see log file for complete stacktrace
      Caused By: java.lang.RuntimeException: com.bea.xml.XmlException: PermGen space
           at weblogic.wsee.bind.SoapEncodingTypes.createInstance(SoapEncodingTypes.java:48)
           at weblogic.wsee.bind.SoapEncodingTypes.<clinit>(SoapEncodingTypes.java:23)
           at weblogic.wsee.bind.BaseTypeLoaderFactory.newInstance(BaseTypeLoaderFactory.java:23)
           at weblogic.wsee.bind.runtime.internal.Deploytime109MappingHelper.initSchemaTypeSystem(Deploytime109MappingHelper.java:211)
           at weblogic.wsee.bind.runtime.internal.Deploytime109MappingHelper.<init>(Deploytime109MappingHelper.java:167)
           Truncated. see log file for complete stacktrace
      Caused By: com.bea.xml.XmlException: PermGen space
           at com.bea.xml.XmlBeans.wrappedException(XmlBeans.java:149)
           at com.bea.xml.XmlBeans.compileXmlBeans(XmlBeans.java:675)
           at com.bea.xml.XmlBeans.compileXsd(XmlBeans.java:553)
           at weblogic.wsee.bind.SoapEncodingTypes.<init>(SoapEncodingTypes.java:91)
           at weblogic.wsee.bind.SoapEncodingTypes.createInstance(SoapEncodingTypes.java:43)
           Truncated. see log file for complete stacktrace
      Caused By: java.lang.OutOfMemoryError: PermGen space
           at java.lang.ClassLoader.defineClass1(Native Method)
           at java.lang.ClassLoader.defineClassCond(ClassLoader.java:630)
           at java.lang.ClassLoader.defineClass(ClassLoader.java:614)
           at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
           at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
           Truncated. see log file for complete stacktrace
      >
      <Sep 27, 2011 12:59:51 PM CDT> <Error> <Deployer> <BEA-149231> <Unable to set the activation state to true for the application 'bea_wls9_async_response'.
      weblogic.application.ModuleException: [HTTP:101216]Servlet: "AsyncResponseServiceServlethttps" failed to preload on startup in Web application: "bea_wls9_async_response.war".
      java.lang.ExceptionInInitializerError
           at weblogic.wsee.bind.BaseTypeLoaderFactory.newInstance(BaseTypeLoaderFactory.java:23)
           at weblogic.wsee.bind.runtime.internal.Deploytime109MappingHelper.initSchemaTypeSystem(Deploytime109MappingHelper.java:211)
           at weblogic.wsee.bind.runtime.internal.Deploytime109MappingHelper.<init>(Deploytime109MappingHelper.java:167)
           at weblogic.wsee.bind.runtime.internal.RuntimeBindingsBuilderImpl.createRuntimeBindings(RuntimeBindingsBuilderImpl.java:86)
           at weblogic.wsee.ws.WsBuilder.createRuntimeBindingProvider(WsBuilder.java:705)
           at weblogic.wsee.ws.WsBuilder.buildService(WsBuilder.java:201)
           at weblogic.wsee.ws.WsFactory.createServerService(WsFactory.java:54)
           at weblogic.wsee.deploy.ServletDeployInfo.createWsService(ServletDeployInfo.java:91)
           at weblogic.wsee.deploy.DeployInfo.createWsPort(DeployInfo.java:372)
           at weblogic.wsee.server.servlet.BaseWSServlet.init(BaseWSServlet.java:83)
      Caused by: java.lang.RuntimeException: com.bea.xml.XmlException: PermGen space
           at weblogic.wsee.bind.SoapEncodingTypes.createInstance(SoapEncodingTypes.java:48)
           at weblogic.wsee.bind.SoapEncodingTypes.<clinit>(SoapEncodingTypes.java:23)
           ... 53 more
      Caused by: com.bea.xml.XmlException: PermGen space
           at com.bea.xml.XmlBeans.wrappedException(XmlBeans.java:149)
           at com.bea.xml.XmlBeans.compileXmlBeans(XmlBeans.java:675)
           at com.bea.xml.XmlBeans.compileXsd(XmlBeans.java:553)
           at weblogic.wsee.bind.SoapEncodingTypes.<init>(SoapEncodingTypes.java:91)
           at weblogic.wsee.bind.SoapEncodingTypes.createInstance(SoapEncodingTypes.java:43)
           ... 54 more
      Caused by: java.lang.OutOfMemoryError: PermGen space
           at java.lang.ClassLoader.defineClass1(Native Method)
           at java.lang.ClassLoader.defineClassCond(ClassLoader.java:630)
           at java.lang.ClassLoader.defineClass(ClassLoader.java:614)
           at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
           at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
           at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
           at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
           at java.security.AccessController.doPrivileged(Native Method)
           at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
           at java.lang.ClassLoader.loadClass(ClassLoader.java:305)
           at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
           at java.lang.ClassLoader.loadClass(ClassLoader.java:246)
           at com.bea.xbean.store.Xobj.new_cursor(Xobj.java:1829)
           at com.bea.xbean.values.XmlObjectBase.newCursor(XmlObjectBase.java:293)
           at com.bea.xbean.values.XmlObjectBase.newCursorForce(XmlObjectBase.java:247)
           at com.bea.xbean.values.XmlObjectBase.documentProperties(XmlObjectBase.java:175)
           at com.bea.xbean.schema.StscImporter.baseURLForDoc(StscImporter.java:229)
           at com.bea.xbean.schema.StscImporter.access$000(StscImporter.java:61)
           at com.bea.xbean.schema.StscImporter$DownloadTable.<init>(StscImporter.java:735)
           at com.bea.xbean.schema.StscImporter.resolveImportsAndIncludes(StscImporter.java:65)
           at com.bea.xbean.schema.SchemaTypeSystemCompiler.compileImpl(SchemaTypeSystemCompiler.java:302)
           at com.bea.xbean.schema.SchemaTypeSystemCompiler.compile(SchemaTypeSystemCompiler.java:218)
           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:597)
           at com.bea.xml.XmlBeans.compileXmlBeans(XmlBeans.java:667)
           at com.bea.xml.XmlBeans.compileXsd(XmlBeans.java:553)
           at weblogic.wsee.bind.SoapEncodingTypes.<init>(SoapEncodingTypes.java:91)
           at weblogic.wsee.bind.SoapEncodingTypes.createInstance(SoapEncodingTypes.java:43)
           at weblogic.wsee.bind.SoapEncodingTypes.<clinit>(SoapEncodingTypes.java:23)
           at weblogic.wsee.bind.BaseTypeLoaderFactory.newInstance(BaseTypeLoaderFactory.java:23)

           at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1510)
           at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:482)
           at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
           at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
           at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
           Truncated. see log file for complete stacktrace
      Caused By: java.lang.OutOfMemoryError: PermGen space
           at java.lang.ClassLoader.defineClass1(Native Method)
           at java.lang.ClassLoader.defineClassCond(ClassLoader.java:630)
           at java.lang.ClassLoader.defineClass(ClassLoader.java:614)
           at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
           at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
           Truncated. see log file for complete stacktrace
      >
      <Sep 27, 2011 12:59:56 PM CDT> <Warning> <Default> <J2EE JMX-46714> <Error parsing MBean descriptor file "C:\Oracle\Middleware\user_projects\domains\bifoundation_domain\config\fmwconfig\servers\AdminServer\mbeans\JOCConfig_mbeans.xml".
      java.lang.reflect.InvocationTargetException
           at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
           at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
           at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
           at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
           at oracle.as.jmx.framework.generic.spi.config.ConfigMBeanInfo.getPersistenceManager(ConfigMBeanInfo.java:567)
           at oracle.as.jmx.framework.generic.spi.config.ConfigMBeanInfo.getPersistenceManagers(ConfigMBeanInfo.java:534)
           at oracle.as.jmx.framework.generic.spi.BaseJMXFrameworkProviderImpl.getConfigObjectMBeanAssociationInfo(BaseJMXFrameworkProviderImpl.java:410)
           at oracle.as.jmx.framework.PortableMBeanFactory.getConfigObjectMBeanAssociationInfo(PortableMBeanFactory.java:2519)
           at oracle.as.jmx.framework.PortableMBeanFactory.getConfigObjectMBeanAssociationInfo(PortableMBeanFactory.java:2449)
           at oracle.as.jmx.framework.wls.spi.ComponentMBeans.parseAndRegister(ComponentMBeans.java:178)
           at oracle.as.jmx.framework.wls.spi.ComponentMBeans.parseDescriptors(ComponentMBeans.java:243)
           at oracle.as.jmx.framework.wls.spi.ComponentMBeans.processServer(ComponentMBeans.java:268)
           at oracle.as.jmx.framework.wls.spi.ComponentMBeans.processServerDirectories(ComponentMBeans.java:312)
           at oracle.as.jmx.framework.wls.spi.ComponentMBeans.registerMBeans(ComponentMBeans.java:364)
           at oracle.as.jmx.framework.wls.spi.ComponentMBeans.registerMBeans(ComponentMBeans.java:352)
           at oracle.as.jmx.framework.wls.spi.JMXFrameworkProviderImpl$3$1.run(JMXFrameworkProviderImpl.java:1091>
      <Sep 27, 2011 1:00:00 PM CDT> <Error> <HTTP> <BEA-101216> <Servlet: "AppManagerServlet" failed to preload on startup in Web application: "console".
      java.lang.OutOfMemoryError: PermGen space
      >
      <Sep 27, 2011 1:00:01 PM CDT> <Error> <Deployer> <BEA-149231> <Unable to set the activation state to true for the application 'consoleapp'.
      weblogic.application.ModuleException: [HTTP:101216]Servlet: "AppManagerServlet" failed to preload on startup in Web application: "console".
      java.lang.OutOfMemoryError: PermGen space

           at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1510)
           at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:482)
           at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
           at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
           at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
           Truncated. see log file for complete stacktrace
      Caused By: java.lang.OutOfMemoryError: PermGen space
      >
      <Sep 27, 2011 12:59:58 PM CDT> <Warning> <Default> <J2EE JMX-46714> <Error parsing MBean descriptor file "C:\Oracle\Middleware\user_projects\domains\bifoundation_domain\config\fmwconfig\servers\AdminServer\mbeans\jrfserverscoped_mbeans.xml".
      java.lang.OutOfMemoryError: PermGen space
           at java.lang.ClassLoader.defineClass1(Native Method)
           at java.lang.ClassLoader.defineClassCond(ClassLoader.java:630)
           at java.lang.ClassLoader.defineClass(ClassLoader.java:614)
           at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
           at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
           at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
           at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
           at java.security.AccessController.doPrivileged(Native Method)
           at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
           at java.lang.ClassLoader.loadClass(ClassLoader.java:305)
           at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
           at java.lang.ClassLoader.loadClass(ClassLoader.java:246)
           at java.lang.Class.forName0(Native Method)
           at java.lang.Class.forName(Class.java:247)
      <Sep 27, 2011 1:00:04 PM CDT> <Error> <Deployer> <BEA-149250> <Unable to unprepare application 'consoleapp'.
      weblogic.management.DeploymentException:
           at weblogic.application.internal.flow.ApplicationRuntimeMBeanFlow.unprepare(ApplicationRuntimeMBeanFlow.java:64)
           at weblogic.application.internal.BaseDeployment$1.previous(BaseDeployment.java:619)
           at weblogic.application.utils.StateMachineDriver.previousState(StateMachineDriver.java:223)
           at weblogic.application.utils.StateMachineDriver.previousState(StateMachineDriver.java:215)
           at weblogic.application.internal.BaseDeployment.unprepare(BaseDeployment.java:248)
           Truncated. see log file for complete stacktrace
      Caused By: java.lang.OutOfMemoryError: PermGen space
      >
      <Sep 27, 2011 1:00:11 PM CDT> <Error> <Deployer> <BEA-149231> <Unable to set the activation state to true for the application 'DMS Application [Version=11.1.1.1.0]'.
      java.lang.OutOfMemoryError: PermGen space
      Caused By: java.lang.OutOfMemoryError: PermGen space
        • 1. Re: AdminServer Windows Service 64-bit
          Dpka
          Hi,

          Did you try increasing the heap size as mentioned here?

          Re: WebLogic as a windows service in OBIEE11g

          Rgds,
          Dpka
          1 пользователь считает эту информацию полезной
          • 2. Re: AdminServer Windows Service 64-bit
            user248025
            Hi,
            Weblogic as windows service in 64bit Windows 2008 64 bit environment. Included is solution. When installing the weblogic server as a windows service you do so by calling a script (InstallSvc.cmd) that among other things supplies the location of the JDK (Java Development Kit) that is used for weblogic.


            Solution:

            the InstallSvc.cmd Script calls commEnv.cmd which sets the default memory arguments. commEnv.cmd memory arguments depending on the type of JDK (Oracle in our case) needed to be changed for our server config from:
            MEM_ARGS=-Xms32m -Xmx200m -XX:MaxPermSize=128m -XX:+UseSpinning
            To:
            MEM_ARGS=-Xms256m -Xmx512m -XX:MaxPermSize=512m -XX:-UseSSE42Intrinsics

            NOTE:
            I used these arguments after sifting through the stdout output from the Start BI Services shortcut that calls MY_MW_HOME\instances\instance1\bifoundation\OracleBIApplication\coreapplication\StartStopServices.cmd start_all
            I would love input on if these settings are the best. I don't know what UseSSE42Intrinsics is vs UseSpinning

            Background:
            Hardware: VM Ware Dual 6 core processors with 8GB RAM
            OS: Windows 2k8 Standard 64bit.
            JDK: 1.6.0_24
            Weblogic: 10.3 (64bit)
            OBIEE: 11.1.1.3

            Installation Type
            We had installed a "manual" version of OBIEE 11g on a 64 bit OS rather than the stock OBIEE 11g Install according to the guidelines here:
            http://obibb.wordpress.com/2010/11/16/installing-oracle-bi-11g-r1-windows-server-2008-r2-64bit/

            Thanks
            Deva
            1 пользователь считает эту информацию полезной
            • 3. Re: AdminServer Windows Service 64-bit
              user248025
              Hi,

              Cause
              It is likely that you have insufficient MaxPermSpace..

              Solution
              If it's not possible not to rename setup.exe the follow these steps:
              *1. Follow the Oracle® Fusion Middleware Installation Guide for Oracle Business Intelligence 11g Release 1 (11.1.1) and choose the Software Only install for OBIEE.*

              *2. Once the Software Only installation is complete. Open the BI_ORACLE_HOME/oui/oraparam.ini in a text editor. Look for the line:*


              JRE_MEMORY_OPTIONS=" -mx512m -XX:MaxPermSize=512m"

              You will need to increase the numbers for allocating more memory to something like:

              JRE_MEMORY_OPTIONS=" -mx1024m -XX:MaxPermSize=1024m"
              or:
              JRE_MEMORY_OPTIONS=" -mx2048m -XX:MaxPermSize=2048m"

              Save oraparam.ini.

              *5. Go to the BI_ORACLE_HOME/bin directory. Run the config.bat script, this will bring up the configuration assistant. In the domain selection page, select Create Domain and follow the screens to*
              proceed to configure the BI System.

              This should increase the memory allocation used when Creating the ASInstance step.


              more about :

              https://supporthtml.oracle.com/ep/faces/secure/km/DocumentDisplay.jspx?id=1211573.1
              • 4. Re: AdminServer Windows Service 64-bit
                J.A.M
                So this became a mixture of 2 different answers. Going into the "installSVC.cmd" and adding the following resolved this:

                set MEM_ARGS=-Xms256m -Xmx512m -XX:MaxPermSize=512m -XX:-UseSSE42Intrinsics

                if "%ADMIN_URL%" == "" goto runAdmin (this is already there)

                I also increased the oraparam.ini in the C:\oracle\middleware\Oracle_BI1\oui to

                JRE_MEMORY_OPTIONS=" -mx2048m -XX:MaxPermSize=2048m

                I was able to get the windows service in and to fully start without errors and could access WebLogic.