Error when deploying an ear file on the weblogic 6.0 admin server
####<Feb 6, 2001 8:48:27 AM EST> <Error> <Management> <wSDWAPW95A452> <petstoreServer>
<Application Manager Thread> <> <> <141004> <IOException opening application petstore:Name=s3,Type=Application,
loading from path C:\bea\wlserver6.0\config\petstore\applications\s3.ear>
java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:110)
at java.util.jar.JarFile.<init>(JarFile.java:115)
at java.util.jar.JarFile.<init>(JarFile.java:82)
at weblogic.utils.jars.VirtualJarFile.<init>(VirtualJarFile.java:24)
at weblogic.management.mbeans.custom.Application.adminLoad(Application.java:229)
at weblogic.management.mbeans.custom.Application.load(Application.java:205)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:559)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:545)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:285)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:431)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:172)
at $Proxy7.load(Unknown Source)
at weblogic.management.mbeans.custom.ApplicationManager.poll(ApplicationManager.java:461)
at weblogic.management.mbeans.custom.ApplicationManager.poll(ApplicationManager.java:379)
at weblogic.management.mbeans.custom.ApplicationManager.update(ApplicationManager.java:151)
at weblogic.management.mbeans.custom.ApplicationManager$ApplicationPoller.run(ApplicationManager.java:642)
####<Feb 6, 2001 8:48:27 AM EST> <Error> <Management> <wSDWAPW95A452> <petstoreServer>
<Application Manager Thread> <> <> <141004> <IOException opening application petstore:Name=s3,Type=Application,
loading from path C:\bea\wlserver6.0\config\petstore\applications\s3.ear>
java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:110)
at java.util.jar.JarFile.<init>(JarFile.java:115)
at java.util.jar.JarFile.<init>(JarFile.java:82)
at weblogic.utils.jars.VirtualJarFile.<init>(VirtualJarFile.java:24)
at weblogic.management.mbeans.custom.Application.adminLoad(Application.java:229)
at weblogic.management.mbeans.custom.Application.load(Application.java:205)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:559)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:545)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:285)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:431)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:172)
at $Proxy7.load(Unknown Source)
at weblogic.management.mbeans.custom.ApplicationManager.poll(ApplicationManager.java:461)
at weblogic.management.mbeans.custom.ApplicationManager.poll(ApplicationManager.java:379)
at weblogic.management.mbeans.custom.ApplicationManager.update(ApplicationManager.java:151)
at weblogic.management.mbeans.custom.ApplicationManager$ApplicationPoller.run(ApplicationManager.java:642)
Similar Messages
-
Error coming while deploying portal EAR file into the weblogic Portal 8.1..
HI Guys,
When I deploy the latest PORTAL EAR file into the BEA portal environment we
receive a number of these errors:
####<Feb 27, 2008 4:36:14 PM PST> <Warning> <netuix> <dev147> <portalName>
<ExecuteThread: '0' for queue: 'weblogic.kernel.System'> <<WLS Kernel>>
<BEA-423171> <
java.lang.Throwable: New portlet file
[portlet/portletname.portlet] and existing portlet
file null have the same definition label
Lebel Name. Will not create a definition for
portlet file [portlet/portletname.portlet].
at
com.bea.netuix.application.manager.persistence.jdbc.PortletDefinitionDelegate.c
reatePortletDefinitionInternal(PortletDefinitionDelegate.java:1442)
at
com.bea.netuix.application.manager.persistence.jdbc.PortletDefinitionDelegate.c
reatePortletDefinition(PortletDefinitionDelegate.java:906)
at
com.bea.netuix.application.manager.persistence.jdbc.PortletDefinitionManagerImp
l.createPortletDefinition(PortletDefinitionManagerImpl.java:520)
at
com.bea.netuix.application.manager.persistence.jdbc.PortletDefinitionManager_41
0kn4_EOImpl.createPortletDefinition
(PortletDefinitionManager_410kn4_EOImpl.java:476)
at
com.bea.netuix.servlets.repository.PortletFilePersistenceManager.create
(PortletFilePersistenceManager.java:189)
at
com.bea.netuix.servlets.repository.PortletFilePersistenceManager.createUpdatePo
rtletDefinitions(PortletFilePersistenceManager.java:304)
at com.bea.netuix.servlets.repository.PortletFilePersistenceManager.sync
(PortletFilePersistenceManager.java:609)
at
com.bea.netuix.servlets.repository.AbstractFilePersistenceManager$Sync.run
(AbstractFilePersistenceManager.java:187)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs
(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs
(SecurityManager.java:147)
at
com.bea.netuix.servlets.repository.AbstractFilePersistenceManager.startup
(AbstractFilePersistenceManager.java:86)
at com.bea.netuix.servlets.manager.PortalServlet.initFilePoller
(PortalServlet.java:511)
at com.bea.netuix.servlets.manager.PortalServlet.init
(PortalServlet.java:242)
at javax.servlet.GenericServlet.init(GenericServlet.java:258)
at weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run
(ServletStubImpl.java:1099)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs
(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs
(SecurityManager.java:121)
at weblogic.servlet.internal.ServletStubImpl.createServlet
(ServletStubImpl.java:975)
at weblogic.servlet.internal.ServletStubImpl.createInstances
(ServletStubImpl.java:954)
at weblogic.servlet.internal.ServletStubImpl.prepareServlet
(ServletStubImpl.java:893)
at weblogic.servlet.internal.WebAppServletContext.preloadServlet
(WebAppServletContext.java:3456)
at weblogic.servlet.internal.WebAppServletContext.preloadServlets
(WebAppServletContext.java:3413)
at weblogic.servlet.internal.WebAppServletContext.preloadServlets
(WebAppServletContext.java:3399)
at weblogic.servlet.internal.WebAppServletContext.preloadResources
(WebAppServletContext.java:3382)
at weblogic.servlet.internal.WebAppServletContext.setStarted
(WebAppServletContext.java:6262)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:892)
at weblogic.j2ee.J2EEApplicationContainer.start
(J2EEApplicationContainer.java:2181)
at weblogic.j2ee.J2EEApplicationContainer.activate
(J2EEApplicationContainer.java:2222)
at
weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.activateCo
ntainer(SlaveDeployer.java:2521)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.doCommit
(SlaveDeployer.java:2439)
at weblogic.management.deploy.slave.SlaveDeployer$Task.commit
(SlaveDeployer.java:2156)
at weblogic.management.deploy.slave.SlaveDeployer$Task.checkAutoCommit
(SlaveDeployer.java:2255)
at weblogic.management.deploy.slave.SlaveDeployer$Task.prepare
(SlaveDeployer.java:2150)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare
(SlaveDeployer.java:2402)
at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask
(SlaveDeployer.java:884)
at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta
(SlaveDeployer.java:592)
at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate
(SlaveDeployer.java:501)
at weblogic.drs.internal.SlaveCallbackHandler$1.execute
(SlaveCallbackHandler.java:25)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
Thanks in advance...
Regards,
Sandeep KBefore deploying the app, you could check database table PF_PORTLET_DEFINITION for any entries there which might conflict with yours.
--Stefan -
Error while deploying an ear file in the Oracle Application Server
Hi,
There was an existing ear deployed in the the oracle application server - 10g. We had to include some customizations so we rebuild the ear file with the new changes and tried redeploying the ear using the EM console. Getting the below error while deploying the same. Any pointers to the same would be helpful.
Error
An error occurred when processing the data submitted. Find the appropriate field and enter the correct information as noted next to each field.
Archive Location - Failed in uploading archive. Invalid archive file: Jar file resourceadapter-rar.rar is missing a standard deployment located at META-INF/ra.xml
We have not modified anything in the ra.xml nor have touched the resourceadapter-rar.rarHello
did you configure the startweblogic file as mentioned in the admin guide ? -
Error while deploying P6.ear file in Oracle Weblogic installing P6 R8 web
Hi,
I am trying to install Primavera P6 R8 web and while deploying the P6.ear file into Oracle Weblogic getting the following error:
"<Error> <Deployer> <BEA - 149202> <Encountered an exception while attempting to commit the 7 task for the application 'pm6'.>
weblogic.application.ModuleException: :com.primavera.PhoenixException: ERROR: BREBootstrap.xml was not found. Please make sure that the JVM system property primavera.bootstrap.home is defined and set to the location of the directory containing BREBootstrap.xml
Thanks & Regards,
AshwaniHello
did you configure the startweblogic file as mentioned in the admin guide ? -
WLS 6.1, SP1, Solaris 8.
When deploying an ear file, I get this stack trace:
javax.management.MBeanException
at weblogic.management.internal.DynamicMBeanImpl.addDeployment(DynamicMBeanImpl.java:979)
at weblogic.management.internal.DynamicMBeanImpl.addDeployment(DynamicMBeanImpl.java:932)
at weblogic.management.internal.DynamicMBeanImpl.add(DynamicMBeanImpl.java:917)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:620)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:592)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:352)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:449)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:190)
at $Proxy13.addTarget(Unknown Source)
at weblogic.management.mbeans.custom.ApplicationManager.autoDeploy(ApplicationManager.java:837)
at weblogic.management.mbeans.custom.ApplicationManager.addApplication(ApplicationManager.java:936)
at weblogic.management.mbeans.custom.ApplicationManager.addApplication(ApplicationManager.java:856)
at weblogic.management.mbeans.custom.ApplicationManager.poll(ApplicationManager.java:772)
at weblogic.management.mbeans.custom.ApplicationManager.poll(ApplicationManager.java:705)
at weblogic.management.mbeans.custom.ApplicationManager.update(ApplicationManager.java:200)
at weblogic.management.mbeans.custom.ApplicationManager.startAdminManager(ApplicationManager.java:272)
at weblogic.management.mbeans.custom.ApplicationManager.start(ApplicationManager.java:146)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:608)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:592)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:352)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:449)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:190)
at $Proxy5.start(Unknown Source)
at weblogic.management.Admin.startApplicationManager(Admin.java:1155)
at weblogic.management.Admin.finish(Admin.java:570)
at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:506)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:203)
at weblogic.Server.main(Server.java:35)
with this error message:
<Mar 5, 2002 3:15:10 PM GMT+00:00> <Error> <Management> <Error deploying application
./config/lnuatgorwlsdomain2/applications/NostroCheck.ear: java.lang.reflect.UndeclaredThrowableException>
A number of other people in other newsgroups have had similar problems, but no
good concrete answers so far.
This has only recently started to happen, and only on Solaris. Ear file deploys
just fine on NT (same version/SP of WLS on both environments).
Attached is a segment of log file which may give someone more details.
simon.
[weblogic-error-log-segment.txt]Can you show us the full stack trace / error message?
-- Rob
Bala wrote:
Hi,
I am trying to run ATG Dynamo 5.6 on top of weblogic 6.1
Dynamo provides a EAR file which will be deployed at the time of weblogic startup.
But, when i start weblogic, I got the following error:
Error in deploying dyn.ear
java.util.UndeclaredThrowableException
When i checked in the log file, I saw error in loading dyn.ear - StringIndexOutofBounds Exception.
Please help,
Thanks
Bala. -
Error after Deploying a .ear File
Hi,
I have deployed an .ear file on the SAP J2EE engine 6.20 on EP6.0 sp2. When I access one of the JSP's, I am getting a NoClassDefFound exception even though the particular jar (xml-apis.jar) file containing the class is in the additional-lib directory. Also, the jar file has been added to the classpath in go.bat? What other changes are to be done for a successful deployment?
Environment :EP6.0, sp2 hotfix4 on Windows 2003, MS SQL server DB.
Please reply ASAP
Thanks
Bhanuhello,
have you tried including the 3rd party jar in your EAR file itself?
i use a number of external jars in my web app and ejb, including some xml parsing classes. what i did was to put them all in the EAR, at the root level, in other words, not in a sub-directory. then in my WAR's meta-inf/MANIFEST.MF file reference them in the Class-path. do simililar thing for the ejbs if necessary.
when you tried to use the inqxml instead, did you make a reference in manager/referecen.txt from your app to the inqmy library? if so, did you look into the inqmyxml.jar to see if the Node class is actually there?
regards,
wentao -
When deploying an ear file the status is not loaded
I have installed Oracle application server 10g on a Linux CentOS 4.6 server.
When I went to deploy an ear file, it was a success; however, the status in the application at OC4J:home indicates "Not Loaded" and auto start is true. I have searched every where and cannot find the cause of this problem.
The development server on a windows machines works fine when the same file is deplyoed.
Does anyone know what might be the cause. Is there something that I have to configure that I am not aware of?
Any help would be appreciated. Been working on this for two days.
TIA
MikeHi, thanks for the response. I have over 20 EJBs in my ear file. I tried to use the verifier and here is the message that I am getting once I tried to deploy my ear file.
Error
Deployment Error -- Error while running ejbc -- Fatal Error from EJB Compiler -- -- Failed to load deployment descriptor for: account cause: Error parsing J2EE-specific application deployment descriptor: Element type "application" is not declared.
I checked my application.xml and it looks fine to me. please help. -
UndeclaredThrowableException when deploying a ear file in admin server 6.1
Hi,
I am trying to run ATG Dynamo 5.6 on top of weblogic 6.1
Dynamo provides a EAR file which will be deployed at the time of weblogic startup.
But, when i start weblogic, I got the following error:
Error in deploying dyn.ear
java.util.UndeclaredThrowableException
When i checked in the log file, I saw error in loading dyn.ear - StringIndexOutofBounds Exception.
Please help,
Thanks
Bala.Can you show us the full stack trace / error message?
-- Rob
Bala wrote:
Hi,
I am trying to run ATG Dynamo 5.6 on top of weblogic 6.1
Dynamo provides a EAR file which will be deployed at the time of weblogic startup.
But, when i start weblogic, I got the following error:
Error in deploying dyn.ear
java.util.UndeclaredThrowableException
When i checked in the log file, I saw error in loading dyn.ear - StringIndexOutofBounds Exception.
Please help,
Thanks
Bala. -
Out of Memory Error While deploying as EAR file
Hai,
I was trying to deploy an EAR file of size 63 MB which inturn containing about 60 EJB.jars. No WARs. application.xml has all the entries for the JARs. While I am deploying it is giving Out of Memory Error. Is there any way to tweak this problem. I am using my own hand written java application which uses the SunONE deployment APIs for deployment. Can u please tell how to tackle this problem. I am running my application through a batch file which uses jdk1.4.
Please help me regarding this issue.You can set the initial heap size and maximum heap size for the JVM, either in the app-server admin console, or maybe in one of your scripts. You look-up the syntax!...
I had this error yesterday. I too had run out of memory (150Mb). You simply need to allocate more to the app-server. -
Hi,
I think this is a common error for newbes. When I deploy an EAR I get the following,
[24-dic-2009 12:42:35] Inicio de Application Deployer para MyFirstOC4JApp.
[24-dic-2009 12:42:35] Copiar archivado en C:\oc4j\j2ee\home\applications\MyFirstOC4JApp.ear
[24-dic-2009 12:42:35] Inicio de la inicialización de C:\oc4j\j2ee\home\applications\MyFirstOC4JApp.ear...
[24-dic-2009 12:42:35] Desempaquetando MyFirstOC4JApp.ear
[24-dic-2009 12:42:35] Desempaquetado listo MyFirstOC4JApp.ear
[24-dic-2009 12:42:35] Desempaquetando EclipseLinkWeb.war
[24-dic-2009 12:42:35] Desempaquetado listo EclipseLinkWeb.war
[24-dic-2009 12:42:35] Fin de la inicialización de C:\oc4j\j2ee\home\applications\MyFirstOC4JApp.ear...
[24-dic-2009 12:42:35] Iniciando la aplicación: MyFirstOC4JApp
[24-dic-2009 12:42:35] Inicializando ClassLoaders
[24-dic-2009 12:42:35] Inicializando contenedor EJB
[24-dic-2009 12:42:35] Cargando conectores
[24-dic-2009 12:42:35] Iniciando los adaptadores de recursos
[24-dic-2009 12:42:35] estado fallido de la aplicación: MyFirstOC4JApp
[24-dic-2009 12:42:35] Operation failed with error: Falta la clase: org.eclipse.persistence.jpa.PersistenceProvider Clase Dependiente: com.evermind.server.ejb.persistence.PersistenceUnitManagerImpl Cargador: oc4j:10.1.3 Origen del Código: /C:/oc4j/j2ee/home/lib/oc4j-internal.jar Configuración: in META-INF/boot.xml in C:\oc4j\j2ee\home\oc4j.jar Esta carga se ha iniciado en MyFirstOC4JApp.root:0.0.0 mediante el método Class.forName(). La clase que falta no está disponible desde ningún origen de código o cargador del sistema.
Well, the text is into Spanish but I think you know what it means.
For mor information, this is what ten comman line console says,
2009-12-24 12:42:35.359 NOTIFICATION Inicio de Application Deployer para MyFirst
OC4JApp.
2009-12-24 12:42:35.390 NOTIFICATION Copiar archivado en C:\oc4j\j2ee\home\appli
cations\MyFirstOC4JApp.ear
2009-12-24 12:42:35.390 NOTIFICATION Inicio de la inicializaci¾n de C:\oc4j\j2ee
\home\applications\MyFirstOC4JApp.ear...
2009-12-24 12:42:35.390 NOTIFICATION Auto-unpacking C:\oc4j\j2ee\home\applicatio
ns\MyFirstOC4JApp.ear...
2009-12-24 12:42:35.406 NOTIFICATION Desempaquetando MyFirstOC4JApp.ear
2009-12-24 12:42:35.406 NOTIFICATION Unjar C:\oc4j\j2ee\home\applications\MyFirs
tOC4JApp.ear in C:\oc4j\j2ee\home\applications\MyFirstOC4JApp
2009-12-24 12:42:35.453 NOTIFICATION Desempaquetado listo MyFirstOC4JApp.ear
2009-12-24 12:42:35.453 NOTIFICATION Finished auto-unpacking C:\oc4j\j2ee\home\a
pplications\MyFirstOC4JApp.ear
2009-12-24 12:42:35.468 NOTIFICATION Auto-unpacking C:\oc4j\j2ee\home\applicatio
ns\MyFirstOC4JApp\EclipseLinkWeb.war...
2009-12-24 12:42:35.468 NOTIFICATION Desempaquetando EclipseLinkWeb.war
2009-12-24 12:42:35.468 NOTIFICATION Unjar C:\oc4j\j2ee\home\applications\MyFirs
tOC4JApp\EclipseLinkWeb.war in C:\oc4j\j2ee\home\applications\MyFirstOC4JApp\Ecl
ipseLinkWeb
2009-12-24 12:42:35.703 NOTIFICATION Desempaquetado listo EclipseLinkWeb.war
2009-12-24 12:42:35.703 NOTIFICATION Finished auto-unpacking C:\oc4j\j2ee\home\a
pplications\MyFirstOC4JApp\EclipseLinkWeb.war
2009-12-24 12:42:35.734 NOTIFICATION Fin de la inicializaci¾n de C:\oc4j\j2ee\ho
me\applications\MyFirstOC4JApp.ear...
2009-12-24 12:42:35.734 NOTIFICATION Iniciando la aplicaci¾n: MyFirstOC4JApp
2009-12-24 12:42:35.734 NOTIFICATION Inicializando ClassLoaders
2009-12-24 12:42:35.734 NOTIFICATION Inicializando contenedor EJB
2009-12-24 12:42:35.750 NOTIFICATION Cargando conectores
2009-12-24 12:42:35.781 NOTIFICATION Iniciando los adaptadores de recursos
2009-12-24 12:42:35.796 NOTIFICATION estado fallido de la aplicaci¾n: MyFirstOC4
JApp
09/12/24 12:42:35 ADVERTENCIA: Application.setConfig Application: MyFirstOC4JApp
is in failed state as initialization failed.
com.evermind.server.ejb.exception.DeploymentException: [MyFirstOC4JApp]: Excepci
¾n al crear EntityManagerFactory con la clase PersistenceProvider org.eclipse.pe
rsistence.jpa.PersistenceProvider para la unidad de persistencia example.
09/12/24 12:42:35 oracle.oc4j.admin.internal.DeployerException: java.lang.Instan
tiationException: Application: MyFirstOC4JApp is in failed state as initializati
on failed
09/12/24 12:42:35 at oracle.oc4j.admin.internal.ApplicationDeployer.addApp
lication(ApplicationDeployer.java:779)
09/12/24 12:42:35 at oracle.oc4j.admin.internal.ApplicationDeployer.doDepl
oy(ApplicationDeployer.java:273)
09/12/24 12:42:35 at oracle.oc4j.admin.internal.DeployerBase.execute(Deplo
yerBase.java:100)
09/12/24 12:42:35 at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeploy
erRunnable.doRun(OC4JDeployerRunnable.java:52)
09/12/24 12:42:35 at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRu
nnable.run(DeployerRunnable.java:81)
09/12/24 12:42:35 at com.evermind.util.ReleasableResourcePooledExecutor$My
Worker.run(ReleasableResourcePooledExecutor.java:298)
09/12/24 12:42:35 at java.lang.Thread.run(Thread.java:595)
09/12/24 12:42:35 Caused by: java.lang.InstantiationException: Application: MyFi
rstOC4JApp is in failed state as initialization failed
09/12/24 12:42:35 at com.evermind.server.Application.setConfig(Application
.java:518)
09/12/24 12:42:35 at com.evermind.server.Application.setConfig(Application
.java:361)
09/12/24 12:42:35 at com.evermind.server.ApplicationServer.addApplication(
ApplicationServer.java:1919)
09/12/24 12:42:35 at oracle.oc4j.admin.internal.ApplicationDeployer.addApp
lication(ApplicationDeployer.java:776)
09/12/24 12:42:35 ... 6 more
09/12/24 12:42:35 Caused by: com.evermind.server.ejb.exception.DeploymentExcepti
on: [MyFirstOC4JApp]: Excepci¾n al crear EntityManagerFactory con la clase Persi
stenceProvider org.eclipse.persistence.jpa.PersistenceProvider para la unidad de
persistencia example.
09/12/24 12:42:35 at com.evermind.server.ejb.exception.DeploymentException
.exceptionCreatingEntityManagerFactory(DeploymentException.java:130)
09/12/24 12:42:35 at com.evermind.server.ejb.persistence.PersistenceUnitMa
nagerImpl.createContainerEntityManagerFactory(PersistenceUnitManagerImpl.java:19
7)
09/12/24 12:42:35 at com.evermind.server.ejb.persistence.PersistenceUnitMa
nagerImpl.initializePersistenceUnit(PersistenceUnitManagerImpl.java:159)
09/12/24 12:42:35 at com.evermind.server.ejb.persistence.PersistenceUnitMa
nagerImpl.initialize(PersistenceUnitManagerImpl.java:87)
09/12/24 12:42:35 at com.evermind.server.ApplicationStateRunning.initializ
eApplication(ApplicationStateRunning.java:232)
09/12/24 12:42:35 at com.evermind.server.Application.setConfig(Application
.java:460)
09/12/24 12:42:35 ... 9 more
09/12/24 12:42:35 Caused by: oracle.classloader.util.AnnotatedClassNotFoundExcep
tion:
Falta la clase: org.eclipse.persistence.jpa.PersistenceProvider
Clase Dependiente: com.evermind.server.ejb.persistence.PersistenceUnitMa
nagerImpl
Cargador: oc4j:10.1.3
Origen del C¾digo: /C:/oc4j/j2ee/home/lib/oc4j-internal.jar
Configuraci¾n: <code-source> in META-INF/boot.xml in C:\oc4j\j2ee\home
\oc4j.jar
Esta carga se ha iniciado en MyFirstOC4JApp.root:0.0.0 mediante el mÚtodo Class.
forName().
La clase que falta no estß disponible desde ning·n origen de c¾digo o cargador d
el sistema.
09/12/24 12:42:35 at oracle.classloader.PolicyClassLoader.handleClassNotFo
und(PolicyClassLoader.java:2204)
09/12/24 12:42:35 at oracle.classloader.PolicyClassLoader.internalLoadClas
s(PolicyClassLoader.java:1726)
09/12/24 12:42:35 at oracle.classloader.PolicyClassLoader.loadClass(Policy
ClassLoader.java:1682)
09/12/24 12:42:35 at oracle.classloader.PolicyClassLoader.loadClass(Policy
ClassLoader.java:1667)
09/12/24 12:42:35 at java.lang.ClassLoader.loadClassInternal(ClassLoader.j
ava:319)
09/12/24 12:42:35 at java.lang.Class.forName0(Native Method)
09/12/24 12:42:35 at java.lang.Class.forName(Class.java:242)
09/12/24 12:42:35 at com.evermind.server.ejb.persistence.PersistenceUnitMa
nagerImpl.createContainerEntityManagerFactory(PersistenceUnitManagerImpl.java:19
2)
09/12/24 12:42:35 ... 13 more
2009-12-24 12:42:35.859 NOTIFICATION Fallo de Application Deployer para MyFirstO
C4JApp.
2009-12-24 12:42:35.859 NOTIFICATION Inicio de Application UnDeployer para MyFir
stOC4JApp.
2009-12-24 12:42:35.875 NOTIFICATION Eliminando todos los enlaces Web para la ap
licaci¾n MyFirstOC4JApp de todas las direcciones Web
2009-12-24 12:42:36.109 NOTIFICATION Se ha terminado Application UnDeployer para
MyFirstOC4JApp.
09/12/24 12:42:36 ADVERTENCIA: DeployerRunnable.run java.lang.InstantiationExcep
tion: Application: MyFirstOC4JApp is in failed state as initialization failedora
cle.oc4j.admin.internal.DeployerException: java.lang.InstantiationException: App
lication: MyFirstOC4JApp is in failed state as initialization failed
at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:133
at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun
(OC4JDeployerRunnable.java:52)
at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(Deplo
yerRunnable.java:81)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(Relea
sableResourcePooledExecutor.java:298)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.InstantiationException: Application: MyFirstOC4JApp is in f
ailed state as initialization failed
at com.evermind.server.Application.setConfig(Application.java:518)
at com.evermind.server.Application.setConfig(Application.java:361)
at com.evermind.server.ApplicationServer.addApplication(ApplicationServe
r.java:1919)
at oracle.oc4j.admin.internal.ApplicationDeployer.addApplication(Applica
tionDeployer.java:776)
at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDe
ployer.java:273)
at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:100
... 4 more
Caused by: com.evermind.server.ejb.exception.DeploymentException: [MyFirstOC4JAp
p]: Excepci¾n al crear EntityManagerFactory con la clase PersistenceProvider org
.eclipse.persistence.jpa.PersistenceProvider para la unidad de persistencia exam
ple.
at com.evermind.server.ejb.exception.DeploymentException.exceptionCreati
ngEntityManagerFactory(DeploymentException.java:130)
at com.evermind.server.ejb.persistence.PersistenceUnitManagerImpl.create
ContainerEntityManagerFactory(PersistenceUnitManagerImpl.java:197)
at com.evermind.server.ejb.persistence.PersistenceUnitManagerImpl.initia
lizePersistenceUnit(PersistenceUnitManagerImpl.java:159)
at com.evermind.server.ejb.persistence.PersistenceUnitManagerImpl.initia
lize(PersistenceUnitManagerImpl.java:87)
at com.evermind.server.ApplicationStateRunning.initializeApplication(App
licationStateRunning.java:232)
at com.evermind.server.Application.setConfig(Application.java:460)
... 9 more
Caused by: oracle.classloader.util.AnnotatedClassNotFoundException:
Falta la clase: org.eclipse.persistence.jpa.PersistenceProvider
Clase Dependiente: com.evermind.server.ejb.persistence.PersistenceUnitMa
nagerImpl
Cargador: oc4j:10.1.3
Origen del C¾digo: /C:/oc4j/j2ee/home/lib/oc4j-internal.jar
Configuraci¾n: <code-source> in META-INF/boot.xml in C:\oc4j\j2ee\home
\oc4j.jar
Esta carga se ha iniciado en MyFirstOC4JApp.root:0.0.0 mediante el mÚtodo Class.
forName().
La clase que falta no estß disponible desde ning·n origen de c¾digo o cargador d
el sistema.
at oracle.classloader.PolicyClassLoader.handleClassNotFound(PolicyClassL
oader.java:2204)
at oracle.classloader.PolicyClassLoader.internalLoadClass(PolicyClassLoa
der.java:1726)
at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java
:1682)
at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java
:1667)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:242)
at com.evermind.server.ejb.persistence.PersistenceUnitManagerImpl.create
ContainerEntityManagerFactory(PersistenceUnitManagerImpl.java:192)
... 13 more
09/12/24 12:42:36 GRAVE: ProgressObjectImpl.reportError java.lang.InstantiationE
xception: Application: MyFirstOC4JApp is in failed state as initialization faile
doracle.oc4j.admin.jmx.shared.exceptions.InternalException: java.lang.Instantiat
ionException: Application: MyFirstOC4JApp is in failed state as initialization f
ailed
at oracle.oc4j.admin.jmx.shared.deploy.NotificationUserData.<init>(Notif
icationUserData.java:107)
at oracle.oc4j.admin.internal.Notifier.reportError(Notifier.java:429)
at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:130
at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun
(OC4JDeployerRunnable.java:52)
at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(Deplo
yerRunnable.java:81)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(Relea
sableResourcePooledExecutor.java:298)
at java.lang.Thread.run(Thread.java:595)
Caused by: oracle.oc4j.admin.internal.DeployerException: java.lang.Instantiation
Exception: Application: MyFirstOC4JApp is in failed state as initialization fail
ed
at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:133
... 4 more
Caused by: java.lang.InstantiationException: Application: MyFirstOC4JApp is in f
ailed state as initialization failed
at com.evermind.server.Application.setConfig(Application.java:518)
at com.evermind.server.Application.setConfig(Application.java:361)
at com.evermind.server.ApplicationServer.addApplication(ApplicationServe
r.java:1919)
at oracle.oc4j.admin.internal.ApplicationDeployer.addApplication(Applica
tionDeployer.java:776)
at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDe
ployer.java:273)
at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:100
... 4 more
Caused by: com.evermind.server.ejb.exception.DeploymentException: [MyFirstOC4JAp
p]: Excepci¾n al crear EntityManagerFactory con la clase PersistenceProvider org
.eclipse.persistence.jpa.PersistenceProvider para la unidad de persistencia exam
ple.
at com.evermind.server.ejb.exception.DeploymentException.exceptionCreati
ngEntityManagerFactory(DeploymentException.java:130)
at com.evermind.server.ejb.persistence.PersistenceUnitManagerImpl.create
ContainerEntityManagerFactory(PersistenceUnitManagerImpl.java:197)
at com.evermind.server.ejb.persistence.PersistenceUnitManagerImpl.initia
lizePersistenceUnit(PersistenceUnitManagerImpl.java:159)
at com.evermind.server.ejb.persistence.PersistenceUnitManagerImpl.initia
lize(PersistenceUnitManagerImpl.java:87)
at com.evermind.server.ApplicationStateRunning.initializeApplication(App
licationStateRunning.java:232)
at com.evermind.server.Application.setConfig(Application.java:460)
... 9 more
Caused by: oracle.classloader.util.AnnotatedClassNotFoundException:
Falta la clase: org.eclipse.persistence.jpa.PersistenceProvider
Clase Dependiente: com.evermind.server.ejb.persistence.PersistenceUnitMa
nagerImpl
Cargador: oc4j:10.1.3
Origen del C¾digo: /C:/oc4j/j2ee/home/lib/oc4j-internal.jar
Configuraci¾n: <code-source> in META-INF/boot.xml in C:\oc4j\j2ee\home
\oc4j.jar
Esta carga se ha iniciado en MyFirstOC4JApp.root:0.0.0 mediante el mÚtodo Class.
forName().
La clase que falta no estß disponible desde ning·n origen de c¾digo o cargador d
el sistema.
at oracle.classloader.PolicyClassLoader.handleClassNotFound(PolicyClassL
oader.java:2204)
at oracle.classloader.PolicyClassLoader.internalLoadClass(PolicyClassLoa
der.java:1726)
at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java
:1682)
at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java
:1667)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:242)
at com.evermind.server.ejb.persistence.PersistenceUnitManagerImpl.create
ContainerEntityManagerFactory(PersistenceUnitManagerImpl.java:192)
... 13 more
Any help will be appreciate.
Merry Christmas,
JoseBroker log has this entry in it:
[23/Feb/2011:03:43:57 UTC] WARNING [B3168]: Invalid broker address for this broker to run in cluster: Loopback IP address is not allowed in broker address mq://127.0.0.1:7676/?instName=imqbroker&brokerSessionUID=6326201025350530816 for cluster
[23/Feb/2011:03:43:57 UTC] WARNING [B1137]: Cluster initialization failed. Disabling the cluster service.
When looking at the working instance, this warning is not displayed but instead is displayed as:
[25/Jan/2011:17:06:49 MST] [B1041]: Cluster initialization successful.
I am not sure what setting needs to change here though.
I was looking at the code and is seems that the combination of not using a cluster and that glassfish sends a namespace prefix to JMS is what results in this final error being thrown.
Edited by: user4187078 on Feb 23, 2011 8:33 AM -
Sap-plugin error when deploying a par file
Hi,
We are getting sap-plugin error when ever we are trying to deploy the application to the portal.Even after restarting the server the problem is not getting solved.
The application we are trying to deploy is perfectly alright as we tested the same earlier.
Can any one provide some inputs to solve this issue.
To add some more points
In brief ,we are not able to deploy our Portal applications . It is giving us error like this
NFO: Detected Portal Archive File: com.abc.par
INFO: Deployment failed - exception caught: Application upload failed: com.abc.par - more detail at: /usr/sap/POD/JC30/j2ee/cluster/server0/apps/sap.com/irj/servlet_jsp/irj/root/web-inf/deployment/pcd/com.abc.par.log
We got this error many times , but after some time , when we restart the portal it works,
this time it is not working even after I restarted the server many timeshi all, i have same problem with upload of .par file, it doesn't work both from the portal and from the NWDS,
here i post first part of log file:
this is sap-plugin.log :
[16.05.07 / 13:05] #ERROR LEVEL# com.sap.portal.developmentTools.ideSpecific.eclipse.wizards.sapmakepar.SAPMPWizard$1 > Upload Response: <?xml version="1.0" encoding="utf-8"?>
<query-result><info><type>1</type><message>Detected Portal Archive File: test.par</message></info><info><type>1</type><message>Deployment failed - exception caught: Application upload failed: test.par - more detail at: C:\usr\sap\SWB\DVEBMGS02\j2ee\cluster\server0\apps\sap.com\irj\servlet_jsp\irj\root\WEB-INF\deployment\pcd\test.par.log</message></info></query-result>
this is test.par.log :
2007-05-16_12-03-10
Application upload failed: test.par
com.sapportals.portal.prt.runtime.PortalException: [ApplicationRepositoryService.putArchive] archive: test.par
at com.sapportals.portal.application.applicationrepository.ApplicationRepositoryService.putArchive(ApplicationRepositoryService.java:328)
at com.sapportals.portal.prt.deployment.DeploymentManager._uploadArchive(DeploymentManager.java:813)
at com.sapportals.portal.prt.deployment.DeploymentManager.uploadArchive(DeploymentManager.java:474)
at com.sapportals.portal.prt.deployment.DeploymentManager.uploadApplication(DeploymentManager.java:319)
at com.sap.ip.portal.admin.portalanywhere.ArchiveUploader.doUpload(ArchiveUploader.java:116)
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.sapportals.portal.prt.component.AbstractPortalComponent.handleRequestEvent(AbstractPortalComponent.java:700)
at com.sapportals.portal.prt.component.AbstractPortalComponent.handleEvent(AbstractPortalComponent.java:412)
at com.sapportals.portal.prt.pom.ComponentNode.handleEvent(ComponentNode.java:252)
at com.sapportals.portal.prt.pom.PortalNode.fireEventOnNode(PortalNode.java:369)
at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:707)
at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:232)
at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:522)
at java.security.AccessController.doPrivileged(Native Method)
at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
Caused by: com.sapportals.portal.pcd.pl.PlRuntimeException: unexpected SQLException
Cannot assign a zero-length byte array to host variable 18.
at com.sapportals.portal.pcd.pl.PlFactory.handleUnexpectedSQLError(PlFactory.java:2490)
at com.sapportals.portal.pcd.pl.PlContext.createSubcontext(PlContext.java:652)
at com.sapportals.portal.pcd.gl.xfs.XfsContext.createChildOnPersistence(XfsContext.java:1360)
at com.sapportals.portal.pcd.gl.xfs.XfsContext.createChildAndNotify(XfsContext.java:1118)
at com.sapportals.portal.pcd.gl.xfs.XfsContext.createChild(XfsContext.java:1076)
at com.sapportals.portal.pcd.gl.xfs.XfsContext.createSubcontext(XfsContext.java:846)
at com.sapportals.portal.pcd.gl.xfs.BasicContext.createBasicSubcontext(BasicContext.java:185)
at com.sapportals.portal.pcd.gl.PcdPersContext.createSubcontext(PcdPersContext.java:188)
at com.sapportals.portal.pcd.gl.PcdFilterContext.filterCreateSubcontext(PcdFilterContext.java:244)
at com.sapportals.portal.pcd.gl.PcdProxyContext.createSubcontext(PcdProxyContext.java:133)
at com.sapportals.portal.pcd.gl.PcdGlContext.createSubcontext(PcdGlContext.java:500)
at com.sapportals.portal.pcd.gl.PcdGlContext.bind(PcdGlContext.java:425)
at com.sapportals.portal.pcd.gl.PcdProxyContext.bind(PcdProxyContext.java:426)
at com.sapportals.portal.pcd.gl.PcdProxyContext.rebindInt(PcdProxyContext.java:446)
at com.sapportals.portal.pcd.gl.PcdProxyContext.rebind(PcdProxyContext.java:460)
at com.sapportals.portal.pcd.gl.PcdGlContext.rebind(PcdGlContext.java:1317)
at com.sapportals.portal.pcd.gl.PcdProxyContext.rebind(PcdProxyContext.java:501)
at com.sapportals.portal.pcd.gl.PcdProxyContext.rebind(PcdProxyContext.java:663)
at com.sapportals.portal.pcd.gl.PcdProxyContext.rebind(PcdProxyContext.java:668)
at com.sapportals.portal.application.applicationrepository.ApplicationRepositoryService.updateObject(ApplicationRepositoryService.java:717)
at com.sapportals.portal.application.applicationrepository.ApplicationRepositoryService.storeApplication(ApplicationRepositoryService.java:389)
at com.sapportals.portal.application.applicationrepository.ApplicationRepositoryService.putArchive(ApplicationRepositoryService.java:306)
... 34 more
Caused by: com.sap.sql.log.OpenSQLException: Cannot assign a zero-length byte array to host variable 18.
at com.sap.sql.log.Syslog.createAndLogOpenSQLException(Syslog.java:85)
at com.sap.sql.log.Syslog.createAndLogOpenSQLException(Syslog.java:124)
at com.sap.sql.jdbc.common.dispatch.BlobHostVariable.setBinaryStream(BlobHostVariable.java:143)
at com.sap.sql.jdbc.common.CommonPreparedStatement.setBinaryStream(CommonPreparedStatement.java:776)
at com.sap.engine.services.dbpool.wrappers.PreparedStatementWrapper.setBinaryStream(PreparedStatementWrapper.java:401)
at com.sapportals.portal.pcd.pl.AttributeHeadersTable.storeAttribute(AttributeHeadersTable.java:431)
at com.sapportals.portal.pcd.pl.AttributeHeadersTable.insert(AttributeHeadersTable.java:248)
at com.sapportals.portal.pcd.pl.PlObject.save(PlObject.java:541)
at com.sapportals.portal.pcd.pl.PlContext.createSubcontext(PlContext.java:616)
at com.sapportals.portal.pcd.pl.PlContext.createSubcontext(PlContext.java:640)
... 54 more -
Error when deploying as ear, ok when deploying as war, why?
Hello all,
I have a strange problem with a JSF project that uses myfaces and shale. I'm using Netbeans 5.5, and all works fine when the web application is deployed independently as a war, but when deploy the full ear i have the following error:
java.lang.NullPointerException
at org.apache.myfaces.taglib.core.ViewTag.doStartTag(ViewTag.java:75)
. I'm using a 'mock' application with no complex ejbs and jsps, so I discard a component problem. Someone have experimented this problem?
Thanks in advance.Thanks vbk,
I resolved 'partially' the problem not including the myfaces jars in the ear. So the application server uses the sun jsf implementation and all works fine. lamentably I don't know the answer, i suppose a class loading preference problem ... I any case, i would be interested if someone uses the myfaces implementation in the sun app server 9 (myfaces includes some interesting features). I proved the myfaces 1.1.3, 1.1.4 and 1.1.5 versions and all have the same problem.
In relation with this same post, i found anohter problem: shale tiger annotations make jee5 annotations fail. I looked in the shale forums and seems this combination is incompatible. Someone use tiger annotations?
Thanks. -
Default data adaptor error when deploying a war file in weblogic
Hi All,
Newbie here with a few questions regarding the deployment of OPA 10.1. Really hoping you guys can help...
1) I'm attempting to deploy an unexploded web-determinations.war file on WebLogic. Thanks to this forum I've got past the issues of "rulebase directory not found" etc. However, i'm now faced with an issue which I can't find any info on. Please see below.
3672074 [[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] WARN com.or
acle.determinations.web.platform.controller.actions.StartSessionAction - Could not instansate defau
lt data adaptor
java.lang.NullPointerException
at java.io.File.<init>(File.java:194)
at com.oracle.determinations.web.platform.plugins.data.XDSDataAdaptor.<init>(XDSDataAdaptor.
java:55)
at com.oracle.determinations.web.platform.controller.actions.StartSessionAction.createInterv
iewSession(StartSessionAction.java:173)
at com.oracle.determinations.web.platform.controller.actions.StartSessionAction.getResource(
StartSessionAction.java:66)
at com.oracle.determinations.web.platform.servlet.WebDeterminationsServlet.doGet(WebDetermin
ationsServlet.java:67)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.
java:226)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:124)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at com.oracle.determinations.web.platform.util.CharsetFilter.doFilter(CharsetFilter.java:46)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletC
ontext.java:3393)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2
140)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2046)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1366)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
I've got the following entry in the application.properties file too...
# Default XDS data adaptor file path
#xds.file.path =data
From what we can see we believe the code is getting a null pointer because of the following method in the WebDeterminationsServletContext class.
public String resolveFullPath(String path)
File f = new File(path);
return f.isAbsolute() ? f.getAbsolutePath() : this.servletContext.getRealPath(path);
We believe the getRealPath(path), highlighted in red, is returning null. Any ideas how we can resolve this?
2) The second issue I'm facing is with regards the plugins.libraries property in the application.properties file. I've got the entry as
plugin.libraries =DataAdaptor.DA;
which should point to our customised data adaptor. However I'm getting the following error.
4242994 [[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'] WARN com.or
acle.determinations.web.platform.servlet.WebDeterminationsServletContext - Can not find class: Data
Adaptor.DA
4243025 [[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'] WARN com.or
acle.determinations.interview.engine.local.LocalInterviewEngine - Can not find class: DataAdaptor.D
A
3) Also, does anyone know if it's possible to deploy a web-determinations.war file containing additional internal application code? What we're attempting to do is deliver a single war file which not only holds the web determination code but also all the code for an application which wraps the OWD within it. At present this just isn't working. I'm not sure what the conflict is exactly. The only way i seem to be able to get this working is by deploying the code in two seperate war files.
Any help on these issues would be greaty appreciated.
Thanks,
Taj(2) is being caused because your data adaptor plugin is not installed properly. The jar that contains your plugin needs to go in the WEB-INF/lib directory and you must specify the fully qualified class name in the plugin.libraries property of the application.properties file.
If you haven't provided a custom data adaptor, Web Determinations will configure and attach the default one for use instead, which is file based. If you are deploying to WebLogic as an unxeploded war, you must configure the directory the default data directory the plugin will uses by specifying an absolute path that your instance of Web Determinations has read/write permissions to in the xds.file.path property of the application.properties file. In your case (1) is basically being caused by (2) since if the your data adaptor was loaded correctly the default one wouldn't load at all.
As for (3) yes it's likely possible, provided you don't have library conflicts. How it's done really depends on what these additional customisations consist of. -
Error when importing Sample OBIEE Files using the IMPDP command
I'm trying to follow the lengthy directions to create the Sample App, and I'm on page 7 of this installation guide:
http://www.oracle.com/technetwork/middleware/bi-foundation/downloads/sampleapp107-deploymentguide-435786.pdf]description
I've successfully completed the first 3 bullets on the page and I'm at the step of using the 'impdp' command to import data from the dmp file. The customized command I'm using is as follows:
impdp sys/password@Eagle as sysdba directory=datapumpdir dumpfile=SASchemas.dmp version=11.2.0.0.0 schemas=BISAMPLE,OBIEE_NAVTEQ,BIFOD,BIBPM,DEV_ODI_REPO,ODI_STAGING LOGFILE=SASchemas_imp.log
(Note that I'm using my actual password in place of 'password')
Unfortunately, I keep getting the error: unknown command beginning "impdp sys/..." rest of line ignored'
Why is this not working? I've checked the syntax very carefully.
Thanks, JohnWhoops I was running this from the SQL Prompt and not the Dos Prompt... Never mind.
-
When the Weblogic 6.1 Admin Server crashes.
Hi there!
I'm using weblogic server 6.1 sp1 on windows 2000. I have one
adminserver en a two managed servers. The two managed server are a
cluster.
My question is :
Can i rebuild the admin server on an other machine when the machine
where the admin server is running on has crashed and i can't start up
the machine.
If that is possible please tell me how?
Kind regards,
Ido Dijkstra
(J2ee Develloper)Mark Hansen <[email protected]> wrote:
I've installed WebLogic 6.1 (sp/3) on a Windows/2000 machine, and am
trying to
set up the administration server to run as a system service.
I've played with the arguments to the installNtService.cmd script that
came with WebLogic,
but can't get the service to run. When I attempt to start the service,
I get the following error:
Server installed as NT Service with incorrect password for user system.
Unable to initialize the server: 'Fatal initialization exception
Throwable: java.lang.SecurityException: Authentication for user system
denied; contact your administrator to correct NT Service attributes
Note that I was able to install the Node Manager as a system service,
and it starts up fine.
Can anyone please tell me what I'm doing wrong?I found that adding the "-password <password>" to the
beasvc.exe command in the "installNtService.cmd" script
resolved the problem.
Note that when I looked at the arguments for the beasvc.exe
program, the -password argument was not listed ;-(
>
Thanks,
Maybe you are looking for
-
Closing the postings Date wise
Hi, I want to stop posting date wise rather then period wise (OB52), how can i do this. Regards KM Naidu
-
Java Concurrent Program - Output of BI publisher report
Hi, I have a requirement of a Java Concurrent Program in Oracle apps to print the output of a BI Publisher Report. I need help in the following aspects 1. Setting up my Jdeveloper for writing the Java code - I have downloaded xdo*,cabo*,jbo*,framewor
-
how can i buy wats app?
-
Authorization issue regarding Bex Query
Hi All, User Requirement: When ever the user is executing the report in Design Studio, user can able to see all the company codes (summary data) in the main page of the dashboard. If user wants to drill down to a particular Comp code, then user shoul
-
Firefox procedure is still running after I exit and I can not open a new session
To clear I have to alt-ctr-del and close the firefox.exe procedure. I am running win xt on a del portable.