Deploying application with EAR file: problems....
Hello!
We been working in a test environment for developing our application. When its done and ready to go in production, we did generate the deployed application archive (EAR) with the console. Then, we used the
java -jar admin.jar -deploy command to deploy in the prod. env.
Meanwhile, we always get this kind of error, as it seems that oc4j is not generating EJB wrapper correctly:
GestionApplicationSBHome_StatelessSessionHomeWrapper120 was not an instance of interface sertir.portail.gap.GestionApplicationSBHome, the interface it implements is sertir.portail.gap.GestionApplicationSBHome
at java.lang.Throwable.fillInStackTrace(Native Method)
AND
java.lang.ClassCastException: ApplicationEBHome_EntityHomeWrapper14 was not an instance of interface sertir.portail.gap.ApplicationEBHome, the interfaces it implements are sertir.portail.gap.ApplicationEBHome, com.evermind[Oracle9iAS (1.0.2.2) Containers for J2EE].util.ExternalComparator, com.evermind[Oracle9iAS (1.0.2.2) Containers for J2EE].server.ejb.EntityContainer
and other errors doing that with almost all EJBs.
My question is, is there a special switch in the deploy command to force the compilation of the EAR file?
Any help would be appreciated...
Thanks!
These are set of jar files that are placed in WEB-INF/lib folder
jsf-api.jar
commons-net-1.4.1.jar
itext-1.4.2.jar
javax.servlet_1.0.0.0_2-5.jar
log4j-1.2.8.jar
lucene-core-2.0.0.jar
ojdbc5.jar
ojdl.jar
ojdl2.jar
orai18n-lcsd.jar
trinidad-api.jar
I think adf-faces-impl.jar is doesn't require for my application because we have migrated our application from ADF Faces to Trinidad.
Thanks
Sukumar
Similar Messages
-
Exception while deploying application(as EAR file) on Standalone WLS 10.3
Hi,
I'm struggling with an exception while deploying my application(as EAR file) on a standalone WebLogic Server 10.3. I have developed a application using Trinidad and JSF components. But an exception occurs while deploying my application(as EAR file) in WebLogic Server 10.3. As I'm not familiar with WEBLOGIC server I'm unable to analyse the exception.
Note - I'm attaching the StackTrace below
Please help me out from this isssue.
+[HTTP:101216]Servlet: *"Faces Servlet" failed to preload on startup in Web application: "iss"*. java.lang.NullPointerException at javax.faces.webapp.FacesServlet.init(FacesServlet.java:165) at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:283) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(Unknown Source) at weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:64) at weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:58) at weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHelper.java:48) at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:521) at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1893) at weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:1870) at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1790) at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:2999) at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1371) at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:468) at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37) at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60) at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200) at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:117) at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37) at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60) at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27) at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:635) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37) at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212) at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:16) at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:162) at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79) at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569) at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:140) at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:106) at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323) at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:820) at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1227) at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:436) at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:163) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:181) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:12) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:67) at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201) at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)+
Message icon - Error java.lang.NullPointerException:
Thanks
SukumarThese are set of jar files that are placed in WEB-INF/lib folder
jsf-api.jar
commons-net-1.4.1.jar
itext-1.4.2.jar
javax.servlet_1.0.0.0_2-5.jar
log4j-1.2.8.jar
lucene-core-2.0.0.jar
ojdbc5.jar
ojdl.jar
ojdl2.jar
orai18n-lcsd.jar
trinidad-api.jar
I think adf-faces-impl.jar is doesn't require for my application because we have migrated our application from ADF Faces to Trinidad.
Thanks
Sukumar -
Deploying application with class files compiled using ojspc
Hi,
I want to deploy the application having class files compiled using ojspc in Oracle9iAS Release 2 rather than having JSP pages.
Thanks,
PritamHi Manoj,
I have tried doing something like this.
If you want to try this out running on a NW2004s.You need to first download the entire project from perforce branch (
tc\webdynpro\clientserver)for NWDS 7.0 and then build the project locally in your java perspective.
During the local build of the project.It will also point out the dependent projects required by this project(clientserevr).
Once the project is build.
Create seperate external jars of the clientserver project and its dependent projects and save them locally.
Open your SDM manager,pick up this jar file from there and deploy it.
Once the deployment is over, the server is ready to run the application you created.
But this make your NWDS2004s to behave jus like NWDS7.0 .
Just a small suggestion ,instead of going through this tedious process you can shift to NWDS7.0 itself.
regards
aarthi mathivanan -
Deployed Application Missing JSP files
I have deployed an web appliclation Using JDeveloper 10.1.3.3 to a remote Oracle AS When I look at the Deployed Application on the Server I only see the Servlet, the JSP files are missing. I looked at the .ear and .war files and the have all the components in them but the JSPs seem to be missiong from the server. I did not get any error messages from the deployment log
---- Deployment started. ---- Mar 13, 2012 2:19:32 PM
Target platform is Oracle Application Server 10g 10.1.2 (Windows) (bantest).
Wrote WAR file to C:\jdev\jdev\mywork\NJTransit\NJTransit\deploy\njtransit.war
Wrote EAR file to C:\jdev\jdev\mywork\NJTransit\Deployment\deploy\NJTransit.ear
Invoking DCM servlet client...
C:\jdev\jdk\jre\bin\javaw.exe -Djava.protocol.handler.pkgs=HTTPClient -jar C:\jdev\jdev\lib\oc4j_remote_deploy.jar http://207.200.160.20:18100/Oc4jDcmServletAPI/ ias_admin **** redeploy D:\oracle\FRHome_1 C:\jdev\jdev\mywork\NJTransit\Deployment\deploy\NJTransit.ear NJTransit
Initializing log
Servlet interface for OC4J DCM commands
Command timeout defined at 600 seconds
Executing DCM command...
Executing command redeploy D:\oracle\FRHome_1 C:\jdev\jdev\mywork\NJTransit\Deployment\deploy\NJTransit.ear NJTransit UNDEFINEDCommand = REDEPLOY
Reading application's ear file
Ear file was successfully read
Opening connection to Oc4jDcmServlet
Setting userName to ias_admin
Sending command to DCM servlet
HTTP response code = 200, HTTP response msg = OK
Command was successfully sent to Oc4jDcmServlet
Receiving session id from servlet to check command status
Session id = 5e8e9abcf2b84b9639667c4ea36dccf4a8199cf3785755d564948b1e8d096849
Please, wait for command to finish...
Checking command status...
Setting userName to ias_admin
Setting Cookie to JSESSIONID=5e8e9abcf2b84b9639667c4ea36dccf4a8199cf3785755d564948b1e8d096849
Checking command status
HTTP response code = 200, HTTP response msg = OK
Command has finished
Receiving command exit value
Receiving command output
**** No output was received from command
Closing connection to Oc4jDcmServlet
DCM command completed successfully.
Output:
Exit status of DCM servlet client: 0
Elapsed time for deployment: 13 seconds
---- Deployment finished. ---- Mar 13, 2012 2:19:45 PM
The only odd thing I can see is that UNDEFINED statment in the log.
I followed the recipe for Deployment from the tutorial so I don't understand why the JSPs are missing.I have two version's of JDeveloper running on my machine when you pointed out to me that I was using 10.1.3.0 I downloaded 10.1.3.5 and used it instead. However we still have a problem. One our test and production machine we are running Oracle AS 10.1.2 with Java SDK 1.4. Now the documantation says that this supports JSP runtime 2.0 and Servlet Runtime 2.4. My problem is I still have to get this working for Oracle AS 10.1.2 with Java SDK 1.4. Here's what happens when I deployed to that environment.
500 Internal Server Error
java.lang.NullPointerException
at njtranenrll.jspService(_njtranenrll.java:45)
[SRC:/njtranenrll.jsp:15]
at com.orionserver[Oracle Application Server Containers for J2EE 10g (10.1.2.3.0)].http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
at oracle.jsp.runtimev2.JspPageTable.compileAndServe(JspPageTable.java:575)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:311)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:498)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:402)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.3.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:835)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.3.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:341)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.3.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:816)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.3.0)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:231)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.3.0)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:136)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.3.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
at java.lang.Thread.run(Thread.java:534)
12/03/19 23:10:27 Oracle Application Server Containers for J2EE 10g (10.1.2.3.0) initialized
12/03/20 09:17:21 Notification ==> Application Deployer for NJTransit STARTS [ 2012-03-20T09:17:21.865EDT ]
12/03/20 09:17:21 Notification ==> Do not undeploy previous deployment
12/03/20 09:17:21 Notification ==> Copy the archive to D:\oracle\FRHome_1\j2ee\home\applications\NJTransit.ear
12/03/20 09:17:21 Copy file C:\WINDOWS\TEMP\dir51939.tmp\NJTransit.ear to D:\oracle\FRHome_1\j2ee\home\applications\NJTransit.ear
12/03/20 09:17:21 Notification ==> Unpack NJTransit.ear begins...
12/03/20 09:17:21 Auto-unpacking D:\oracle\FRHome_1\j2ee\home\applications\NJTransit.ear... done.
12/03/20 09:17:21 Notification ==> Unpack NJTransit.ear ends...
12/03/20 09:17:21 Notification ==> Initialize NJTransit.ear begins...
12/03/20 09:17:21 Auto-unpacking D:\oracle\FRHome_1\j2ee\home\applications\NJTransit\njtransit.war... done.
12/03/20 09:17:21 Copying default deployment descriptor from archive at D:\oracle\FRHome_1\j2ee\home\applications\NJTransit/META-INF/orion-application.xml
to deployment directory D:\oracle\FRHome_1\j2ee\home\application-deployments\NJTransit...
12/03/20 09:17:21 Notification ==> Initialize NJTransit.ear ends...
12/03/20 09:17:21 Notification ==> Initialize njtransit begins...
12/03/20 09:17:21 Notification ==> Initialize njtransit ends...
12/03/20 09:17:21 Notification ==> Application Deployer for NJTransit COMPLETES [ 2012-03-20T09:17:21.990EDT ]
12/03/20 09:25:31 Error: null
12/03/20 09:25:31 Errors parsing jar:file:/D:/oracle/FRHome_1/j2ee/home/applications/NJTransit/njtransit/WEB-INF/lib/standard.jar!/META-INF/fn.tld
12/03/20 09:25:31 Error: null
12/03/20 09:25:31 Errors parsing jar:file:/D:/oracle/FRHome_1/j2ee/home/applications/NJTransit/njtransit/WEB-INF/lib/standard.jar!/META-INF/*permittedTaglibs.tld*
12/03/20 09:25:31 Error: null
12/03/20 09:25:31 Errors parsing jar:file:/D:/oracle/FRHome_1/j2ee/home/applications/NJTransit/njtransit/WEB-INF/lib/standard.jar!/META-INF/*scriptfree.tld*
12/03/20 09:25:37 Error: null
12/03/20 09:25:37 Error: null
12/03/20 09:25:37 Error: null
12/03/20 09:25:37 Error: loading Tld's into cachedConfigTable: null
12/03/20 09:25:37 Error: loading Tld's into cachedConfigTable: null
12/03/20 09:25:37 Error: loading Tld's into cachedConfigTable: null
notice the error in parsing the jar file this jar file is standard.jar do I need this jar or can I leave it out? -
Deploying war OR ear file in 10.1.3 standalone OC4J
I've read the several threads on how to deploy a war file and/or ear file for OC4J but haven't seen anyone having the same issue I'm having.
I've tried deploying manually, from the command line using admin.jar, as well as the enterprise manager. It appears that when OC4J is looking for a jar file containing EJB's. But my app has none and there is no jar file that it finds.
Here is what the console reports when I try to deploy using admin.jar ->
http://www.gordongridley.us/2007/02/oc4j-console-when-trying-to-deploy.html
OK - so I try to deploy using the Enterprise Manager instead to see if the UI has some options that I can change for not forcing an EJB jar file lookup. Here is a video of what I did ->
http://www.gordongridley.us/2007/02/attempting-to-deploy-war-using-oc4j.html
Do I really need to have a jar file with EJB's to deploy a WAR/EAR file?Hi Gordon,
The source of your ills is this entry in the application.xml descriptor:
<module>
<ejb>TomaxCMAdmin.jar</ejb>
</module>
Remove that, and you should be good to go (assuming you aren't referencing any other non-existent JARs).
Thanks
Dan Hynes -
Hi,
In my .ear file, one application-client jar(which contains all helper classes which are used in whole application) file is there. While deploying .ear file, all ejb are getting deployed well, while deploying application client jar file(Global.jar file here) it is giving the following message:
IO Error deploying Global.jar: D:\oracle9ias\oc4j_extended\j2ee\home\applications\trainiumear\Global.jar
Here is application-client.xml of Global.jar file:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE application PUBLIC '-//Sun Microsystems, Inc.//DTD J2EE Application 1.2//EN' 'http://java.sun.com/j2ee/dtds/application-client_1_2.dtd'>
<application-client>
<display-name>TrainiumClientApp</display-name>
<description>Application description</description>
</application-client>
My Environment: Oracle9iAS (9.0.3.0.0), Windows-NT
Please let me know Why i am getting 'IO Error' , where i may done wrong ?
Thanks in Advance
SrinivasSrinivas,
Before we continue, PLEASE tell me if you've looked through the available
documentation, code samples, "how-to" documents, etc., for OC4J. It
seems to me that you're mixing things up a bit. I use the "deploy"
command to deploy my EARs, example (partial):
java -jar admin.jar ormi://<host> admin <password> -deploy ...
And my EAR file is not in the "application-deployments" directory
when I issue that command.
Perhaps you could also show me the contents of your "application.xml"
file for this application you are having trouble with.
But I repeat, please tell me if you have already looked at the
available documents regarding OC4J!
Thanks,
Avi. -
Working with EAR file & (Servlet/JSP) Clustering - Please Help
Hi,
In my project we pack our application using EAR file. We read BEA's article, which
discussed the class loaders hierarchy and it looks like this problem should not occur:
When the garbage collection is being invoked - it somehow fails to resolve the class
weblogic.jndi.WLInitialContextFactory.
We have encountered the following error (stack trace):
Message: severity="ERROR" sessionId="9IUUN4xoQf1wOkfEN8m62SFjEpNC1e4lLHSzyc2s01GPk5Up25cJ!-1680906364!182460375!7559!7002!1728341859!182464192!7559!7002!1023972500766"
date="Jun 13, 2002" time="3:49:05 PM" threadId="Finalizer"
Description:
Throw: amdocs.jspInfra.exceptions.FailedToRemoveEjbException: [an error occurred
while trying to remove an ejb.]
null- caused by: amdocs.jspInfra.exceptions.InitialContextCreationFailureException:
[an error occurred while trying to create a new initial context.]
null- caused by: javax.naming.NoInitialContextException: Cannot instantiate class:
weblogic.jndi.WLInitialContextFactory [Root exception is java.lang.ClassNotFoundException:
weblogic/jndi/WLInitialContextFactory]
amdocs.jspInfra.exceptions.InitialContextCreationFailureException: [an error occurred
while trying to create a new initial context.]
null- caused by: javax.naming.NoInitialContextException: Cannot instantiate class:
weblogic.jndi.WLInitialContextFactory [Root exception is java.lang.ClassNotFoundException:
weblogic/jndi/WLInitialContextFactory]
javax.naming.NoInitialContextException: Cannot instantiate class: weblogic.jndi.WLInitialContextFactory.
Root exception is java.lang.ClassNotFoundException: weblogic/jndi/WLInitialContextFactory
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:195)
at com.sun.naming.internal.VersionHelper12.loadClass(VersionHelper12.java:45)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:652)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:246)
at javax.naming.InitialContext.init(InitialContext.java:222)
at javax.naming.InitialContext.<init>(InitialContext.java:198)
at amdocs.jspInfra.userManagement.RequestContext._createContext(RequestContext.java:550)
at amdocs.jspInfra.userManagement.RequestContext.createContext(RequestContext.java:391)
at amdocs.jspInfra.userManagement.RequestContext.createContext(RequestContext.java:415)
at amdocs.jspInfra.beans.GenericJspBean._removeConversation(GenericJspBean.java:466)
at amdocs.jspInfra.beans.GenericJspBean._cleanUp_(GenericJspBean.java:413)
at amdocs.jspInfra.beans.GenericJspBean.cleanUp_(GenericJspBean.java:117)
at amdocs.jspInfra.beans.GenericJspBean.finalize(GenericJspBean.java:593)
at java.lang.ref.Finalizer.invokeFinalizeMethod(Native Method)
at java.lang.ref.Finalizer.runFinalizer(Finalizer.java:86)
at java.lang.ref.Finalizer.access$100(Finalizer.java:17)
at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:163)
The context classloader needs to be set so that the thread can load the
Weblogic context factory class inside the finalizer thread.
Simply save the context classloader when running inside the ejb code and set
that inside finalize method so that the class can get loaded correctly.
1) keep a member variable
ClassLoader myccl;
2) Instantiate it in the regular application thread as
myccl = Thread.currentThread().getContextClassLoader();
3) In the finalize() method keep this as the first line.
Thread.currentThread().setContextClassLoader(myccl);
-Sabha
"Yossi Cohen" <[email protected]> wrote in message
news:[email protected]...
>
> Hi,
>
> In my project we pack our application using EAR file. We read BEA's
article, which
> discussed the class loaders hierarchy and it looks like this problem
should not occur:
> When the garbage collection is being invoked - it somehow fails to resolve
the class
> weblogic.jndi.WLInitialContextFactory.
> We have encountered the following error (stack trace):
>
> Message: severity="ERROR"
sessionId="9IUUN4xoQf1wOkfEN8m62SFjEpNC1e4lLHSzyc2s01GPk5Up25cJ!-1680906364!
182460375!7559!7002!1728341859!182464192!7559!7002!1023972500766"
> date="Jun 13, 2002" time="3:49:05 PM" threadId="Finalizer"
> Description:
> Throw: amdocs.jspInfra.exceptions.FailedToRemoveEjbException: [an error
occurred
> while trying to remove an ejb.]
> null- caused by:
amdocs.jspInfra.exceptions.InitialContextCreationFailureException:
> [an error occurred while trying to create a new initial context.]
> null- caused by: javax.naming.NoInitialContextException: Cannot
instantiate class:
> weblogic.jndi.WLInitialContextFactory [Root exception is
java.lang.ClassNotFoundException:
> weblogic/jndi/WLInitialContextFactory]
> amdocs.jspInfra.exceptions.InitialContextCreationFailureException: [an
error occurred
> while trying to create a new initial context.]
> null- caused by: javax.naming.NoInitialContextException: Cannot
instantiate class:
> weblogic.jndi.WLInitialContextFactory [Root exception is
java.lang.ClassNotFoundException:
> weblogic/jndi/WLInitialContextFactory]
> javax.naming.NoInitialContextException: Cannot instantiate class:
weblogic.jndi.WLInitialContextFactory.
> Root exception is java.lang.ClassNotFoundException:
weblogic/jndi/WLInitialContextFactory
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Class.java:195)
> at
com.sun.naming.internal.VersionHelper12.loadClass(VersionHelper12.java:45)
> at
javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:652)
> at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:246)
> at javax.naming.InitialContext.init(InitialContext.java:222)
> at javax.naming.InitialContext.<init>(InitialContext.java:198)
> at
amdocs.jspInfra.userManagement.RequestContext._createContext(RequestContext.
java:550)
> at
amdocs.jspInfra.userManagement.RequestContext.createContext(RequestContext.j
ava:391)
> at
amdocs.jspInfra.userManagement.RequestContext.createContext(RequestContext.j
ava:415)
> at
amdocs.jspInfra.beans.GenericJspBean._removeConversation(GenericJspBean.java
:466)
> at amdocs.jspInfra.beans.GenericJspBean._cleanUp_(GenericJspBean.java:413)
> at amdocs.jspInfra.beans.GenericJspBean.cleanUp_(GenericJspBean.java:117)
> at amdocs.jspInfra.beans.GenericJspBean.finalize(GenericJspBean.java:593)
> at java.lang.ref.Finalizer.invokeFinalizeMethod(Native Method)
> at java.lang.ref.Finalizer.runFinalizer(Finalizer.java:86)
> at java.lang.ref.Finalizer.access$100(Finalizer.java:17)
> at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:163)
>
-
How to use MDS deploying with EAR file
Hi everybody.
I would to use MDS in my web application in order to use customization across the sessions. I've performed every step to do this on JDeveloper (11.1.1.3.1). I've tested my application deploying directly from JDeveloper using Application menu > Deploy > "myApp" to "myApplicationServer" (in this way I can choose the repository with a window like this: http://i.stack.imgur.com/Kci9c.png). The repository was prevoiusly registered on the server. In this way my application works fine and they all lived happily ever after.
My problem occurs when I perform the deployment with "myApp to EAR" mode. When I try to install my EAR file in weblogic, it reply me with this error message:
An error occurred during activation of changes, please see the log for details.
+:oracle.mds.config.MDSConfigurationException:MDS-01335: namespace "/xliffBundles" mapped to metadata-store-usage "MAR_TargetRepos" but its definition was not found in MDS configuration.+
I've looked for a solution around the web (included this forum) and I think that I should modify something in adf-config.xml file (below).
Which steps I have to perform in order to install my application correctly with an EAR file?
Thanks in advance.
<?xml version="1.0" encoding="windows-1252" ?>
<adf-config xmlns="http://xmlns.oracle.com/adf/config"
xmlns:adf="http://xmlns.oracle.com/adf/config/properties"
xmlns:sec="http://xmlns.oracle.com/adf/security/config"
xmlns:ads="http://xmlns.oracle.com/adf/activedata/config">
<adf:adf-properties-child xmlns="http://xmlns.oracle.com/adf/config/properties">
<adf-property name="adfAppUID" value="BDO_GC_WEBAPP.bdogc"/>
</adf:adf-properties-child>
<!-- <ads:adf-activedata-config xmlns=
"http://xmlns.oracle.com/adf/activedata/config">
<latency-threshold>5000</latency-threshold>
<keep-alive-interval>10000</keep-alive-interval>
<max-reconnect-attempt-time>90000</max-reconnect-attempt-time>
<reconnect-wait-time>8000</reconnect-wait-time>
</ads:adf-activedata-config> -->
<sec:adf-security-child xmlns="http://xmlns.oracle.com/adf/security/config">
<CredentialStoreContext credentialStoreClass="oracle.adf.share.security.providers.jps.CSFCredentialStore"
credentialStoreLocation="../../src/META-INF/jps-config.xml"/>
<sec:JaasSecurityContext initialContextFactoryClass="oracle.adf.share.security.JAASInitialContextFactory"
jaasProviderClass="oracle.adf.share.security.providers.jps.JpsSecurityContext"
authorizationEnforce="true"
authenticationRequire="true"/>
</sec:adf-security-child>
<adf-faces-config xmlns="http://xmlns.oracle.com/adf/faces/config">
<persistent-change-manager>
<persistent-change-manager-class>
oracle.adf.view.rich.change.MDSDocumentChangeManager
</persistent-change-manager-class>
</persistent-change-manager>
<taglib-config>
<taglib uri="http://xmlns.oracle.com/adf/faces/rich">
<tag name="column">
<attribute name="displayIndex">
<persist-changes>
true
</persist-changes>
</attribute>
<attribute name="frozen">
<persist-changes>
true
</persist-changes>
</attribute>
<attribute name="noWrap">
<persist-changes>
true
</persist-changes>
</attribute>
<attribute name="selected">
<persist-changes>
true
</persist-changes>
</attribute>
<attribute name="visible">
<persist-changes>
true
</persist-changes>
</attribute>
<attribute name="width">
<persist-changes>
true
</persist-changes>
</attribute>
</tag>
<tag name="table">
<attribute name="filterVisible">
<persist-changes>
true
</persist-changes>
</attribute>
</tag>
</taglib>
</taglib-config>
</adf-faces-config>
<adf-mds-config xmlns="http://xmlns.oracle.com/adf/mds/config">
<mds-config xmlns="http://xmlns.oracle.com/mds/config" version="11.1.1.000">
<cust-config>
<match path="/">
<customization-class name="oracle.adf.share.config.UserCC"/>
</match>
</cust-config>
</mds-config>
</adf-mds-config>
</adf-config>Any suggestion?
-
Problem while deploying a WLW ear file on a WL81 production server
Hi,
I am trying to deploy a simple simple WEB service -which works fine within the
workshop 8.1 environment- on a different "production" server.
I generated manually all the JMS queues on the target database, as well as the
pointbase additional tables as specified in the documentation (based on the <wlw-manifest.xml>
file included in the ear file) .
The deployment ends with following error:
"weblogic.servlet.WlwJSPServlet" (see below).
Who could help ?
Thanks a lot
Yves
[Deployer:149033]preparing application WebServiceNAP on myserver
[Deployer:149033]failed application WebServiceNAP on myserver
[Deployer:149034]An exception occurred for task [Deployer:149026]Deploy application
WebServiceNAP on myserver.:
Exception:weblogic.management.ApplicationException: prepare failed for WebServiceNAPWeb
Module: WebServiceNAPWeb Error: Could not load WebServiceNAPWeb: weblogic.management.DeploymentException:
[HTTP:101283]ServletContext(id=34197168,name=WebServiceNAPWeb,context-path=/WebServiceNAPWeb):
jspServlet "weblogic.servlet.WlwJSPServlet" defined in weblogic.xml could not
be loaded.
java.lang.ClassNotFoundException: weblogic.servlet.WlwJSPServlet
at weblogic.utils.classloaders.GenericClassLoader.findClass(Ljava.lang.String;)Ljava.lang.Class;(GenericClassLoader.java:198)
at java.lang.ClassLoader.loadClass(Ljava.lang.String;Z)Ljava.lang.Class;(Unknown
Source)
at java.lang.ClassLoader.loadClass(Ljava.lang.String;)Ljava.lang.Class;(Unknown
Source)
at weblogic.utils.classloaders.GenericClassLoader.loadClass(Ljava.lang.String;)Ljava.lang.Class;(GenericClassLoader.java:223)
at weblogic.servlet.jsp.JspConfig.isJspServletValid(Ljava.lang.String;Ljava.lang.String;Ljava.lang.ClassLoader;)Z(JspConfig.java:317)
at weblogic.servlet.internal.WebAppServletContext.registerJspServlet(Lweblogic.management.descriptors.WebDescriptorMBean;)V(WebAppServletContext.java:2517)
at weblogic.servlet.internal.WebAppServletContext.prepareFromDescriptors(Lweblogic.management.descriptors.WebDescriptorMBean;)V(WebAppServletContext.java:1878)
at weblogic.servlet.internal.WebAppServletContext.init(Ljava.lang.String;Lweblogic.management.descriptors.WebDescriptorMBean;Z)V(WebAppServletContext.java:583)
at weblogic.servlet.internal.WebAppServletContext.<init>(Lweblogic.servlet.internal.HttpServer;Lweblogic.management.configuration.WebAppComponentMBean;Lweblogic.servlet.internal.WebAppModule;Lweblogic.management.ApplicationContainer;Lweblogic.application.ApplicationInfo;)V(WebAppServletContext.java:511)
at weblogic.servlet.internal.HttpServer.loadWebApp(Lweblogic.management.configuration.WebAppComponentMBean;Lweblogic.management.ApplicationContainer;Lweblogic.application.ApplicationInfo;Lweblogic.servlet.internal.WebAppModule;)Lweblogic.servlet.internal.WebAppServletContext;(HttpServer.java:594)
at weblogic.servlet.internal.WebAppModule.prepare(Ljava.lang.ClassLoader;[Lweblogic.management.configuration.VirtualHostMBean;ZLjava.lang.String;)V(WebAppModule.java:623)
at weblogic.j2ee.J2EEApplicationContainer.prepareWebModule(Lweblogic.utils.classloaders.GenericClassLoader;Lweblogic.j2ee.J2EEApplicationContainer$Component;Z)V(J2EEApplicationContainer.java:2896)
at weblogic.j2ee.J2EEApplicationContainer.prepareModules([Lweblogic.j2ee.J2EEApplicationContainer$Component;Ljava.lang.String;Z)V(J2EEApplicationContainer.java:1532)
at weblogic.j2ee.J2EEApplicationContainer.prepare([Lweblogic.j2ee.J2EEApplicationContainer$Component;[Ljava.lang.String;Ljava.lang.String;Ljava.lang.String;)V(J2EEApplicationContainer.java:1188)
at weblogic.j2ee.J2EEApplicationContainer.prepare(Ljava.lang.String;[Lweblogic.management.configuration.ComponentMBean;[Ljava.lang.String;)V(J2EEApplicationContainer.java:1031)
at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.prepareContainer()V(SlaveDeployer.java:2634)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer()Z(SlaveDeployer.java:2584)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare()V(SlaveDeployer.java:2506)
at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(Lweblogic.management.deploy.OamVersion;Lweblogic.management.runtime.DeploymentTaskRuntimeMBean;Z)V(SlaveDeployer.java:833)
at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(Lweblogic.management.deploy.OamDelta;Lweblogic.management.deploy.OamVersion;Z)Z(SlaveDeployer.java:542)
at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(Ljava.util.ArrayList;Z)V(SlaveDeployer.java:500)
at weblogic.drs.internal.SlaveCallbackHandler$1.execute(Lweblogic.kernel.ExecuteThread;)V(SlaveCallbackHandler.java:25)
at weblogic.kernel.ExecuteThread.execute(Lweblogic.kernel.ExecuteRequest;)V(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run()V(ExecuteThread.java:170)
at java.lang.Thread.startThreadFromVM(Ljava.lang.Thread;)V(Unknown Source)
- with nested exception:
[java.lang.ClassNotFoundException: weblogic.servlet.WlwJSPServlet]Looks like Raj has responded to this thread in the Workshop newsgroup:
http://newsgroups.bea.com/cgi-bin/dnewsweb?cmd=article&group=weblogic.developer.interest.workshop&item=1250&utag=
"Yves Léauté" wrote:
>
Hi,
I am trying to deploy a simple simple WEB service -which works fine within the
workshop 8.1 environment- on a different "production" server.
I generated manually all the JMS queues on the target database, as well as the
pointbase additional tables as specified in the documentation (based on the <wlw-manifest.xml>
file included in the ear file) .
The deployment ends with following error:
"weblogic.servlet.WlwJSPServlet" (see below).
Who could help ?
Thanks a lot
Yves
[Deployer:149033]preparing application WebServiceNAP on myserver
[Deployer:149033]failed application WebServiceNAP on myserver
[Deployer:149034]An exception occurred for task [Deployer:149026]Deploy application
WebServiceNAP on myserver.:
Exception:weblogic.management.ApplicationException: prepare failed for WebServiceNAPWeb
Module: WebServiceNAPWeb Error: Could not load WebServiceNAPWeb: weblogic.management.DeploymentException:
[HTTP:101283]ServletContext(id=34197168,name=WebServiceNAPWeb,context-path=/WebServiceNAPWeb):
jspServlet "weblogic.servlet.WlwJSPServlet" defined in weblogic.xml could not
be loaded.
java.lang.ClassNotFoundException: weblogic.servlet.WlwJSPServlet
at weblogic.utils.classloaders.GenericClassLoader.findClass(Ljava.lang.String;)Ljava.lang.Class;(GenericClassLoader.java:198)
at java.lang.ClassLoader.loadClass(Ljava.lang.String;Z)Ljava.lang.Class;(Unknown
Source)
at java.lang.ClassLoader.loadClass(Ljava.lang.String;)Ljava.lang.Class;(Unknown
Source)
at weblogic.utils.classloaders.GenericClassLoader.loadClass(Ljava.lang.String;)Ljava.lang.Class;(GenericClassLoader.java:223)
at weblogic.servlet.jsp.JspConfig.isJspServletValid(Ljava.lang.String;Ljava.lang.String;Ljava.lang.ClassLoader;)Z(JspConfig.java:317)
at weblogic.servlet.internal.WebAppServletContext.registerJspServlet(Lweblogic.management.descriptors.WebDescriptorMBean;)V(WebAppServletContext.java:2517)
at weblogic.servlet.internal.WebAppServletContext.prepareFromDescriptors(Lweblogic.management.descriptors.WebDescriptorMBean;)V(WebAppServletContext.java:1878)
at weblogic.servlet.internal.WebAppServletContext.init(Ljava.lang.String;Lweblogic.management.descriptors.WebDescriptorMBean;Z)V(WebAppServletContext.java:583)
at weblogic.servlet.internal.WebAppServletContext.<init>(Lweblogic.servlet.internal.HttpServer;Lweblogic.management.configuration.WebAppComponentMBean;Lweblogic.servlet.internal.WebAppModule;Lweblogic.management.ApplicationContainer;Lweblogic.application.ApplicationInfo;)V(WebAppServletContext.java:511)
at weblogic.servlet.internal.HttpServer.loadWebApp(Lweblogic.management.configuration.WebAppComponentMBean;Lweblogic.management.ApplicationContainer;Lweblogic.application.ApplicationInfo;Lweblogic.servlet.internal.WebAppModule;)Lweblogic.servlet.internal.WebAppServletContext;(HttpServer.java:594)
at weblogic.servlet.internal.WebAppModule.prepare(Ljava.lang.ClassLoader;[Lweblogic.management.configuration.VirtualHostMBean;ZLjava.lang.String;)V(WebAppModule.java:623)
at weblogic.j2ee.J2EEApplicationContainer.prepareWebModule(Lweblogic.utils.classloaders.GenericClassLoader;Lweblogic.j2ee.J2EEApplicationContainer$Component;Z)V(J2EEApplicationContainer.java:2896)
at weblogic.j2ee.J2EEApplicationContainer.prepareModules([Lweblogic.j2ee.J2EEApplicationContainer$Component;Ljava.lang.String;Z)V(J2EEApplicationContainer.java:1532)
at weblogic.j2ee.J2EEApplicationContainer.prepare([Lweblogic.j2ee.J2EEApplicationContainer$Component;[Ljava.lang.String;Ljava.lang.String;Ljava.lang.String;)V(J2EEApplicationContainer.java:1188)
at weblogic.j2ee.J2EEApplicationContainer.prepare(Ljava.lang.String;[Lweblogic.management.configuration.ComponentMBean;[Ljava.lang.String;)V(J2EEApplicationContainer.java:1031)
at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.prepareContainer()V(SlaveDeployer.java:2634)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer()Z(SlaveDeployer.java:2584)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare()V(SlaveDeployer.java:2506)
at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(Lweblogic.management.deploy.OamVersion;Lweblogic.management.runtime.DeploymentTaskRuntimeMBean;Z)V(SlaveDeployer.java:833)
at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(Lweblogic.management.deploy.OamDelta;Lweblogic.management.deploy.OamVersion;Z)Z(SlaveDeployer.java:542)
at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(Ljava.util.ArrayList;Z)V(SlaveDeployer.java:500)
at weblogic.drs.internal.SlaveCallbackHandler$1.execute(Lweblogic.kernel.ExecuteThread;)V(SlaveCallbackHandler.java:25)
at weblogic.kernel.ExecuteThread.execute(Lweblogic.kernel.ExecuteRequest;)V(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run()V(ExecuteThread.java:170)
at java.lang.Thread.startThreadFromVM(Ljava.lang.Thread;)V(Unknown Source)
- with nested exception:
[java.lang.ClassNotFoundException: weblogic.servlet.WlwJSPServlet] -
Hi I have hosting machine running linux
th java and j2sdkee some files are owned by root and most by uucp
1)what is uucp.
2)I can run the j2ee and i have deployed ear file
I can access the deployed application using
http://localhost:8000/blah/blah ok
but if i try to access the same from
http://www.xxxxxx.xxx:8000/blah/blah it is not working it says this page cannot be displayed (404)
can anyone tell me what is the problem
this is urgent i have to demo this in 2 hrs pl help me outHi sridhar,
1. Search for the file: hosts
2. add 1 line
127.0.0.1 www.sridhar.com
Then do this:
http://www.sridhar.com :8000/blah/blah
--Paul -
Deploying large JAR/EAR files
i'm using WLS6.1.
i'm having problem deploying a very large EAR file. when i upload the
file through the Admin Console, it keeps timing out. when i use the
command line tool, it crashes with OutOfMemoryException. i don't want
to break the file into smaller ones because they are all related and
i want to make production deployment simple with a single file.
anyone else with this problem? is there a way to deploy "manually"
without using the tools?
thanks,
yanTry pre-EJBC-ing it and pre-compiling your JSPs etc. It is not unusual for
EJBC to take 30 minutes on a high-end server for a large application.
Also, try using JIKES instead of javac.
Peace,
Cameron Purdy
Tangosol Inc.
<< Tangosol Server: How Weblogic applications are customized >>
<< Download now from http://www.tangosol.com/download.jsp >>
"Yan" <[email protected]> wrote in message
news:3bbde714$[email protected]..
>
i'm using WLS6.1.
i'm having problem deploying a very large EAR file. when i upload the
file through the Admin Console, it keeps timing out. when i use the
command line tool, it crashes with OutOfMemoryException. i don't want
to break the file into smaller ones because they are all related and
i want to make production deployment simple with a single file.
anyone else with this problem? is there a way to deploy "manually"
without using the tools?
thanks,
yan -
Error deploying application with security polices: ORA-00904
Hi all,
I am using Jdeveloper 11.1.1.0 and I am trying to deploy an ADF application with secure polices on WebLogic Server 10.3.1
I have deployed the application to an EAR file and I have installed it using the weblogic console, after having defined the JDBC connection.
Have I anything to do for implementing the security polices? Miss anything?
Because when I launch the application from Jdeveloper I have no errors, while when I try to go to the URL where I have deployed the application, after loggin in, I have this error:
Caused by: java.sql.SQLSyntaxErrorException: ORA-00904: "myEntityObject"."myField": invalid identifier
at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:91)
at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:133)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:206)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:455)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:413)
at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1034)
at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:194)
at oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:791)
at oracle.jdbc.driver.T4CPreparedStatement.executeMaybeDescribe(T4CPreparedStatement.java:866)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1187)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3386)
at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3430)
at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeQuery(OraclePreparedStatementWrapper.java:1491)
at weblogic.jdbc.wrapper.PreparedStatement.executeQuery(PreparedStatement.java:128)
at oracle.jbo.server.ViewObjectImpl.getQueryHitCount(ViewObjectImpl.java:3915)
... 91 more
## Detail 0 ##
java.sql.SQLSyntaxErrorException: ORA-00904: "TICKETEO"."ID_CATEGORIA_APERTURA": identificativo non valido
at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:91)
at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:133)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:206)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:455)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:413)
at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1034)
at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:194)
at oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:791)
at oracle.jdbc.driver.T4CPreparedStatement.executeMaybeDescribe(T4CPreparedStatement.java:866)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1187)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3386)
at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3430)
at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeQuery(OraclePreparedStatementWrapper.java:1491)
at weblogic.jdbc.wrapper.PreparedStatement.executeQuery(PreparedStatement.java:128)
at oracle.jbo.server.ViewObjectImpl.getQueryHitCount(ViewObjectImpl.java:3915)
at oracle.jbo.server.ViewObjectImpl.getQueryHitCount(ViewObjectImpl.java:3867)
at oracle.jbo.server.QueryCollection.getEstimatedRowCount(QueryCollection.java:3517)
at oracle.jbo.server.ViewRowSetImpl.getEstimatedRowCount(ViewRowSetImpl.java:2318)
at oracle.jbo.server.ViewObjectImpl.getEstimatedRowCount(ViewObjectImpl.java:8782)
at oracle.adf.model.bc4j.DCJboDataControl.estimateRowCount(DCJboDataControl.java:1551)
thanks
Andry
Edited by: user10799119 on 4-set-2009 3.50Hi,
sincerly now I don't remember what was the problem, but it seems to me the solution was in one of these four settings:
1) check Admin Server when I create the JDBC connection.
2) before deploying the application to an EAR file, you don't forget to uncheck Auto-generate and synchronize weblogic-jdbc.xml Descriptors during deployment in Application properties --> deployment
3) in your application module --> configuration change the connection type from jdbc URL to JDBC DataSource
4) at the end of your URL of the deployed application don't insert the ".jspx" after your page name
Hope this helps
Regards -
Deploying Applications with SCCM 2012 R2 to Server 2008 R2 RDS servers
I'm having some trouble finding some concrete information from Microsoft regarding the deployment of applications to RDS servers using SCCM 2012 R2. There seems to be a lot of conjecture, old information and old wives tales floating around and I was hoping
I could get some information confirmed!
1. MSI installs automatically switch to install mode on RDS servers?
I've seen this mentioned a few times. I've also seen it mentioned that it is only true when running the MSI from the console session manually (i.e clicking the MSI file) not running as SYSTEM as SCCM would usually do. Can someone confirm if they do this
themselves or not?
2. Users still logged in when deploying applications?
Is it possible to deploy an application while users are still logged in? Is this only related to going into 'install' mode and taking the chance that a user will do something that will cause issues? Or is it known to cause issues?
I guess those are the main ones, I'm experienced in SCCM but not with deploying to RDS servers, I cant seem to find any straight answers!
Anyway, thanks in advance!I've never had large enough RDS environment to use SCCM for app push, but from my experience in managing 2012/R2 RDS and local installs, I never bother with switching to install mode anymore and it works fine. Now if you're skeptical, you can
easily build this into a script that runs as a pre-req to your .MSI as part of the software package in SCCM so it's not a big deal.
As for installing apps while users are logged in, shouldn't be a problem if you're installing a new app., if however you're updating an existing application or uninstalling it, then it may be best to drain that RDS host first of all user sessions then do
the work just to be safe. this also helps avoid reboots. -
Deploying web service ear file
Hi,
I've developed a simple web service using NetWeaver Developer studio 2.0.5 and created an .ear file for deployment to SAP WAS 6.2. While trying to load ear file from the deploy tool it throws an error - "Unable to load ear file". Has anyone seen this error before? Any problems with the NetWeaver and SAP WAS versions? Any suggestions on how to deploy a web service on SAP J2EE 6.2?Hi Dipesh,
well, if you are using J2EE Engine 6.20 you cannot deploy directly from the NetWeaver Developer Studio (as far as I know, this feature is available only after 6.30/6.40 versions).
Also, web services are only partially implemented on J2EE Engine 6.20! So it is possible that the web service you've developed with the Developer studio depends on features that are not available on J2EE Engine 6.20. My recommendation is to give a try to the J2EE Engine 6.40, if possible for you at all.
Finally, there is an alternative to Deploy Tool for deployment on the J2EE Engine 6.20. This is the DEPLOY shell command that you can execute in the server console. For more info about that, refer to the Shell Commands Reference section in the Administration Manual for J2EE Engine 6.20 located here: https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sapportals.km.docs/documents/a1-8-4/administration manual for sap j2ee engine 6.20.pdf
Hope that helps! -
Error while deploying application with WebLogic server
Hi,
I use Jdeveloper 11g and created and ADF application which i want to deploy with WebLogic Server.But i have an error which is :
"There was a failure when processing annotations for application C:\...\xxx.war. Please make sure that the annotations are valid. The error is oracle.adf.library.webapp.ResourceServlet "
Plz help me.
ThxI am receiving same message for simple servlet. Running JDev11g build 5166 and embedded WLS 10.3. Servlet used to deploy to embedded WLS and ran fine. Recently running newly created servlets produces error message as in this thread.
Investigation turned up the fact that the class file for the servlet was not deployed to the context-root (o.j2ee\drs) on the server. Copying the class file from the mywork project folder to the context-root folder (o.j2ee\drs) permitted the servlet to run.
Don't know if this is the cause of what you are experiencing but it may assist in your investigation! I have not figured out why the class file for servlets does not deploy to server despite the fact that the log file shows war and ear files were deployed. As it turns out, the war file does not have the class file in it so something is wrong before the war file is created.
Cheers!
Maybe you are looking for
-
Photos Black Out After Editing
I have a Nikon Coolpix S3100. When I load upload photos from this camera into iPhoto '09, either onto our iMac (Leopard 10.5.8) or Macbook (Snow Leopard 10.6.8) all is well until I edit them. As soon as I adjust any colour settings or crop the photo,
-
How to schedule an abap report program to run every day, weekend etc..
Hi, I want to schedule an abap report program to run every day, week, fortnight or month and the output to be redirected to the printer. How to achieve this ? thanks
-
Hi I am in the process of consolodating and crosschecking backup data (migrating from one NAS to a different NAS system), the data had been copied down to local external drives ( why = nas was suspect, so I wanted to get the data out in the shortest
-
Moving to Australia with my Imacs....
I am moving to Australia and have two Imacs. Love them. Want to keep them. Can they run indefinitely on an international power adapter or do I need to change out the power source eventually. I don't want to sell them and rebuy over there.
-
Dear All, My GD Starsign Crypto USB Token no longer works after the upgrade to Yosemite. Anyone with the same problem? Hints on how to solve this issue? Thanks in advance for your Help.