Deployment under Jonas
Hi everyone
Few days ago, I needed to deploy a webapp under Jonas server. Creator not proposing by default this feature I developped it.
Lines below describe the realized work. Moreover to reuse this equipment I recorded my project in a template which I can share with other teams.
In fact I needed to deploy my webapp under a local Jonas server and a remote Jonas server. I created 2 file ant (jonasLocal.xml and jonasRemote.xml)capable of answering this constraint. I stored these files under my project. These files have to stores under root project directory. Below the description of these files:
1) jonasLocal.xml
<?xml version="1.0" encoding="UTF-8"?>
<project basedir="." default="all" name="local">
<property file="project-data/project.properties"/>
<property name="jonas.base" value="C:\appft\JOnAS-4.1.4"/>
<property name="jonas.port" value="9000"/>
<property name="iexplore.base" value="C:\Program Files\Internet Explorer"/>
<target name="jonasDeploy" depends="jonasStop,jonasCopy,jonasStart">
</target>
<target name="jonasLaunch">
<echo message=">Lancement application en cours..." />
<exec dir="${iexplore.base}" executable="${iexplore.base}\iexplore.exe" spawn="true">
<arg line="http://localhost:${jonas.port}/${app.name}"/>
</exec>
<echo message=">Lancement application termin�" />
</target>
<target name="jonasStart">
<echo message=">D�marrage Jonas en cours..." />
<exec dir="${jonas.base}" executable="cmd" spawn="false">
<arg line="/c"/>
<arg line="jonas.bat"/>
<arg line="start"/>
</exec>
<echo message=">D�marrage Jonas termin�" />
</target>
<target name="jonasStop">
<echo message=">Arr�t Jonas en cours..." />
<exec dir="${jonas.base}" executable="cmd" spawn="false">
<arg line="/c"/>
<arg line="jonas.bat"/>
<arg line="stop"/>
</exec>
<echo message=">Jonas arr�t�" />
</target>
<target name="jonasCopy">
<echo message=">Copie du war en cours..." />
<copy overwrite="true" file="${dist.root}/${app.name}.war" todir="${jonas.base}/webapps/autoload"/>
<echo message=">War copi�" />
</target>
</project>if you want to deploy at once a webapp you have just to execute jonasDeploy task
2) jonasRemote.xml
<?xml version="1.0" encoding="UTF-8"?>
<project basedir="." default="all" name="distant">
<target name="all">
<!-- WRITEME -->
</target>
<property file="project-data/project.properties"/>
<!-- un montage SAMBA a �t� r�alis� pour acc�der au serveur -->
<property name="jonas.base" value="Q:\"/>
<!-- n�cessit� d'avoir les droits -->
<target name="jonasCopy">
<copy file="${dist.root}/${app.name}.war" overwrite="true" todir="${jonas.base}/webapps/autoload"/>
<echo> **** Attention : Le war copi� doit �tre d�ploy� via la console d'admin du serveur d'application ! **** </echo>
</target>
</project>With this script you can just copy the war file from Creator. If you want to deploy it, you need to use admin console of Jonas. More over in this example property jonas.base value is initialized through samba mount. Q:\ access Jonas root.
R�gis
I forgot one thing in my mail :
To deploy under Jonas , you have to include in library references jstl v1.1 and standard v1.1 libs.
Regards
R�gis
Similar Messages
-
Developping under wl8.1+workshop, deploying under weblogic 6.1
Hello,
As soon as my customer is using a weblogic 6.1 server,
i wondered weither it is possible or not to use Workshop and weblogic8.1 on Dev Stations and efficiently beneficiate of Ant technology to deploy under a weblogic 6.1 server.
Does any of you ever try such dev case ?
Thx by advanceHi.
You need to do 1 of 2 things to get WLS to notice it has a new webapp component:
1. undeploy and deploy the webapp or
2. use the webapp component refresh tools as follows:
java weblogic.management.tools.WebAppComponentRefreshTool [options]
running this with no options prints out a usage message.
Hope this helps,
Michael
Craig Andrews-Jones wrote:
I downloaded Weblogic 6.1 under Red Hat 7 and ran the console installation. Then
I created $WL_HOME/config/mydomain/applications/DefaultWebApp/test.jsp as follows:
<html>
<head><title>Hello World</title></head>
<body>
<% String hello = "Hello"; %>
<%= hello %> World!
</body>
</html>
Then I put the url in my favorite web browser and saw the "Hello World!" page.
Next I changed test.jsp to have the following:
<html>
<head><title>Hello World</title></head>
<body>
<%= hello %> World!
</body>
</html>
I then refreshed the url with my favorite browser.
The expected behavior is a compile error in test.jsp because the variable "hello"
is not defined. However Weblogic gives no indication of the compile error and
sends the HTML output of the previously compiled servlet. I have tried this with
both the Windows and Solaris versions and I get the compile error as expected.
My question is this:
Is there a fix for this yet? If so, then from where do I download it?
Thanks in advance,
Craig--
Developer Relations Engineer
BEA Support -
JBO error deploying under Tomcat 3.2.2
I've created the JSP BC4J application and deployed under Tomcat. I've followed Chris Schalk's tips on adding the jar file in the CLASSPATH( for Tomcat.bat). But, I still get folowing errors:
Error: 500
Location: /BugEnter_html/ReportView_Insert.jsp
Internal Servlet Error:
org.apache.jasper.JasperException: Unable to compile class for JSPC:\jakarta-tomcat-3.2.2\work\localhost_8080%2FBugEnter_html\_0002fReportView_0005fInsert_0002ejspReportView_0005fInsert_jsp_0.java:14: Package oracle.jbo not found in import.
import oracle.jbo.*;
^
C:\jakarta-tomcat-3.2.2\work\localhost_8080%2FBugEnter_html\_0002fReportView_0005fInsert_0002ejspReportView_0005fInsert_jsp_0.java:16: Package oracle.jdeveloper.html not found in import.
import oracle.jdeveloper.html.*;
^
C:\jakarta-tomcat-3.2.2\work\localhost_8080%2FBugEnter_html\_0002fReportView_0005fInsert_0002ejspReportView_0005fInsert_jsp_0.java:17: Package oracle.jbo.html.databeans not found in import.
import oracle.jbo.html.databeans.*;
^
3 errors
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:282)
at org.apache.jasper.servlet.JspServlet.doLoadJSP(JspServlet.java:612)
at org.apache.jasper.servlet.JasperLoader12.loadJSP(JasperLoader12.java:146)
at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:542)
at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:258)
Can someone please tell me how can I solve this problem?
Please help!!!
ARFor TomCat 3.2.2 you will need to modify tomcat.bat so that also *.zip is added to the classpath. (look for the line that adds *.jar, duplicate it and change .jar in .zip)
In TomCat 3.2.3 this is changed. (For 3.2.3 they changed Tomcat.bat so it now adds *.* from tomcat/lib to the classpath) -
Dear all
I develop a project using Jdeveloper under windows, but when its deployed on linux, i get some problems in running the project while it work fine when i deploying it on AS under windows.
do i have to use jdeveloper under linux to develop project that will be deployed under linux.
Tanks in advanceHi
thank you, I know that the development using Jdeveloper should be platform independent, but I dont know if this is practically correct, and I dont use any os specific functions, and the problems happened to me under linux when I am trying to use to upload a file under linux by using the intermedia, while under windows every thing is fine.
the other problem is when I download the jdeveloper base version to work under linux and trying to download the jdk from the link given by oracle. the download for the jdk is always failed, so please help me in finding the JDK.
regards -
Programmatically gettiing which AppServer the EAR is deployed under
Within a Servlet or JSP, I'm trying to programmatically get the name of the JVM (AppServer) where the code (war or ear) is deployed and running under.
(This is like getting "server1" when using WSAD).
I tried the System, Runtime and Thread approaches with no luck.. any ideas??
Thanks.
Example:
If I have 2 AppServers created: Server1 and Server2
The ear could be deployed to either, but I want to show to the user if he/she is pointing to Server1 or Server2.Thanks.
I got it using an IBM API:
AdminServiceFactory.getAdminService().getProcessName();
I was hoping that I would get it without vendor-specific API. Unfortunately there is no way to do it now with J2EE1.3 specs.
The good news is that J2EE 1.4 will include JSR-88 (if I'm not mistaken) and this will have a standard deployment interfaces so this problem will be fixed.
Thanks for your reply anyway..
-George -
Beans do not deploy under Service Pack 12
Hello, we recently upgraded our Weblogic 5.1 from Service Pack 10 to
Service Pack 12. All the beans compile and jar fine, and most deploy
ok apart from a few that give the exception given below. Does anyone
know anything in SP11 or SP12 that might cause this behaviour?
Thanks!
Z
Wed Jul 24 11:26:41 GMT+00:00 2002:<E> <EJB> Could not deploy:
'D:/FM/SolstraV2/
lib/reports_content.jar': file is not a valid jar file, or does not
contain a valid bean
weblogic.ejb.common.DeploymentException: DeploymentException opening
JAR file D:
\FM\SolstraV2\lib\reports_content.jar; nested exception is:
weblogic.ejb.deployment.JarLoadException - with nested
exception:
[weblogic.ejb.common.DeploymentException: Problem creating deployment
D:/FM/Sols
traV2/lib/reports_content.jar from
D:\FM\SolstraV2\lib\reports_content.jar; nest
ed exception is:
java.lang.StringIndexOutOfBoundsException: String index out of
range: -2
weblogic.ejb.common.DeploymentException: Problem creating deployment
D:/FM/Solst
raV2/lib/reports_content.jar from
D:\FM\SolstraV2\lib\reports_content.jar; neste
d exception is:
java.lang.StringIndexOutOfBoundsException: String index out of
range: -2
java.lang.StringIndexOutOfBoundsException: String index out of range:
-2
at java.lang.String.substring(String.java, Compiled Code)
at java.lang.String.substring(String.java, Compiled Code)
at weblogic.ejb.internal.EJBJarLoader.computeExcludeForInfo(EJBJarLoader
.java, Compiled Code)
at weblogic.ejb.internal.EJBJarLoader.computeExclude(EJBJarLoader.java,
Compiled Code)
at weblogic.ejb.internal.EJBJarLoader.initialize(EJBJarLoader.java:125)
at weblogic.ejb.internal.EJBJarLoader.<init>(EJBJarLoader.java:88)
at weblogic.ejb.internal.EJBJarDeployment.setupJar(EJBJarDeployment.java
, Compiled Code)
at weblogic.ejb.internal.EJBJarDeployment.setup(EJBJarDeployment.java:21
1)
at weblogic.ejb.internal.EJBJarDeployment.setup(EJBJarDeployment.java:18
2)
at weblogic.ejb.internal.EJBJarDeployment.setup(EJBJarDeployment.java:16
4)
at weblogic.ejb.internal.EJBDeploymentImpl.<init>(EJBDeploymentImpl.java
:172)
at weblogic.ejb.internal.EJBJarDeployment.<init>(EJBJarDeployment.java:1
22)
at weblogic.ejb.internal.EJBJarDeployment.<init>(EJBJarDeployment.java:1
12)
at weblogic.ejb.internal.EJBManagerImpl.deploy(EJBManagerImpl.java:311)
at weblogic.ejb.internal.EJBManagerImpl.deployBeans(EJBManagerImpl.java,
Compiled Code)
at weblogic.ejb.internal.EJBManagerImpl.<init>(EJBManagerImpl.java:247)
at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java, Compiled Code)
at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:879)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.Server.startServerDynamically(Server.java:140)
at weblogic.Server.main(Server.java, Compiled Code)
at com.solstra.SolstraWeblogicServer.main(SolstraWeblogicServer.java:23)Hello, we recently upgraded our Weblogic 5.1 from Service Pack 10 to
Service Pack 12. All the beans compile and jar fine, and most deploy
ok apart from a few that give the exception given below. Does anyone
know anything in SP11 or SP12 that might cause this behaviour?
Thanks!
Z
Wed Jul 24 11:26:41 GMT+00:00 2002:<E> <EJB> Could not deploy:
'D:/FM/SolstraV2/
lib/reports_content.jar': file is not a valid jar file, or does not
contain a valid bean
weblogic.ejb.common.DeploymentException: DeploymentException opening
JAR file D:
\FM\SolstraV2\lib\reports_content.jar; nested exception is:
weblogic.ejb.deployment.JarLoadException - with nested
exception:
[weblogic.ejb.common.DeploymentException: Problem creating deployment
D:/FM/Sols
traV2/lib/reports_content.jar from
D:\FM\SolstraV2\lib\reports_content.jar; nest
ed exception is:
java.lang.StringIndexOutOfBoundsException: String index out of
range: -2
weblogic.ejb.common.DeploymentException: Problem creating deployment
D:/FM/Solst
raV2/lib/reports_content.jar from
D:\FM\SolstraV2\lib\reports_content.jar; neste
d exception is:
java.lang.StringIndexOutOfBoundsException: String index out of
range: -2
java.lang.StringIndexOutOfBoundsException: String index out of range:
-2
at java.lang.String.substring(String.java, Compiled Code)
at java.lang.String.substring(String.java, Compiled Code)
at weblogic.ejb.internal.EJBJarLoader.computeExcludeForInfo(EJBJarLoader
.java, Compiled Code)
at weblogic.ejb.internal.EJBJarLoader.computeExclude(EJBJarLoader.java,
Compiled Code)
at weblogic.ejb.internal.EJBJarLoader.initialize(EJBJarLoader.java:125)
at weblogic.ejb.internal.EJBJarLoader.<init>(EJBJarLoader.java:88)
at weblogic.ejb.internal.EJBJarDeployment.setupJar(EJBJarDeployment.java
, Compiled Code)
at weblogic.ejb.internal.EJBJarDeployment.setup(EJBJarDeployment.java:21
1)
at weblogic.ejb.internal.EJBJarDeployment.setup(EJBJarDeployment.java:18
2)
at weblogic.ejb.internal.EJBJarDeployment.setup(EJBJarDeployment.java:16
4)
at weblogic.ejb.internal.EJBDeploymentImpl.<init>(EJBDeploymentImpl.java
:172)
at weblogic.ejb.internal.EJBJarDeployment.<init>(EJBJarDeployment.java:1
22)
at weblogic.ejb.internal.EJBJarDeployment.<init>(EJBJarDeployment.java:1
12)
at weblogic.ejb.internal.EJBManagerImpl.deploy(EJBManagerImpl.java:311)
at weblogic.ejb.internal.EJBManagerImpl.deployBeans(EJBManagerImpl.java,
Compiled Code)
at weblogic.ejb.internal.EJBManagerImpl.<init>(EJBManagerImpl.java:247)
at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java, Compiled Code)
at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:879)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.Server.startServerDynamically(Server.java:140)
at weblogic.Server.main(Server.java, Compiled Code)
at com.solstra.SolstraWeblogicServer.main(SolstraWeblogicServer.java:23) -
XI 3.1 PlatformServices deploy under BEA Weblogic 9 on SLES 9
we have had problems with the deploy of the applications (using wdeploy.sh predeploy all) PlatformServices.
nearly all web applications use the PlatformServices, so neither CMC nor InfoView worked.
we recreated only the PlatformServices.war and the file differed!!!!
deploying it a second time, all worked
the error on the bea console was:
java.lang.ClassNotFoundException: com.businessobjects.webutil.boetrustguard.BOETrustedRequestCreatorThat's a servlet filter new with XI 3.1 used to vet most initial requests for CMC and InfoView, found in WEB-INF/lib/webutil.jar. If you don't have it, then you won't be able to log on.
Something indeed appears to have gone wrong with the generation of that war file.
Sincerely,
Ted Ueda -
Deploy web application in jbuilder 9 with weblogic 7 problem
when i create a web application and a servlet, and deploy it in jbuilder 9 with weblogic 7.0 ,jbuilder 9 showed me the error,please tell me why, when i choose "redeploy" ,it can be normally work..
E:\bea\jdk131_02\bin\javaw -classpath E:\bea\weblogic700\server\lib\weblogic.jar;E:\bea\weblogic700\server\lib\webservices.jar;E:\bea\weblogic700\server\lib\weblogic_sp.jar; weblogic.Deployer -user system -adminurl http://localhost:7001 -password 12345678 -deploy -name firstWebApp -upload -source E:/J2EE/servlet/firstWebApp.war -targets myserver
WebLogic Application Deployment Utility
Usage: java weblogic.Deployer [options] [-activate|-deactivate|-remove|-unprepare|-cancel|-list] [files]
where options include:
-help Print this help message.
-version Print version information.
-adminurl <https://<server>:<port>> The URL of the administration server: default
http://localhost:7001
-user <user> A user other than the default of
"installadministrator"
-password <password> Specifies the password on the command line.
If this option is absent the user is
prompted.
-verbose Displays additional status during the
deployment process, including notifications
when the application is prepared and
activated on each target.
-debug Displays debug level messages to the standard
output.
-examples Display example usage of this tool.
-upload Causes the specified source file(s) to be
transferred to the adminstration server. This
is used when the Deployer tools is not being
used on the same machine as the adminstration
server and the user does not otherwise have
access to place the targeted files on the
adminstration server.
-delete_files Causes the server to remove the files that
are specified in the file list and leave the
application activated. This option is valid
only for unarchived web applications.
-remote Signals that the tools is not runnning on the
same machine as the adminstration server and
that the source path should be made passed
through unchanged as it represents the path
on the remote server.
-nostage Sets the stagingMethod attribute on the
application mbean when it is created so that
the application will not be staged and the
original source is be used.
-external_stage Sets the stagingMethod attribute on the
application mbean when it is created so that
the application will not be staged but the
value of the staging path will be used when
preparing the application.
-stage Sets the stagingMethod staging attribute on
the application when it is created so that
the application will always be staged. This
value will override the stagingMethod
attribute on any targeted servers.
-nowait Once the action is initiated the tool will
print the task id and exit. This is used to
initiate multiple tasks and then monitor them
later using the -list action.
-timeout <seconds> The maximum time in seconds to wait for the
completion of the deployment task. When the
time expires the current status is printed
and the program exits.
-source <archive file or directory> Location of the file or directory that
represents the enterprise component or
application tha is being (re)activated. If
the source file is relative it is relative to
the current directory, unless the -remote
option is used. To specify individual files
within an application for reployment or
addition list them at the end of the command
line.
-name <application name> The name of the application being deployed.
-targets <<server 1>,...<component>@<server N>> A comma separated list of the server and/or
cluster names. Each target may be qualified
with a J2EE component name. This enables
different components of the archive to
deployed on different servers.
-id <task identifier> Optional client supplied unique identifier
for the deployment task. The id is first
specified to -activate, -deactivate,
-unprepare or -remove. It is then used later
as an argument to -cancel or -list.
-activate (Re)activates the <source> application on the
<targets> with the <name>.
-deactivate Deactivates the application <name> on the
<targets> leaving an staged application files
in a state where the may be quickly
reactivated.
-unprepare Deactivates and unloads classes for the
application <name> on the <targets> leaving
an staged application files in a state where
the may be quickly reloaded.
-remove Deactivates the application <name> on the
<target> and removes any files that were
staged for this application. If there are no
longer any targets for the application, the
associated configuration is completely
removed.
-cancel Atempts to cancel the task <id> if it is has
not yet completed.
-list Lists the target status of each task <id>
-deploy a convenient alias for activate.
-undeploy a convenient alias for unprepare.
Optionally a list of the specific files in the archive that are to be
redeployed may be specified. If a directory is specified the entire subtree is
redeployed.
Full documentation on this tool is available at:
http://edocs.beasys.com/wls/docs70/adminguide/utils.html#1138475
No actions was specified. Please specify one and only one of:
-activate, -deactivate, -cancel, -remove, -unprepare, or -list.
Type java weblogic.Deployer -examples for example usage.you use "deploy" under DOS-Mode to deploy your web application?
i found some differences between "deploy" and "redeploy" function in jbuilder 9.
when i choose "deploy" ,jbuilder shows me the commond below:
E:\bea\jdk131_02\bin\javaw -classpath E:\bea\weblogic700\server\lib\weblogic.jar;E:\bea\weblogic700\server\lib\webservices.jar;E:\bea\weblogic700\server\lib\weblogic_sp.jar; weblogic.Deployer -user system -adminurl http://localhost:7001 -password 12345678 -deploy -name firstWebApp -upload -source E:/J2EE/servlet/firstWebApp.war -targets myserver
WebLogic Application Deployment Utility
when i choose redeploy,it shows me: (the -deploy parameter has changed to -activate) ,maybe it's a bug.
E:\bea\jdk131_02\bin\javaw -classpath E:\bea\weblogic700\server\lib\weblogic.jar;E:\bea\weblogic700\server\lib\webservices.jar;E:\bea\weblogic700\server\lib\weblogic_sp.jar; weblogic.Deployer -user system -adminurl http://localhost:7001 -password 12345678 -activate -name firstWebApp -upload -source E:/J2EE/servlet/firstWebApp.war -targets myserver
WebLogic Application Deployment Utility -
How to stop a web service inside a deployed EAR in Weblogic 10.3
Hi,
I want to stop a webservice from the weblogic UI console in Weblogic 10.3 but cannot find any link for the same kindly help me on the same.
Scenario is as follows
I can see my EAR deployed under Deployment tab, when I expand the same I can see the web service but there isn't any link available to explicitly stop only that particular web service.
Can I do this at all in weblogic if yes? Please suggest.
Thanks
VR
Edited by: sorry the page got stuck and refreshed filling details and re-submittingHi VR
From Weblogic Admin Console, Deployments, on right side click on the link named with your EAR Application. It opens detailed page with more tabs. Click on the tab named Targets. Here select your WebService module and click on Change Targets button. Uncheck the server where it is targetted (Deployed), click on Yes. And activate the changes.
Thanks
Ravi Jegga -
Error deploying a .WAR file
Good day,
A client is working on a enterprise deployment process on various domains on Oracle weblogic server 10.3.
Just to keep explanation simple, the client has a WAR file (a simple WAR file) to deploy under BI Publisher domain.
This WAR file gets deployed successfully on every other domains(Portal Domain, Normal Domain) but NOT with the BI Publisher domain.
Please advise accordingly.
The error encounted is:
[J2EE:160149]Error while processing library references. Unresolved application library references, defined in weblogic-application.xml: [Extension-Name: wlp-tools-admin-app-lib, Specification-Version: 10.3, Implementation-Version: 10.3.0, exact-match: false], [Extension-Name: wlp-tools-support-app-lib, Specification-Version: 10.3, Implementation-Version: 10.3.0, exact-match: false], [Extension-Name: webdav-app-lib, Specification-Version: 10.3, Implementation-Version: 10.3.0, exact-match: false], [Extension-Name: wlp-propagation-app-lib, Specification-Version: 10.3, Implementation-Version: 10.3.0, exact-match: false], [Extension-Name: beehive-controls-1.0.1-10.0, Specification-Version: 1, exact-match: true], [Extension-Name: wlp-tools-full-console-app-lib, Specification-Version: 10.3, Implementation-Version: 10.3.0, exact-match: false], [Extension-Name: wlp-tools-serviceadmin-app-lib, Specification-Version: 10.3, Implementation-Version: 10.3.0, exact-match: false], [Extension-Name: wlp-tools-ugm-app-lib, Specification-Version: 10.3, Implementation-Version: 10.3.0, exact-match: false], [Extension-Name: wlp-tools-portal-app-lib, Specification-Version: 10.3, Implementation-Version: 10.3.0, exact-match: false], [Extension-Name: wlp-tools-im-app-lib, Specification-Version: 10.3, Implementation-Version: 10.3.0, exact-match: false], [Extension-Name: wlp-tools-content-app-lib, Specification-Version: 10.3, Implementation-Version: 10.3.0, exact-match: false], [Extension-Name: wlp-tools-common-app-lib, Specification-Version: 10.3, Implementation-Version: 10.3.0, exact-match: false], [Extension-Name: wlp-tools-framework-app-lib, Specification-Version: 10.3, Implementation-Version: 10.3.0, exact-match: false], [Extension-Name: wlp-tools-app-lib, Specification-Version: 10.3, Implementation-Version: 10.3.0, exact-match: false], [Extension-Name: wlp-services-app-lib, Specification-Version: 10.3, Implementation-Version: 10.3.0, exact-match: false], [Extension-Name: content-management-app-lib, Specification-Version: 10.3, Implementation-Version: 10.3.0, exact-match: false], [Extension-Name: weblogic-controls-10.0, Specification-Version: 10, exact-match: true], [Extension-Name: wlp-framework-full-app-lib, Specification-Version: 10.3, Implementation-Version: 10.3.0, exact-match: false], [Extension-Name: wls-commonslogging-bridge, Specification-Version: 1, exact-match: true], [Extension-Name: p13n-app-lib, Specification-Version: 10.3, Implementation-Version: 10.3.0, exact-match: false].
Kind regardsI think there is mismatch in the library versions(10.3 not matching with 10.3.0). Verify what versions are specified in the config.xml of the BI domain.(Search it manually in the config.xml file)
-
Unable to deploy a web application in war format
Hello,
I have created a chat application containing jsps and beans, and deployed it first
in the exploded directory format.
It works fine and I was able to run and test it.
Since all the tests are done and the module is over,now i want to package it in
war file and deploy it.Here comes the problem :-
I have packaged the application in a war file using jar command and copied it
under applications directory but when i restarted the server(wls 6.0 sp1) ,i found
in console the application is deployed under applications node and not under web
applications node-why?
Agian unpacked the war file and deployed it in exploded directory format now the
console shows it under web app node then why does not it deploy it as web application
when deployed in war format.
Any body faced the same situation,Plz help.
rds
rashmiIn 6.0, if a web app is showing up under the "applications" node instead of
the "web applications" node, I suspect you have either omitted or
mis-configured the WEB-INF/web.xml deployment descriptor.
Check out
<http://e-docs.bea.com/wls/docs60/programming/webappdeployment.html> for
help on writing the deployment descriptor, or upgrade to WebLogic Server 6.1
where WLS creates a default web.xml for you if you don't supply one.
"Rashmi" <[email protected]> wrote in message
news:[email protected]..
>
Hello,
I have created a chat application containing jsps and beans, and deployedit first
in the exploded directory format.
It works fine and I was able to run and test it.
Since all the tests are done and the module is over,now i want to packageit in
war file and deploy it.Here comes the problem :-
I have packaged the application in a war file using jar command and copiedit
under applications directory but when i restarted the server(wls 6.0 sp1),i found
in console the application is deployed under applications node and notunder web
applications node-why?
Agian unpacked the war file and deployed it in exploded directory formatnow the
console shows it under web app node then why does not it deploy it as webapplication
when deployed in war format.
Any body faced the same situation,Plz help.
rds
rashmi -
FtpAdapter deploy problem ORABPEL-09903
Hi,
What's wrong with my configuration of the FtpAdapter ???
I've configured the FTP Adapter in the following files :
* $ORACLE_HOME/j2ee/OC4JINT/application-deployments/default/FtpAdapter/oc4j-ra.xml
* $ORACLE_HOME /j2ee/OC4JINT/connectors/FtpAdapter/FtpAdapter/META-INF/oc4j-ra.xml
* and also via the console of OEM : application-defaut / connexion
factories (an other question : where is this file on the system ???)
Stop and restart the application server.
Then I've tried to deploy under Jdev a process with an adapter which reference the entry I've just specified in oc4j-ra.xml (the default one : eis/Ftp/FtpAdapter)
I've tried the ftp under unix session, it's working.
Environment
HP-UX PA-RISC (64-bit)
Oracle BPEL 10.1.3.1.0
Here is the message from Jdev
BUILD FAILED
C:\Workspace\Application1\Fli_FTP\build.xml:79: Problème détecté lors de la connexion au serveur "frqpux08" sur le port "7778" : bpel_Fli_FTP_1.0.jar failed to deploy. Exception message is: ORABPEL-09903
Could not initialize activation agent.
An error occured while initializing an activation agent for process "Fli_FTP", revision "1.0".
Please ensure that the activation agents are configured correctly in the bpel deployment descriptor (bpel.xml).
oracle.tip.adapter.fw.agent.jca.JCAActivationAgent: java.lang.reflect.InvocationTargetException
at com.collaxa.cube.engine.core.BaseCubeProcess.startAllActivationAgents(BaseCubeProcess.java:354)
at ...
Here is some parts of the domain.log in debug mode, my process is called Fli_FTP and FTP_douanes is the partner link FTP Adapter
<2008-07-17 16:42:45,090> <INFO> <default.collaxa.cube.engine.deployment> Process "Fli_FTP" (revision "1.0") successfully loaded.
<2008-07-17 16:42:45,158> <INFO> <default.collaxa.cube.activation> <AdapterFramework::Inbound> JCAActivationAgent::initiateInboundJcaEndpoint - Creating and initializing inbound JCA endpoint for:
process='bpel://localhost/default/Fli_FTP~1.0/'
domain='default'
WSDL location='FTP_douanes.wsdl'
portType='Get_ptt'
operation='Get'
activation properties={portType=Get_ptt}
<2008-07-17 16:42:45,164> <DEBUG> <default.collaxa.cube.activation> <AdapterFramework::Inbound> Locating Resource Adapter for jca:address.. {http://xmlns.oracle.com/pcbpel/wsdl/jca/}address: location='eis/Ftp/FtpAdapter'
<2008-07-17 16:42:45,164> <WARN> <default.collaxa.cube.activation> <AdapterFramework::Inbound> JNDI lookup of 'eis/Ftp/FtpAdapter' failed due to: eis/Ftp/FtpAdapter not found
javax.naming.NameNotFoundException: eis/Ftp/FtpAdapter not found
at com.evermind.server.rmi.RMIServerContext.lookup(RMIServerContext.java:207)
at com.evermind.server.ApplicationContext.unprivileged_lookup(ApplicationContext.java:255)
at com.evermind.server.ApplicationContext.lookup(ApplicationContext.java:195)
at javax.naming.InitialContext.lookup(InitialContext.java:351)
at oracle.tip.adapter.fw.jca.AdapterLocator.findResourceAdapter(AdapterLocator.java:148)
at oracle.tip.adapter.fw.jca.AdapterFrameworkImpl.endpointActivation(AdapterFrameworkImpl.java:341)
<2008-07-17 16:42:45,171> <ERROR> <default.collaxa.cube.activation> <AdapterFramework::Inbound> Error while performing endpoint Activation: ORABPEL-12510
Unable to locate the JCA Resource Adapter via WSDL port element jca:address.
The Adapter Framework is unable to startup the Resource Adapter specified in the WSDL jca:address element: {http://xmlns.oracle.com/pcbpel/wsdl/jca/}address: location='eis/Ftp/FtpAdapter'
The reason for this is most likely that either
1) the Resource Adapters RAR file has not been deployed successfully to the OC4J Application server or
2) the 'location' attribute in $J2EE_HOME/application-deployments/default/deployed-adapter-name/oc4j-ra.xml has not been set to eis/Ftp/FtpAdapter. In the last case you might have to add a new 'connector-factory' entry (connection) to oc4j-ra.xml.
Please correct this and then restart the BPEL/OC4J Application Server
Here is the part of the oc4j-ra.xml, of course with correct entries for host, username and password
<connector-factory location="eis/Ftp/FtpAdapter" connector-name="Ftp Adapter">
<config-property name="host" value="<The name of my server>"/>
<config-property name="port" value="21"/>
<config-property name="username" value="<the username>"/>
<config-property name="password" value="<the password>"/>
<config-property name="keepConnections" value="true"/>
<config-property name="serverType" value="unix"/>
<config-property name="serverLocaleLanguage" value=""/>
<config-property name="serverLocaleCountry" value=""/>
<config-property name="serverLocaleVariant" value=""/>
<config-property name="serverEncoding" value=""/>
<config-property name="useFtps" value="false"/>
<config-property name="walletLocation" value="C:\wallet\ewallet.p12"/>
<config-property name="walletPassword" value="welcome1"/>
<config-property name="channelMask" value="both"/>
<config-property name="securePort" value="990"/>
<config-property name="keyStoreProviderName" value=""/>
<config-property name="keystoreType" value=""/>
<config-property name="keystoreAlgorithm" value=""/>
<config-property name="enableCipherSuits" value=""/>
<config-property name="proxyHost" value=""/>
<config-property name="proxyPort" value=""/>
<config-property name="proxyUsername" value=""/>
<config-property name="proxyPassword" value=""/>
<config-property name="proxyType" value=""/>
<config-property name="proxyDefinitionFile" value=""/>
<config-property name="useProxy" value="false"/>
<config-property name="useSftp" value="false"/>
<config-property name="authenticationType" value="password"/>
<config-property name="preferredKeyExchangeAlgorithm" value="diffie-hellman-group1-sha1"/>
<config-property name="preferredCompressionAlgorithm" value="none"/>
<config-property name="preferredDataIntegrityAlgorithm" value="hmac-md5"/>
<config-property name="preferredPKIAlgorithm" value="ssh-rsa"/>
<config-property name="privateKeyFile" value=""/>
<config-property name="preferredCipherSuite" value="blowfish-cbc"/>
<config-property name="transportProvider" value="socket"/>
<connection-pooling use="none">
</connection-pooling>
<security-config use="none">
</security-config>
</connector-factory>
Many thanks for your time,
FrancisHi,
OC4JInt : the OC4J for integration in our system.
I've already done that : see the first line of the blog :
"and also via the console of OEM : application-defaut / connexion
factories (an other question : where is this file on the system ???)"
One thing is strange, here, I can't see what I create...
I create a connexion pool, used by a connexion factory (jndi name : eis/Ftp/FtpAdapter), I try also with other names like eis/Ftp/FtpAdapter2, 3...
I receive an error :
Unable to add connection factory at eis/Ftp/FtpAdapterFliLast via JMX MBean
Masquer les autres informations de trace
oracle.oc4j.admin.jmx.shared.exceptions.JMXException: Unable to add connection factory at eis/Ftp/FtpAdapterFliLast via JMX MBean at oracle.oc4j.admin.management.mbeans.JCAConnectionDefinition.addConnectionFactory(JCAConnectionDefinition.java:244) 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:585) at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:36) at sun.reflect.GeneratedMethodAccessor103.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:239) at javax.management.modelmbean.RequiredModelMBean.invokeMethod(RequiredModelMBean.java:1071) at javax.management.modelmbean.RequiredModelMBean.invoke(RequiredModelMBean.java:953) at oracle.oc4j.admin.jmx.server.mbeans.model.DefaultModelMBeanImpl.invoke(DefaultModelMBeanImpl.java:700) at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:213) at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220) at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke
I can't see them after in the panel
but I see the entry in OEM, open node OC4J / default link / FtpAdatper link / Admin tab / access on link for the proprietary deployment descriptor
Many thanks -
[Microsoft Intune] Deployed software not showing up in web portal
I am testing microsoft intune in a testlab. I have downloaded the trial and installed it on the server and I synced my AD users with intune. After that i added a windows 8.1 device. I can reboot the machine remotely with the admin console and i can schedule
virus scans. I can also see the detected software on the admin console. I've deployed a software with the intune admin console to that device and all users but when i login in the company web portal and go to the apps it doesnt list the software that i have
deployed, instead it just gives me a message saying: We couldn't find a match. Try a different search
term or category.
I deployed the software a couple days ago and still didnt show up in the web portal on any of the users. However when I go to the Windows Intune Center on the windows 8.1 machine and check for updates a new window pops up and says that there is one update
ready to be installed, which is the software i've deployed. I press install but the installation doesnt progress at all.Hi,
I also has the same issue and scenario highlighted.
I'm currently using the 30 days trial.
This are the steps I have done for publishing app installers on Company Portal:
1. Created a user group call "Test" under Admin Console > Groups > All Users
2. Added 2 Office365 user accounts in "Test" group
3. Publish exec and msi app installers using the Intune Software Publisher tool
4. Select the app installer and click Manage Deployment under Admin Console > Software > Managed Software
5. Add "Test" group and set the deployment action as Available Install
6. Under the Current Status Of This Software of the app installer, I can see the Office365 accounts in "Test" group
Is there anything which I have missed or done wrongly? -
Hot deployment of class files (non-EJB)
Also posting to the servlet newsgroup.
"Craig Ambrose" <[email protected]> wrote in message
news:[email protected]..
>
I am using WebLogic 6.1 and am interested in using auto-deployment indevelopment
mode of JSPs and class files that those JSPs rely on. I have a simpleWebLogic
application that gets deployed using the exploded directory format andwhen I
modify the JSPs or the class files that they use everything reloadsproperly and
a newly modified class file will be reloaded the next time the pageutilizing
the Java class is requested.
I have a much more complicated application (the one I am really doing workon)
and I can't get the hot deploy of the class files to take effect. The JSPswill
reload but I can't seem to cause the class loader to reload any changedclass
files. If I use the WebLogic Console and un-deploy and then re-deploy theapplication
then the class files will be reloaded, but I thought that wasn't necessaryfor
hot deployment. This complex application stores many things in the HTTPsession
context. I am wondering if that has an effect on the class loader fordependant
class files.
I'm pretty sure it is not a configuration issue as I have it working forthe simple
application. I have the application deployed under the.\config\<domainname>\applications
directory and am using the exploded directory format with the class filesalso
exploded in the WEB-INF\classes directory.
Any insights on dependancies of the hot depployment would be helpful. -
Hi,
I tried everything I could find on the internet but no luck so far. I can successfully deploy MS Visio 2013 to the clients. I also want to be able to uninstall it from the clients. On the client machine Uninstall button is greyed out. This deployment is
installed as "Available" and there is only one deployment type within that MS Visio 2013 Application.
I tried the following uninstall commands in my deployment:
setup.exe /uninstall
setup.exe /uninstall
VisPro
/config .\vispro.ww\uninstallvisio.xml
“\\SRVSCCM2012\Sources\MSApplications\MSVisioPro_2013_64Bit_ENG\setup.exe” /uninstall VisPro /config "\\SRVSCCM2012\Sources\MSApplications\MSVisioPro_2013_64Bit_ENG\vispro.ww\uninstallvisio.xml"
\\SRVSCCM2012\Sources\MSApplications\MSVisioPro_2013_64Bit_ENG\setup.exe /uninstall VisPro /config \\SRVSCCM2012\Sources\MSApplications\MSVisioPro_2013_64Bit_ENG\vispro.ww\uninstallvisio.xml
I checked Product ID from Setup.xml and I know it is correct. My uninstallvisio.xml' content is below:
<Configuration Product="VisPro">
<Display Level="basic" CompletionNotice="yes" SuppressModal="yes" AcceptEula="yes" />
<Setting Id="SETUP_REBOOT" Value="Never" />
</Configuration>
Last night, I downloaded and installed Cumulative Update 1 for SCCM 2012 R2 and I haven't tried the deployment after the update,yet. I will try it today but please let me know what else to check.
Yavuz Selim AtmacaAfter I updated SCCM Server and test client pc with CU1 , I tried to deploy visio as Required. It installed successfully. Then I uninstalled visio by deploying the application with Uninstall Action.
After that I tried to deploy visio as "Available" to see if Software Center Uninstall button works. However visio deployment does not come to Software Center's Available Applications List. I check the status of the deployment under the Deployments monitoring
node and it says Success "Already Compliant". I dont know what it means. Does config manager thinks that visio already installed?
Yavuz Selim Atmaca
2 or 3 hours later that -Succes "Already Compliant"- status of the deployment under the Deployments monitoring node is vanished automatically and Software Center application list showed the new deployment. I installed it and uninstalled it succesfully.
So, you are right Solution is the CU1 but I am still wondering why my available deployment took so time to be visible in Software Center althought I didn't enter any schedule to be available.
Yavuz Selim Atmaca
Maybe you are looking for
-
Function Module To Check and Make changes
hi i have created a FM which have following code , i have created that one for updating header data of Notification the Fm module are as following code Import Notif Type qmnum (check box pass value) Export TT_data type zNotif_data
-
Required tables for invoice report
hi to display the details like vendor number, total value of the order , what are the required tables.
-
Data pump + inserting new values in a table
Hello Everybody!! My question is : is it possible to insert new row into a table which is included in running DataPump process (export data) ? Best regards Marcin Migdal
-
Hi Everyone, I have an issue regarding the table PAYR, when run in transaction se16 and after entering the vendor numbers it shows only the payments made by check till 2004 and not after that since the payment to that vendor was changed to wire. It i
-
Absolute beginner: shirt design related questions
hi all. i thought i'd be as detailed as possible to give you an idea of what my questions are: i have some hand-drawn art/design for a t-shirt. so i took some pictures, and my daughter opened them up in photoshop elements 6. she was able to easily tr