Cocoon 2.1.11 on WebLogic 10.3.5 deployment error
Deployment of Cocoon 2.1.11 that downloaded from cocoon.apache.org without change and get the following error<21-Feb-2012 16:23:57 o'clock GMT> <Error> <Deployer> <BEA-149231> <Unable to set the activation state to true for the a
pplication 'cocoon'.
weblogic.application.ModuleException: [HTTP:101216]Servlet: "Cocoon" failed to preload on startup in Web application: "c
ocoon.war".
java.lang.NoSuchMethodError: org.apache.log.output.ServletOutputLogTarget.<init>(Ljavax/servlet/ServletContext;Lorg/apac
he/log/format/Formatter;)V
at org.apache.cocoon.servlet.CocoonServlet.initLogger(CocoonServlet.java:800)
at org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:356)
at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:283)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:64)
at weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:58)
at weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHelper.java:48)
at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:539)
at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1985)
at weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:1959)
at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1878)
at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3153)
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1508)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:482)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:636)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:205)
at weblogic.application.internal.SingleModuleDeployment.activate(SingleModuleDeployment.java:43)
at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:184)
at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:361)
at weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:51)
at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:200)
at weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:30)
at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:240)
at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:169)
at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:123)
at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:180)
at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:96)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1510)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:482)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
Truncated. see log file for complete stacktrace
Caused By: java.lang.NoSuchMethodError: org.apache.log.output.ServletOutputLogTarget.<init>(Ljavax/servlet/ServletContex
t;Lorg/apache/log/format/Formatter;)V
at org.apache.cocoon.servlet.CocoonServlet.initLogger(CocoonServlet.java:800)
at org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:356)
at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:283)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
Truncated. see log file for complete stacktrace
It's a problem with WLS like war even works under Pier. Any ideas?Chris
The mistake that you make evidence indicates that WLS provides a version of Apache Logging Library, but it is not the same version that cocoon is built with and assistance of:
java.lang.NoSuchMethodError: org.apache.log.output.ServletOutputLogTarget.(Ljavax/servlet/ServletContext;Lorg/apac
he/log/format/Formatter;)V
at org.apache.cocoon.servlet.CocoonServlet.initLogger(CocoonServlet.java:800)
In order to reconcile this, you simply provide a filtering configuration of your application class loader so that the classes of the package "org.apache.log. *" are loaded by the web ClassLoader and not by the WLS system class loader.
Documentation (it's 12 c but available on 10.3.5) for the configuration item is here:
http://docs.Oracle.com/CD/E24329_01/Web.1211/e21049/weblogic_xml.htm#sthref278
You create a file with the configuration below weblogic.xml and place it in the directory WEB - INF of your web app (adjacent to the web.xml):
org.apache.log
-steve-
Published by: Steve button on February 27, 2012 10:42
Tags: Fusion Middleware
Similar Questions
-
Hello
I'm dealing with deployment error while installing the file. War on weblogic server. When I run my application of webservices plsql in integrated weblogic server, it works fine... When I tried to package it and deploy on weblogic, it gives following error, pls could anyone help on this topic.
Pls. note I've created connections to database through the wizard for the creation of webservices plsql, data source name is created under weblogic domain-> services-> jdbc-> data source in the application server. Even then, I'm not able to succeed with the deployment. Appreciate your help, thank you.
I used jdeveloper 11.1.1 g for the construction of pl/sql based Web application services.
Define the JNDI name as jdbc /CreateInvDBconnDS instead of CreateInvDBconn
What makes research JNDI as java: comp/env/jdbc/CreateInvDBconnDS with java: comp/env/added by default.
ADF expects this JNDI name to start with jdbc / and end with the DS.
-
WebLogic 10.3.6 gives error after a few hours
Hi my installation and configuration has been very well and it does not work when I restart everything. After 1-2 hours application does not load and I get a lot of error in the console
< 31 May 2015 08:15:12 AST > < emergency > < oracle.dfw.incident > < BEA-000000 > < incident 24 > created in "BEA-000337 [WebLogicServer]" key problem
< 31 May 2015 08:19:12 AST > < error > < WebLogicServer > < BEA-000337 > < ExecuteThread [STUCK]: '1' for the queue: "weblogic.kernel.Default (self-adjusting)" has been occupied for the second "653" working on the req
ask ' Workmanager: by default, Version: 0, scheduled = true, Started = true, start time: 653963 ms.
[
GET /MPSApplication/faces/Index.jspx HTTP/1.1
Cache-Control: max - age = 0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
User-Agent: Mozilla/5.0 (X 11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Safari/537.36 Chrome/43.0.2357.65
A2874598CAD0C6E2376F95822AD65EC686FF85809CED89946EE545F3A86B7D041124ECD9B1ED02F88463451E945297075187DA268E17C1AE1EDA17B8F0B27CD099DA32A098171258060A80A6AA67D1C01B9FE2339AF44BDE9458B7ED9B23D4A60B694
1D634AB86E07BF707C75984F4D91570817515753ACA746600791ED63EA932FCE1BA89D62F2D83010FFD2D5F0C78BFC4F94B40D814D4051D4573B9D4464 & p_error_code = & p_submit_url=http%3A%2F%2Faepv2.example.com%3A7777%2Fsso%2Fa
UTH & p_cancel_url=http%3A%2F%2Fadfuat.example.com%3A7790 & ssousername = CHERRYDEV1
Accept-Language: en-US, en - us, en; q = 0.8
Cookie: MPSSESSIONID = BSC4VyGYNGF1MpjNYY2GFWMGL6nMvHrPNH5qpxn9s6rcwnZYKpGZ! 418582955; ADMINCONSOLESESSION = Z0hGVqTT6dnw8xyPQnvXP40gbLL7yTmTvXmZB0FlyY7hXypZ9fXL! 567968992; SST - adfuat.example.com - 7790 =.
30D3CBA55A476B10709B4B07ED2042DD90D1F0C5DED46FE0F07BC392469D30E8D771ED1D58A545CFFE0FFCAB6AF120322374AC0EFF7A09288C5261DF136469CEF9DDD91E9B31CE8E98C616F45D01B8FF424DE3D45C1790EC982254D424210307A95E1
E3D59CC1270709B8AEDDAD6C3DF744472004C1F3BB3691B19CCE53F98C64F9A1434340AA5DFD4A198BFF63D1991713B3967F6AC249AC55C805B5E03F16B0F732BDDB8B89CA4604E8A8A076D39CAA7D82366BF19E33ACF8D671BFDCDA3C46BDBDDC5FA
FEB5E7B87B685ECA5F5FDDE6D13352E5D7762ADC733BE60C4A938F25EE44086EEE73528176F5C71CCFA983A720AA6D8FF192DC ~.
ECID-context: 1.63954920339482; kXhglfC
ClientIP: 10.14.86.99
Chronos: aggregation
Oracle-WebCache-Hdr-Inv-access: on, version = '1 '.
HTTPS-SSL: off
Calypso-Control: H_Req,-1408184652, 7790, 172.16.206.180
Mother surrogate-capability: orcl = ' webcache/1.0 surrogate/1.0 ESI/1.0 ESI-Inline/1.0 ESI-INV/1.0 ORAESI/9.0.4 OWV/1.0 POST-Restore/1.0 ".
Osso-user-Guid: AA229110574B6B2EE0440003BA1EC0C7
Osso-user-Dn: cn = cherrydev1, cn = users, dc = example, dc = com
Osso-Subscriber: DEFAULT COMPANY
Osso-subscriber-Dn: dc = example, dc = com
Osso-subscriber-Guid: 170AB6D7C44512F3E044080020CB263F
Osso-Cookie-timestamp: 556a93be
Connection: Keep-Alive
Proxy-Remote-User: CHERRYDEV1
Proxy-Auth-Type: Osso SSO
X-Forwarded-For: 172.16.206.180
Proxy-Client-IP: 172.16.206.180
WebLogic-X-KeepAliveSecs: 30
WebLogic-Force-JVMID: 418582955 X
'] ", which is more than the time configured (StuckThreadMaxTime) of '600' seconds. Stack trace:
NULL >
< 31 May 2015 08:20:12 AST > < error > < WebLogicServer > < BEA-000337 > < ExecuteThread [STUCK]: '1' for the queue: "weblogic.kernel.Default (self-adjusting)" has been occupied for the second '713' working on the req
ask ' Workmanager: by default, Version: 0, scheduled = true, Started = true, start time: 713966 ms.
Please help me solve this problem
Kind regards
Ben
Hi Ben,
To get a thread dump:
- Use Jstack (Jstack underneath of JDK_HOME/bin /)
- Command syntax: jstack {PID} > dump.log
- Where PID is the process identifier, and ' > dump.log ' is to print the result of jstack to a file
For more information on taking thread dumps, you can consult this article > https://helpx.adobe.com/experience-manager/kb/TakeThreadDump.html
Kind regards
White
-
Hello.
We have installed WebLogic Server 12.1.3 on Linux x86_64 file fmw_12.1.3.0.0_wls.jar whithout any errors.
Then load URL handler company fusion middleware control http:// < Host >: 7001/em we received 404 (not found) error
There are no links, files and dir with EM on the host in/oracle/middleware.
According to the documentation, it must be installed and worked after you start WebLogic server.
Please, please help me understand it y it, or how we can install it.
I think that you need to install FMW Infrastructure (ADF Runtime)
You can download it from this URL
Application Development Framework Downloads
Install FMW Infrastructure on the same folder of weblogic Middleware and then create a new domain with Enterprise Manager option.
-
Doubts about Weblogic Cluster and application deployment
Hi all
WebLogic...: 12.1.2
... OS: AIX 7.1
We intend to create a Weblogic cluster at 2 knots in different sites to comply with the requirements of the customer HA. With this in mind im a few doubts began to rise:
(1) this solution will have a server in site A Weblogic and an another Weblogic Server on site B, and we will create a Weblogic cluster with these 2 servers. It is equivalent to an Oracle extended RAC, but with Weblogic. Our link between sites is extremely fast, dedicated, with a latency of less than 5 ms. Is it possible and cost-effective to build such a solution?
(2) regarding the deployment of the application, I would like to know if it is possible to deploy an application on Weblogic Server just on node A, and this application is automatically replicated on the Weblogic Server in site B? As far as I know, I have to deploy the application on both Weblogic servers manually.
Thanks for the patience and attention.
Hello
(1) this solution will have a server in site A Weblogic and an another Weblogic Server on site B, and we will create a Weblogic cluster with these 2 servers. It is equivalent to an Oracle extended RAC, but with Weblogic. Our link between sites is extremely fast, dedicated, with a latency of less than 5 ms. Is it possible and cost-effective to build such a solution?
Yes: is very easy to configure the (much easier than configuring PAP) weblogic server cluster.
Please refer to:
http://docs.Oracle.com/CD/E24329_01/Web.1211/e24425/overview.htm#CLUST114
http://docs.Oracle.com/CD/E24329_01/Web.1211/e24425/Setup.htm#CLUST431
(2) regarding the deployment of the application, I would like to know if it is possible to deploy an application on Weblogic Server just on node A, and this application is automatically replicated on the Weblogic Server in site B? As far as I know, I have to deploy the application on both Weblogic servers manually.
You can deploy your application on weblogic cluster: his will be automatically deployed to all members of the cluster (all managed servers)
HTH.
Borys
-
Weblogic Server RMI_URL Application deployment
I deployed a file application on Weblogic Server 10.3.4 EAR. When I access the application using the link http://localhost:7001 / nms and then try to click anywhere on the page, it throws the following error:
Error 500 - Internal server error
javax.servlet.ServletException: environment variable RMI_URL is not defined. You must set RMI_URL
at com.splwg.oms.web.servlet.NmsJnlpDownloadServlet.init (unknown Source)
to weblogic.servlet.internal.StubSecurityHelper$ ServletInitAction.run (StubSecurityHelper.java:283)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:64)
at weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:58)
to weblogic.servlet.internal.StubLifecycleHelper. < init > (StubLifecycleHelper.java:48)
at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:539)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:243)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:184)
to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.wrapRun (WebAppServletContext.java:3717)
to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.run (WebAppServletContext.java:3681)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
I am new to weblogic server and can someone please tell me what is the RMI URL and where to set it in Weblogic Server?
Hello
Could you please remove the entries made form the console and change the threshold in the setDomainEnv.sh script: -.
JAVA_PROPERTIES = "-Dplatform.home =, ${WL_HOME} - Dwls.home = ${WLS_HOME} - Dweblogic.home = ${WLS_HOME}"
TO
JAVA_PROPERTIES = "-Dplatform.home =, ${WL_HOME} - Dwls.home = ${WLS_HOME} - Dweblogic.home = ${WLS_HOME} - DRMI_URL = t3: / /"
Once the above changes are updated, please run the command in order to have the changes in effect below:-
. ./setDomainEnv.sh
Restart the AdminServer and then managed server
Kind regards
Prakash.
-
WebLogic - weblogic. The NoClassDefFoundError Deployment Manager
Hello world
I use weblogic.jar to deploy the EAR with the deployment to WebLogic server (help - plan option) plan, and I'm going to NoClassDefFoundError to com.bea.xml.XmlException. It works fine if I deploy without a deployment plan. Can someone tell what are the jar that needs to include in the classpath? Thank you.
Kind regards
K.H
java.lang.NoClassDefFoundError: com/bea/xml/XmlException at weblogic.descriptor.BasicDescriptorManager.getMarshallerFactory(BasicDescriptorManager.java:143) at weblogic.descriptor.BasicDescriptorManager.getDescriptorFactory(BasicDescriptorManager.java:183) at weblogic.descriptor.BasicDescriptorManager.createDescriptor(BasicDescriptorManager.java:320) at weblogic.descriptor.BasicDescriptorManager.createDescriptor(BasicDescriptorManager.java:287) at weblogic.deploy.api.spi.config.DescriptorParser.parseDeploymentPlan(DescriptorParser.java:128) at weblogic.deploy.api.spi.deploy.internal.BasicOperation.parsePlan(BasicOperation.java:246) at weblogic.deploy.api.spi.deploy.internal.BasicOperation.run(BasicOperation.java:166) at weblogic.deploy.api.spi.deploy.WebLogicDeploymentManagerImpl.deploy(WebLogicDeploymentManagerImpl.java:369) at weblogic.deploy.api.tools.deployer.DeployOperation.execute(DeployOperation.java:47) at weblogic.deploy.api.tools.deployer.Deployer.perform(Deployer.java:139) 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: java.lang.ClassNotFoundException: com.bea.xml.XmlException at java.net.URLClassLoader$1.run(URLClassLoader.java:202) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:248) ... 15 more
Hello
Please let me know the following:
1. have you tested with wlfullclient.jar... Just to refine it. Refer
2. which version of the WLS? -
Hello, I try install report forms in a new windows 2008 R2 Server error but send.
the steps are:
Step 1. Install Windows server 2008 R2 Foundation 64 x.
Step 2. Download and install the JDK, Jdk-6u31-windows - x 64 .exe.
Step 3. Download and install Weblogic 10.3.5 64-bit with java - Xmx1024m - jar wls1035_generic.jar
Step 4. Do not run quickstart.
Step 5. Download and install Forms & ofm_frmrpts_win_11.1.2.0.0_64_disk1_1of1 Report, run the Setup program
Step 6. Select "install and configure".
Step 7. Select "configure for deployment."
Step 8. Create the domain
Step 9. Select 'Forms Builder' and 'Builder '.
Step 10. Automatic port = yes
Step 11. Proxy = no
Step 12. OID = No.
Install = 100% OK
Configuration-> ERROR in "Setting up the COM", then click "continue".
All of the following are OK
Please can someone help me, your help is greatly appreciated
Thank you very much
CarlosI always do 'install' and 'configure' in two distinct steps,
It's
6a. install
6 b. configure (run Oracle_FRHome1\bin\config.bat)see you soon
Volker
-
Oracle WebLogic 10.0 MP2 Installation error: Java Heap Space
Dear all,
Installation of weblogic 10.0 MP2 gave the following error "Exception in thread 'thread 26' Java Heap Space' means
The installation progress bar stops at 92%. I tried to install several times and am does not succeed.
Please help / suggestions on how to solve the error intallation.
Processor: Intel Quad core 64-bit
OS: windows 2008 R2 64-bit server
Java: 64-bit JDK 1.5 Update 21
WebLogic: Server 10.0 MP2 64 bit for windows
Thank you
Kind regardsHello
Looks like you are using generic Jar Installer... so in this case please run the Setup program by using option - Xmx1024m:
Example:
JAVA_HOME/bin/java - jar - Xmx1024m wls1001_generic.jarAs suggested in the following link: http://middlewaremagic.com/weblogic/?p=2731
.
.
Thank you
Jay SenSharma -
the weblogic 10.3 OID/ldap error
Hello:
We are migrating our application of OC4J to weblogic 10.3. The application has some problem to access the OID/LDAP. Here is the error when the application attempts to connect to LDAP:
Exception in thread "Thread-13" java.lang.ArrayIndexOutOfBoundsException: 10
to weblogic.rjvm.RJVMFinder. < init > (RJVMFinder.java:98)
at weblogic.rjvm.ServerURL.getFinder(ServerURL.java:181)
at weblogic.rjvm.ServerURL.findOrCreateRJVM(ServerURL.java:153)
to weblogic.jndi.WLInitialContextFactoryDelegate$ 1.run(WLInitialContextFactoryDelegate.java:344)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs (unknown Source)
at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:339)
at weblogic.jndi.Environment.getContext(Environment.java:315)
at weblogic.jndi.Environment.getContext(Environment.java:285)
at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:117)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
at javax.naming.InitialContext.init(InitialContext.java:223)
to javax.naming.ldap.InitialLdapContext. < init > (InitialLdapContext.java:134)
at oracle.ldap.util.jndi.ConnectionThread.run(ConnectionThread.java:61)
log4j:error no file or output stream is defined for the appender named "null".
Us did not change any code and everything works find on our OC4J application server. It stops working on weblogic 10.3. Does anyone have a similar experience?
Thank you
JackHello
It seems that the ConnectionUtil class is not supported with WLS. I managed to do work by creating the initial Ldap context manually:
replace
InitialLdapConetxt ldapCtx = ConnectionUtil.getDefaultDirCtx(ldapServerName, ldapServerPort, ldapUserDN, ldapUserPass); RootOracleContext roc = new RootOracleContext(ldapCtx);
by
Hashtable env = new Hashtable(); env.put(Context.INITIAL_CONTEXT_FACTORY, "com.sun.jndi.ldap.LdapCtxFactory"); env.put(Context.SECURITY_AUTHENTICATION, "simple"); env.put(Context.SECURITY_PRINCIPAL, ldapUserDN); env.put(Context.SECURITY_CREDENTIALS, ldapUserPass); env.put(Context.PROVIDER_URL, "ldap://" + ldapServerName+ ":" + ldapServerPort + "/"); env.put(Context.REFERRAL, "follow"); InitialLdapConetxt ldapCtx = new InitialLdapContext(env, null); RootOracleContext roc = new RootOracleContext(ldapCtx);
I hope this helps.
Kind regards
Friedrich -
ALBPM portlets in WebLogic Portal Deployment error
Hi, I have a problem when I try to deploy ALBPM workspace portlets in WebLogic Portal
< 28/01/2009 BRST 18h11min47s > < HTTP > < BEA-101214 > < error > < included the resource or the file ' / workspaceWeb/framework/skeletons/text/flowlayout.jsp ' not found requested resource ' / workspaceWeb/BPMPortal.portal "."» >
I copied the framework folder in the web project, but the problem persists. I used the 10.1 WLP. This could be a problem in version?
Concerning
Rogerio CruzThis can be Bug 8155355, which is classified as a configuration error. The solution is to make sure that you have configured in your Facelets web.xml file:
javax.faces.DEFAULT_SUFFIX
. XHTML
What is your problem?
-
OBPM 10 GR 3 Weblogic 10 GR 3 installation error
Hello
I try to install OBPM GR 10, 3 under 10GR 3 WebLogic and cannot start the OBPMEngine.ear, due to the "DOCTYPE error in engine - OBPMWLSEngine.jar.
the DOCTYPE in motor - OBPMWLSEngine.jar:
<! DOCTYPE PUBLIC weblogic-ejb-jar "-//BEA Systems, Inc.//DTD WebLogic EJB 8.1.0 / / IN" "http://www.bea.com/servers/wls810/dtd/weblogic-ejb-jar.dtd" >
Any ideas? Thanks in advance.
Best regards
BillHi Bill,
I don't know exactly why this could happen, but it is a trick worth a look, especially if this installation is a strict firewall and, possibly, the Internet connection is through proxies.
WLS descriptors included in the EAR of engine seem to reference a DTD. For some reason, it seems that maybe he got problems to get their hands on it. I'm talking about in particular: http://www.bea.com/servers/wls810/dtd/weblogic-ejb-jar.dtd. So one approach is to open the EAR, change the good .xml that contains this reference and either delete or which actually point to a local reference.
I don't know if this will solve your problem, but as I mentioned below worth a try. If this is indeed a way to solve your problem, I recommend to put a post on this thread and also report it to the support if possible at all.
Thank you!eduardoc.
-
SOA 11 g (11.1.1) - OutOfMemoryError: limit superior GC exceeded
Hi all
I get the errors below to deploy a composite. Using the following arguments (ps) - how to increase the values if necessary? There are 2 errors - means: GC overhead limit and means: Java heap space.
-Xms512m-Xmx1024m - XX: PermSize = 512 m - XX: MaxPermSize = 512 m
Thank you
Suresh
*(1)*
# < 27 January 2010 13:32:11 EST > < error > < ServletContext - / soa-infra > < caparo.ciena.com > < soa_server1 > < ExecuteThread [ASSET]: '0' for the queue: '(self-adjusting) weblogic.kernel.Default' > < weblogic > <><>< 1264617131799 > < BEA-000000 > < deployment error
oracle.fabric.common.FabricException: error occurred during deployment of the component: b2bc_generic_850_so_transform to service engine: implementation.bpel, for composites: b2bc_generic_850_so_transform: ORABPEL-05250
Suitcase BPEL deployment by mistake.
error while attempting to deploy the BPEL component file "/apps6/orasoa/cbisptch/1110/Middleware/user_projects/domains/base_domain/deployed-composites/b2bc_generic_850_so_transform_rev5.0/sca_b2bc_generic_850_so_transform_rev5.0/7c931215-b561-432f-b9b9-7c3d9eb3737a"; the reported exception is: means: limit superior GC
This error was an exception thrown by the underlying deployment module.
Check the trace for the exception in the log (the connection value level debug mode).
at oracle.integration.platform.blocks.deploy.CompositeDeploymentConnection.deployComponents(CompositeDeploymentConnection.java:241)
at oracle.integration.platform.blocks.deploy.CompositeDeploymentConnection.deploy(CompositeDeploymentConnection.java:94)
*(2)*
Caused by: ORABPEL-05250
Suitcase BPEL deployment by mistake.
error while attempting to deploy the BPEL component file "/apps6/orasoa/cbisptch/1110/Middleware/user_projects/domains/base_domain/deployed-composites/b2bc_generic_850_so_transform_rev6.0/sca_b2bc_generic_850_so_transform_rev6.0/1606b2d1-38f3-4b82-b0f5-45e02bbd0385"; the reported exception is: means: Java heap space
This error was an exception thrown by the underlying deployment module.
Check the trace for the exception in the log (the connection value level debug mode).
at com.collaxa.cube.engine.deployment.DeploymentManager.deployComponent(DeploymentManager.java:197)
at com.collaxa.cube.ejb.impl.CubeServerManagerBean._deployOrLoadComponent(CubeServerManagerBean.java:726)
at com.collaxa.cube.ejb.impl.CubeServerManagerBean.deployComponent(CubeServerManagerBean.java:114)
at com.collaxa.cube.ejb.impl.bpel.BPELServerManagerBean.deployComponent(BPELServerManagerBean.java:85)Hi Suresh,
You can increase the value of the arguments of memory in setDomainEnv.cmd/setDomainEnv.sh (within the $Domain_Home/bin). Below are the entries in this file-
MEM_ARGS =-Xms512m-Xmx512m set
Set MEM_PERM_SIZE = - XX:PermSize = 48 m
Set MEM_MAX_PERM_SIZE = - XX:MaxPermSize = 128 mYou can set the segment starting size (-Xms) and maximum segment size (-Xmx) to the same value, which improves the performance of GC.
Kind regards
Anuj -
Installation of Weblogic 10.3.6 with generic Setup on the SP2 of Windows Server 2012
Hello Experts,
I try to install WLS10.3.6 on MS Windows Server 2012 (64-bit) SP2 with generic Setup.
1 installed jdk1.7 (jdk-7u80-windows - x 64)
2. then ran wls1036_generic.jar
C:\Program Files\Java\jdk1.7.0_80\bin > java-D64-jar D:\SW_Installers\06.Weblogic\wls1036_generic\wls1036_generic.jar
Cannot create the temporary extraction directory in the default location.
, I get the above error message. Attaching screenshot. http://www.use.com/FpC0P
Can you please help?
Thank you
Benoit
Just to update, finally ran wls1036_generic.jar. Problem was probably related to the virtual machine.
We were in-
C:\Java\jdk1.7.0_80\bin>Java-D64-jar D:\SW_Installers\06.Weblogic\wls1036_generic\wls1036_generic.jar
Error - a
Cannot create the temporary extraction directory in the default location.
The temporary extraction directory is the Windows temporary folder. The location is-
Folder - %USERPROFILE%\AppData\Local\Temp where %UserProfile% - c\:users\ [acctname]
But when you run start > run > %Temp%, I see.
C:\Users\ccbgso\AppData\Local\Temp\2--et error was a drive is not accessible.
And \2 was the problem, because there is not C:\Users\ccbgso\AppData\Local\Temp\2.
To correct this error, we did it-
Start > run > Regedit > hkey_current_user > volatile environment
And found 2 below.
Chosen the 2, then the two TEMP & TMP sought in the right pane.
the values were - C:\Users\ccbgso\AppData\Local\Temp\2
Right-click each & click on modify, remove the \2
Clicekd on ok.
Disconnected and re connected.
And then ran
C:\Java\jdk1.7.0_80\bin>Java-D64-jar D:\SW_Installers\06.Weblogic\wls1036_generic\wls1036_generic.jar
This time, he began the extraction and 'Install Oracle - Weblogic 10.3.6.0' Welcome screen appears.
Thank you best regards &,.
Benoit
-
WebLogic 12.2.1 validation.xml parse error
When I deploy the ear containing validation.xml in META-INF of ejb - jar file on weblogic 12.2.1, below error occurs:
<BEA-000000> <Error parsing validation.xml synchronously
java.lang.IllegalArgumentException: URI is not hierarchical
at java.io.File.<init>(File.java:418)
at org.eclipse.persistence.jaxb.ValidationXMLReader.parseValidationXML(ValidationXMLReader.java:147)
at org.eclipse.persistence.jaxb.ValidationXMLReader.call(ValidationXMLReader.java:67)
at org.eclipse.persistence.jaxb.BeanValidationHelper.parseValidationXml(BeanValidationHelper.java:178)
at org.eclipse.persistence.jaxb.BeanValidationHelper.getConstraintsMap(BeanValidationHelper.java:143)
at org.eclipse.persistence.jaxb.BeanValidationHelper.isConstrained(BeanValidationHelper.java:120)
at org.eclipse.persistence.jaxb.JAXBBeanValidator.isConstrainedObject(JAXBBeanValidator.java:255)
at org.eclipse.persistence.jaxb.JAXBBeanValidator.shouldValidate(JAXBBeanValidator.java:206)
at org.eclipse.persistence.jaxb.JAXBUnmarshaller.validateAndBuildJAXBElement(JAXBUnmarshaller.java:235)
at org.eclipse.persistence.jaxb.JAXBUnmarshaller.unmarshal(JAXBUnmarshaller.java:640)
at org.hibernate.validator.internal.util.privilegedactions.Unmarshal.run(Unmarshal.java:38)
at org.hibernate.validator.internal.util.privilegedactions.Unmarshal.run(Unmarshal.java:20)
at org.hibernate.validator.internal.xml.ValidationXmlParser.run(ValidationXmlParser.java:201)
at org.hibernate.validator.internal.xml.ValidationXmlParser.unmarshal(ValidationXmlParser.java:125)
at org.hibernate.validator.internal.xml.ValidationXmlParser.parseValidationXml(ValidationXmlParser.java:81)
at org.hibernate.validator.internal.engine.ConfigurationImpl.getBootstrapConfiguration(ConfigurationImpl.java:353)
at org.hibernate.validator.internal.cdi.ValidationExtension.<init>(ValidationExtension.java:120)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
at org.jboss.weld.util.ServiceLoader.prepareInstance(ServiceLoader.java:240)
at org.jboss.weld.util.ServiceLoader.loadService(ServiceLoader.java:214)
at org.jboss.weld.util.ServiceLoader.loadServiceFile(ServiceLoader.java:182)
at org.jboss.weld.util.ServiceLoader.reload(ServiceLoader.java:162)
at org.jboss.weld.util.ServiceLoader.iterator(ServiceLoader.java:297)
at com.oracle.injection.provider.weld.BasicDeployment.getExtensions(BasicDeployment.java:106)
at com.oracle.injection.provider.weld.WeldInjectionContainer.initialize(WeldInjectionContainer.java:92)
at com.oracle.injection.integration.CDIAppDeploymentExtension.initCdi(CDIAppDeploymentExtension.java:64)
at com.oracle.injection.integration.CDIAppDeploymentExtension.activate(CDIAppDeploymentExtension.java:41)
at weblogic.application.internal.flow.AppDeploymentExtensionFlow.activate(AppDeploymentExtensionFlow.java:39)
at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:753)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:45)
at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:263)
at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:67)
at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:165)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:80)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:601)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:171)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:121)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:343)
at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:895)
at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1422)
at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:454)
at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:181)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:195)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:13)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:68)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:643)
at weblogic.invocation.ComponentInvocationContextManager._runAs(ComponentInvocationContextManager.java:348)
at weblogic.invocation.ComponentInvocationContextManager.runAs(ComponentInvocationContextManager.java:333)
at weblogic.work.LivePartitionUtility.doRunWorkUnderContext(LivePartitionUtility.java:54)
at weblogic.work.PartitionUtility.runWorkUnderContext(PartitionUtility.java:41)
at weblogic.work.SelfTuningWorkManagerImpl.runWorkUnderContext(SelfTuningWorkManagerImpl.java:617)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:397)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:346)My validation.xml file is:
<?xml version="1.0" encoding="UTF-8" ?>
<validation-config
xmlns="http://jboss.org/xml/ns/javax/validation/configuration"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="
http://jboss.org/xml/ns/javax/validation/configuration
validation-configuration-1.1.xsd"
version="1.1">
</validation-config>How to deploy ear with validation.xml on weblogic 12.2.1 file?
My project structure:
EAR file
EJB.jar
META-INF
validation. XML
I changed validation.xml file ear-file/META-INF location and my project deployed.
I am looking for this reason for question in java, I find good answers the getResource method to find the resource in the file system and if the file exists in another jar file, you need by using the getResourceAsStearm method. According to this, with changed location of the file this problem solved.
But this approach is not good for a condition that each module has custom validation bean configuration.
Thank you.
Maybe you are looking for
-
Satellite Pro A200-1JV memory expansion
Hello The specification for my Satellite Pro A200 1JV said:- standard: 512 MBmaximum scalability: 2 048 MBtechnology: DDR2 RAM (667 MHz) 2 x memory slots (1 to configure) I inserted two 1024 memory cards but when the machine starts it only sees one o
-
Upgrade RAM or OSX first?
I want to speed up my end 2011 MacBook Pro by adding RAM (4 GB to 8 GB) and update of Lion to El Capitan. No matter what I do first?
-
the fax is allowed in most of the time, but when send you by fax to the company uses PC to receive fax Fax will be failed. I know because i use the hp4645 to fax to society, it will be impossible, but when I use another fax machine will be ok. I wond
-
I tried everything and nothing work please help me this is not the wifi area, I cause I can go on the internet with my xbox
-
I can't connect my epson stylus 420 x for my laptop with windows 7
I'm trying to connect my printer to my new laptop. It is said that there is no driver. When I try to download an it asked I have link to the printer via a usb cable. I'm not one of these. One of the reasons why I went for a wireless printer!