WLS 6.0 config and deployment
Hi,
Just converted our app from 5.1 to 6.0. Not too many problems once we
figured out the class loader situation. I have some questions regarding
configuration and deployment which are not clear to me after reading the
documentation.
I find I have to modify config.xml manually quite often to fix problems
which the console creates. It is not at all uncommon for me to change a
property via the console and then have to undo the change manually to
get the server to properly start up again. While I accept that this is
probably due to a mistake I am making, I am very surprised that this
system is so fragile. Now for my questions...
1) Sometimes the console will add a new application to my config.xml
with a
"-1 " extension. Why is this? It doesn't create problems in and of
itself but does seem to accompany other problems which the console
creates in this file.
2) I intend to deploy an ear for production purposes, but as the
documentation points out this is inconvenient for development. I need
the ability to modify single jsp files without redploying all of them.
This worked great in 5.1. I am unable to do this in 6.0. As it stands
now, my jsp files are only redeployed on startup and unfortunately seem
to be redeployed every time we start regardless of whether chnages were
made to them. This makes development much slower. The REPLOY file
business discussed in the docs doesn't seem to have any effect. I
currently am deploying the jsp files and associated classes in "expanded
directory format" under the .config/domain/applications/applicationName
directory. I am deploying some EJBS in a pre-compiled jar file and
placing this jar file in the system classpath so the jsps can access the
shared classes. (I know this prevents hot deployment but I seem to have
no choice since the EJBs interfaces do not reference all shared classes
and therefore do not export them to their parent.) This jar file resides
in the ./config/domain/applications directory. Any ideas as to why I can
not get my jsp files to hot deploy one at a time.
All in all, 6.0 is a great release but development time has increased
dramatically. Hot deployment is not going to work for us because
unfortuneately many of our classes are required by our startup classes
and therefore must be placed in the system classpath.
Thanks,
Steve
Basically, hot deployment of JSPs isn't supported for dynamically deployed
webapps, that is, those int the applications directory.
Gary
Steve Snodgrass <[email protected]> wrote in message
news:[email protected]...
Follow up...
I have been able to get individual jsp files to hot deploy if they are
located in the DefaultWebApp_myserver directory instead of my applications
directory. It is possible to achieve this behavior in other directoriestoo
if they are configured correctly right? I mean, there is nothing special
about DefaultWebApp_myserver that would allow it to do something thatother
directories can not?
Steve
Steve Snodgrass wrote:
Hi,
Just converted our app from 5.1 to 6.0. Not too many problems once we
figured out the class loader situation. I have some questions regarding
configuration and deployment which are not clear to me after reading the
documentation.
I find I have to modify config.xml manually quite often to fix problems
which the console creates. It is not at all uncommon for me to change a
property via the console and then have to undo the change manually to
get the server to properly start up again. While I accept that this is
probably due to a mistake I am making, I am very surprised that this
system is so fragile. Now for my questions...
1) Sometimes the console will add a new application to my config.xml
with a
"-1 " extension. Why is this? It doesn't create problems in and of
itself but does seem to accompany other problems which the console
creates in this file.
2) I intend to deploy an ear for production purposes, but as the
documentation points out this is inconvenient for development. I need
the ability to modify single jsp files without redploying all of them.
This worked great in 5.1. I am unable to do this in 6.0. As it stands
now, my jsp files are only redeployed on startup and unfortunately seem
to be redeployed every time we start regardless of whether chnages were
made to them. This makes development much slower. The REPLOY file
business discussed in the docs doesn't seem to have any effect. I
currently am deploying the jsp files and associated classes in "expanded
directory format" under the .config/domain/applications/applicationName
directory. I am deploying some EJBS in a pre-compiled jar file and
placing this jar file in the system classpath so the jsps can access the
shared classes. (I know this prevents hot deployment but I seem to have
no choice since the EJBs interfaces do not reference all shared classes
and therefore do not export them to their parent.) This jar file resides
in the ./config/domain/applications directory. Any ideas as to why I can
not get my jsp files to hot deploy one at a time.
All in all, 6.0 is a great release but development time has increased
dramatically. Hot deployment is not going to work for us because
unfortuneately many of our classes are required by our startup classes
and therefore must be placed in the system classpath.
Thanks,
Steve
Similar Messages
-
Distributing a deployment.config and deployment.properties for proxy settings.
I am trying to define the minimum config required to populate a deployment.properties with just proxy settings and point to this with a deployment.config.
I am finding that that recent versions of 1.7 and 1.8 do not adhere to the browsers settings properly and not all traffic is following the proxy rules in use by the browser. However, if I manually override all traffic to a proxy the applets running on internet based sites function (no intranet sites use java here). If I use a deployment.config, I can see the resulting proxy settings are enabled in the control panel app and the appear exactly the same as per user manual settings, however they are not correctly used.have any ideas?
Any one have any ideas?.
ThanksHi Kevin,
I am actually working on the same problem.
I need to deploy Java 1.4.2_07 on clients with a mandatory setup. I tryied the deployment.config and deployment.properties file but didn't get it working yet.
I guess we should share knowledge to find a working solution.
It would be nice, if you could email me at:
[email protected]
regards,
Volker -
1.4.2 using deployment.config and deployment.properties
Can anyone tell me if JRE 1.4.2_06 can use the deployment.config and deployment.properties setting like ver 1.5.0 can?
I have to use 1.4.2_06 and need to have the cache point to a common location (vs per user) and also would like to preset the cache size on an install.
This works perfectly on 1.5.0 however, my app requires 1.4.2.
Can anyone point in a direction?
Thanks
KevinHi Kevin,
I am actually working on the same problem.
I need to deploy Java 1.4.2_07 on clients with a mandatory setup. I tryied the deployment.config and deployment.properties file but didn't get it working yet.
I guess we should share knowledge to find a working solution.
It would be nice, if you could email me at:
[email protected]
regards,
Volker -
OS X deployment.config and deployment.properties not working?
I have a deployment.config file at: /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/lib/deploy/deployment.config with the following contents:
deployment.system.config.mandatory=false
deployment.system.config=file\:/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/lib/deployment.properties
The deployment.properties file is located at: /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/lib/deployment.properties with the following contents:
#deployment.properties
deployment.macosx.check.update.locked
deployment.macosx.check.update=false
deployment.expiration.check.enabled.locked
deployment.expiration.check.enabled=false
None of this is working. Do I have the wrong directories or syntax somewhere?
The documentation at : System- and User-Level Properties says that the deployment.config file will override user settings when placed at ${deployment.java.home}/lib/deploy/deployment.config.
It seems like the deployment.config file is being ignored completely. I am working with Java 7u40 and higher. Nothing seems to do it.
Any help would be appreciated!! Thanks!Yeah, it only happened to me in the last couple days, so I'm not sure what's happening (latest OS and latest version of Logitech Control Center (but a somewhat old MX Revolution)). Logitech's software is notoriously flakey on Macs, so I'll just chalk it up to that
-
Hi Gurus,
Currently we are using JDeveloper 11.1.1.2 and deployed a sample web application into integrated WLS and its working fine with skins and page-templates.
We are using stand alone Weblogic 10.3.1 version.
When i deployed the same application(developed in jdev 11.1.1.2.0) into stand alone WLS 10.3.1, the skins and page-templates are not working.
Am i missing any thing at the time of deployment?
Please share your valuable suggestions and ideas on this.
Thanks
Mahi.We don't certify this combination - you should be using the same subversion of WLS and JDeveloper.
You need to make sure the JRF/ADF libraries on the server match the version in JDeveloper. -
Using ant to build and deploy plsql packages to a 11g wls.
Hi all,
Not sure is this is the right place, but I found a few other threads in this forum regarding plsql and ant, so I'll try this one.
My firm is moving from 10g ADF applcations to 11g SOA applications. When I'm not busy being lost in the whole new SOA world, I also have the pleasure of building our ant scripts. :-)
It has been years since I looked at the deploy scripts I made for 10g, so I'm a bit rusty.
I used wsassemble in our old scripts and I used http://download.oracle.com/docs/cd/B25221_05/web.1013/b14434/wsassemble.htm as a reference. But I can't seem to find the same documentation for 11g? I tried http://download.oracle.com/docs/cd/E12839_01/index.htm but it doesn't seem to have anything about plsqlAssemble, genInterface, genproxy etc. for 11g wls servers? I also tried google a while to no avail.
For example, I'm having problems setting the values for the ant-oracle.properties.
So can someone please throw some links my way, so I can read how to build and deploy plsql packages to a 11g wls server using ant? Thanks!
Cheers,
WilliamHi,
Did you ever find an answer to this question ?
I am currently creating the webservice using webservices assembler from 10g/OC4j, then using the SmartUpgrade tool to re-engineer the webservice for deployment to 11g
( SmartUpgrade info here http://docs.oracle.com/cd/E16764_01/doc.1111/e15878/intro.htm)
G
Edited by: user999097 on Mar 5, 2012 1:16 PM -
WLS 6.1 SP2 and Apache 1.3.26 Windows NT/2000
Hi,
Is there an Apache plugin available for WLS 6.1 (SP2) and Apache 1.3.26 running
on Windows NT/2000?
thanksI've solved my own problem. I learned that there was a sp4 (let alone a
sp3) for WLS. Installed that and the problem went away. Sorry for the
noise.
-Phil
Philip Bower <[email protected]> wrote in
news:[email protected]:
When I try to deploy the struts-example.war or if I add the struts.jar
to any other web app I've created, I get this error when I start WLS
and it tries to deploy that war.
java.lang.StringIndexOutOfBoundsException
at weblogic.servlet.internal.WebAppHelper.resolveManifestName
(WebAppHelper.java:469)
I'm using version 1.1b3 of struts. I'm having no problems with
version 1.0.2 of struts.
I'm guessing its complaining about the manifest file in struts.jar,
but I don't understand why.
Here's my version info and the stack trace (my web app is called
findme in this example). Thanks in advance.
-Phil
Server BuildWebLogic Server 6.1 SP2 12/18/2001 11:13:46 #154529
All Server Product VersionsWebLogic Server 6.1 SP2 12/18/2001
11:13:46 #154529 WebLogic XML Module 6.1 SP2 12/18/2001 11:28:02
#154529
<Feb 11, 2003 7:45:25 AM EST> <Error> <J2EE> <Error deploying
application findme: Could not load findme>
<Feb 11, 2003 7:45:25 AM EST> <Error> <Management> <ApplicationManager
starting Config caught throwable
java.lang.reflect.UndeclaredThrowableException:
java.lang.StringIndexOutOfBoundsException: String index out of range:
-1
at java.lang.String.substring(String.java:1525)
at
weblogic.servlet.internal.WebAppHelper.resolveManifestName(WebAppHelper
.jav a:469)
at
weblogic.servlet.internal.WebAppHelper.extractClassFiles(WebAppHelper.j
ava: 234)
at
weblogic.servlet.internal.WebAppServletContext.extractClassFiles(WebApp
Serv letContext.java:3407)
at
weblogic.servlet.internal.WebAppServletContext.setDocroot(WebAppServlet
Cont ext.java:3376)
at
weblogic.servlet.internal.WebAppServletContext.init(WebAppServletContex
t.ja va:862) -
WLS 6.1 SP2 and JDK 1.4.0
In configuring our WLS 6.1 SP2 to run on the released JDK 1.4 and starting the
server, most things seemed to start fine except for our ObjectIDFactorySession
EJB. It cacked when it tried to create a bean in the free pool. Stack trace
below. I know this is not supported, but can anyone shed some light?
####<Feb 15, 2002 3:05:03 PM EST> <Warning> <EJB> <023app11> <port7011server>
<main> <system> <> <010063> <The EJB: ObjectIDFactorySession had an <initial-beans-in-free-pool>
setting in its weblogic-ejb-jar.xml. An error occurred while creating these initial
bean instances. The error was:
nulljava.lang.ExceptionInInitializerError
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
at java.lang.Class.newInstance0(Class.java:296)
at java.lang.Class.newInstance(Class.java:249)
at javax.rmi.CORBA.Util.createDelegateIfSpecified(Util.java:339)
at javax.rmi.CORBA.Util.<clinit>(Util.java:51)
at javax.rmi.PortableRemoteObject.createDelegateIfSpecified(PortableRemoteObject.java:179)
at javax.rmi.PortableRemoteObject.<clinit>(PortableRemoteObject.java:58)
at prototype.com.guardian.util.HomeFactory.createHome(HomeFactory.java:81)
at prototype.com.guardian.util.HomeFactory.newHome(HomeFactory.java:49)
at prototype.com.guardian.util.HomeFactory.newSession(HomeFactory.java:95)
at prototype.com.guardian.fw.ObjectIDFactorySessionBean.ejbCreate(ObjectIDFactorySessionBean.java:31)
at prototype.com.guardian.fw.ObjectIDFactorySessionBean_r4ogoq_Impl.ejbCreate(ObjectIDFactorySessionBean_r4ogoq_Impl.java:112)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at weblogic.ejb20.pool.StatelessSessionPool.createBean(StatelessSessionPool.java:153)
at weblogic.ejb20.pool.Pool.createInitialBeans(Pool.java:198)
at weblogic.ejb20.pool.Pool.onAfterDeploy(Pool.java:177)
at weblogic.ejb20.deployer.Deployer.runAfterDeploymentListeners(Deployer.java:1325)
at weblogic.ejb20.deployer.Deployer.deploy(Deployer.java:1013)
at weblogic.j2ee.EJBComponent.deploy(EJBComponent.java:30)
at weblogic.j2ee.Application.addComponent(Application.java:163)
at weblogic.j2ee.J2EEService.addDeployment(J2EEService.java:117)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:329)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:144)
at sun.reflect.GeneratedMethodAccessor20.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:636)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:621)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:359)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at weblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBeans(ConfigurationMBeanImpl.java:491)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:361)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at weblogic.management.internal.DynamicMBeanImpl.addDeployment(DynamicMBeanImpl.java:984)
at weblogic.management.internal.DynamicMBeanImpl.addDeployment(DynamicMBeanImpl.java:971)
at weblogic.management.internal.DynamicMBeanImpl.add(DynamicMBeanImpl.java:956)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:648)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:621)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:359)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
at $Proxy65.addTarget(Unknown Source)
at weblogic.management.mbeans.custom.ApplicationManager.autoDeploy(ApplicationManager.java:867)
at weblogic.management.mbeans.custom.ApplicationManager.addApplication(ApplicationManager.java:966)
at weblogic.management.mbeans.custom.ApplicationManager.addApplication(ApplicationManager.java:886)
at weblogic.management.mbeans.custom.ApplicationManager.poll(ApplicationManager.java:802)
at weblogic.management.mbeans.custom.ApplicationManager.poll(ApplicationManager.java:733)
at weblogic.management.mbeans.custom.ApplicationManager.update(ApplicationManager.java:206)
at weblogic.management.mbeans.custom.ApplicationManager.startAdminManager(ApplicationManager.java:278)
at weblogic.management.mbeans.custom.ApplicationManager.start(ApplicationManager.java:152)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:636)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:621)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:359)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
at $Proxy5.start(Unknown Source)
at weblogic.management.Admin.startApplicationManager(Admin.java:1184)
at weblogic.management.Admin.finish(Admin.java:590)
at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:518)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:203)
at weblogic.Server.main(Server.java:35)
Caused by: java.lang.RuntimeException: could not find or instantiate any UtilDelegate
class
at weblogic.iiop.UtilDelegateImpl.<clinit>(UtilDelegateImpl.java:73)
... 77 more
>I've solved my own problem. I learned that there was a sp4 (let alone a
sp3) for WLS. Installed that and the problem went away. Sorry for the
noise.
-Phil
Philip Bower <[email protected]> wrote in
news:[email protected]:
When I try to deploy the struts-example.war or if I add the struts.jar
to any other web app I've created, I get this error when I start WLS
and it tries to deploy that war.
java.lang.StringIndexOutOfBoundsException
at weblogic.servlet.internal.WebAppHelper.resolveManifestName
(WebAppHelper.java:469)
I'm using version 1.1b3 of struts. I'm having no problems with
version 1.0.2 of struts.
I'm guessing its complaining about the manifest file in struts.jar,
but I don't understand why.
Here's my version info and the stack trace (my web app is called
findme in this example). Thanks in advance.
-Phil
Server BuildWebLogic Server 6.1 SP2 12/18/2001 11:13:46 #154529
All Server Product VersionsWebLogic Server 6.1 SP2 12/18/2001
11:13:46 #154529 WebLogic XML Module 6.1 SP2 12/18/2001 11:28:02
#154529
<Feb 11, 2003 7:45:25 AM EST> <Error> <J2EE> <Error deploying
application findme: Could not load findme>
<Feb 11, 2003 7:45:25 AM EST> <Error> <Management> <ApplicationManager
starting Config caught throwable
java.lang.reflect.UndeclaredThrowableException:
java.lang.StringIndexOutOfBoundsException: String index out of range:
-1
at java.lang.String.substring(String.java:1525)
at
weblogic.servlet.internal.WebAppHelper.resolveManifestName(WebAppHelper
.jav a:469)
at
weblogic.servlet.internal.WebAppHelper.extractClassFiles(WebAppHelper.j
ava: 234)
at
weblogic.servlet.internal.WebAppServletContext.extractClassFiles(WebApp
Serv letContext.java:3407)
at
weblogic.servlet.internal.WebAppServletContext.setDocroot(WebAppServlet
Cont ext.java:3376)
at
weblogic.servlet.internal.WebAppServletContext.init(WebAppServletContex
t.ja va:862) -
WLS 6.1 SP2 and Struts 1.1b3 Manifest Problem
When I try to deploy the struts-example.war or if I add the struts.jar
to any other web app I've created, I get this error when I start WLS and it
tries to deploy that war.
java.lang.StringIndexOutOfBoundsException
at weblogic.servlet.internal.WebAppHelper.resolveManifestName
(WebAppHelper.java:469)
I'm using version 1.1b3 of struts. I'm having no problems with version
1.0.2 of struts.
I'm guessing its complaining about the manifest file in struts.jar, but I
don't understand why.
Here's my version info and the stack trace (my web app is called findme in
this example). Thanks in advance.
-Phil
Server BuildWebLogic Server 6.1 SP2 12/18/2001 11:13:46 #154529
All Server Product VersionsWebLogic Server 6.1 SP2 12/18/2001 11:13:46
#154529 WebLogic XML Module 6.1 SP2 12/18/2001 11:28:02 #154529
<Feb 11, 2003 7:45:25 AM EST> <Error> <J2EE> <Error deploying application
findme: Could not load findme>
<Feb 11, 2003 7:45:25 AM EST> <Error> <Management> <ApplicationManager
starting Config caught throwable
java.lang.reflect.UndeclaredThrowableException:
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(String.java:1525)
at
weblogic.servlet.internal.WebAppHelper.resolveManifestName(WebAppHelper.jav
a:469)
at
weblogic.servlet.internal.WebAppHelper.extractClassFiles(WebAppHelper.java:
234)
at
weblogic.servlet.internal.WebAppServletContext.extractClassFiles(WebAppServ
letContext.java:3407)
at
weblogic.servlet.internal.WebAppServletContext.setDocroot(WebAppServletCont
ext.java:3376)
at
weblogic.servlet.internal.WebAppServletContext.init(WebAppServletContext.ja
va:862)
at
weblogic.servlet.internal.WebAppServletContext.<init>(WebAppServletContext.
java:815)
at
weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:428)
at weblogic.j2ee.WebAppComponent.deploy(WebAppComponent.java:74)
at weblogic.j2ee.Application.addComponent(Application.java:163)
at weblogic.j2ee.J2EEService.addDeployment(J2EEService.java:117)
at
weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(Deployment
Target.java:329)
at
weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(Deployment
Target.java:144)
at
weblogic.management.mbeans.custom.WebServer.addWebDeployment(WebServer.java
:76)
at java.lang.reflect.Method.invoke(Native Method)
at
weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImp
l.java:636)
at
weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:
621)
at
weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBe
anImpl.java:359)
at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at
weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
at
weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
at $Proxy29.addWebDeployment(Unknown Source)
at
weblogic.management.configuration.WebServerMBean_CachingStub.addWebDeployme
nt(WebServerMBean_CachingStub.java:1121)
at
weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(Deployment
Target.java:315)
at
weblogic.management.mbeans.custom.DeploymentTarget.addDeployments(Deploymen
tTarget.java:279)
at
weblogic.management.mbeans.custom.DeploymentTarget.updateServerDeployments(
DeploymentTarget.java:233)
at
weblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(Deploy
mentTarget.java:193)
at java.lang.reflect.Method.invoke(Native Method)
at
weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImp
l.java:636)
at
weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:
621)
at
weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBe
anImpl.java:359)
at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at
weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
at
weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
at $Proxy28.updateDeployments(Unknown Source)
at
weblogic.management.configuration.ServerMBean_CachingStub.updateDeployments
(ServerMBean_CachingStub.java:2761)
at
weblogic.management.mbeans.custom.ApplicationManager.startConfigManager(App
licationManager.java:370)
at
weblogic.management.mbeans.custom.ApplicationManager.start(ApplicationManag
er.java:160)
at java.lang.reflect.Method.invoke(Native Method)
at
weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImp
l.java:636)
at
weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:
621)
at
weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBe
anImpl.java:359)
at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at
weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
at
weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
at $Proxy36.start(Unknown Source)
at
weblogic.management.configuration.ApplicationManagerMBean_CachingStub.start
(ApplicationManagerMBean_CachingStub.java:480)
at
weblogic.management.Admin.startApplicationManager(Admin.java:1180)
at weblogic.management.Admin.finish(Admin.java:590)
at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:518)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:203)
at weblogic.Server.main(Server.java:35)
--------------- nested within: ------------------
weblogic.j2ee.DeploymentException: Could not load findme - with nested
exception:
[java.lang.StringIndexOutOfBoundsException: String index out of range: -1]
at
weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:431)
at weblogic.j2ee.WebAppComponent.deploy(WebAppComponent.java:74)
at weblogic.j2ee.Application.addComponent(Application.java:163)
at weblogic.j2ee.J2EEService.addDeployment(J2EEService.java:117)
at
weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(Deployment
Target.java:329)
at
weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(Deployment
Target.java:144)
at
weblogic.management.mbeans.custom.WebServer.addWebDeployment(WebServer.java
:76)
at java.lang.reflect.Method.invoke(Native Method)
at
weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImp
l.java:636)
at
weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:
621)
at
weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBe
anImpl.java:359)
at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at
weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
at
weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
at $Proxy29.addWebDeployment(Unknown Source)
at
weblogic.management.configuration.WebServerMBean_CachingStub.addWebDeployme
nt(WebServerMBean_CachingStub.java:1121)
at
weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(Deployment
Target.java:315)
at
weblogic.management.mbeans.custom.DeploymentTarget.addDeployments(Deploymen
tTarget.java:279)
at
weblogic.management.mbeans.custom.DeploymentTarget.updateServerDeployments(
DeploymentTarget.java:233)
at
weblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(Deploy
mentTarget.java:193)
at java.lang.reflect.Method.invoke(Native Method)
at
weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImp
l.java:636)
at
weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:
621)
at
weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBe
anImpl.java:359)
at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at
weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
at
weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
at $Proxy28.updateDeployments(Unknown Source)
at
weblogic.management.configuration.ServerMBean_CachingStub.updateDeployments
(ServerMBean_CachingStub.java:2761)
at
weblogic.management.mbeans.custom.ApplicationManager.startConfigManager(App
licationManager.java:370)
at
weblogic.management.mbeans.custom.ApplicationManager.start(ApplicationManag
er.java:160)
at java.lang.reflect.Method.invoke(Native Method)
at
weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImp
l.java:636)
at
weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:
621)
at
weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBe
anImpl.java:359)
at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at
weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
at
weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
at $Proxy36.start(Unknown Source)
at
weblogic.management.configuration.ApplicationManagerMBean_CachingStub.start
(ApplicationManagerMBean_CachingStub.java:480)
at
weblogic.management.Admin.startApplicationManager(Admin.java:1180)
at weblogic.management.Admin.finish(Admin.java:590)
at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:518)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:203)
at weblogic.Server.main(Server.java:35)
>
<Feb 11, 2003 7:45:32 AM EST> <Error> <J2EE> <Error deploying application
struts-example: Could notload struts-example>
<Feb 11, 2003 7:45:32 AM EST> <Error> <Management> <Error deploying
application .\config\mydomain\applications\struts-example.war:
java.lang.reflect.UndeclaredThrowableException>I've solved my own problem. I learned that there was a sp4 (let alone a
sp3) for WLS. Installed that and the problem went away. Sorry for the
noise.
-Phil
Philip Bower <[email protected]> wrote in
news:[email protected]:
When I try to deploy the struts-example.war or if I add the struts.jar
to any other web app I've created, I get this error when I start WLS
and it tries to deploy that war.
java.lang.StringIndexOutOfBoundsException
at weblogic.servlet.internal.WebAppHelper.resolveManifestName
(WebAppHelper.java:469)
I'm using version 1.1b3 of struts. I'm having no problems with
version 1.0.2 of struts.
I'm guessing its complaining about the manifest file in struts.jar,
but I don't understand why.
Here's my version info and the stack trace (my web app is called
findme in this example). Thanks in advance.
-Phil
Server BuildWebLogic Server 6.1 SP2 12/18/2001 11:13:46 #154529
All Server Product VersionsWebLogic Server 6.1 SP2 12/18/2001
11:13:46 #154529 WebLogic XML Module 6.1 SP2 12/18/2001 11:28:02
#154529
<Feb 11, 2003 7:45:25 AM EST> <Error> <J2EE> <Error deploying
application findme: Could not load findme>
<Feb 11, 2003 7:45:25 AM EST> <Error> <Management> <ApplicationManager
starting Config caught throwable
java.lang.reflect.UndeclaredThrowableException:
java.lang.StringIndexOutOfBoundsException: String index out of range:
-1
at java.lang.String.substring(String.java:1525)
at
weblogic.servlet.internal.WebAppHelper.resolveManifestName(WebAppHelper
.jav a:469)
at
weblogic.servlet.internal.WebAppHelper.extractClassFiles(WebAppHelper.j
ava: 234)
at
weblogic.servlet.internal.WebAppServletContext.extractClassFiles(WebApp
Serv letContext.java:3407)
at
weblogic.servlet.internal.WebAppServletContext.setDocroot(WebAppServlet
Cont ext.java:3376)
at
weblogic.servlet.internal.WebAppServletContext.init(WebAppServletContex
t.ja va:862) -
How to configure and deploy OAM 11g with DB setup using silent mode
Hello all,
I am trying to create automation process to install and configure OAM 11g on WLS. This task involves three stages
1. Install WLS
2. Install OAM 11g
3. Create DB schema using RCU
4. Configure and deploy OAM 11g
I have done first 3 stages in silent mode using scripts and response files. I am stuck at 4th stage. I know how to configure and deploy OAM 11g using config.sh via GUI installer as well as console mode. But I would like to run config.sh in silent mode something like
./config.sh -mode=silent -silent_script=<script_location>
I have searched a lot, but could not find any resource on how to do it? I tried passing the parameters via a text file. But that has not worked. I have also explored WLST, but it also does not work. Given that first 3 things are relatively very simple, the 4th step is becoming complex. I would be very thankful if someone can please point me in the right direction.
Thanks!Have a look at your software directory : <sofware directory>/Disk1/stage/Response
Here you will find 2 rsp files which you can use to install and then configure it all.
Good luck.
Filip -
Creating and deploying ejb 3.0 session bean with annotated pojo
I try to create and deploy a EJB 3.0 stateless session bean (and associated webservice) with the following steps:
1) Create Interface "Repository"
package de.xxx.config;
import java.rmi.Remote;
import java.rmi.RemoteException;
import javax.jws.WebMethod;
import javax.jws.WebService;
@WebService
public interface Repository extends Remote {
@WebMethod(operationName = "findCampaignByChannel")
public String findCampaignByChannel(String channelName) throws RemoteException;
2) create dummy "RepositoryImpl"
package de.xxx.config;
import java.rmi.RemoteException;
import javax.ejb.Stateless;
import javax.jws.WebService;
@WebService(endpointInterface="de.xxx.config.Repository")
@Stateless
public class RepositoryImpl implements Repository {
public String findCampaignByChannel(String channelName) throws RemoteException {
return null;
3) The two class files are packaged into a jar without any further descriptors
4) The jar is deployed with admin_client into the oc4j instance using the commands:
-deploy -file <jarfile> -deploymentName <name>
Result:
An ear was constructed and started but no session bean or webservice is found (using the console). But according to to the docs a jar file without a ejb-jar.xml should be recognized as a EJB 3.0 ejb-jar file and the necessary steps to create session bean and expose webservice should be done automatically.
My question:
Which step do i miss here ?
Tools used:
Eclipse 3.2 for the jar file
SoaSuite 10.1.3.1 for oc4janother strange problem.
i have an APplication server added ( JBOSS ).
when i create deployment profile (EAR ) application server is showed in the ComboBox .
But when i create Java Test Client for some EJB and when i check " Connect Remote Application server" there is 2 comboboxes
J2EE Application
App Server Connection.
first combo is ok there is EJB applicaiton
Secound is empty .. but i Have App Server.
Another think is that when i create EJB 3.0 its BAD to see J2EE app it must be J EE 5 app or just Java EE app -
Is there anyone at all here who has successfully compiled and deployed an SSRS custom report item in VS2012? Is there a demo out there that actually works in VS2012? Is there anyone who has actually been able to compile and deploy that
apparently obsolete Polygons demo? (Pardon my impatience but I'm running a bit short of time here.)
After much hacking and googling I was able to get Polygons to compile but I still can't deploy it to the toolbox. ('The custom report item type PolygonsDesigner is not installed'). I've modified the RSReportDesigner.config
as instructed but I have no rssrvpolicy.config file on my local machine and
as yet I have no idea if that is necessary for local development.
In order to get it to compile I first added the reference C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\PrivateAssemblies\Microsoft.ReportingServices.ProcessingCore.dll to both projects.
To the PolygonsDesigner Project I also added the references:
C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\PrivateAssemblies\Microsoft.ReportDesigner.Controls.dll
C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\PrivateAssemblies\Microsoft.ReportingServices.Designer.11.0.dll
C:\Program Files (x86)\Microsoft SQL Server\110\Tools\Binn\Microsoft.ReportingServices.Interfaces.dll
Are these the correct references?
Exactly what software do you need installed on your local machine in addition to VS2012 in order to create a custom control?
(Designer.11.0 was added per the instructions in reference: https://connect.microsoft.com/VisualStudio/feedback/details/783391/unable-to-integrate-previously-working-ssrs-custom-report-item-to-vs-2012s-toolbox
After that I added the alias RSDesigner to it's properties and extern alias RSDesigner; at the top of the PolygonsDesigner.cs file. )
As of now, the top of the PolygonsDesigner.cs is as follows. I don't recall making any other changes to the code. As far as I can remember this is all I did in order to be able to compile the code in VS2012.
extern alias RSDesigner;
using System;
using System.ComponentModel;
using System.ComponentModel.Design;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.Drawing;
using System.Windows.Forms;
using Microsoft.ReportDesigner;
using Microsoft.ReportDesigner.Design;
using Microsoft.ReportingServices.Interfaces;
using Microsoft.ReportingServices.RdlObjectModel;
using System.Xml;
using System.Xml.Xsl;
using System.Xml.XPath;
[LocalizedName("Polygons")]
[Editor(typeof(CustomEditor), typeof(ComponentEditor))]
[ToolboxBitmap(typeof(PolygonsDesigner), "Polygons.ico")]
[CustomReportItem("Polygons")]
[ToolboxItem(typeof(RSDesigner::Microsoft.ReportDesigner.Shell.CRIToolboxItem))]
[System.CLSCompliant(false)]
public class PolygonsDesigner : CustomReportItemDesigner
{ etc...Just fixed this myself.
It appears the documentation online is wrong and the sample code is missing a reference to a reporting services dll and an attribute.
What you need to do to get it working in VS2012 is add a reference to: Microsoft.ReportingServices.designer.11.0.dll to the PolygonsDesigner project and then add the following attribute to the PolygonsDesigner class: [ToolboxItem(typeof(Microsoft.ReportDesigner.Shell.CRIToolboxItem))]
I also removed the [System.CLSCompliant(false)] attribute.
You then recompile and place both dlls in C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\PrivateAssemblies directory and the PolygonsDesigner.dll into the C:\Program Files\Microsoft SQL Server\MSRS11.MSSQLSERVER\Reporting Services\ReportServer\bin
or what ever is you reporting services path.
You also need to change the Microsoft example for the rereportserver.config file to:
<ReportItemDesigner>
<ReportItem Name="Polygons" Type="Microsoft.Samples.ReportingServices.PolygonsDesigner, PolygonsDesigner" />
</ReportItemDesigner>
<ReportItems>
<ReportItem Name="Polygons" Type="Microsoft.Samples.ReportingServices.PolygonsCRI,PolygonsCRI"/>
</ReportItems>
Notice that I changed the namespaces and class to what is in the actual code so if you change it make sure you change it here.
And here in the RSReportDesigner.config:
<ReportItems>
<ReportItem Name="Polygons" Type="Microsoft.Samples.ReportingServices.PolygonsCustomReportItem,PolygonsCRI" />
</ReportItems>
<ReportItemDesigner>
<ReportItem Name="Polygons" Type="Microsoft.Samples.ReportingServices.PolygonsDesigner, PolygonsDesigner" />
</ReportItemDesigner>
<ReportItemConverter>
<Converter Source="Chart" Target="Polygons" Type="PolygonsCRI.PolygonsConverter, PolygonsDesigner" />
</ReportItemConverter>
Notice I haven't changed the last part as I didn't know what the PolygonsCRI.PolygonsConverter was.
And make sure the rssrvpolicy.config looks like this:
<CodeGroup class="UnionCodeGroup" version="1" PermissionSetName="FullTrust" Description="This code group grants PolygonsCRI.dll FullTrust permission. ">
<IMembershipCondition class="UrlMembershipCondition" version="1" Url="C:\Program Files\Microsoft SQL Server\MSRS10_50.SQLSERVER\Reporting Services\ReportServer\bin\PolygonsCRI.dll" />
</CodeGroup>
After a restart of ssrs and relaunch of VS2012 I opened a test project and added the PolygonsDesigner.dll to the toolbox and it works.
Jamie -
I have Windows 2003 SP2 server which meets Oracle requirements. Can anybody explain me step by step how do to that? I have tried, but failed. I couldn't configure domain. On clean OS i have installed WLS withotu configure. Than I installed OPFRD 11.1.1.2. After that I installed patch 11.1.1.3. Everything passed OK w/o problems. Than I strated config.bat. I fill in the details and configuration begins. But stops on first step, when domain should be configured. How to solve the problem?
Thx in advance.Thanks Rene, but as I said we are not using the same version of WLS and OSB so in that case is there any option that which version of OEPE i should download which support these two versions of WLS 10.3.5 and OSB 11.1.1.4.0.
-
How to create and deploy a simple jstl applicaton in weblogic 10.3.3
How to create and deploy a simple jstl applicaton in weblogic 10.3.3
1) Since JSTL libraries are provided as Web application libraries, they must be deployed before the Web application that is using JSTL functionality is deployed. The libraries can be deployed using the Administration Console or with the command-line weblogic.Deployer tool.
Here’s an example of deploying a JSTL 1.2 library using the weblogic.Deployer command-line:
java weblogic.Deployer -adminurl t3://localhost:7001
-user weblogic -password weblogic
-deploy -library
d:/beahome/wlserver_10.3/common/deployable-libraries/jstl-1.2.war
This command deploys the JSTL 1.2 library using the default library-name, specification-version and implementation-version defined by the MANIFEST.MF in the library.
After a library is deployed, the extension-name, specification-version and implementation-version of the library can be found in Administration console. This information can also be found in the MANIFEST.MF file of the library WAR file.
For more information on deploying a Web module refer below URL
http://docs.oracle.com/cd/E15051_01/wls/docs103/deployment/deployunits.html
2) To reference a JSF or JSTL library, a standard web application can define a <library-ref> descriptor in the application’s weblogic.xml file. Here is an example:
<library-ref>
<library-name>jsf</library-name>
<specification-version>1.2</specification-version>
<implementation-version>1.2.0</implementation-version>
<exact-match>false</exact-match>
</library-ref>
For more information on referencing a Web application library refer below URL
http://docs.oracle.com/cd/E15051_01/wls/docs103/programming/libraries.html
3) Create a sample JSP in your application and JSP should look as shown below
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
<html>
<head>
<title>TestJSTL</title>
</head>
<body>
<c:set var="topic" value="JSTL" />
<c:out value="${topic}" />
</body>
</html>
4) Create WAR and deploy and test.
Edited by: Murali Veligeti on Jul 26, 2012 9:00 AM -
How to move the code and deploy the code from Dev environment to SIT.
Hi,
I have a requirement.
I want to move the components and deploy the code from dev Environment to SIT environment using Ant Script for AIA.
Before doing this is any pre-requisites required?
Can you please help on this,how to do?
Thanks in advance.Further to add to Anish Statement follow the steps to easily migrate the code to different environment.
Steps:
First log on to the EM Console and export the Composite Flow as a SAR file to a location.
In Jdeveloper create a project using the same name of a SAR file like - ProcessSalesorderFlow
import the project using the option import the composite using a SAR File.
After import , then click on the composite and then generate the config plan.
In config plan add all the url changes using the search and replace Tags.
And in case if you have a JCA Adapters the same has to be taken care in SIT environment why because during deployment a lookup happens and deployment fails if it dont find the JNDI Name.
Take the SAR file adn config plan seperately from JDeveloper.
Now open em console again and then deploy it using the config file and SAR file.
Thanks,
Venugopal SSS RAJA
Maybe you are looking for
-
Is there continuous play of a song while importing cd's iTunes?
I would like to know if there is a feature for, once the songs you are importing from a cd, when you play a song from the cd itself, if you hit the eject button while the song is playing, the song continues to play without delay. If there isn't, this
-
When I use Lookout Modbus driver OPC to communicate with my instrumnets, I edited the database number such as 41202 that has a Write attribute in my instrumnet manual, the OPC explorer got bad data, and the OPC server gave the illegal address alarm,
-
Permitted characteristics in packing determination (handling unit manag.)
Hi all! Does anyone know how to create new Permitted characteristics in packing determination? It is, in other terms, to add new fields in transaction OFP8 and then to use these new fields for the determination of a new combination for search key. Th
-
PDF/Research Document Organiser?
Heya folks, this one goes out to those of you who are researchers/students/generally organised. I am looking for a good, Apple-ish (I.e. like iTunes, Aperture etc.) program for organising research documents that i download from the net. I would ideal
-
Hi, How to replace this □ character in routine while loading data from source system. Regards, Pravender