Where is weblogic.Deployer ???
Hi,
I can't run weblogic.Deployer utility in Weblogic 7.0, the reason is simple: the
class can't be found in the classpath ...I have dig the documentation, but there
is no information about which jar file (or which path in the weblogic instalation)
should be included in the classpath.
Pls note that everthing else is okay .. I have deployed some app using Administration
Console.
Thank in advance !
you will find weblogic.Deployer in weblogic.jar. Make sure your env is set b4 running
weblogic.Deployer
"mahfudh" <[email protected]> wrote:
>
Hi,
I can't run weblogic.Deployer utility in Weblogic 7.0, the reason is
simple: the
class can't be found in the classpath ...I have dig the documentation,
but there
is no information about which jar file (or which path in the weblogic
instalation)
should be included in the classpath.
Pls note that everthing else is okay .. I have deployed some app using
Administration
Console.
Thank in advance !
Similar Messages
-
Where is weblogic.Deployer class?
Where is weblogic.Deployer class?
Hi YE,
weblogic.Deployer class is present in "*weblogic.jar*" which can be found in WLS_HOME/wlserver_10.3/server/lib/weblogic.jar
Regards,
Ravish Mody
http://middlewaremagic.com/weblogic/
Come, Join Us and Experience The Magic… -
Weblogic deployer doesn't work under 9.2, driving me nutso! =P
I've tried everything trying to get the deploy/undeployer to work (tried http, t3 etc.)
Example ant task:
<target name="undeploy">
<path id="xdoclet.lib.path">
<fileset dir="${weblogic.lib.dir}">
<include name="*.jar"/>
</fileset>
</path>
<java classname="weblogic.Deployer" fork="true" maxmemory="256m" failonerror="true" classpathref="xdoclet.lib.path">
<arg line="-adminurl http://localhost:7001"/>
<arg line="-username weblogic"/>
<arg line="-password express1"/>
<arg line="-name t1scp3"/>
<arg value="-undeploy"/>
<arg value="-debug"/>
</java>
</target>
I've also tried using the ant task that comes with weblogic, but I always get this error! (I can ping the server using the ping class)
Any ideas? (Stack trace below)
Buildfile: C:\workspace\t1scp3\build.xml
undeploy:
[java] weblogic.Deployer invoked with options: -adminurl http://localhost:7001 -username weblogic -name t1scp3 -undeploy -debug
[java] [WebLogicDeploymentManagerImpl.<init>():103] : Constructing DeploymentManager for J2EE version V1_4 deployments
[java] [WebLogicDeploymentManagerImpl.getNewConnection():146] : Connecting to admin server at localhost:7001, as user weblogic
[java] [ServerConnectionImpl.getEnvironment():288] : setting environment
[java] [ServerConnectionImpl.getEnvironment():291] : getting context using http://localhost:7001
[java] [ServerConnectionImpl.getMBeanServer():239] : Connecting to MBeanServer at service:jmx:http://localhost:7001/jndi/weblogic.management.mbeanservers.domainruntime
[java] java.io.IOException
[java] at weblogic.management.remote.common.ClientProviderBase.makeConnection(ClientProviderBase.java:135)
[java] at weblogic.management.remote.common.ClientProviderBase.newJMXConnector(ClientProviderBase.java:79)
[java] at javax.management.remote.JMXConnectorFactory.newJMXConnector(JMXConnectorFactory.java:326)
[java] at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:247)
[java] at weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.getMBeanServer(ServerConnectionImpl.java:240)
[java] at weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.getMBeanServerForType(ServerConnectionImpl.java:191)
[java] at weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.init(ServerConnectionImpl.java:147)
[java] at weblogic.deploy.api.spi.deploy.WebLogicDeploymentManagerImpl.getNewConnection(WebLogicDeploymentManagerImpl.java:148)
[java] at weblogic.deploy.api.spi.deploy.WebLogicDeploymentManagerImpl.<init>(WebLogicDeploymentManagerImpl.java:118)
[java] at weblogic.deploy.api.spi.factories.internal.DeploymentFactoryImpl.getDeploymentManager(DeploymentFactoryImpl.java:84)
[java] at weblogic.deploy.api.tools.SessionHelper.getDeploymentManager(SessionHelper.java:432)
[java] at weblogic.deploy.api.tools.deployer.Jsr88Operation.connect(Jsr88Operation.java:302)
[java] at weblogic.deploy.api.tools.deployer.Deployer.perform(Deployer.java:137)
[java] at weblogic.deploy.api.tools.deployer.Deployer.runBody(Deployer.java:88)
[java] at weblogic.utils.compiler.Tool.run(Tool.java:158)
[java] at weblogic.utils.compiler.Tool.run(Tool.java:115)
[java] at weblogic.Deployer.run(Deployer.java:70)
[java] at weblogic.Deployer.main(Deployer.java:54)
[java] Caused by: javax.naming.CommunicationException [Root exception is java.rmi.ConnectIOException: error during JRMP connection establishment; nested exception is:
[java] java.io.EOFException]
[java] at weblogic.jrmp.Context.lookup(Context.java:189)
[java] at weblogic.jrmp.Context.lookup(Context.java:195)
[java] at javax.naming.InitialContext.lookup(InitialContext.java:351)
[java] at weblogic.management.remote.common.ClientProviderBase.makeConnection(ClientProviderBase.java:126)
[java] ... 17 more
[java] Caused by: java.rmi.ConnectIOException: error during JRMP connection establishment; nested exception is:
[java] java.io.EOFException
[java] at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:273)
[java] at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:171)
[java] at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:306)
[java] at weblogic.jrmp.BaseRemoteRef.invoke(BaseRemoteRef.java:221)
[java] at weblogic.jrmp.RegistryImpl_Stub.lookup(Unknown Source)
[java] at weblogic.jrmp.Context.lookup(Context.java:185)
[java] ... 20 more
[java] Caused by: java.io.EOFException
[java] at java.io.DataInputStream.readByte(DataInputStream.java:243)
[java] at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:215)
[java] ... 25 more
[java] [ServerConnectionImpl.close():334] : Closing DM connection
[java] [ServerConnectionImpl.close():354] : Unregistered all listeners
[java] weblogic.deploy.api.tools.deployer.DeployerException: Unable to connect to 'http://localhost:7001': null. Ensure the url represents a running admin server and that the credentials are correct. If using http protocol, tunneling must be enabled on the admin server.
[java] at weblogic.deploy.api.tools.deployer.Jsr88Operation.connect(Jsr88Operation.java:314)
[java] at weblogic.deploy.api.tools.deployer.Deployer.perform(Deployer.java:137)
[java] at weblogic.deploy.api.tools.deployer.Deployer.runBody(Deployer.java:88)
[java] at weblogic.utils.compiler.Tool.run(Tool.java:158)
[java] at weblogic.utils.compiler.Tool.run(Tool.java:115)
[java] at weblogic.Deployer.run(Deployer.java:70)
[java] at weblogic.Deployer.main(Deployer.java:54)
[java] Caused by: javax.enterprise.deploy.spi.exceptions.DeploymentManagerCreationException: [J2EE Deployment SPI:260010]Unable to connect to 'http://localhost:7001' as user, 'weblogic'. Error received: null
[java] at weblogic.deploy.api.spi.deploy.WebLogicDeploymentManagerImpl.<init>(WebLogicDeploymentManagerImpl.java:121)
[java] at weblogic.deploy.api.spi.factories.internal.DeploymentFactoryImpl.getDeploymentManager(DeploymentFactoryImpl.java:84)
[java] at weblogic.deploy.api.tools.SessionHelper.getDeploymentManager(SessionHelper.java:432)
[java] at weblogic.deploy.api.tools.deployer.Jsr88Operation.connect(Jsr88Operation.java:302)
[java] ... 6 more
[java] Caused by: weblogic.deploy.api.spi.exceptions.ServerConnectionException: [J2EE Deployment SPI:260010]Unable to connect to 'http://localhost:7001' as user, 'weblogic'. Error received: null
[java] at weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.getMBeanServer(ServerConnectionImpl.java:251)
[java] at weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.getMBeanServerForType(ServerConnectionImpl.java:191)
[java] at weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.init(ServerConnectionImpl.java:147)
[java] at weblogic.deploy.api.spi.deploy.WebLogicDeploymentManagerImpl.getNewConnection(WebLogicDeploymentManagerImpl.java:148)
[java] at weblogic.deploy.api.spi.deploy.WebLogicDeploymentManagerImpl.<init>(WebLogicDeploymentManagerImpl.java:118)
[java] ... 9 more
[java] Caused by: java.io.IOException
[java] at weblogic.management.remote.common.ClientProviderBase.makeConnection(ClientProviderBase.java:135)
[java] at weblogic.management.remote.common.ClientProviderBase.newJMXConnector(ClientProviderBase.java:79)
[java] at javax.management.remote.JMXConnectorFactory.newJMXConnector(JMXConnectorFactory.java:326)
[java] at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:247)
[java] at weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.getMBeanServer(ServerConnectionImpl.java:240)
[java] ... 13 more
[java] Caused by: javax.naming.CommunicationException [Root exception is java.rmi.ConnectIOException: error during JRMP connection establishment; nested exception is:
[java] java.io.EOFException]
[java] at weblogic.jrmp.Context.lookup(Context.java:189)
[java] at weblogic.jrmp.Context.lookup(Context.java:195)
[java] at javax.naming.InitialContext.lookup(InitialContext.java:351)
[java] at weblogic.management.remote.common.ClientProviderBase.makeConnection(ClientProviderBase.java:126)
[java] ... 17 more
[java] Caused by: java.rmi.ConnectIOException: error during JRMP connection establishment; nested exception is:
[java] java.io.EOFException
[java] at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:273)
[java] at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:171)
[java] at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:306)
[java] at weblogic.jrmp.BaseRemoteRef.invoke(BaseRemoteRef.java:221)
[java] at weblogic.jrmp.RegistryImpl_Stub.lookup(Unknown Source)
[java] at weblogic.jrmp.Context.lookup(Context.java:185)
[java] ... 20 more
[java] Caused by: java.io.EOFException
[java] at java.io.DataInputStream.readByte(DataInputStream.java:243)
[java] at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:215)
[java] ... 25 more
BUILD FAILED
C:\workspace\t1scp3\build.xml:229: Java returned: 1
Total time: 10 seconds<p>Can you add the following to your WLS startup options (or enable the relevant debug subsystems using the WLS9.2 console):</p>
<ul>
<li>weblogic.debug.DebugConnection</li>
<li>weblogic.debug.DebugRouting</li>
<li>weblogic.debug.DebugMessaging</li>
<li>weblogic.debug.isLogRemoteExceptionsEnabled</li>
</ul>
<p>and post the your server log here as well.</p>
<p>Also where did you get the task classes from?</p>
<p>
Hussein Badakhchani
London Middleware
</p>
Edited by hoos at 01/07/2007 3:41 AM -
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 -
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.Deployer -remote option
Hi,
using -remote option in weblogic.Deployer I can deploy applications remotely to servers.
Say that I'm deploying apps to remote managed server with port 9001 (admin server port 8001). There is a firewall in between build machine(where I'm deploying apps from) and weblogic server and these two ports are blocked. Is there any way to remote deploy? I know that the app cannot be deployed without these ports open.
Which port is required here to remote deploy?
Note: I dont want to open ports and I dont want to ssh tunnel. right now, the way I'm doing is send the scripts to remote server and then deploy.
If you have any other work around, please post
Thanks,
nlrreddy
Edited by: nlrreddy on Dec 22, 2009 10:53 PMHi Nlrreddy,
Option-A).
You can try configuring the Virtual Host for your Admin And Managed Servers.
http://download-llnw.oracle.com/docs/cd/E13222_01/wls/docs81/adminguide/web_server.html#103248
After that may be u need to enable Tunnelling as well.
Option-B). Configure a Web Proxy Like (Apache) which runs and Listens on default port 80. Now Enable the Http-Tunneling in Admin Server. Set the Apache to Pass all the requests to Admin WebLogic Server. Now In the Deployer option you can use *"http://ProxyAdderss:proxyPort"* rather than using t3://AdminServerAddress:AdminServerPort
Example:
java weblogic.Deployer -adminurl http://ProxyAdderss:proxyPort -username weblogic -password weblogic -remote -deploy -name complexServiceEar -appversion VesionA -targets AdminServer -source complexServiceEar.ear
Thanks
Jay SenSharma
http://jaysensharma.wordpress.com (WebLogic Wonders Are Here)
Edited by: Jay SenSharma on Dec 24, 2009 12:35 PM
Edited by: Jay SenSharma on Dec 24, 2009 12:40 PM -
Help !! how to redeploy only an ejb using weblogic.Deployer ?
Hi everyone, how to redeploy only one ejb (not the entire application) using weblogic.Deployer ? I executed the following command and getting wiered error !!! :
java weblogic.Deployer -adminurl http://myadmin:7000 -username system -password weblogic -name myApp.ear -activate -targets testEJB.jar@jytServer -source myApp.ear
I am getting the following error :
weblogic.management.ApplicationException:
[J2EE:160043]Missing deployment descriptor "META-INF/application.xml" at myApp.ear".
The ear file very much contains the application.xml under META-INF directory and in the application.xml, there is an entry for myBean.jar.
However if i try the following command, it will redeploy the EJB but it will deploy it as a separate application :
java weblogic.Deployer -adminurl http://myadmin:10720 -username system -password weblogic -targets jytServer deploy testEJB.jar
But I want to redeploly it as a part of .ear application.
I would highly appreicate your help. (assume that admin console access is denied and i will have to use weblogic.Deployer to redeploy).
thanks,
jyothiWhere do I specify the order of deployment? I have 2 EJB jar files and Web module, the order need to be Web module first, 2 EJB then EAR. In WebSphere it is defined in Deployment.xml file, where do I define Deployment.xml in WebLogic
-
Need help using weblogic.Deployer to refresh a webapp
I'm trying to refresh some jsp from a webapp deployed in exploded format
in WLS 8.1SP3
The original source files are not located on the machine or filesystem
running the admin server (the webapp is deployed on a cluster)
On WLS 6.1SP5, we use weblogic.refresh to upload the files to the admin
server and redeploy the refreshed files.
The documentation suggest to use weblogic.Deployer with WLS8.1 since
weblogic.refresh is deprecated.
I couldn't find the correct command line options to reproduced the
weblogic.refresh behaviour. Apparently it is not possible to upload the
files to the admin server and redeploy in a single step. weblogic.Deployer
expects the file to be already available to the admin server before
issuing the redeploy (using rsync, ftp or whatever). Is this correct ?
What did I miss ?
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/I thought you've got error of another type - that error is fixed by simple software update.
Regarding your case - it's always frightening in first time. Believe me - there's completely nothing to be afraid of.
Resizing C drive may result killing your DATA on it only in case of energy is down during the process. Process is taking about 15-20 minutes on slow programs and about 3-4 minutes on fast programs. That means that even having problems with electricity you'll be able to finish everything correctly running on battery.
I'd recommend using Acronis Disk director Suite, but it is not free. One of the best free progs for that are bootable Linux livecds PartedMagic and GParted. They're all intuitive understandable.
You will get your NOVO recovery feature lost after C resize, but you can enable it later, replacing that factory backup in hidden partition with your own backup - your NOVO button will restore your system with all your software and settings.
it will be good for you to start with some basic principles on partitions organization schemes - why, what for and how questions are briefly explained here. After reading this you'll be able to ask right questions to get right answers.
//help will save the world -
How to use weblogic.Deployer
I can deploy this adf application to weblogic server in jdeveloper 11.1.1.3.
How to use weblogic.Deployer in weblogic 10.3.3? I get errors as follow:
Microsoft Windows [Version 6.0.6001]
Copyright (c) 2006 Microsoft Corporation. All rights reserved.
C:\Users\Administrator>d:
D:\>cd D:\weblogicSA2011\wlserver_10.3\samples\domains\wl_server\bin
D:\weblogicSA2011\wlserver_10.3\samples\domains\wl_server\bin>setDomainEnv.cmd
D:\weblogicSA2011\wlserver_10.3\samples\domains\wl_server>java weblogic.Deployer
-adminurl http://localhost:7001 -user weblogic -password welcome1 -deploy -upload E:\SOAworkspace\otnapp\deploy\otnapp_application1.ear
weblogic.Deployer invoked with options: -adminurl http://localhost:7001 -user weblogic -deploy -upload E:\SOAworkspace\otnapp\deploy\otnapp_application1.ear
javax.enterprise.deploy.spi.exceptions.DeploymentManagerCreationException
at weblogic.deploy.api.spi.deploy.WebLogicDeploymentManagerImpl.<init>(WebLogicDeploymentManagerImpl.java:121)
at weblogic.deploy.api.spi.factories.internal.DeploymentFactoryImpl.getDeploymentManager(DeploymentFactoryImpl.java:86)
at weblogic.deploy.api.tools.SessionHelper.getRemoteDeploymentManager(SessionHelper.java:496)
at weblogic.deploy.api.tools.deployer.Jsr88Operation.connect(Jsr88Operation.java:297)
at weblogic.deploy.api.tools.deployer.Deployer.perform(Deployer.java:137
at weblogic.deploy.api.tools.deployer.Deployer.runBody(Deployer.java:88)
at weblogic.utils.compiler.Tool.run(Tool.java:158)
at weblogic.utils.compiler.Tool.run(Tool.java:115)
at weblogic.Deployer.run(Deployer.java:70)
at weblogic.Deployer.main(Deployer.java:54)
Caused by: weblogic.deploy.api.spi.exceptions.ServerConnectionException
at weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.init(ServerConnectionImpl.java:141)
at weblogic.deploy.api.spi.deploy.WebLogicDeploymentManagerImpl.getNewConnection(WebLogicDeploymentManagerImpl.java:148)
at weblogic.deploy.api.spi.deploy.WebLogicDeploymentManagerImpl.<init>(WebLogicDeploymentManagerImpl.java:118)
at weblogic.deploy.api.spi.factories.internal.DeploymentFactoryImpl.getDeploymentManager(DeploymentFactoryImpl.java:86)
at weblogic.deploy.api.tools.SessionHelper.getRemoteDeploymentManager(SessionHelper.java:496)
at weblogic.deploy.api.tools.deployer.Jsr88Operation.connect(Jsr88Operation.java:297)
at weblogic.deploy.api.tools.deployer.Deployer.perform(Deployer.java:138
at weblogic.deploy.api.tools.deployer.Deployer.runBody(Deployer.java:88)
at weblogic.utils.compiler.Tool.run(Tool.java:158)
at weblogic.utils.compiler.Tool.run(Tool.java:116)
... 2 more
Caused by: javax.naming.CommunicationException [Root exception is java.net.Conne
ctException: http://localhost:7001: Destination unreachable; nested exception is
java.net.ProtocolException: Tunneling result unspecified - is the HTTP s
erver at host: 'localhost' and port: '7001' a WebLogic Server?; No available router to destination]
at weblogic.jndi.internal.ExceptionTranslator.toNamingException(ExceptionTranslator.java:40)
at weblogic.jndi.WLInitialContextFactoryDelegate.toNamingException(WLInitialContextFactoryDelegate.java:787)
at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:366)
at weblogic.jndi.Environment.getContext(Environment.java:315)
at weblogic.jndi.Environment.getContext(Environment.java:285)
at weblogic.jndi.Environment.createInitialContext(Environment.java:208)
at weblogic.jndi.Environment.getInitialContext(Environment.java:192)
at weblogic.jndi.Environment.getInitialContext(Environment.java:170)
at weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.getContext(ServerConnectionImpl.java:328)
at weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.getEnvironment(ServerConnectionImpl.java:300)
at weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.init(ServerConnectionImpl.java:139)
at weblogic.deploy.api.spi.deploy.WebLogicDeploymentManagerImpl.getNewConnection(WebLogicDeploymentManagerImpl.java:148)
at weblogic.deploy.api.spi.deploy.WebLogicDeploymentManagerImpl.<init>(WebLogicDeploymentManagerImpl.java:118)
at weblogic.deploy.api.spi.factories.internal.DeploymentFactoryImpl.getDeploymentManager(DeploymentFactoryImpl.java:86)
at weblogic.deploy.api.tools.SessionHelper.getRemoteDeploymentManager(SessionHelper.java:496)
at weblogic.deploy.api.tools.deployer.Jsr88Operation.connect(Jsr88Operation.java:297)
at weblogic.deploy.api.tools.deployer.Deployer.perform(Deployer.java:137
at weblogic.deploy.api.tools.deployer.Deployer.runBody(Deployer.java:88)
at weblogic.utils.compiler.Tool.run(Tool.java:158)
at weblogic.utils.compiler.Tool.run(Tool.java:115)
... 2 more
Caused by: java.net.ConnectException: http://localhost:7001: Destination unreach
able; nested exception is:
java.net.ProtocolException: Tunneling result unspecified - is the HTTP server at host: 'localhost' and port: '7001' a WebLogic Server?; No available router to destination
at weblogic.rjvm.RJVMFinder.findOrCreateInternal(RJVMFinder.java:216)
at weblogic.rjvm.RJVMFinder.findOrCreate(RJVMFinder.java:170)
at weblogic.rjvm.ServerURL.findOrCreateRJVM(ServerURL.java:153)
at weblogic.jndi.WLInitialContextFactoryDelegate$1.run(WLInitialContextFactoryDelegate.java:345)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:340)
... 19 more
Caused by: java.rmi.ConnectException: Destination unreachable; nested exception
is:
java.net.ProtocolException: Tunneling result unspecified - is the HTTP server at host: 'localhost' and port: '7001' a WebLogic Server?; No available rou
ter to destination
at weblogic.rjvm.ConnectionManager.bootstrap(ConnectionManager.java:464)
at weblogic.rjvm.ConnectionManager.bootstrap(ConnectionManager.java:315)
at weblogic.rjvm.RJVMManager.findOrCreateRemoteInternal(RJVMManager.java:254)
at weblogic.rjvm.RJVMManager.findOrCreate(RJVMManager.java:197)
at weblogic.rjvm.RJVMFinder.findOrCreateRemoteServer(RJVMFinder.java:238
at weblogic.rjvm.RJVMFinder.findOrCreateRemoteCluster(RJVMFinder.java:316)
at weblogic.rjvm.RJVMFinder.findOrCreateInternal(RJVMFinder.java:205)
at weblogic.rjvm.RJVMFinder.findOrCreate(RJVMFinder.java:170)
at weblogic.rjvm.ServerURL.findOrCreateRJVM(ServerURL.java:153)
at weblogic.jndi.WLInitialContextFactoryDelegate$1.run(WLInitialContextFactoryDelegate.java:345)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:340)
at weblogic.jndi.Environment.getContext(Environment.java:315)
at weblogic.jndi.Environment.getContext(Environment.java:285)
at weblogic.jndi.Environment.createInitialContext(Environment.java:208)
at weblogic.jndi.Environment.getInitialContext(Environment.java:192)
at weblogic.jndi.Environment.getInitialContext(Environment.java:170)
at weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.getContext(ServerConnectionImpl.java:328)
at weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.getEnvironment(ServerConnectionImpl.java:300)
at weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl.init(ServerConnectionImpl.java:139)
at weblogic.deploy.api.spi.deploy.WebLogicDeploymentManagerImpl.getNewConnection(WebLogicDeploymentManagerImpl.java:150)
at weblogic.deploy.api.spi.deploy.WebLogicDeploymentManagerImpl.<init>(WebLogicDeploymentManagerImpl.java:118)
at weblogic.deploy.api.spi.factories.internal.DeploymentFactoryImpl.getDeploymentManager(DeploymentFactoryImpl.java:86)
at weblogic.deploy.api.tools.SessionHelper.getRemoteDeploymentManager(SessionHelper.java:496)
at weblogic.deploy.api.tools.deployer.Jsr88Operation.connect(Jsr88Operation.java:297)
at weblogic.deploy.api.tools.deployer.Deployer.perform(Deployer.java:138)
at weblogic.deploy.api.tools.deployer.Deployer.runBody(Deployer.java:88)
at weblogic.utils.compiler.Tool.run(Tool.java:158)
at weblogic.utils.compiler.Tool.run(Tool.java:116)
... 2 more
Unable to connect to 'http://localhost:7001': Destination unreachable; nested exception is:
java.net.ProtocolException: Tunneling result unspecified - is the HTTP server at host: 'localhost' and port: '7001' a WebLogic Server?; No available rou
ter to destination. Ensure the url represents a running admin server and that the credentials are correct. If using http protocol, tunneling must be enabled on the admin server.
D:\weblogicSA2011\wlserver_10.3\samples\domains\wl_server>Looks like the protocol is not correct (Unable to connect to 'http://localhost:7001': Destination unreachable)
Could you try the t3 protocol, for example,
java weblogic.Deployer -adminurl t3://localhost:7001 -username weblogic -password welcome1 -listapps -
Hello,
I am using the Weblogic Server 9.1 and I typed the following command:
java weblogic.Deployer -adminurl t3://myserver:7001 -user weblogic -password abcx -listapps
and the result was:
remoteWar [Version=1.1.0]
remoteWar [Version=1.1.7] <ACTIVE VERSION>
Number of Applications Found : 2
The java version that I am using in my machine is:
Sun JDK 1.5.0_8
But when I executed the same command on AIX 5.2
the result was:
remoteWar [Version=1.1.0]
remoteWar [Version=1.1.7]
Number of Applications Found : 2
The INFORMATION <ACTIVE VERSION> that I need to discovery wath
application is active or inactive don´t was showed in AIX environment.
Any idea? I need this information.weblogic.jar should be in the class path.
-
Where get weblogic.jar version 8.1 or 9.2?
I need to get weblogic.jar version 8.1 or 9.2 to use with Hermes because 10.3 apparently does not have class weblogic/security/subject/AbstractSubject... I failed finding it on the net...
Thank you
LeonardI've got the exakt same problem using weblogic.Deployer .... -appversion, weblogic 10.0 in this case. Works fine with our new jaxws based webservices.
Would be nice if this problem was solved, especially since weblogic10 resolves softlinks so our old method of linking to new versions doesn't work anymore. And the fact that "Changing the source location is not allowed for a previously attempted deployment" doesn't help either. -
Problem with weblogic.Deployer in 8.1
I have a problem with weblogic.Deployer. My application deploys and works fine
if I manually copy the ear or the exploded form into weblogic's applications\
directory (hot deployment). But, if I use the weblogic.Deployer tool, it fails
with the following exception. Does the deployer tool expect something in the ear
(or exploded form) that I'm missing? Thanks in advance.
-Vas
[wldeploy] java.lang.NullPointerException
[wldeploy] at weblogic.rmi.internal.StubGenerator.getStubOnClient(StubGener
ator.java:785)
[wldeploy] at weblogic.rmi.internal.StubGenerator.getStubClass(StubGenerato
r.java:758)
[wldeploy] at weblogic.rmi.internal.StubGenerator.generateStub(StubGenerato
r.java:803)
[wldeploy] at weblogic.rmi.internal.StubGenerator.generateStub(StubGenerato
r.java:790)
[wldeploy] at weblogic.rmi.extensions.StubFactory.getStub(StubFactory.java:
79)
[wldeploy] at weblogic.common.internal.RMIBootServiceStub.getStub(RMIBootSe
rviceStub.java:50)
[wldeploy] at weblogic.security.acl.internal.Security.authenticate(Security
.java:152)
[wldeploy] at weblogic.jndi.WLInitialContextFactoryDelegate.authenticateRem
otely(WLInitialContextFactoryDelegate.java:597)
[wldeploy] at weblogic.jndi.WLInitialContextFactoryDelegate.pushSubject(WLI
nitialContextFactoryDelegate.java:534)
[wldeploy] at weblogic.jndi.WLInitialContextFactoryDelegate.newContext(WLIn
itialContextFactoryDelegate.java:336)
[wldeploy] at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialConte
xt(WLInitialContextFactoryDelegate.java:308)
[wldeploy] at weblogic.jndi.Environment.getContext(Environment.java:164)
[wldeploy] at weblogic.jndi.Environment.getInitialContext(Environment.java:
143)
[wldeploy] at weblogic.management.deploy.utils.MBeanHomeTool.getMBeanHome(M
BeanHomeTool.java:157)
[wldeploy] at weblogic.Deployer.runBody(Deployer.java:555)
[wldeploy] at weblogic.utils.compiler.Tool.run(Tool.java:146)
[wldeploy] at weblogic.utils.compiler.Tool.run(Tool.java:103)
[wldeploy] at weblogic.Deployer.main(Deployer.java:399)
[wldeploy] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[wldeploy] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
sorImpl.java:39)
[wldeploy] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
hodAccessorImpl.java:25)
[wldeploy] at java.lang.reflect.Method.invoke(Method.java:324)
[wldeploy] at weblogic.ant.taskdefs.management.WLDeploy.invokeMain(WLDeploy
.java:209)
[wldeploy] at weblogic.ant.taskdefs.management.WLDeploy.execute(WLDeploy.ja
va:170)
[wldeploy] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.ja
va:166)
[wldeploy] at org.apache.tools.ant.Task.perform(Task.java:319)
[wldeploy] at org.apache.tools.ant.Target.execute(Target.java:309)
[wldeploy] at org.apache.tools.ant.Target.performTasks(Target.java:336)
[wldeploy] at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
[wldeploy] at org.apache.tools.ant.Project.executeTargets(Project.java:1250
[wldeploy] at org.apache.tools.ant.Main.runBuild(Main.java:610)
[wldeploy] at org.apache.tools.ant.Main.start(Main.java:196)
[wldeploy] at org.apache.tools.ant.Main.main(Main.java:235)
[wldeploy] --------------- nested within: ------------------
[wldeploy] weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Failed
to generate class for weblogic.common.internal.RMIBootServiceImpl_811_WLStub ]
with nested exception:
[wldeploy] [java.lang.NullPointerException]
[wldeploy] at weblogic.rmi.internal.StubGenerator.generateStub(StubGenerato
r.java:807)
[wldeploy] at weblogic.rmi.internal.StubGenerator.generateStub(StubGenerato
r.java:790)
[wldeploy] at weblogic.rmi.extensions.StubFactory.getStub(StubFactory.java:
79)
[wldeploy] at weblogic.common.internal.RMIBootServiceStub.getStub(RMIBootSe
rviceStub.java:50)
[wldeploy] at weblogic.security.acl.internal.Security.authenticate(Security
.java:152)
[wldeploy] at weblogic.jndi.WLInitialContextFactoryDelegate.authenticateRem
otely(WLInitialContextFactoryDelegate.java:597)
[wldeploy] at weblogic.jndi.WLInitialContextFactoryDelegate.pushSubject(WLI
nitialContextFactoryDelegate.java:534)
[wldeploy] at weblogic.jndi.WLInitialContextFactoryDelegate.newContext(WLIn
itialContextFactoryDelegate.java:336)
[wldeploy] at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialConte
xt(WLInitialContextFactoryDelegate.java:308)
[wldeploy] at weblogic.jndi.Environment.getContext(Environment.java:164)
[wldeploy] at weblogic.jndi.Environment.getInitialContext(Environment.java:
143)
[wldeploy] at weblogic.management.deploy.utils.MBeanHomeTool.getMBeanHome(M
BeanHomeTool.java:157)
[wldeploy] at weblogic.Deployer.runBody(Deployer.java:555)
[wldeploy] at weblogic.utils.compiler.Tool.run(Tool.java:146)
[wldeploy] at weblogic.utils.compiler.Tool.run(Tool.java:103)
[wldeploy] at weblogic.Deployer.main(Deployer.java:399)
[wldeploy] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[wldeploy] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
sorImpl.java:39)
[wldeploy] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
hodAccessorImpl.java:25)
[wldeploy] at java.lang.reflect.Method.invoke(Method.java:324)
[wldeploy] at weblogic.ant.taskdefs.management.WLDeploy.invokeMain(WLDeploy
.java:209)
[wldeploy] at weblogic.ant.taskdefs.management.WLDeploy.execute(WLDeploy.ja
va:170)
[wldeploy] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.ja
va:166)
[wldeploy] at org.apache.tools.ant.Task.perform(Task.java:319)
[wldeploy] at org.apache.tools.ant.Target.execute(Target.java:309)
[wldeploy] at org.apache.tools.ant.Target.performTasks(Target.java:336)
[wldeploy] at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
[wldeploy] at org.apache.tools.ant.Project.executeTargets(Project.java:1250
[wldeploy] at org.apache.tools.ant.Main.runBuild(Main.java:610)
[wldeploy] at org.apache.tools.ant.Main.start(Main.java:196)
[wldeploy] at org.apache.tools.ant.Main.main(Main.java:235)
[wldeploy] java.lang.reflect.InvocationTargetException
[wldeploy] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[wldeploy] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
sorImpl.java:39)
[wldeploy] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
hodAccessorImpl.java:25)
[wldeploy] at java.lang.reflect.Method.invoke(Method.java:324)
[wldeploy] at weblogic.ant.taskdefs.management.WLDeploy.invokeMain(WLDeploy
.java:209)
[wldeploy] at weblogic.ant.taskdefs.management.WLDeploy.execute(WLDeploy.ja
va:170)
[wldeploy] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.ja
va:166)
[wldeploy] at org.apache.tools.ant.Task.perform(Task.java:319)
[wldeploy] at org.apache.tools.ant.Target.execute(Target.java:309)
[wldeploy] at org.apache.tools.ant.Target.performTasks(Target.java:336)
[wldeploy] at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
[wldeploy] at org.apache.tools.ant.Project.executeTargets(Project.java:1250
[wldeploy] at org.apache.tools.ant.Main.runBuild(Main.java:610)
[wldeploy] at org.apache.tools.ant.Main.start(Main.java:196)
[wldeploy] at org.apache.tools.ant.Main.main(Main.java:235)
[wldeploy] Caused by: weblogic.utils.AssertionError: ***** ASSERTION FAILED ***
**[ Failed to generate class for weblogic.common.internal.RMIBootServiceImpl_811
_WLStub ] - with nested exception:
[wldeploy] [java.lang.NullPointerException]
[wldeploy] at weblogic.rmi.internal.StubGenerator.generateStub(StubGenerato
r.java:807)
[wldeploy] at weblogic.rmi.internal.StubGenerator.generateStub(StubGenerato
r.java:790)
[wldeploy] at weblogic.rmi.extensions.StubFactory.getStub(StubFactory.java:
79)
[wldeploy] at weblogic.common.internal.RMIBootServiceStub.getStub(RMIBootSe
rviceStub.java:50)
[wldeploy] at weblogic.security.acl.internal.Security.authenticate(Security
.java:152)
[wldeploy] at weblogic.jndi.WLInitialContextFactoryDelegate.authenticateRem
otely(WLInitialContextFactoryDelegate.java:597)
[wldeploy] at weblogic.jndi.WLInitialContextFactoryDelegate.pushSubject(WLI
nitialContextFactoryDelegate.java:534)
[wldeploy] at weblogic.jndi.WLInitialContextFactoryDelegate.newContext(WLIn
itialContextFactoryDelegate.java:336)
[wldeploy] at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialConte
xt(WLInitialContextFactoryDelegate.java:308)
[wldeploy] at weblogic.jndi.Environment.getContext(Environment.java:164)
[wldeploy] at weblogic.jndi.Environment.getInitialContext(Environment.java:
143)
[wldeploy] at weblogic.management.deploy.utils.MBeanHomeTool.getMBeanHome(M
BeanHomeTool.java:157)
[wldeploy] at weblogic.Deployer.runBody(Deployer.java:555)
[wldeploy] at weblogic.utils.compiler.Tool.run(Tool.java:146)
[wldeploy] at weblogic.utils.compiler.Tool.run(Tool.java:103)
[wldeploy] at weblogic.Deployer.main(Deployer.java:399)
[wldeploy] ... 15 moreHi Deepak,
I didn't understand the suggested resolution. Can you tell me what it means?
However, I found a similar problem in the archives, so I tried from command line
(outside ant) using "java weblogic.Delployer ...." and it worked! It doesn't work
from ant. So, you think there's some conflict between my ant and weblogic's ant
task "WLDdeploy"?
Thanks,
Vas
"Deepak Vohra" <[email protected]> wrote:
>
Refer to
http://e-docs.bea.com/wls/docs70/notes/resolved.html#1296363
"vas pulipati" <[email protected]> wrote:
I have a problem with weblogic.Deployer. My application deploys andworks
fine
if I manually copy the ear or the exploded form into weblogic's applications\
directory (hot deployment). But, if I use the weblogic.Deployer tool,
it fails
with the following exception. Does the deployer tool expect something
in the ear
(or exploded form) that I'm missing? Thanks in advance.
-Vas
[wldeploy] java.lang.NullPointerException
[wldeploy] at weblogic.rmi.internal.StubGenerator.getStubOnClient(StubGener
ator.java:785)
[wldeploy] at weblogic.rmi.internal.StubGenerator.getStubClass(StubGenerato
r.java:758)
[wldeploy] at weblogic.rmi.internal.StubGenerator.generateStub(StubGenerato
r.java:803)
[wldeploy] at weblogic.rmi.internal.StubGenerator.generateStub(StubGenerato
r.java:790)
[wldeploy] at weblogic.rmi.extensions.StubFactory.getStub(StubFactory.java:
79)
[wldeploy] at weblogic.common.internal.RMIBootServiceStub.getStub(RMIBootSe
rviceStub.java:50)
[wldeploy] at weblogic.security.acl.internal.Security.authenticate(Security
.java:152)
[wldeploy] at weblogic.jndi.WLInitialContextFactoryDelegate.authenticateRem
otely(WLInitialContextFactoryDelegate.java:597)
[wldeploy] at weblogic.jndi.WLInitialContextFactoryDelegate.pushSubject(WLI
nitialContextFactoryDelegate.java:534)
[wldeploy] at weblogic.jndi.WLInitialContextFactoryDelegate.newContext(WLIn
itialContextFactoryDelegate.java:336)
[wldeploy] at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialConte
xt(WLInitialContextFactoryDelegate.java:308)
[wldeploy] at weblogic.jndi.Environment.getContext(Environment.java:164)
[wldeploy] at weblogic.jndi.Environment.getInitialContext(Environment.java:
143)
[wldeploy] at weblogic.management.deploy.utils.MBeanHomeTool.getMBeanHome(M
BeanHomeTool.java:157)
[wldeploy] at weblogic.Deployer.runBody(Deployer.java:555)
[wldeploy] at weblogic.utils.compiler.Tool.run(Tool.java:146)
[wldeploy] at weblogic.utils.compiler.Tool.run(Tool.java:103)
[wldeploy] at weblogic.Deployer.main(Deployer.java:399)
[wldeploy] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
[wldeploy] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
sorImpl.java:39)
[wldeploy] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
hodAccessorImpl.java:25)
[wldeploy] at java.lang.reflect.Method.invoke(Method.java:324)
[wldeploy] at weblogic.ant.taskdefs.management.WLDeploy.invokeMain(WLDeploy
.java:209)
[wldeploy] at weblogic.ant.taskdefs.management.WLDeploy.execute(WLDeploy.ja
va:170)
[wldeploy] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.ja
va:166)
[wldeploy] at org.apache.tools.ant.Task.perform(Task.java:319)
[wldeploy] at org.apache.tools.ant.Target.execute(Target.java:309)
[wldeploy] at org.apache.tools.ant.Target.performTasks(Target.java:336)
[wldeploy] at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
[wldeploy] at org.apache.tools.ant.Project.executeTargets(Project.java:1250
[wldeploy] at org.apache.tools.ant.Main.runBuild(Main.java:610)
[wldeploy] at org.apache.tools.ant.Main.start(Main.java:196)
[wldeploy] at org.apache.tools.ant.Main.main(Main.java:235)
[wldeploy] --------------- nested within: ------------------
[wldeploy] weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[
Failed
to generate class for weblogic.common.internal.RMIBootServiceImpl_811_WLStub
with nested exception:
[wldeploy] [java.lang.NullPointerException]
[wldeploy] at weblogic.rmi.internal.StubGenerator.generateStub(StubGenerato
r.java:807)
[wldeploy] at weblogic.rmi.internal.StubGenerator.generateStub(StubGenerato
r.java:790)
[wldeploy] at weblogic.rmi.extensions.StubFactory.getStub(StubFactory.java:
79)
[wldeploy] at weblogic.common.internal.RMIBootServiceStub.getStub(RMIBootSe
rviceStub.java:50)
[wldeploy] at weblogic.security.acl.internal.Security.authenticate(Security
.java:152)
[wldeploy] at weblogic.jndi.WLInitialContextFactoryDelegate.authenticateRem
otely(WLInitialContextFactoryDelegate.java:597)
[wldeploy] at weblogic.jndi.WLInitialContextFactoryDelegate.pushSubject(WLI
nitialContextFactoryDelegate.java:534)
[wldeploy] at weblogic.jndi.WLInitialContextFactoryDelegate.newContext(WLIn
itialContextFactoryDelegate.java:336)
[wldeploy] at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialConte
xt(WLInitialContextFactoryDelegate.java:308)
[wldeploy] at weblogic.jndi.Environment.getContext(Environment.java:164)
[wldeploy] at weblogic.jndi.Environment.getInitialContext(Environment.java:
143)
[wldeploy] at weblogic.management.deploy.utils.MBeanHomeTool.getMBeanHome(M
BeanHomeTool.java:157)
[wldeploy] at weblogic.Deployer.runBody(Deployer.java:555)
[wldeploy] at weblogic.utils.compiler.Tool.run(Tool.java:146)
[wldeploy] at weblogic.utils.compiler.Tool.run(Tool.java:103)
[wldeploy] at weblogic.Deployer.main(Deployer.java:399)
[wldeploy] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
[wldeploy] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
sorImpl.java:39)
[wldeploy] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
hodAccessorImpl.java:25)
[wldeploy] at java.lang.reflect.Method.invoke(Method.java:324)
[wldeploy] at weblogic.ant.taskdefs.management.WLDeploy.invokeMain(WLDeploy
.java:209)
[wldeploy] at weblogic.ant.taskdefs.management.WLDeploy.execute(WLDeploy.ja
va:170)
[wldeploy] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.ja
va:166)
[wldeploy] at org.apache.tools.ant.Task.perform(Task.java:319)
[wldeploy] at org.apache.tools.ant.Target.execute(Target.java:309)
[wldeploy] at org.apache.tools.ant.Target.performTasks(Target.java:336)
[wldeploy] at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
[wldeploy] at org.apache.tools.ant.Project.executeTargets(Project.java:1250
[wldeploy] at org.apache.tools.ant.Main.runBuild(Main.java:610)
[wldeploy] at org.apache.tools.ant.Main.start(Main.java:196)
[wldeploy] at org.apache.tools.ant.Main.main(Main.java:235)
[wldeploy] java.lang.reflect.InvocationTargetException
[wldeploy] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
[wldeploy] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
sorImpl.java:39)
[wldeploy] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
hodAccessorImpl.java:25)
[wldeploy] at java.lang.reflect.Method.invoke(Method.java:324)
[wldeploy] at weblogic.ant.taskdefs.management.WLDeploy.invokeMain(WLDeploy
.java:209)
[wldeploy] at weblogic.ant.taskdefs.management.WLDeploy.execute(WLDeploy.ja
va:170)
[wldeploy] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.ja
va:166)
[wldeploy] at org.apache.tools.ant.Task.perform(Task.java:319)
[wldeploy] at org.apache.tools.ant.Target.execute(Target.java:309)
[wldeploy] at org.apache.tools.ant.Target.performTasks(Target.java:336)
[wldeploy] at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
[wldeploy] at org.apache.tools.ant.Project.executeTargets(Project.java:1250
[wldeploy] at org.apache.tools.ant.Main.runBuild(Main.java:610)
[wldeploy] at org.apache.tools.ant.Main.start(Main.java:196)
[wldeploy] at org.apache.tools.ant.Main.main(Main.java:235)
[wldeploy] Caused by: weblogic.utils.AssertionError: ***** ASSERTION
FAILED ***
**[ Failed to generate class for weblogic.common.internal.RMIBootServiceImpl_811
_WLStub ] - with nested exception:
[wldeploy] [java.lang.NullPointerException]
[wldeploy] at weblogic.rmi.internal.StubGenerator.generateStub(StubGenerato
r.java:807)
[wldeploy] at weblogic.rmi.internal.StubGenerator.generateStub(StubGenerato
r.java:790)
[wldeploy] at weblogic.rmi.extensions.StubFactory.getStub(StubFactory.java:
79)
[wldeploy] at weblogic.common.internal.RMIBootServiceStub.getStub(RMIBootSe
rviceStub.java:50)
[wldeploy] at weblogic.security.acl.internal.Security.authenticate(Security
.java:152)
[wldeploy] at weblogic.jndi.WLInitialContextFactoryDelegate.authenticateRem
otely(WLInitialContextFactoryDelegate.java:597)
[wldeploy] at weblogic.jndi.WLInitialContextFactoryDelegate.pushSubject(WLI
nitialContextFactoryDelegate.java:534)
[wldeploy] at weblogic.jndi.WLInitialContextFactoryDelegate.newContext(WLIn
itialContextFactoryDelegate.java:336)
[wldeploy] at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialConte
xt(WLInitialContextFactoryDelegate.java:308)
[wldeploy] at weblogic.jndi.Environment.getContext(Environment.java:164)
[wldeploy] at weblogic.jndi.Environment.getInitialContext(Environment.java:
143)
[wldeploy] at weblogic.management.deploy.utils.MBeanHomeTool.getMBeanHome(M
BeanHomeTool.java:157)
[wldeploy] at weblogic.Deployer.runBody(Deployer.java:555)
[wldeploy] at weblogic.utils.compiler.Tool.run(Tool.java:146)
[wldeploy] at weblogic.utils.compiler.Tool.run(Tool.java:103)
[wldeploy] at weblogic.Deployer.main(Deployer.java:399)
[wldeploy] ... 15 more -
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 troubles (bea92)
in short, doesnt work
java -cp .;weblogic.jar weblogic.Deployer -adminurl t3://10.131.20.41:7001 -user weblogic -password weblogic -deploy c:\app.ear
weblogic.Deployer invoked with options: -adminurl t3://10.131.20.41:7001 -user weblogic -deploy c:\app.ear
Unable to connect to 't3://10.131.20.41:7001': invalid type code: 31. Ensure the url represents a running admin server and that the credenti
als are correct. If using http protocol, tunneling must be enabled on the admin server.
I have enabled the tunneling, i have also tried http so on ans so forth .. the admin console is indeed on 7001, so i dont know wtf its talking about.
If I do it manually via adminconsole it works, well it dont, but thats a configuration issue with spring (missing placeholder for some injection), but the app gets installed
oh yea, the IP is localhost, tried "localhost" too with same result .. any ideas more than welcome, this is tiresome :(One thing to check. Make sure you are not using JDK 1.6.x when using the commandline. There is a pretty obscure bug with this setup.
http://forum.java.sun.com/thread.jspa?threadID=5195504&tstart=60
You might have got hit by it. -
Where is "WebLogic J2EE Library "?
Hi, i want to extend Portal Administration Console, but when i do follow guide of oracle documentation, it seem not work.
Follow document : To copy a J2EE module to your web project:
1. In the Project Explorer, right-click the //web_project_name/WebLogic Deployment Descriptor > J2EE Libraries folder and then select Add Multiple.
2. In the Select WebLogic J2EE library, select the modules you need. The required administration console J2EE libraries are:
But i don't see where is WebLogic J2EE library. Can someone tell me where is it ? Thanks in advance and sorry for my bad English.
Best Regards,
Coy.If you mean the folder 'library' like from the computer, the iphone doesn't have one directly. If you connect your iphone to your computer then, depending on what you want, you can probably do it via the computer or try downloading an app like iexplorer and you can access loads of hidden folders on your iphone. Hope this helps but sorry if it doesnt
Maybe you are looking for
-
Error in generating invoice for a free goods order
here's the scenario: i took the pricing procedure of my standard order and basically changed PROO from R to S for statistical. rest is the same. gave the new pricing procedure a name starting with Z, then created a document procedure, then created a
-
Convert application error to system error
Iam facing an issue in BPM, Iam triyng to access to a webservice using synchronous send step, and I ahve an exception branch to catch the syetm error and fault message. Eventhough I specified fault messages, application error was not properly recogni
-
when i want to add object to linkedlist i use LinkList.add(MyObject) its succed but when i want to get it by use this fuction public MyObject GetIt ( ) { return this.removeFirst(); its give me uncompataple format; how i can get this object after i in
-
I would like to merge my mobile bookmarks with my desktop
Hi. I lost my security password and username for my mobile device app of Firefox the one to sync bookmarks and I can't retrieve it. But I'm trying to pass all of my bookmarks to my desktop laptop and also merge both of them. Any help with this
-
Eliminating ###'s after hex reconversion to char string
This is interesting. I was originally required to pass a segment to my subroutine. I had to do so using text literals. The symbol is not recognizable by text literals. Therefore, I had to convert the entire string to hex. I then passed the hex segm