Weblogic.deployer and deployment order
Good day all,
Is there a way to force an application to deploy last (because of dependencies)?
I know how to modify the deployment order in the console or wlst, but if all applications are in the same application directory, how can you make sure that appxyz.war deploys last?
Thanks
Ash
Ashanty,
you may want to refer this link for deployment order of applications..
http://docs.oracle.com/cd/E12839_01/apirefs.1111/e13952/taskhelp/deployment/ChangeTheServerDeploymentOrder.html
I don't think weblogic.deployer will allow you to do deployment order and it can be done through Administration console only.
Thanks
Lawrence Manickam
http://toyork.blogspot.ca
Similar Messages
-
WLS 8.1: weblogic.Deployer + concurrent deployment tasks
Hello,
We have a domain with 4 managed servers which supports a team of 4 developers
(one per managed). They have the possibility to launch Deploy taks using weblogic.Deployer
on one of the managed servers.
We have found that deployment tasks are executed one by one in the Administrative
instance. So when a developer creates a deploy task he has to wait until all pending
deployment tasks end.
¿Is it possible to have three deployment tasks running at the same time instead
of one by one? If it is ¿What should I do to activate it?
Thanks in advance,
OscarOscar:
Take thread dumps when your deploying. You can post the thread dumps here.
Lets see what is taking so long to deploy. You'll want to take multiple
dumps, say 20 seconds apart, say 5 in a row. Remember they go to
std-out/err so you need to capture that data. Also it would be nice if you
cut out all the uninteresting idle threads. Are you not precompiling and
running ejbc (appc) before hand?
Cheers
mbg
"Oscar" <[email protected]> wrote in message
news:[email protected]...
>
This domain is more an integration environment rather than a developmentenvironment.
>
>
The idea is that each developer has its own weblogic domain in their localmachine
in which he develops the application (code, debug, deploy, ...).
He has also a user in a UNIX box, in which there is a domain (applicationintegration
domain) with a managed instance per department. With this user he has someAnt
tasks from where they can deploy (using weblogic.Deployer) a stablerelease of
their application to test the dependant functionality.
The problemm is that some applications (using 100 EJBs and 1 War --> 40MBin exploded
ear and 9MB in compressed ear) take more than 5 minutes to deploy in amanaged
instance and so they produce a stuck in the task queue. During this timethe Administrative
is waiting all the time and the managed instance is deploying theapplication
module by module ¿is there any way to decrease this time? ¿is there anyway to
do it asynchronously without blocking the task queue? That time looks abig high
and taking into account that we are going to have bigger applicationshaving only
one deployment task activated each time looks dangerous. ¿What is aboutincreasing
the admin threads? The task has done all the job in administrative side,so ¿why
wait to the managed server?
We have also note that sometimes waiting tasks produce an unavailabilitystate
in the deployment queue. We have found 4 deployment tasks waiting in the queue,
and after an hour the first deployment task was not finished (maybe in adeadlock)
and so the other 3 deployment tasks were waiting. Is this situation theunique
possibility to solve the problemm is restarting the Administrative (usinga kill
command, shutdown command never ends) ¿What could we do?
Thanks in advance for your help,
Oscar
"Mark Griffith" <[email protected]> wrote:
Deployer may initiate tasks on individual MS's it always goes THROUGH
the AS
and it process's requests serially. This ensures the stability of the
system, allowing multiple changes to cascade through the system at the
same
time.
Is there a reason why you don't have every dev using their own WLS box?
cheers
mbg
"Oscar" <[email protected]> wrote in message
news:[email protected]...
Hello,
We have a domain with 4 managed servers which supports a team of4
developers
(one per managed). They have the possibility to launch Deploy taksusing
weblogic.Deployer
on one of the managed servers.
We have found that deployment tasks are executed one by one in theAdministrative
instance. So when a developer creates a deploy task he has to waituntil
all pending
deployment tasks end.
¿Is it possible to have three deployment tasks running at the sametime
instead
of one by one? If it is ¿What should I do to activate it?
Thanks in advance,
Oscar -
Using weblogic.deployer to deploy multiple files?
Is there way, when using the weblogic.deployer, to specify multiple files to be deployed in one command? I see the filelist for redeploy, but is there a way to deploy/undeploy multiple files in one command?
Thanks.Having the users folder on a separate partitions is a bad idea because the Windows Setup was not really designed for it, it's more of a afterfix. In addition to that the deployment solutions in general have problem dealing with multiple partions.
Put it this way - The big warning text in the WAIK documentation about redirecting the users folder to another drive is there for a reason. It will break future offline servicing.
It doesn't mean it can't be done, it just means it will take you three times (at least) longer to setup/troubleshoot your deployment solution, and you will be in a world of pain the next time you want to re-image the machine.
This quote from a good friend of mine (Andreas Hammarskjold) describes it very well:
Generally I would always recommend to only have ONE partition these days. Going down the route of making multiple partitions is like having multiple wives/girlfriends/lovers… it’s all fun and games for a while but ends with disaster
- Andreas H.
/ Johan
Regards / Johan Arwidmark Twitter: @jarwidmark Blog: http://www.deploymentresearch.com FB: www.facebook.com/deploymentresearch -
Weblogic.Deployer using -deploy for existing application
I'm running on weblogic 8.1 SP3
when I use -deploy for an existing application the documentation says it will do a redeploy.
documentation for the targets option says that it will use existing targets for an application that is currently deployed.
BUT it doesn't work. Is this a known issue ?
I use the following options:
-name fortune
-source /data/bea81/applications/stg/fortune.ear
-verbose -debug -deploy -stageCheck to see if the problem is with the Deployer tool or myApp.war:
1) Does myApp.war deploy using the console?
2) Check myApp.war has all the classes it needs?
If your app does deploy from the console then we can focus in on the Deploy tool. If not it may help give us a clue as to what is going on e.g. your war file missing classes.
Hoos -
Does weblogic.Deployer set the CLASSPATH?
Hi,
I need to deploy an application with the weblogicDeployer utility. Does it automatically
set the CLASSPATH, as is done with the Admin console? Or do I need to set the
CLASSPATH explicitly?
Thanks,
-Amiah. weblogic.Deployer and the console use the same underlying API to
our Deployment subsystem. There shouldn't be any difference in
application behavior (eg classpath).
-- Rob
Ami wrote:
Hi Rob,
When I use the Admin console to deploy a web app, the CLASSPATH for the application
is set automatically. If I use weblogic.Deployer does that also automatically
set the CLASSPATH for the application?
-Ami
Rob Woollen <[email protected]> wrote:
Not sure I understand the question. weblogic.Deployer is a class in
the
weblogic.jar, so weblogic.jar has to be in your classpath to run java
weblogic.Deployer ...
-- Rob -
NoClassDefFoundError weblogic.Deployer 7.01
I'm trying to use the weblogic.Deployer utility, but I am not able to get it working.
(I'm on a Win2K server and I'm pretty new to weblogic server...)
Everytime I try to run the deployer, I get this error:
Exception in thread "main" java.lang.NoClassDefFoundError: weblogic/Deployer
I've tried changing my CLASSPATH, changing directories, etc. - Nothing seems to
work.
I know where the weblogic.jar file is. I've tried running deployer from the java
dir, the weblogic.jar dir - you name it!
Can anyone offer some help?Yes. If you can package as an EAR, then you could do the database logic
outside of the WAR, and just redeploy the WAR within the EAR.
-- Rob
Wayne Hoit wrote:
Rob -
Thanks - I'll guess I'll have to redeploy then - it's unfortunate since I'm connected
to a database and I'll have to re-login, etc, etc.
I guess it'll still be faster than restarting the server though....
Rob Woollen <[email protected]> wrote:
Ah, now I understand, we're talking about 2 different issues.
That page is discussing deploying applications automatically in the
applications directory. Indeed, there's an issue there with Windows
file locking. However, servlet-reload-check-seconds is not used there.
servlet-reload-check-seconds is done by the web container on individual
servlet classes. It works fine on Windows.
That being said, classes in WEB-INF/lib are not handled by
servlet-reload-check-seconds, only the actual servlet implementation
class.
If you're deploying an exploded webapp, and you want to change a jar
file in WEB-INF/lib, you'll need to redeploy the webapp.
This syntax should work fine:
java weblogic.Deployer -username user -password pass -name ematrix -redeploy
-- Rob
Wayne Hoit wrote:
Rob -
This is the link that talks about windows file locking and servlets
http://e-docs.bea.com/wls/docs81/deployment/concepts.html#1007794
Are you deploying an EAR or a WebApp (WAR)?WebApp, exploded
What is the change you're making to ther webapp? ie just a servlet
class, or something in WEB-INF/{classes,lib}I'm changing a Servlet (jar file) in web-inf/lib
Rob Woollen <[email protected]> wrote:
Wayne Hoit wrote:
Rob -
Sorry to disagree, but the Weblogic 7 docs state that servlets in
exploded
apps
cannot be reloaded with the servletreloadchecksecs parameter due toa limitation
in Windows.
Tech support has confirmed this.Hmm, can you show me the docs or the response from support that confirms
this. Reloading servlets on the fly has been in since at least WLS3.x.
It works fine on Windows.
This is why I'm investigating weblogic.Deployer - to see if I can
do
it with this
utility.
I cannot just redeploy the entire App because I'm connected to a database- if
I redploy the App, I have tore-login, etc, etc.
I might just as well shut it all down and restart.
Ok, I'm not sure I understand exactly what you're trying to do yet.
Can
you answer these questions, and I can better aid you:
Are you deploying an EAR or a WebApp (WAR)?
What is the change you're making to ther webapp? ie just a servlet
class, or something in WEB-INF/{classes,lib}
-- Rob
That's another reason I'd like to use weblogic.Deployer.
Which is what my latest post was all about.
I tried weblogic.Deployer and it appeared to work, although the Servletnever
actually reloaded.
Rob Woollen <[email protected]> wrote:
Wayne Hoit wrote:
Rob -
Thanks for the help, but it turns out the CLASSPATH in my dos promptwindow wasn't
set correctly.
I can now run the Deployer, although it has caused a new problem.
I am trying to reload a Servlet on a Win2K server. I know weblogiccannot do this
automatically due to limitations on Windows.No, it can.
There's a parameter in the weblogic.xml descriptor named
servlet-reload-check-secs. By default it is 1, and it will check
to
see
if your servlet has changed every 1 second. This is very nice for
development. See
http://e-docs.bea.com/wls/docs81/webapp/weblogic_xml.html#1038823
If you're making changes in the web application (ie something in
WEB-INF/lib or WEB-INF/classes), you can ask weblogic.Deployer tojust
redeploy the webapp.
Here's an example (java weblogic.Deployer -examples in 8.1 is helpful)
Is your application just a webapp (ie not an EAR file).
If so, something like this is correct to redeploy the webapp:
java weblogic.Deployer -username username -password password -name
ematrix -redeploy
If you have an ear file and just want to redeploy an individual webapp
without touching the rest of the application, use something like
this:
Redeploy individual module in an application:
java weblogic.Deployer -adminurl url -username username -password
password -name ematrix -redeploy -targets MyWebApp@myServer
You should not have to restart the server to make application changes.
-- Rob
However, I was under the impression that the Deployer could do it.
I ran this command with these results:
C:\>java weblogic.Deployer -adminurl http://localhost:7001 -user
weblogic
-passw
ord weblogic -name ematrix -activate c:\ematrixrmi1001\distrib\ematrix/web-inf/l
ib/printLogic.jar -verbose
Operation started, waiting for notifications...
[Id: 5] preparing ematrix for myserver
[Id: 5] prepared ematrix for myserver
[Id: 5] activating ematrix for myserver
[Id: 5] activated ematrix for myserver
#TaskID Action Status Target Type ApplicationSource
5 Activate Success myserver Server ematrix
null
However, when i re-ran the Servlet, nothing has changed.
It apparently has not been reloaded.
Am I doomed to restarting the entire weblogic server any time Ichange
the Servlet?
That would continue to make devleopment a real pain...
Rob Woollen <[email protected]> wrote:
Sounds like you don't have weblogic.jar in the classpath, or you
have
the wrong version.
Can you go to a shell and show me this output:
1) echo %CLASSPATH% (or echo $CLASSPATH on UNIX)
2) java weblogic.version
3) javap weblogic.Deployer
-- Rob
Wayne Hoit wrote:
I'm trying to use the weblogic.Deployer utility, but I am not
able
to get it working.
(I'm on a Win2K server and I'm pretty new to weblogic server...)
Everytime I try to run the deployer, I get this error:
Exception in thread "main" java.lang.NoClassDefFoundError: weblogic/Deployer
I've tried changing my CLASSPATH, changing directories, etc. -
Nothing
seems to
work.
I know where the weblogic.jar file is. I've tried running deployer
from the java
dir, the weblogic.jar dir - you name it!
Can anyone offer some help? -
WebLogic 11g (JDeveloper11g) Deployment Configuration
Hello,
I developed a Dashboard application using Fusion technology within JDeveloper 11g and Oracle Database Express 10g for not-for profit organization that will track all their global IT Assets. The application look great. I also completed configuration of Oracle WebLogic 11g and deploy the Application from EAR file.
The Problem
After completing the deployment, the application work pretty well if the application is not removed from JDeveloper11g. Whe I decided to removed the application from JDeveloper 11g, I was not able to view the application when I run the WebLogic 11g Application Server.
The configuration deployment in Jdeveloper doesn't go to the process of configuring the following as it is done in Jdeveloper 11g handbook:
cannection name, connection type: weblogic, authentication, configuration, test, finish
The Solution I am looking for:
I am looking to configure the EAR file and remove the source code from the computer so I do not give out the source code. Is this possible with JDeveloper 11.1.1.2.0? or do I need another version of JDeveloper?Hi
From JDeveloper IDE, you can deploy your application or project to any Application Server OR as an EAR or WAR file. Any web application can be deployed as WAR file. This war file will be created under deploy folder of your project within the project source folder. But if you have application and this has multiple projects, then at application level, you can choose deploy and select as EAR. This will create .EAR file under deploy folder of your application. This is how its done most of the times. During development, we deploy directly to the app server configured with JDeveloper. Later on to deploy to any other application server, you create .EAR or .WAR or .JAR from JDeveloper. Then deploy these modules on external appliacation servers. There is no need for your source code or any stuff.
Thanks
Ravi Jegga -
Weblogic.Deployer gets AccessControlExceptions
Hi,
I'm using weblogic.Deployer to deploy EAR to simple wls 9.1 domain. Everything works fine, but two warnings appears during deployment. Any idea what is causes these?
Deployment command:
$JAVA_HOME/bin/java -cp $WL_HOME/server/lib/weblogic.jar weblogic.Deployer -adminurl $WL_SERVER_URL -user $WL_USERNAME -password $WL_PASSWD -name $XXX_EAR -source $XXX_EAR_FILENAME -deploy
Domain log:
####<19.9.2006 15:52:41 EEST> <Warning> <RMI> <XXXX> <AdminServer> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1158670361319> <BEA-080003> <RuntimeException thrown by rmi server: javax.management.remote.rmi.RMIConnectionImpl.addNotificationListeners([Ljavax.management.ObjectName;[Ljava.rmi.MarshalledObject;[Ljavax.security.auth.Subject;)
java.security.AccessControlException: access denied (javax.management.MBeanPermission weblogic.management.configuration.DomainMBeanImpl#-[com.bea:Name=base_domain,Type=Domain] addNotificationListener).
java.security.AccessControlException: access denied (javax.management.MBeanPermission weblogic.management.configuration.DomainMBeanImpl#-[com.bea:Name=base_domain,Type=Domain] addNotificationListener)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:264)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:568)
at com.sun.jmx.remote.internal.ServerNotifForwarder.checkMBeanPermission(ServerNotifForwarder.java:250)
at com.sun.jmx.remote.internal.ServerNotifForwarder.addNotificationListener(ServerNotifForwarder.java:68)
at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1444)
at javax.management.remote.rmi.RMIConnectionImpl.access$100(RMIConnectionImpl.java:81)
at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1245)
at java.security.AccessController.doPrivileged(Native Method)
at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1348)
at javax.management.remote.rmi.RMIConnectionImpl.addNotificationListeners(RMIConnectionImpl.java:956)
at javax.management.remote.rmi.RMIConnectionImpl_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:517)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:407)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:403)
at weblogic.rmi.internal.BasicServerRef.access$300(BasicServerRef.java:56)
at weblogic.rmi.internal.BasicServerRef$BasicExecuteRequest.run(BasicServerRef.java:934)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:179)
>
####<19.9.2006 15:52:41 EEST> <Warning> <RMI> <XXXXX> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1158670361409> <BEA-080003> <RuntimeException thrown by rmi server: javax.management.remote.rmi.RMIConnectionImpl.addNotificationListeners([Ljavax.management.ObjectName;[Ljava.rmi.MarshalledObject;[Ljavax.security.auth.Subject;)
java.security.AccessControlException: access denied (javax.management.MBeanPermission weblogic.management.configuration.DomainMBeanImpl#-[com.bea:Name=base_domain,Type=Domain] addNotificationListener).
java.security.AccessControlException: access denied (javax.management.MBeanPermission weblogic.management.configuration.DomainMBeanImpl#-[com.bea:Name=base_domain,Type=Domain] addNotificationListener)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:264)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:568)
at com.sun.jmx.remote.internal.ServerNotifForwarder.checkMBeanPermission(ServerNotifForwarder.java:250)
at com.sun.jmx.remote.internal.ServerNotifForwarder.addNotificationListener(ServerNotifForwarder.java:68)
at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1444)
at javax.management.remote.rmi.RMIConnectionImpl.access$100(RMIConnectionImpl.java:81)
at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1245)
at java.security.AccessController.doPrivileged(Native Method)
at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1348)
at javax.management.remote.rmi.RMIConnectionImpl.addNotificationListeners(RMIConnectionImpl.java:956)
at javax.management.remote.rmi.RMIConnectionImpl_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:517)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:407)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:403)
at weblogic.rmi.internal.BasicServerRef.access$300(BasicServerRef.java:56)
at weblogic.rmi.internal.BasicServerRef$BasicExecuteRequest.run(BasicServerRef.java:934)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:179)
>OK, so it is uploading the files, here:
...user_projects/domains/mydomain/myserver/upload/test/test.war
but, if the location of the war files for deployment changes to this dir, then I'm sure many of my co-workers that prefer the "old way" will be confused when the war files are not in the ...user_projects/domains/mydomain/applications directory. Is there any way to have these files uploaded to that applications dir instead of the upload dir without a hack-around in a script?
Thanks -
Compare weblogic SM and webservice SM in OES
Can you please tell me which one is the better one between the weblogic SM and webservices SM in OES.
If you have any link which will explains the difference please let me knowI presume you're talking about OES 11g. WebService SM has some limitations. I would advise to go with WebLogic SM and deploy webservice application in WebLogic Server and play with it.
HTH.
-Mahendra. -
Application deployment order with weblogic-ejb-jar.xml and jndi-name
I have two applicatation working on Weblogic server v. 10.3.6.
First of them creating one ejb stateless bean and creates JNDI maping for it (in weblogic-ejb-jar.xml file):
<weblogic-enterprise-bean>
<ejb-name>ConfigMenegerBean</ejb-name>
<stateless-session-descriptor>
<stateless-session-descriptor>
<business-interface-jndi-name-map>
<business-remote>package.ConfigurationSessionRemote</business-remote>
<jndi-name>ConfigMeneger</jndi-name>
</business-interface-jndi-name-map>
</stateless-session-descriptor>
<enable-call-by-reference>true</enable-call-by-reference>
<jndi-name>ConfigMeneger</jndi-name>
</weblogic-enterprise-bean>
Second appication have to refer for this bean by JNDI using spring been lookup :
<jee:jndi-lookup id="configManager" jndi-name="ConfigMeneger"/>
I changed deployment order parameter for both apllication(first=100 and second=500) in order to first app start first and share bean by jndi to another application. Unfortuantelly I got an error :
javax.naming.NameNotFoundException: Unable to resolve 'ConfigMeneger'. Resolved ''; remaining name 'ConfigMeneger'
How can I configure deployment order that first application make jndi mapping for bean, before the second application will use it ?Ok in a way I have solved my problem (even if I am not completely satisfied by the way on how to proceed...). So thanks to message "JBuilder7.0 and Weblogic6.1" on EJB sun forum :
http://forum.java.sun.com/thread.jsp?thread=285735&forum=13&message=1255488
I have tried the following actions (mentionned in the other forum messages):
- To preserve changes to weblogic*.xml, the safest way is to change the ejb-borland.xml.
(I am not sure that I have applied this advice correctly, because I suppose that syntax is not similar in weblogic file or borland file).
And you can MANUALLY update the weblogic file in your JAR archive.
1. Open the EJB JAR file in Winzip and extract the weblogic-ejb-jar.xml file, so that a copy exists in your
project directory.
2. Open this file (in Notepad), add the WebLogic specific information, and then save the file.
3. Now, when you are finished with the build cycle and are ready to deploy, you may open the EJB jar file
and swap in the weblogic-ejb-jar.xml file."
Good Luck. -
How to create and deploy a simple jstl applicaton in weblogic 10.3.3
How to create and deploy a simple jstl applicaton in weblogic 10.3.3
1) Since JSTL libraries are provided as Web application libraries, they must be deployed before the Web application that is using JSTL functionality is deployed. The libraries can be deployed using the Administration Console or with the command-line weblogic.Deployer tool.
Here’s an example of deploying a JSTL 1.2 library using the weblogic.Deployer command-line:
java weblogic.Deployer -adminurl t3://localhost:7001
-user weblogic -password weblogic
-deploy -library
d:/beahome/wlserver_10.3/common/deployable-libraries/jstl-1.2.war
This command deploys the JSTL 1.2 library using the default library-name, specification-version and implementation-version defined by the MANIFEST.MF in the library.
After a library is deployed, the extension-name, specification-version and implementation-version of the library can be found in Administration console. This information can also be found in the MANIFEST.MF file of the library WAR file.
For more information on deploying a Web module refer below URL
http://docs.oracle.com/cd/E15051_01/wls/docs103/deployment/deployunits.html
2) To reference a JSF or JSTL library, a standard web application can define a <library-ref> descriptor in the application’s weblogic.xml file. Here is an example:
<library-ref>
<library-name>jsf</library-name>
<specification-version>1.2</specification-version>
<implementation-version>1.2.0</implementation-version>
<exact-match>false</exact-match>
</library-ref>
For more information on referencing a Web application library refer below URL
http://docs.oracle.com/cd/E15051_01/wls/docs103/programming/libraries.html
3) Create a sample JSP in your application and JSP should look as shown below
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
<html>
<head>
<title>TestJSTL</title>
</head>
<body>
<c:set var="topic" value="JSTL" />
<c:out value="${topic}" />
</body>
</html>
4) Create WAR and deploy and test.
Edited by: Murali Veligeti on Jul 26, 2012 9:00 AM -
Weblogic and byte order mark in files
We have web application with static content - html files, js files, images, etc.
There are byte order mark at the beginning of all html files.
These files were genereted by some tool. So I cannot modify them.
We deploy this application on Weblogic.
When I try to access this web application via direct link to Weblogic, then I have a lot of javascript errors.
But in case when I try to access this page via Apache proxy - then all is ok.
But Apache forwards all request direct to Weblogic.
And I do not have such errors in case if application was deployed on JBoss.
In this case I can access application both via direct link to JBoss and via proxy.
Anybody have some assumptions - why I cannot access application via direct link to Weblogic?I have found a solution for this problems.
I've just added following mime mapping to web.xml:
<mime-mapping>
<extension>xml</extension>
<mime-type>text/xml</mime-type>
</mime-mapping>
<mime-mapping>
<extension>js</extension>
<mime-type>text/javascript</mime-type>
</mime-mapping> -
Web Module Deployment Problem with Weblogic [Deployer:149026]
Dear Friends,
I've been facing a problem during deploying an Web Module on Weblogic 8.1. The name of my webmodule is 'MyOraWebModule'.
When I first developed, deployed and tested it in Weblogic 8.1, it was deployed and worked fine. But on the next day, when I tried to redeploy it, the deployment failed. This thing not just happens only once.. it is happeing always i.e. if I develop a new webmodule and deploy/redeploy it, it will work fine ONLY ON THE FIRST DAY (i.e. the day when the web module is created), but on the next day, it shows the following error if I try to redeploy it. The error is:
Task 3 failed: [Deployer:149026]Deploy application MyOraWebModule on myserver.
Deployment failed on Server myserver
Exception:weblogic.management.ApplicationException: prepare failed for MyOraWebModule
Module: MyOraWebModule Error: Context path 'MyOraWebModule' is already in use by the module: MyOraWebModule
Any suggestion or, guideline from you will be highly appreciated.
With Thanks,
... ChistyNot sure if you are still looking for the answer. I have a similar problem, I have a work around on it but still trying to identify what the issue is. I have deployed multiple web application modules on weblogic 8.1 and on the redeploy I was gettig the exception weblogic.management.ApplicationException: prepare failed for USER_DEFINED_MODULE_NAME
Context path '/' is already in use by the module. when this exception is thrown I observed that the targets attribute of tag WebAppComponent is initialized to the server name. If I stop the server, make the value of the targets attribute to be empty string in config.xml and start the server, the server starts fine. And I could continue. Not sure why this is so since the targets attribute is used to identify on what servers the application needs to be deployed.
Any input on why the weblogic 8.1 is behaving this way when the targets attribute is defined with a value would of great help.
thanks, -
BAM Data Source and deployment setting in weblogic
like In db adapter we need to create datasource and deployment plan in weblogic. what I want to know is this same process is valid for BAM adapter also? If yes, what we will specify in baam data source (What configuration i need to give).
one more thing i noticed that, Outbound connection pool option is also not coming under BAM configuration
Please help!!
Thanks,hello,
For BAM related settings are out of the box in web-logic server,here below points are describes steps to setup the Datasource whatever you call;
1. In the Settings for oracle-bam-adapter page, select the Configuration tab, and then the Outbound Connection Pools tab.
2. Configure the connection factory interface that you intend to use in Oracle JDeveloper, by expanding the appropriate Group and Instance target and clicking the Java Naming and Directory Interface (JNDI) name.
3. To configure the connection factory for RMI-based calls, click to expand the oracle.bam.adapter.adc.RMIConnectionFactory group and select the JNDI name that the user uses in Oracle JDeveloper. The eis/bam/rmi connection factory is provided out of the box.
4. To configure the connection factory for SOAP-based calls, click to expand the oracle.bam.adapter.adc.SOAPConnectionFactory group and select the JNDI name that the user uses in Oracle JDeveloper. The eis/bam/soap connection factory is provided out of the box.
Hostname : local host (host name of BAM server)
Instance Name: ADCServer1 (default for RMI)
Password : welcome1 (password of BAM server)
Port Number : 9001(port number of BAM server)
Username : weblogic (user name of BAM server)
5. after saving it need to re-deploy OracleBAMAdaper, In deployments select OracleBAMAdapter click Update button.
I hope these steps are helpful.
PS Outbound connection pool option is also not coming under BAM configuration -- for this check BAM server is running or not or any other BAM server installation or ect.
Thanks
Siva Sankar
TechDemocracy -
"Need Weblogic Integartion" + "Build and Deployment Samples"
Hi All,
If all I m very new to Weblogic Integration. If any one of you have the experience
of building and deploying weblogic integration application please throw some light
on this and please tell me the best approach of build and deploy weblogoc integration
application. Please help me
If you have any sample integration application please send it to me
Awaiting for your reply
Thanks
SelvaHere's an example that's specific to AIR:
http://help.adobe.com/en_US/AIR/1.1/devappsflex/WS5b3ccc516d4fbf351e63e3d118666ade46-7f73. html
Maybe you are looking for
-
Is there a way to create a swatch that defaults to overprint?
Our workflow at work is set up with 3 custom spot colors that I used to draw fold lines or label cover panels on customer's proofs. As long as I remember to set those guides to overprint in indesign they will not print when I send the files through o
-
Finder Freezes on Startup - Restart Twice and OK - How2fix?
Hi there, I don't have too much time to spend on this, but I want to make sure my comp is in good health (6 years and two HDD later). Whenever I turn off my computer, the desktop loads but no icons load and finder freezes (beach ball). I've read some
-
Hi there, In order to test some virtual machines features, I need to enable the Intel VT instructions out of the CPU. However, what a surprise to see there is no way to enable such CPU feature through the bios of the Ideapad U110... Do you know if we
-
greater than symbol inserted at bottom of php pages in all pages
I've coded for years and never seen this. At the bottom of all of my pages, no matter what I do, the following gets added in "<html>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" obviously these symbols show up and make all my webpages look awful. I de
-
Hi Gurus, I have a requirement wherein the files processed by a sender and receiver file adapter need to be "downloadable" from a http url So for example the File sender directory is C:\inbound and File Receiver directory is C:\outbound the