Specifying javac in WLS 5.1 for deployed web appliations (.war)
I am using WLS 5.1, sp10. I have created a J2EE web application (e.g.
.war file), which I have deployed in exploded directory format. My
.html pages and servlets are working fine. My .jsp pages are not
compiling however. In my web.xml, I have only registered the servlets,
not the jsp pages. I have also made no JSP settings in the web.xml
file.
This is the error I'm getting:
Wed Oct 10 16:52:58 EDT 2001:<E> <WebAppServletContext-myCompany>
Compilation of
D:\weblogic\bn\WEB-INF\_tmp_war_myCompany\jsp_servlet\_myPath\__myJsp.java
failed: java.io.IOException: CreateProcess: javac -classpath
<big-classpath-list>;null -d D:\weblogic\bn\WEB-INF\_tmp_war_myCompany
D:\weblogic\bn\WEB-INF\_tmp_war_myCompany\jsp_servlet\_myPath\__myJsp.java
error=2
at java.lang.Win32Process.create(Native Method)
at java.lang.Win32Process.<init>(Win32Process.java:64)
at java.lang.Runtime.execInternal(Native Method)
at java.lang.Runtime.exec(Runtime.java:275)
at java.lang.Runtime.exec(Runtime.java:219)
at weblogic.utils.Executable.exec(Executable.java, Compiled
Code)
at weblogic.utils.Executable.exec(Executable.java:107)
at
weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.java,
Compiled Code)
at
weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:249)
at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java,
Compiled Code)
at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:227)
at
weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:200)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:11
5)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:13
8)
at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.j
ava:922)
at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.j
ava:886)
at
weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContextMan
ager.java:269)
at
weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:380)
at
weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:268)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java,
Compiled Code)
I think the problem is that the java compiler (javac.exe) is not
correct. In my weblogic.properties file, I changed the compile command
to use the jdk I installed, so the path is d:/jdk1.2.2/bin/javac.exe.
However, it did not seem like the web application looked at the
weblogic.properties setting.
I solved the problem by putting d:/jdk1.2.2/bin into the path system
variable on my WinNT machine. But I don't like that solution. I also
don't want to specify the javac location in the web.xml -- I want our
customers to determine that, since they might be using a wide range of
jdks.
Is there a weblogic-specific solution out there?
TIA,
Steve
[att1.html]
I should mention that regular jsps, located in the public_html
directory, compiled fine, without me having to put javac.exe in the PATH
system variable.
SV
Steve Vlcan wrote:
>
> I am using WLS 5.1, sp10. I have created a J2EE web application (e.g.
> .war file), which I have deployed in exploded directory format. My
> .html pages and servlets are working fine. My .jsp pages are not
> compiling however. In my web.xml, I have only registered the
> servlets, not the jsp pages. I have also made no JSP settings in the
> web.xml file.
>
> This is the error I'm getting:
>
> Wed Oct 10 16:52:58 EDT 2001:<E> <WebAppServletContext-myCompany>
> Compilation of
> D:\weblogic\bn\WEB-INF\_tmp_war_myCompany\jsp_servlet\_myPath\__myJsp.java
> failed: java.io.IOException: CreateProcess: javac -classpath
> <big-classpath-list>;null -d D:\weblogic\bn\WEB-INF\_tmp_war_myCompany
> D:\weblogic\bn\WEB-INF\_tmp_war_myCompany\jsp_servlet\_myPath\__myJsp.java
> error=2
> at java.lang.Win32Process.create(Native Method)
> at java.lang.Win32Process.<init>(Win32Process.java:64)
> at java.lang.Runtime.execInternal(Native Method)
> at java.lang.Runtime.exec(Runtime.java:275)
> at java.lang.Runtime.exec(Runtime.java:219)
> at weblogic.utils.Executable.exec(Executable.java, Compiled
> Code)
> at weblogic.utils.Executable.exec(Executable.java:107)
> at
> weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.java,
>
> Compiled Code)
> at
> weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:249)
>
> at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java,
> Compiled Code)
> at
> weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:227)
> at
> weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:200)
>
> at
> weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:11
>
> 5)
> at
> weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:13
>
> 8)
> at
> weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.j
>
> ava:922)
> at
> weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.j
>
> ava:886)
> at
> weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContextMan
>
> ager.java:269)
> at
> weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:380)
>
> at
> weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:268)
> at weblogic.kernel.ExecuteThread.run(ExecuteThread.java,
> Compiled Code)
> ----------
>
> I think the problem is that the java compiler (javac.exe) is not
> correct. In my weblogic.properties file, I changed the compile
> command to use the jdk I installed, so the path is
> d:/jdk1.2.2/bin/javac.exe. However, it did not seem like the web
> application looked at the weblogic.properties setting.
>
> I solved the problem by putting d:/jdk1.2.2/bin into the path system
> variable on my WinNT machine. But I don't like that solution. I also
> don't want to specify the javac location in the web.xml -- I want our
> customers to determine that, since they might be using a wide range of
> jdks.
>
> Is there a weblogic-specific solution out there?
>
> TIA,
> Steve
[att1.html]
Similar Messages
-
WEB Server And Database Space requirements for deploying Web Application
Hi,
We are in requirement of WEB Server And Database Space requirements for deploying our Web Application in cloud server. We want to know technical requirements and feasibilities laid by Microsoft team for deploying web
application.......
Regards,
Sreenivasa M SHi,
Please refer this link and check if it helps:
http://blogs.technet.com/b/cbernier/archive/2013/09/24/deploy-your-web-application-to-windows-azure-from-with-visual-studio.aspx
Regards,
Azam Khan -
How to deploy web application .war file into SAP NetWeaver Engine?
Hi All,
I want to deploy web application which is developped using JAVA web technology into SAP netweaver Engine.
I tried to deploy .war file through SDM but it complained the following error
- Hide quoted text -
"Error loading archive
C;\Document and Settings\cr1adm\Desktop\MyProject.war
(server side name is: F:\usr\sap\JR1\JC01\SDM\program\temp\MyProject.war)
com.sap.sdm.util.sduread.IIIFormattedSduFileException: The information about development component found in the manifest is either missing or incomplete!
Manifest attributes are missing or have badly formatted value:
attribute keylocation missing
attribute keyname is missing
attribute keyvendor is missing
attribute keycounter is missing
(F:\usr\sap\JR1\JC01\SDM\program\temp\MyProject.war)"
Can any one please suggest how to deploy external web application into SAP netweaver engine.
Is there any procedure to follow to do this.
your inputs will be highly appreciated...
Thanks in advanceHi,
I think first you need to wrap it into an EAR file, then you can deploy it.
As far as I know standalone deployment of WAR is deprecated as of 640.
similar threads:
How to deploy .war on NWDI
Deploying an existing WAR file into the Portal
Hopefully this tutorial also gives some idea:
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/70/13353094af154a91cbe982d7dd0118/frameset.htm
Regards,
Ervin -
Where is security configuration for deployed web application stored
Hi,
We have deployed a folder as a web application. The changes I am making in Deployments -> web application -> Security -> URL Pattern -> Roles -> Edit a Stand-Alone Web Application URL Pattern Scoped Role is not saved and it is getting lost when I restart the application.
For example I have added "AppTesters" group in "valid-users" url-pattern.
Can anybody help me where these settings are stored and why it is not getting saved across application restarts.
Thanks,
Sambath.How are you restarting your weblogic Admin Server?
This is only possible if some how while your Admin Server is restarted, the ldap directory that is present int the %DOMAIN_HOME%/your_domain/servers/AdminServer/data directory is deleted or updated with the previous values.
This may give you some idea how to proceed with this issue.
Thanks,
Sandeep -
How to change port for deployed web application on IAS10g(from 7778 to 80)
I have deployed an application on IAS Application Server. The default link to my application is:
http:/my_sever_ip_address:7778/my_app
Can any one tell me how to change the port that my_app run on from 7778 to 80.
So that the link to my_app will be:
http:/my_sever_ip_address/my_app (run on default port 80)
Very urgent!
ThxYou need to read the Oracle® Application Server 10g Administrator's Guide of your installation, which is also available online. In particular, for 9.0.4, you need to read the chapter Managing ports. Basically you need to change your web-cache listener port if web-cache is installed; otherwise you need to change Oracle HTTP Server Port.
Also note tht port 80 requires extra steps since it is a restricted port. -
How to configure wls-maven-plugin for support remote actions ?
hi,
currently I installed weblogic 12.1.1.0 .
also using wls-maven-plugin for deployment .
in documentation specified that
middlewareHome ,weblogicHome ,domainHome has defaults values .
so when you are not set them explicitly plugin use defaults values
[http://docs.oracle.com/cd/E24329_01/web.1211/e24368/maven.htm#WLPRG585|http://docs.oracle.com/cd/E24329_01/web.1211/e24368/maven.htm#WLPRG585]
whats happened if I want to do remote deployment meaning packaging my artifacts in machine A and deploy it to a server on target machine B .
some limitations
1. I cant use share folder between A and B
2. Installation location on B is not on the default path - "D:\weblogic\wlserver_12.1"
how plugin should know those require values on machine B , where the execution of the maven goal take place on machine A?
does any body knows if the plugin support this case of remote deployment or does this plugin support only local deployment ?
what is the best way to do remote action like start-server , stop-server, deploy , undeploy with weblogic app-server
Thanks
Nir
Edited by: lukass77 on Nov 13, 2012 3:36 PMhi,
currently I installed weblogic 12.1.1.0 .
also using wls-maven-plugin for deployment .
in documentation specified that
middlewareHome ,weblogicHome ,domainHome has defaults values .
so when you are not set them explicitly plugin use defaults values
[http://docs.oracle.com/cd/E24329_01/web.1211/e24368/maven.htm#WLPRG585|http://docs.oracle.com/cd/E24329_01/web.1211/e24368/maven.htm#WLPRG585]
whats happened if I want to do remote deployment meaning packaging my artifacts in machine A and deploy it to a server on target machine B .
some limitations
1. I cant use share folder between A and B
2. Installation location on B is not on the default path - "D:\weblogic\wlserver_12.1"
how plugin should know those require values on machine B , where the execution of the maven goal take place on machine A?
does any body knows if the plugin support this case of remote deployment or does this plugin support only local deployment ?
what is the best way to do remote action like start-server , stop-server, deploy , undeploy with weblogic app-server
Thanks
Nir
Edited by: lukass77 on Nov 13, 2012 3:36 PM -
How to deploy web service/client on websphere
Hi,
I have developed a web service client on Jdeveloper 10.1.3.1.0 and I deployed it on the embeded OC4J and OAS and it worked fine. BUT when I packaged it as EAR file and deployed it on websphere 6.0 {the production enviroment at the client side} It gave me NoClassForService00.
And in websphere application server it didn't recognize it as Web service client.
Any one faced this problem b4. PLZ advice.
ThnxHi Amol,
Thank you very much for replying my question. The contents in my application.xml are:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE application PUBLIC "-//Sun Microsystems, Inc.//DTD J2EE Application 1.3//EN" "http://java.sun.com/dtd/application_1_3.dtd">
<application>
<display-name>testwsapp</display-name>
<description>J2EE Application testwsapp</description>
<module>
<web>
<web-uri>testws_War.war</web-uri>
<context-root>testws</context-root>
</web>
<alt-dd>testws_War.xml</alt-dd>
</module>
</application>
The contents in jaxrpc-ri-runtime.xml are:
<?xml version="1.0" encoding="UTF-8"?>
<endpoints xmlns='http://java.sun.com/xml/ns/jax-rpc/ri/runtime' version='1.0'>
<endpoint
name='testws'
interface='contactws.testwsGenServer.testwsRPC'
implementation='contactws.testwsGenServer.testwsRPCBean'
tie='contactws.testwsGenServer.testwsRPC_Tie'
model='null'
wsdl='/WEB-INF/testws.wsdl'
service='{urn:testws/wsdl}Testws'
port='{urn:testws/wsdl}testwsRPCPort'
urlpattern='/testws'
</endpoint></endpoints>
I tried to access and check the web service using:
http://servername:port/testws/testws
The first testws is contextroot named and the second testws is url pattern, which was exactly like what you mentioned but I got "404 Not Found" error.
By the way, using the same ear to deploy to Windows Sun ONE App. Server 7 env. and then using the same url, I can access the web service. I am wondering if there is any special for deploying Web Service on Unix Sun ONE app. Server 7 env. or I missed something?
I hope I can hear from you soon.
Thank you again,
Jackie -
Session cookies have been disabled for your web browser.
Please enable session cookies so you can register your device.
The URL is not specified.Session cookies have been disabled for your web browser.
Please enable session cookies so you can register your device.
The URL is not specified. -
Step-by-Step Help Needed for Deploying Some Adobe Software
We are a K-12 educational institution. I am currently working at setting up a computer lab with about 16 MacMini computers.
I'm VERY new to the realm of servers, deployment, using terminal, etc.
I've done lots of research to make it to where I am, but just can't wrap my head around what needs done next with the Adobe products.
I am using Server OSX (v3) and DeployStudio (v 1.6.3) to try and manage the computers.
Both my server and clients are running Mavericks 10.9.
I deployed my core images successfully and would like to now send Adobe products only the computers I choose since I have limited licenses.
We have volume licenses of Adobe InDesign CS6 and Photoshop Elements 12 that we would like to deploy.
I have been referencing the following sites, but just can't seem to wrap my head around the EXACT steps that need to be taken.
http://blogs.adobe.com/oobe/2010/10/adobe-provisioning-toolkit-enterprise-edition.html
http://helpx.adobe.com/creative-cloud/packager/provisioning-toolkit-enterprise.html
http://helpx.adobe.com/photoshop-elements/kb/silent-install-instructions-photoshop-element s2.html
http://forums.adobe.com/message/5781663
For Adobe InDesign CS6 - I've done the following:
Created an "Installation Package" using Adobe Application Manager Enterprise Edition (AAMEE v6.2.112.0) using the following instructions.
http://wwwimages.adobe.com/www.adobe.com/content/dam/Adobe/en/devnet/creativesuite/pdfs/Ad obeApplicationManagerEnterpriseEditionDeploymentGuide_v_3_1.pdf
If I log into the client computer, put the package ON the client computer, and run it...it takes me through the install and works wonderfully.It's not automated like I wanted/thought I set it up to do. I have to click through the steps of the installer.
If I try to deploy it using the "Package install" Workflow in DeployStudio...it loads it during the workflow, then skips through it, acts like it installed it, but it isn't actually installed.Is there a setting that I need to possibly change somewhere?
For Adobe Photoshop Elements 12 - I'm a bit lost and mostly just have questions:
I know that I can't use AAMEE and need to use APTEE (Adobe Provisioning Toolkit Enterprise Edition).
How do I deploy the software? Create my own Package using PackageMaker?
Which computer do I run APTEE on? All the instructions I can find just say, "do this" - but don't specify where.
Do I have to open terminal and run the commands on each client computer AFTER installing PE12?
OR
Do I run the commands BEFORE deployment on my package stored on my server that is ready for deployment?
It really comes down to me just not 100% understanding how APTEE works.
I hope that pertrays my dilemma. I've tried to explain best I can. If you have any questions - let me know!
Thanks in advance for any insight you can give!We are a K-12 educational institution. I am currently working at setting up a computer lab with about 16 MacMini computers.
I'm VERY new to the realm of servers, deployment, using terminal, etc.
I've done lots of research to make it to where I am, but just can't wrap my head around what needs done next with the Adobe products.
I am using Server OSX (v3) and DeployStudio (v 1.6.3) to try and manage the computers.
Both my server and clients are running Mavericks 10.9.
I deployed my core images successfully and would like to now send Adobe products only the computers I choose since I have limited licenses.
We have volume licenses of Adobe InDesign CS6 and Photoshop Elements 12 that we would like to deploy.
I have been referencing the following sites, but just can't seem to wrap my head around the EXACT steps that need to be taken.
http://blogs.adobe.com/oobe/2010/10/adobe-provisioning-toolkit-enterprise-edition.html
http://helpx.adobe.com/creative-cloud/packager/provisioning-toolkit-enterprise.html
http://helpx.adobe.com/photoshop-elements/kb/silent-install-instructions-photoshop-element s2.html
http://forums.adobe.com/message/5781663
For Adobe InDesign CS6 - I've done the following:
Created an "Installation Package" using Adobe Application Manager Enterprise Edition (AAMEE v6.2.112.0) using the following instructions.
http://wwwimages.adobe.com/www.adobe.com/content/dam/Adobe/en/devnet/creativesuite/pdfs/Ad obeApplicationManagerEnterpriseEditionDeploymentGuide_v_3_1.pdf
If I log into the client computer, put the package ON the client computer, and run it...it takes me through the install and works wonderfully.It's not automated like I wanted/thought I set it up to do. I have to click through the steps of the installer.
If I try to deploy it using the "Package install" Workflow in DeployStudio...it loads it during the workflow, then skips through it, acts like it installed it, but it isn't actually installed.Is there a setting that I need to possibly change somewhere?
For Adobe Photoshop Elements 12 - I'm a bit lost and mostly just have questions:
I know that I can't use AAMEE and need to use APTEE (Adobe Provisioning Toolkit Enterprise Edition).
How do I deploy the software? Create my own Package using PackageMaker?
Which computer do I run APTEE on? All the instructions I can find just say, "do this" - but don't specify where.
Do I have to open terminal and run the commands on each client computer AFTER installing PE12?
OR
Do I run the commands BEFORE deployment on my package stored on my server that is ready for deployment?
It really comes down to me just not 100% understanding how APTEE works.
I hope that pertrays my dilemma. I've tried to explain best I can. If you have any questions - let me know!
Thanks in advance for any insight you can give! -
Maven scripts for deploying WAR into Weblogic
Hello Folks,
I would need some help in deploying EAR/WAR into weblogic server.
I already have maven scripts for building but not for deploying. your help is appreciated.
Thanks.Hi Ank2cool,
Please see my findings, I have tested the Same "build.xml" again...My AdminServer
UserName is weblogic
and
password is weblogic
<project name="webservices-hello_world" default="deploy">
<property name="wls.username" value="weblogic" />
<property name="wls.password" value="weblogic" />
<property name="wls.hostname" value="localhost" />
<property name="wls.port" value="7001" />
<property name="wls.server.name" value="AdminServer" />
<target name="deploy">
<wldeploy action="deploy" name="PlanDemoEAR" source="PlanDemoEAR" user="${wls.username}"
password="${wls.password}1" verbose="true" adminurl="t3://${wls.hostname}:${wls.port}" targets="${wls.server.name}" />
</target>
</project>
Now when i run the AANT task ant deploy
OUTPUT:
Buildfile: build.xml
deploy:
[wldeploy] weblogic.Deployer -verbose -noexit -name PlanDemoEAR -source C:\JavaTest\PlanDemo\PlanDemoEAR -targets Admin
Server -adminurl t3://localhost:7001 -user weblogic -password ******** -deploy
[wldeploy] weblogic.Deployer invoked with options: -verbose -noexit -name PlanDemoEAR -source C:\JavaTest\PlanDemo\Pla
nDemoEAR -targets AdminServer -adminurl t3://localhost:7001 -user weblogic -deploy
[wldeploy] <Dec 21, 2009 2:08:33 PM IST> <Info> <J2EE Deployment SPI> <BEA-260121> <Initiating deploy operation for app
lication, PlanDemoEAR [archive: C:\JavaTest\PlanDemo\PlanDemoEAR], to AdminServer .>
[wldeploy] Task 1 initiated: [Deployer:149026]deploy application PlanDemoEAR on AdminServer.
[wldeploy] Task 1 completed: [Deployer:149026]deploy application PlanDemoEAR on AdminServer.
[wldeploy] Target state: deploy completed on Server AdminServer
[wldeploy]
[wldeploy] Target Assignments:
[wldeploy] + PlanDemoEAR AdminServer
BUILD SUCCESSFUL
========================TO REPRODUCE YOUR ISSUE I JUST CHANGED THE Password from weblogic to "*weblogic1*" or *"weblogic "* (i added a Single Space at the end of password) in the ANT script....But Server's Actual Password is still "weblogic"=======
OUTPUT:
[wldeploy] Caused by: java.lang.SecurityException: User: weblogic, failed to be authenticated.
[wldeploy] at weblogic.common.internal.RMIBootServiceImpl.authenticate(RMIBootServiceImpl.java:116)
[wldeploy] at weblogic.common.internal.RMIBootServiceImpl_WLSkel.invoke(Unknown Source)
[wldeploy] at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:589)
[wldeploy] at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:477)
[wldeploy] at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
[wldeploy] at weblogic.security.service.SecurityManager.runAs(Unknown Source)
[wldeploy] at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:473)
[wldeploy] at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
[wldeploy] at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
[wldeploy] at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
BUILD FAILED
C:\JavaTest\PlanDemo\build.xml:12: weblogic.Deployer$DeployerException: weblogic.deploy.api.tools.deployer.DeployerExcep
tion: Unable to connect to 't3://localhost:7001': User: weblogic, failed to be authenticated.. 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.
Total time: 0 seconds
Above is exactly the same error what u are getting...
So please recheck the password provideed in the "build.xml" is correct..or any space added before or after the Password.....
Thanks
Jay SenSharma
http://jaysensharma.wordpress.com (WebLogic Wonders Are Here) -
Please Vote if you find this to be helpful!
App-V: A Configuration Template for Deploying to Stateless RDS Clients on Citrix Published Desktops with Citrix UPM for Profile Management
Just posted this to the wiki:
http://social.technet.microsoft.com/wiki/contents/articles/25318.app-v-a-configuration-template-for-deploying-to-stateless-rds-clients-on-citrix-published-desktops-with-citrix-upm-for-profile-management.aspxI would not recommend this and keep the package cache and the client on the same non-persistent drive and enable the Shared Content Store. If you separate the cache and the App-V client they could get out of sync and strange behaviour can occur.
You can use a temporary local profile with Citrix UPM or UE-V and specify what to roam/save.
You can use the Shared Content Store so packages will stream over the network. When the user logs on there is a publishing phase where shortcuts etc are created for the user, this will take some time.
Are you using the App-V full infrastructure?
Are you using a boot disk, partition or PXE in combination with PVS? -
DistributedManagementException, null BasicDeploymentMBean for deployment
Hi All,
During a wladmin BATCHUPDATE, I got the following error message. My question is: what is the possible reason? What causes an BasicDeploymentMBean to be null? I did a Google-search, I have found similar error messages, but no solution. (Weblogic 10.3, on AIX)
Any idea is welcome.
Best regards, József
On the screen:
Connection pool "lionPool" created successfully.
Executing command: SET -mbean listenOnline:Name=lionPool,Type=JDBCConnectionPool -property Targets "listenOnline:Name=ejb,Type=Cluster"
weblogic.management.DistributedManagementException : Distributed Management [1 exceptions]
[Deployer:149189]Attempt to operate 'remove' on null BasicDeploymentMBean for deployment CP-lionPool.
Operation can not be performed until server is restarted.
in servers/adminServer/logs/adminServer.log:
####<Jul 28, 2009 9:15:35 AM CEST> <Info> <DeploymentService> <abgpp091> <adminServer> <[STANDBY] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1248765335652> <BEA-290063> <commit for request '1,248,765,335,146' will not proceed further since its requires restart flag is set.>
####<Jul 28, 2009 9:15:35 AM CEST> <Info> <Deployer> <abgpp091> <adminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <jhalasz53> <> <> <1248765335878> <BEA-149038> <Initiating Task for CP-lionPool : [Deployer:149026]remove application CP-lionPool on adminServer.>
####<Jul 28, 2009 9:15:35 AM CEST> <Warning> <Deployer> <abgpp091> <adminServer> <[STANDBY] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1248765335926> <BEA-149189> <Attempt to operate 'remove' on null BasicDeploymentMBean for deployment CP-lionPool. Operation can not be performed until server is restarted.>
####<Jul 28, 2009 9:15:35 AM CEST> <Warning> <Deployer> <abgpp091> <adminServer> <[STANDBY] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1248765335946> <BEA-149004> <Failures were detected while initiating remove task for application 'CP-lionPool'.>
####<Jul 28, 2009 9:15:35 AM CEST> <Warning> <Deployer> <abgpp091> <adminServer> <[STANDBY] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1248765335946> <BEA-149078> <Stack trace for message 149004
weblogic.management.DeploymentException: [Deployer:149189]Attempt to operate 'remove' on null BasicDeploymentMBean for deployment CP-lionPool. Operation can not be performed until server is restarted.
at weblogic.deploy.internal.targetserver.DeploymentManager.assertDeploymentMBeanIsNonNull(DeploymentManager.java:1285)
at weblogic.deploy.internal.targetserver.DeploymentManager.findDeploymentMBean(DeploymentManager.java:1326)
at weblogic.deploy.internal.targetserver.DeploymentManager.createOperation(DeploymentManager.java:1098)
at weblogic.deploy.internal.targetserver.DeploymentManager.createOperations(DeploymentManager.java:1372)
at weblogic.deploy.internal.targetserver.DeploymentManager.handleUpdateDeploymentContext(DeploymentManager.java:160)
at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.updateDeploymentContext(DeploymentServiceDispatcher.java:155)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doUpdateDeploymentContextCallback(DeploymentReceiverCallbackDeliverer.java:133)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.updateDeploymentContext(DeploymentReceiverCallbackDeliverer.java:27)
at weblogic.deploy.service.internal.statemachines.targetserver.ReceivedPrepare.callDeploymentReceivers(ReceivedPrepare.java:203)
at weblogic.deploy.service.internal.statemachines.targetserver.ReceivedPrepare.handlePrepare(ReceivedPrepare.java:112)
at weblogic.deploy.service.internal.statemachines.targetserver.ReceivedPrepare.receivedPrepare(ReceivedPrepare.java:52)
at weblogic.deploy.service.internal.targetserver.TargetRequestImpl.run(TargetRequestImpl.java:211)
at weblogic.deploy.service.internal.transport.CommonMessageReceiver$1.run(CommonMessageReceiver.java:410)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
>I am not so sure any more, that it is a JDBC problem. Though, it is possible, because I could not find any ojdbc6.jar for Oracle 10.2.0.4. [http://www.oracle.com/technology/software/tech/java/sqlj_jdbc/htdocs/jdbc_10201.html]
We use WebLogic 10.3, and it requires Java *6*. That is why I thought, that it would be good to find an ojdbc6.jar for this Oracle version.
I tried to run the application with ojdbc14.jar and ojdbc6.jar. Interestingly, the results were the same. (I had to use the ojdbc6.jar, that was released for Oracle 11.1.0.7.0)
Yes, Vijay, I do think, that I should contact the WebLogic support team. Anyway, we use AIX LPARs (logical machines on a PowerPC). The application is installed in my home directory. What is more, the same home directory is mounted on all LPARS. So, the application is always mounted through a kind of logical network. But the WebLogic Server is not in my home directory. So, the WebLogic and the application are not in the same fs.
József -
LDAPRealm: WLS keeps searching for ldapserver:389
Hi,
we're having problems setting up the LDAP realm for WLS 5.1 SP 8. We are trying to
contact an
OpenLDAP server and even after setting a concrete server name in ldaprealm.properties,
WLS keeps
searching for ldapserver:389.
Here is our ldaprealm.properties:
server.host=someserver.at.our.domain
server.principal=cn=hugo,dc=involva,dc=de
server.credential=somepassword
user.dn=dc=involva,dc=de
user.filter=(&(uid=%u)(ou=gedoplan))
#group.dn=ou=groups, dc=example, dc=com
#group.filter=(&(cn=%g)(objectclass=groupofuniquenames))
#membership.filter=(&(uniquemember=%M)(objectclass=groupofuniquenames))
group.dn=ou=GEDOPLAN,dc=involva,dc=de
group.filter=(&(cn=%g)((ou=gedoplan)))
membership.filter=(&(uniquemember=%M)(ou=gedoplan))
And that is the log message:
Unable to initialize server: weblogic.security.ldaprealm.LDAPException: could no
t get context - with nested exception:
[java.lang.reflect.InvocationTargetException - with target exception:
[javax.naming.CommunicationException: ldapserver:389 [Root exception is java.net
.UnknownHostException: ldapserver]]]
fatal initialization exception
weblogic.security.ldaprealm.LDAPException: could not get context - with nested e
xception:
[java.lang.reflect.InvocationTargetException - with target exception:
[javax.naming.CommunicationException: ldapserver:389 [Root exception is java.net
.UnknownHostException: ldapserver]]]
Any help is highly appreciated !
DirkDirk,
There is no port specified in your file, so the default is 389.
Paul Patrick
"Dirk Weil" <[email protected]> wrote in message
news:3a93cee5$[email protected]..
>
Hi,
we're having problems setting up the LDAP realm for WLS 5.1 SP 8. We aretrying to
contact an
OpenLDAP server and even after setting a concrete server name inldaprealm.properties,
WLS keeps
searching for ldapserver:389.
Here is our ldaprealm.properties:
server.host=someserver.at.our.domain
server.principal=cn=hugo,dc=involva,dc=de
server.credential=somepassword
user.dn=dc=involva,dc=de
user.filter=(&(uid=%u)(ou=gedoplan))
#group.dn=ou=groups, dc=example, dc=com
#group.filter=(&(cn=%g)(objectclass=groupofuniquenames))
#membership.filter=(&(uniquemember=%M)(objectclass=groupofuniquenames))
group.dn=ou=GEDOPLAN,dc=involva,dc=de
group.filter=(&(cn=%g)((ou=gedoplan)))
membership.filter=(&(uniquemember=%M)(ou=gedoplan))
And that is the log message:
Unable to initialize server: weblogic.security.ldaprealm.LDAPException:could no
t get context - with nested exception:
[java.lang.reflect.InvocationTargetException - with target exception:
[javax.naming.CommunicationException: ldapserver:389 [Root exception is
java.net> UnknownHostException: ldapserver]]
fatal initialization exception
weblogic.security.ldaprealm.LDAPException: could not get context - withnested e
xception:
[java.lang.reflect.InvocationTargetException - with target exception:
[javax.naming.CommunicationException: ldapserver:389 [Root exception is
java.net> UnknownHostException: ldapserver]]
Any help is highly appreciated !
Dirk -
Limitation on Service size for deploying
Is there any limitation on Service size for deploying? The size of my service is 5MB approx. and I am not able to migrate it through Catalog deployer as well as Exporting and Importing file.
There is no limit as such. The only limit imposed depends on the heap allocated for
the JVM.
Nitesh wrote:
> Hi.
>
> Is there a limitation on the session size for a clustered environment. i'm not
> sure whether its true or not. can anyone please clarify. Also is it for the entire
> session object or per user.
>
> Thanks
>
> Nitesh
Rajesh Mirchandani
Developer Relations Engineer
BEA Support
-
How to create separate log files for each deployed web application in oc4j
Hi All,
I am using Windows2000, Oracle9iAS(OC4J). Say I have deployed 3 web applications onto this oc4j server. Then how to create 3 different log files so that I can see the log messages(System.out.println's) of each of these web appliations in a different log file.
Thanks and Regards,
Ravi.Where do the messages printed via ServletContext.log() go? Is this configurable separately by web application? If so, you could at least replace your System.out.println() with sc.log() statements. For exceptions, you could trap them and log them since the log() method takes a throwable as well as a String.
John H.
Maybe you are looking for
-
I'm trying to complete a "turn the lightbulb on and off" program, but when I try to draw circle2 in the ButtonListener class I get an error message cannot find symbol. This is in reference to the Graphics variable "page" created in the paintComponent
-
How to select certain xml group based on attribute id and return as xmltype
hi, i have an xmltype column name "NM" in table "XMLTEST", the content of the xml in NM is <ct> <sp id="ALEX"> <sp id="JOHN"> <sp id="MIKE"> <sp id="CALEB"/> <sp id="PAUL"/> </sp> </sp> <sp id="MAX"> <sp id="WAYNE"/> </sp> <sp id="MAX"/> </sp> </ct>
-
Catching window closing events from JFrame
I'm having problems catching windowClosing() events from a JFrame (just doesn't get to my event listener it would seem!). I register and setup a window listener in the constructor of my JFrame class. Prior to this I set the default close operation as
-
HT1766 How do i save my "notes" from my iPhone to my MacBook?
I want to save all my "notes" from my iphone to my laptop but not sure how to do that. Any suggestions?
-
The application "Microsoft Word.app" can't be opened in Microsoft Office
I am getting the error "The application "Microsoft Word.app" can't be opened." I have Microsoft Office for Mac. Help!