ERROR WHEN I HIT WEBLOGIC CONSOLE
Hi all,
i have installed OIM PS1 did the following steps
1) Install Database
2) Run RCU and create Schema for required products
3) Install Weblogic Server 10.3.6
4) Install SOA Server and Install SOA patches
5) Install IDM Server
6) Create Domains
7) Configure Security Store Python Script
8) Start both Admin server and SOA server (in 11g R2 SOA server is not required )
9) Configure OIM and Design Console ( if you face any error regarding SOA error refer following post)
10) Start OIM and OAM managed servers
JDK VERSION IS 6.30
After i start weblogic it shows "server started in running mode" but when i hit the url <hostname>:7001/console
it shows "Deployng...." and just within seconds i get
Error 503--Service Unavailable
From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
10.5.4 503 Service Unavailable
The server is currently unable to handle the request due to a temporary overloading or maintenance of the server. The implication is that this is a temporary condition which will be alleviated after some delay. If known, the length of the delay may be indicated in a Retry-After header. If no Retry-After is given, the client SHOULD handle the response as it would for a 500 response.
Note: The existence of the 503 status code does not imply that a server must use it when becoming overloaded. Some servers may wish to simply refuse the connection.
I have found that when i hit the url the following logs are generated in backend
<Jul 16, 2013 9:05:18 PM EDT> <Error> <J2EE> <BEA-160001> <Error deploying Internal Application: weblogic.application.ModuleException: Failed to load webapp: 'consolehelp'
weblogic.application.utils.StateChangeException: weblogic.application.ModuleException: Failed to load webapp: 'consolehelp'
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:67)
at weblogic.application.internal.BackgroundDeploymentService$BackgroundDeployAction.run(BackgroundDeploymentService.java:273)
at weblogic.application.internal.BackgroundDeploymentService$OnDemandBackgroundDeployAction.run(BackgroundDeploymentService.java:336)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:545)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
Truncated. see log file for complete stacktrace
Caused By: weblogic.application.ModuleException: Failed to load webapp: 'consolehelp'
at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:395)
at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:517)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
Truncated. see log file for complete stacktrace
Caused By: java.lang.NullPointerException
at weblogic.servlet.internal.ConsoleExtensionManager.applyExtensionConfigFile(ConsoleExtensionManager.java:231)
at weblogic.servlet.internal.ConsoleExtensionManager.findExtensions(ConsoleExtensionManager.java:88)
at weblogic.servlet.internal.War.processExtensions(War.java:770)
at weblogic.servlet.internal.War.init(War.java:252)
at weblogic.servlet.internal.War.<init>(War.java:217)
Truncated. see log file for complete stacktrace
>
<Jul 16, 2013 9:05:20 PM EDT> <Error> <HTTP> <BEA-101093> <Problem occurred while dispatching servlet request.
weblogic.management.DeploymentException:
at weblogic.application.internal.BackgroundDeploymentService.OnDemandURIAccessed(BackgroundDeploymentService.java:166)
at weblogic.servlet.internal.OnDemandManager.loadOnDemandURI(OnDemandManager.java:106)
at weblogic.servlet.internal.MuxableSocketHTTP.dispatch(MuxableSocketHTTP.java:381)
at weblogic.socket.SocketMuxer.readReadySocketOnce(SocketMuxer.java:967)
at weblogic.socket.SocketMuxer.readReadySocket(SocketMuxer.java:899)
Truncated. see log file for complete stacktrace
Caused By: java.lang.NullPointerException
at weblogic.servlet.internal.ConsoleExtensionManager.applyExtensionConfigFile(ConsoleExtensionManager.java:231)
at weblogic.servlet.internal.ConsoleExtensionManager.findExtensions(ConsoleExtensionManager.java:88)
at weblogic.servlet.internal.War.processExtensions(War.java:770)
at weblogic.servlet.internal.War.init(War.java:252)
at weblogic.servlet.internal.War.<init>(War.java:217)
Truncated. see log file for complete stacktrace
Please help me.
Thanks.
whats the value of ulimit in your env?
Similar Messages
-
Shared Services API - Error when getting datasource weblogic/pool/PooledConnectionDataSource
Hello,
I have a program that connects to shared services using Java APIs. The code is usually working fine on other environment.
This one is on EPM version 11.1.2.1 and I get an error after this procedure --> system = CSSSystem.getInstance(context, "");
Jan 27, 2015 9:36:44 AM com.hyperion.hit.registry.RegistryUtils buildConnFromDriverManager
WARNING: Check whether Oracle Home and Instance environment variables are defined appropriately. RootCause : weblogic.jdbc.sqlserver
.SQLServerDriver
Error when getting datasource weblogic/pool/PooledConnectionDataSource
Jan 27, 2015 9:36:44 AM com.hyperion.hit.registry.RegistryUtils createNewConnection
SEVERE: Failed to create connection from data source. RootCause:weblogic/pool/PooledConnectionDataSource.
Jan 27, 2015 9:36:44 AM com.hyperion.hit.registry.exceptions.RegistryException <init>
INFO: Registry Exception Occured - Failed to create new database connection using datasource.RootCause:[weblogic/pool/PooledConnecti
onDataSource]
Jan 27, 2015 9:36:44 AM com.hyperion.hit.registry.Registry lookupComponentsWithException
INFO: EPMREG-11045
Jan 27, 2015 9:36:44 AM com.hyperion.hit.registry.exceptions.RegistryException <init>
INFO: Registry Exception Occured - Failed to create new database connection using datasource.RootCause:[weblogic/pool/PooledConnecti
onDataSource]
Jan 27, 2015 9:36:44 AM com.hyperion.hit.registry.Registry lookupWithException
INFO: EPMREG-11038
Jan 27, 2015 9:36:44 AM com.hyperion.hit.registry.exceptions.RegistryException <init>
INFO: Registry Exception Occured - com.hyperion.hit.registry.exceptions.RegistryException: Failed to create new database connection
using datasource.RootCause:[weblogic/pool/PooledConnectionDataSource]
Jan 27, 2015 9:36:44 AM com.hyperion.hit.registry.Registry lookup
INFO: EPMREG-11038
Jan 27, 2015 9:36:44 AM com.hyperion.css.registry.RegistryManager RegistryManager
SEVERE: Failed to initialize EPM Shared Services security instance. Component SYSTEM9/FOUNDATION_SERVICES_PRODUCT/SHARED_SERVICES_PR
ODUCT is null in EPM System Registry. Verify EPM System Registry configuration.
java.lang.NullPointerException
at start.initialize(start.java:84)
at start.Sample(start.java:59)
at cc.main(cc.java:10)
I guess it is something with the SQLServer driver.Do you have any ideas?
My ORACLE_HOME and ORACLE_INSTANCE are set correctly.
Thanks in advance,
Regards,
NicolasHello,
I finally got it working!
I added the weblogic libraries located under EPM/Middleware/wlserver_10.3/server/lib, and now it works fine.
It was a pain to find it out, because the error message did not specify that it was a missing library..
Anyway, if it helps, here is the list of external libraries I am using:
"wlssapi.jar"
"wlssapi-internal.jar"
"wlss-datatier.jar"
"wlss-descriptor-binding.jar"
"wlssdiameter.jar"
"wlssechosvr.jar"
"wlss-mbeaninfo.jar"
"WLSSSecurityProviders.jar"
"wlthint3client.jar"
"wlw-langx.jar"
"wlw-langx-ja.jar"
"wlw-langx-ko.jar"
"wlw-langx-zh_CN.jar"
"wlw-langx-zh_TW.jar"
"wlw-wsee-soapfault.jar"
"xmlparserv2_sans_jaxp_services.jar"
"xmlrpc-2.0.1.jar"
"audit-client.jar"
"castor-1.0.5.jar"
"com.bea.core.apache.commons.pool_1.3.0.jar"
"commons-lang-2.1.jar"
"css.jar"
"dms.jar"
"interop-sdk.jar"
"ojdl.jar"
"quartz.jar"
"regexp.jar"
"registry-api.jar"
"scheduler_ces.jar"
"sqljdbc.jar"
"wf_ces_utils.jar"
"wf_eng_agent.jar"
"wf_eng_api.jar"
"wf_eng_server.jar"
"wlcipher.jar"
"wlclient.jar"
"wlcommons-logging.jar"
"wlconnector.jar"
"wldb2.jar"
"wldeploy.jar"
"wlinformix.jar"
"wl-j2ee-client.jar"
"wljarbuilder.jar"
"wljmsclient.jar"
"wljmxclient.jar"
"wllog4j.jar"
"wlnmclient.jar"
"wlpool.jar"
"wlsafclient.jar"
"wls-api.jar"
"wlss.jar"
"wlss_i18n.jar"
Thank you all for your help.
Regards,
Nicolas -
Socket/JVM_Bind Errors when starting up Weblogic
I am trying to install Weblogic on a Development box on a fresh, additional Oracle Home. When running a clean Weblogic install and configuring a standard starter domain, I am unable to hit the console from my browser and I have no idea why. I configured the domain to use 7002 instead of the standard 7001 port so it would not conflict with the original Oracle Home's Weblogic install (although we will never have them both running simaltaneously - I just did it to be safe). I've tried using http://<IP ADDRESS>:7002/console, http://localhost:7002/console, and http://<DOMAIN NAME>:7002/console with no luck. It does not hang at all and just brings me to a "cannot display the page" message. I'm seeing JVM_Bind errors (server address already in use), although I know it is not in use. Here is the output I get when I start up Weblogic:
Microsoft Windows [Version 6.0.6002]
Copyright (c) 2006 Microsoft Corporation. All rights reserved.
C:\Users\V-Tsmith>G:\Oracle\Middleware\user_projects\domains\base_domain\bin
'G:\Oracle\Middleware\user_projects\domains\base_domain\bin' is not recognized a
s an internal or external command,
operable program or batch file.
C:\Users\V-Tsmith>G:\Oracle\Middleware\user_projects\domains\base_domain\bin\sta
rtWebLogic.cmd
JAVA Memory arguments: -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=
48m -XX:MaxPermSize=128m
WLS Start Mode=Development
CLASSPATH=G:\Oracle\Middleware\patch_wls1036\profiles\default\sys_manifest_class
path\weblogic_patch.jar;G:\Oracle\Middleware\patch_ocp371\profiles\default\sys_m
anifest_classpath\weblogic_patch.jar;G:\Oracle\Middleware\jdk160_29\lib\tools.ja
r;G:\Oracle\Middleware\wlserver_10.3\server\lib\weblogic_sp.jar;G:\Oracle\Middle
ware\wlserver_10.3\server\lib\weblogic.jar;G:\Oracle\Middleware\modules\features
\weblogic.server.modules_10.3.6.0.jar;G:\Oracle\Middleware\wlserver_10.3\server\
lib\webservices.jar;G:\Oracle\Middleware\modules\org.apache.ant_1.7.1/lib/ant-al
l.jar;G:\Oracle\Middleware\modules\net.sf.antcontrib_1.1.0.0_1-0b2/lib/ant-contr
ib.jar;G:\Oracle\Middleware\wlserver_10.3\common\derby\lib\derbyclient.jar;G:\Or
acle\Middleware\wlserver_10.3\server\lib\xqrl.jar
PATH=G:\Oracle\Middleware\patch_wls1036\profiles\default\native;G:\Oracle\Middle
ware\patch_ocp371\profiles\default\native;G:\Oracle\Middleware\wlserver_10.3\ser
ver\native\win\32;G:\Oracle\Middleware\wlserver_10.3\server\bin;G:\Oracle\Middle
ware\modules\org.apache.ant_1.7.1\bin;G:\Oracle\Middleware\jdk160_29\jre\bin;G:\
Oracle\Middleware\jdk160_29\bin;C:\Program Files\CA\SC\CAWIN\;C:\xPression\Drive
rs;E:\Program Files\Legato\nsr\bin;C:\Program Files\HP\NCU;C:\Windows\system32;C
:\Windows;C:\Windows\System32\Wbem;C:\PROGRA~1\CA\SC\CAM\bin;C:\Program Files\CA
\SC\Csam\SockAdapter\bin;C:\Program Files\CA\DSM\bin;C:\Program Files\CA\SC\CBB\
;G:\Oracle\Middleware\wlserver_10.3\server\native\win\32\oci920_8
* To start WebLogic Server, use a username and *
* password assigned to an admin-level user. For *
* server administration, use the WebLogic Server *
* console at http:\\hostname:port\console *
starting weblogic with Java version:
java version "1.6.0_29"
Java(TM) SE Runtime Environment (build 1.6.0_29-b11)
Java HotSpot(TM) Client VM (build 20.4-b02, mixed mode)
Starting WLS with line:
G:\Oracle\Middleware\jdk160_29\bin\java -client -Xms256m -Xmx512m -XX:CompileT
hreshold=8000 -XX:PermSize=48m -XX:MaxPermSize=128m -Dweblogic.Name=AdminServer
-Djava.security.policy=G:\Oracle\Middleware\wlserver_10.3\server\lib\weblogic.p
olicy -Xverify:none -da -Dplatform.home=G:\Oracle\Middleware\wlserver_10.3 -Dw
ls.home=G:\Oracle\Middleware\wlserver_10.3\server -Dweblogic.home=G:\Oracle\Midd
leware\wlserver_10.3\server -Dweblogic.management.discover=true -Dwlw.iterati
veDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=G:\Oracl
e\Middleware\patch_wls1036\profiles\default\sysext_manifest_classpath;G:\Oracle\
Middleware\patch_ocp371\profiles\default\sysext_manifest_classpath weblogic.Ser
ver
<Oct 17, 2012 11:07:34 AM EDT> <Info> <Security> <BEA-090905> <Disabling CryptoJ
JCE Provider self-integrity check for better startup performance. To enable thi
s check, specify -Dweblogic.security.allowCryptoJDefaultJCEVerification=true>
<Oct 17, 2012 11:07:34 AM EDT> <Info> <Security> <BEA-090906> <Changing the defa
ult Random Number Generator in RSA CryptoJ from ECDRBG to FIPS186PRNG. To disabl
e this change, specify -Dweblogic.security.allowCryptoJDefaultPRNG=true>
<Oct 17, 2012 11:07:35 AM EDT> <Info> <WebLogicServer> <BEA-000377> <Starting We
bLogic Server with Java HotSpot(TM) Client VM Version 20.4-b02 from Sun Microsys
tems Inc.>
<Oct 17, 2012 11:07:35 AM EDT> <Info> <Management> <BEA-141107> <Version: WebLog
ic Server 10.3.6.0 Tue Nov 15 08:52:36 PST 2011 1441050 >
<Oct 17, 2012 11:07:36 AM EDT> <Notice> <WebLogicServer> <BEA-000365> <Server st
ate changed to STARTING>
<Oct 17, 2012 11:07:36 AM EDT> <Info> <WorkManager> <BEA-002900> <Initializing s
elf-tuning thread pool>
<Oct 17, 2012 11:07:36 AM EDT> <Notice> <LoggingService> <BEA-320400> <The log f
ile G:\Oracle\Middleware\user_projects\domains\base_domain\servers\AdminServer\l
ogs\AdminServer.log will be rotated. Reopen the log file if tailing has stopped.
This can happen on some platforms like Windows.>
<Oct 17, 2012 11:07:36 AM EDT> <Notice> <LoggingService> <BEA-320401> <The log f
ile has been rotated to G:\Oracle\Middleware\user_projects\domains\base_domain\s
ervers\AdminServer\logs\AdminServer.log00002. Log messages will continue to be l
ogged in G:\Oracle\Middleware\user_projects\domains\base_domain\servers\AdminSer
ver\logs\AdminServer.log.>
<Oct 17, 2012 11:07:36 AM EDT> <Notice> <Log Management> <BEA-170019> <The serve
r log file G:\Oracle\Middleware\user_projects\domains\base_domain\servers\AdminS
erver\logs\AdminServer.log is opened. All server side log events will be written
to this file.>
<Oct 17, 2012 11:07:37 AM EDT> <Notice> <Security> <BEA-090082> <Security initia
lizing using security realm myrealm.>
<Oct 17, 2012 11:07:38 AM EDT> <Notice> <WebLogicServer> <BEA-000365> <Server st
ate changed to STANDBY>
<Oct 17, 2012 11:07:38 AM EDT> <Notice> <WebLogicServer> <BEA-000365> <Server st
ate changed to STARTING>
<Oct 17, 2012 11:07:38 AM EDT> <Notice> <LoggingService> <BEA-320400> <The log f
ile G:\Oracle\Middleware\user_projects\domains\base_domain\servers\AdminServer\l
ogs\base_domain.log will be rotated. Reopen the log file if tailing has stopped.
This can happen on some platforms like Windows.>
<Oct 17, 2012 11:07:38 AM EDT> <Notice> <LoggingService> <BEA-320401> <The log f
ile has been rotated to G:\Oracle\Middleware\user_projects\domains\base_domain\s
ervers\AdminServer\logs\base_domain.log00002. Log messages will continue to be l
ogged in G:\Oracle\Middleware\user_projects\domains\base_domain\servers\AdminSer
ver\logs\base_domain.log.>
<Oct 17, 2012 11:07:38 AM EDT> <Notice> <Log Management> <BEA-170027> <The Serve
r has established connection with the Domain level Diagnostic Service successful
ly.>
<Oct 17, 2012 11:07:38 AM EDT> <Notice> <WebLogicServer> <BEA-000365> <Server st
ate changed to ADMIN>
<Oct 17, 2012 11:07:38 AM EDT> <Notice> <WebLogicServer> <BEA-000365> <Server st
ate changed to RESUMING>
<Oct 17, 2012 11:07:38 AM EDT> <Error> <Server> <BEA-002606> <Unable to create a
server socket for listening on channel "Default". The address 10.32.125.34 migh
t be incorrect or another process is using port 7002: java.net.BindException: Ad
dress already in use: JVM_Bind.>
<Oct 17, 2012 11:07:38 AM EDT> <Error> <Server> <BEA-002606> <Unable to create a
server socket for listening on channel "Default[8]". The address 127.0.0.1 migh
t be incorrect or another process is using port 7002: java.net.BindException: Ad
dress already in use: JVM_Bind.>
<Oct 17, 2012 11:07:38 AM EDT> <Error> <Server> <BEA-002606> <Unable to create a
server socket for listening on channel "Default[9]". The address 0:0:0:0:0:0:0:
1 might be incorrect or another process is using port 7002: java.net.BindExcepti
on: Address already in use: JVM_Bind.>
<Oct 17, 2012 11:07:38 AM EDT> <Notice> <Server> <BEA-002613> <Channel "Default[
1]" is now listening on fe80:0:0:0:49ad:74ba:d80b:c53b:7002 for protocols iiop,
t3, ldap, snmp, http.>
<Oct 17, 2012 11:07:38 AM EDT> <Warning> <Server> <BEA-002611> <Hostname "NYOSEH
STSTPR01.private.private.com", maps to multiple IP addresses: 10.32.125.34,
fe80:0:0:0:51cf:60de:d2c5:c4dc%14>
<Oct 17, 2012 11:07:38 AM EDT> <Notice> <Server> <BEA-002613> <Channel "Default[
2]" is now listening on fe80:0:0:0:8d6:9a3f:dfac:6dcf:7002 for protocols iiop, t
3, ldap, snmp, http.>
<Oct 17, 2012 11:07:38 AM EDT> <Notice> <Server> <BEA-002613> <Channel "Default[
7]" is now listening on fe80:0:0:0:754d:df3f:468f:a1b6:7002 for protocols iiop,
t3, ldap, snmp, http.>
<Oct 17, 2012 11:07:38 AM EDT> <Notice> <Server> <BEA-002613> <Channel "Default[
6]" is now listening on fe80:0:0:0:c914:19c3:967c:20ba:7002 for protocols iiop,
t3, ldap, snmp, http.>
<Oct 17, 2012 11:07:38 AM EDT> <Notice> <Server> <BEA-002613> <Channel "Default[
3]" is now listening on fe80:0:0:0:9c14:2ea0:9c82:1f28:7002 for protocols iiop,
t3, ldap, snmp, http.>
<Oct 17, 2012 11:07:38 AM EDT> <Notice> <Server> <BEA-002613> <Channel "Default[
5]" is now listening on fe80:0:0:0:51cf:60de:d2c5:c4dc:7002 for protocols iiop,
t3, ldap, snmp, http.>
<Oct 17, 2012 11:07:38 AM EDT> <Notice> <Server> <BEA-002613> <Channel "Default[
4]" is now listening on fe80:0:0:0:0:5efe:a20:7d22:7002 for protocols iiop, t3,
ldap, snmp, http.>
<Oct 17, 2012 11:07:38 AM EDT> <Notice> <WebLogicServer> <BEA-000331> <Started W
ebLogic Admin Server "AdminServer" for domain "base_domain" running in Developme
nt Mode>
<Oct 17, 2012 11:07:38 AM EDT> <Notice> <WebLogicServer> <BEA-000365> <Server st
ate changed to RUNNING>
<Oct 17, 2012 11:07:38 AM EDT> <Notice> <WebLogicServer> <BEA-000360> <Server st
arted in RUNNING mode>
When I first started it up after the install, I was having Socket Errors spit out after the "RUNNING" message (which for some reason isn't happening now):
<Oct 17, 2012 11:03:36 AM EDT> <Critical> <Server> <BEA-002616> <Failed to liste
n on channel "Default[4]" on fe80:0:0:0:0:5efe:a20:7d22:7002, failure count: 1,
failing for 0 seconds, java.net.SocketException: socket closed>
<Oct 17, 2012 11:03:37 AM EDT> <Critical> <Server> <BEA-002616> <Failed to liste
n on channel "Default[4]" on fe80:0:0:0:0:5efe:a20:7d22:7002, failure count: 2,
failing for 1 seconds, java.net.SocketException: socket closed>
<Oct 17, 2012 11:03:39 AM EDT> <Critical> <Server> <BEA-002616> <Failed to liste
n on channel "Default[4]" on fe80:0:0:0:0:5efe:a20:7d22:7002, failure count: 3,
failing for 3 seconds, java.net.SocketException: socket closed>
<Oct 17, 2012 11:03:42 AM EDT> <Critical> <Server> <BEA-002616> <Failed to liste
n on channel "Default[4]" on fe80:0:0:0:0:5efe:a20:7d22:7002, failure count: 4,
failing for 6 seconds, java.net.SocketException: socket closed>
<Oct 17, 2012 11:03:46 AM EDT> <Critical> <Server> <BEA-002616> <Failed to liste
n on channel "Default[4]" on fe80:0:0:0:0:5efe:a20:7d22:7002, failure count: 5,
failing for 10 seconds, java.net.SocketException: socket closed>
<Oct 17, 2012 11:03:51 AM EDT> <Critical> <Server> <BEA-002616> <Failed to liste
n on channel "Default[4]" on fe80:0:0:0:0:5efe:a20:7d22:7002, failure count: 6,
failing for 15 seconds, java.net.SocketException: socket closed>
<Oct 17, 2012 11:03:57 AM EDT> <Critical> <Server> <BEA-002616> <Failed to liste
n on channel "Default[4]" on fe80:0:0:0:0:5efe:a20:7d22:7002, failure count: 7,
failing for 21 seconds, java.net.SocketException: socket closed>
<Oct 17, 2012 11:04:04 AM EDT> <Critical> <Server> <BEA-002616> <Failed to liste
n on channel "Default[4]" on fe80:0:0:0:0:5efe:a20:7d22:7002, failure count: 8,
failing for 28 seconds, java.net.SocketException: socket closed>
<Oct 17, 2012 11:04:12 AM EDT> <Critical> <Server> <BEA-002616> <Failed to liste
n on channel "Default[4]" on fe80:0:0:0:0:5efe:a20:7d22:7002, failure count: 9,
failing for 36 seconds, java.net.SocketException: socket closed>
<Oct 17, 2012 11:04:21 AM EDT> <Critical> <Server> <BEA-002616> <Failed to liste
n on channel "Default[4]" on fe80:0:0:0:0:5efe:a20:7d22:7002, failure count: 10,
failing for 45 seconds, java.net.SocketException: socket closed>
Edited by: 893410 on Oct 17, 2012 8:15 AMThis problem seems to happening due to reverse DNS lookup when the listen address for the server is not specified.Could you please open the config.xml for your domain located at DOMAIN_HOME/config and check whether you have <listen-address/> as empty under the AdminServer if yes take the beackup of the config .xml specify the listen-address as the hostname of the machine you are running i.e. edit the config.xml
from
<listen-address/>
To
<listen-address>hostname.domain.com</listen-address>
and the re-start the server and check whether you are able to access the cosole.
Edited by: V Kumar on Oct 17, 2012 7:49 PM -
Struts2 WAR giving error when running on WebLogic 10.3.5
Hi All,
I have created a Struts2 web application in Eclipse in Windows. I tested it in Eclipse with Tomcat, it ran fine.
THen I exported it as a WAR file.
THen I started WebLogic 10.3.5 server from command prompt and deployed this WAR file through WebLogic console. Deployment was successful.
When, I try to run this application from browser, I get error on WebLogic console as well as on the browser.
Please find below both the errors:
WebLogic Console Error in Command Prompt window:
<Sep 12, 2012 8:02:00 PM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING>
<Sep 12, 2012 8:02:00 PM IST> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>
<Sep 12, 2012 8:03:33 PM IST> <Warning> <Socket> <BEA-000402> <There are: 5 active sockets, but the maximum number of socket reader threads allowed by the configuration is: 4. You may want to alter your configuration.>
<Sep 12, 2012 8:04:19 PM IST> <Error> <HTTP> <BEA-101165> <Could not load user defined filter in web.xml: org.apache.struts2.dispatcher.FilterDispatcher.
Unable to load configuration. - bean - zip:C:/Oracle/Middleware/user_projects/domains/base_domain/servers/AdminServer/tmp/_WL_user/SAP_Connection_Test_Struts/mvzwfg/war/WEB-INF/lib/struts2-core-2.3.1.2.jar!/struts-default.xml:29:72
at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:449)
at org.apache.struts2.dispatcher.FilterDispatcher.init(FilterDispatcher.java:195)
at weblogic.servlet.internal.FilterManager$FilterInitAction.run(FilterManager.java:332)
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
Caused By: Unable to load configuration. - bean - zip:C:/Oracle/Middleware/user_projects/domains/base_domain/servers/AdminServer/tmp/_WL_user/SAP_Connection_Test_Struts/mvzwfg/war/WEB-INF/lib/struts2-core-2.3.1.2.jar!/struts-default.xml:29:72
at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:69)
at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:390)
at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:436)
at org.apache.struts2.dispatcher.FilterDispatcher.init(FilterDispatcher.java:195)
at weblogic.servlet.internal.FilterManager$FilterInitAction.run(FilterManager.java:332)
Truncated. see log file for complete stacktrace
Caused By: Unable to load bean: type: class:com.opensymphony.xwork2.ObjectFactory - bean - zip:C:/Oracle/Middleware/user_projects/domains/base_domain/servers/AdminServer/tmp/_WL_user/SAP_Connection_Test_Struts/mvzwfg/war/WEB-INF/lib/struts2-core-2.3.1.2.jar!/struts-default.xml:29:72
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(XmlConfigurationProvider.java:235)
at org.apache.struts2.config.StrutsXmlConfigurationProvider.register(StrutsXmlConfigurationProvider.java:102)
at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:180)
at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:66)
at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:390)
Truncated. see log file for complete stacktrace
Caused By: Bean type class com.opensymphony.xwork2.ObjectFactory with the name xwork has already been loaded by bean - jar:file:/C:/Oracle/Middleware/user_projects/domains/base_domain/lib/struts2-core-2.3.1.2.jar!/struts-default.xml:29:72 - bean - zip:C:/Oracle/Middleware/user_projects/domains/base_domain/servers/AdminServer/tmp/_WL_user/SAP_Connection_Test_Struts/mvzwfg/war/WEB-INF/lib/struts2-core-2.3.1.2.jar!/struts-default.xml:29:72
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(XmlConfigurationProvider.java:219)
at org.apache.struts2.config.StrutsXmlConfigurationProvider.register(StrutsXmlConfigurationProvider.java:102)
at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:180)
at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:66)
at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:390)
Truncated. see log file for complete stacktrace
>
<Sep 12, 2012 8:04:24 PM IST> <Warning> <netuix> <BEA-423420> <Redirect is executed in begin or refresh action. Redirect url is /console/console.portal?_nfpb=true&_pageLabel=WebAppApplicationOverviewPage&WebAppApplicationOverviewPortlethandle=com.bea.console.handles.AppDeploymentHandle%28%22com.bea%3AName%3DSAP_Connection_Test_Struts%2CType%3DAppDeployment%22%29.>
<Sep 12, 2012 8:04:39 PM IST> <Error> <HTTP> <BEA-101020> <[ServletContext@17395825[app:SAP_Connection_Test_Struts module:SAP_Connection_Test_Struts.war path:/SAP_Connection_Test_Struts spec-version:2.5]] Servlet failed with Exception
The Struts dispatcher cannot be found. This is usually caused by using Struts tags without the associated filter. Struts tags are only usable when the request has passed through its servlet filter, which initializes the Struts dispatcher needed for this tag. - [unknown location]
at org.apache.struts2.views.jsp.TagUtils.getStack(TagUtils.java:60)
at org.apache.struts2.views.jsp.StrutsBodyTagSupport.getStack(StrutsBodyTagSupport.java:44)
at org.apache.struts2.views.jsp.ComponentTagSupport.doStartTag(ComponentTagSupport.java:48)
at jsp_servlet.__login._jsp__tag0(__login.java:117)
at jsp_servlet.__login._jspService(__login.java:86)
Truncated. see log file for complete stacktrace
>
Error in Browser Window:
Error 500--Internal Server Error
The Struts dispatcher cannot be found. This is usually caused by using Struts tags without the associated filter. Struts tags are only usable when the request has passed through its servlet filter, which initializes the Struts dispatcher needed for this tag. - [unknown location]
at org.apache.struts2.views.jsp.TagUtils.getStack(TagUtils.java:60)
at org.apache.struts2.views.jsp.StrutsBodyTagSupport.getStack(StrutsBodyTagSupport.java:44)
at org.apache.struts2.views.jsp.ComponentTagSupport.doStartTag(ComponentTagSupport.java:48)
at jsp_servlet.__login._jsp__tag0(__login.java:117)
at jsp_servlet.__login._jspService(__login.java:86)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:416)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:326)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:183)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3714)
at 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:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
I am using following Struts2 jar files:
commons-fileupload-1.2.1.jar
commons-io-1.3.2.jar
commons-lang-2.4.jar
commons-logging-1.0.4.jar
commons-logging-api-1.1.jar
freemarker-2.3.18.jar
javassist-3.0.jar
ognl-3.0.4.jar
struts2-core-2.3.1.2.jar
xwork-core-2.3.1.2.jar
Any help would be really appreciated.
Thanks
MohitAdding to the question above, following is my struts.xml:
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE struts PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"
"http://struts.apache.org/dtds/struts-2.0.dtd">
<struts>
<constant name="struts.enable.DynamicMethodInvocation"
value="false" />
<constant name="struts.devMode" value="false" />
<constant name="struts.custom.i18n.resources"
value="ApplicationResources" />
<package name="default" extends="struts-default" namespace="/">
<action name="login"
class="struts2.action.LoginAction">
<result name="success">Welcome.jsp</result>
<result name="error">Login.jsp</result>
</action>
</package>
</struts>
--------------------------------------------------------------------------------------- -
Error when accessing Oracle BPEL console
The following error message shows up when access oracle BPEL console. Any advice to resolve this error? Thanks a lot in advance!
***************************************************************************** Oracle BPEL Server version 10.1.3.1.0 Build: 0 Build time: Mon Oct 09 08:44:49 PDT 2006 Build type: release Source tag: PCBPEL_10.1.3.1.0_GENERIC_061009.0802
Exception Message:
[java.lang.NoClassDefFoundError] org/apache/log4j/Category
Exception Trace:
java.lang.NoClassDefFoundError: org/apache/log4j/Category at java.lang.Class.getDeclaredConstructors0(Native Method) at java.lang.Class.privateGetDeclaredConstructors(Class.java:2328) at java.lang.Class.getConstructor0(Class.java:2640) at java.lang.Class.getConstructor(Class.java:1629) at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:410) at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:529) at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235) at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:370) at org.collaxa.thirdparty.apache.axis.components.logger.LogFactory.getLog(LogFactory.java:37) at org.collaxa.thirdparty.apache.axis.encoding.TypeMappingImpl.(TypeMappingImpl.java:68) at com.collaxa.cube.engine.deployment.TypeSoapRegistry.registerHeaderTypes(TypeSoapRegistry.java:251) at com.collaxa.cube.engine.deployment.TypeSoapRegistry.load(TypeSoapRegistry.java:79) at com.collaxa.cube.engine.core.TypeRegistry.load(TypeRegistry.java:126) at com.collaxa.cube.engine.CubeEngine.__load(CubeEngine.java:613) at com.collaxa.cube.engine.CubeEngine.load(CubeEngine.java:474) at com.collaxa.cube.admin.ServerManager.loadDomain(ServerManager.java:1111) at com.collaxa.cube.admin.ServerManager.loadAllDomains(ServerManager.java:924) at com.collaxa.cube.admin.ServerManager.init(ServerManager.java:111) at com.collaxa.cube.ejb.impl.ServerBean.init(ServerBean.java:254) 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:585) at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35) at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119) at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52) at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119) at com.evermind.server.ejb.interceptor.system.JAASInterceptor$1.run(JAASInterceptor.java:31) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAs(Subject.java:396) at com.evermind.server.ThreadState.runAs(ThreadState.java:622) at com.evermind.server.ejb.interceptor.system.JAASInterceptor.invoke(JAASInterceptor.java:34) at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119) at com.evermind.server.ejb.interceptor.system.TxNotSupportedInterceptor.invoke(TxNotSupportedInterceptor.java:43) at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119) at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52) at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119) at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55) at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87) at ServerBean_RemoteProxy_4bin6i8.init(Unknown Source) at com.collaxa.cube.admin.CXLoaderServlet.init(CXLoaderServlet.java:60) at javax.servlet.GenericServlet.init(GenericServlet.java:256) at com.evermind.server.http.HttpApplication.loadServlet(HttpApplication.java:2361) at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4810) at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4734) at com.evermind.server.http.HttpApplication.initPreloadServlets(HttpApplication.java:4922) at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:1134) at com.evermind.server.http.HttpApplication.(HttpApplication.java:738) at com.evermind.server.ApplicationStateRunning.getHttpApplication(ApplicationStateRunning.java:414) at com.evermind.server.Application.getHttpApplication(Application.java:545) at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFromReference(HttpSite.java:1990) at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.(HttpSite.java:1909) at com.evermind.server.http.HttpSite.initApplications(HttpSite.java:645) at com.evermind.server.http.HttpSite.setConfig(HttpSite.java:290) at com.evermind.server.http.HttpServer.setSites(HttpServer.java:270) at com.evermind.server.http.HttpServer.setConfig(HttpServer.java:177) at com.evermind.server.ApplicationServer.initializeHttp(ApplicationServer.java:2450) at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:998) at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:131) at java.lang.Thread.run(Thread.java:595)ru able to login to the other applications on your App server ... viz.
Oracle App Server Console, ESB Console, Worklist App ... etc -
Error When I hit the View Button
Hi All,
Let me confess before hand I am new to the BI publisher.
I have it set I guess, I can log in could connect to the local database and generated the report but when I hit the view button, it says an error occurred contact the Administrator. I am logging in as Administrator.
Are there any configuration settings that I need to make?
I did change the model to be XDO and then I have installed BI-Publisher Desktop. I can see on my word Tool bar. Is there anything else i need to configure.
When I hit error details i get
Unexpected element: :report
Are there any log files which I can dig in and see what is wrong.
Thanks in advance I appreciate
MCPHi,
depending the combination of your Firefox-Version (3) and your BIP-Version (10.1.3.3.3) that happens every time. Is fixed (see Note 605403.1)
Regards
Rainer -
Errors when Modifying a Weblogic EJB example to make it connect to mySQL
Hello,
I am learning the example codes shipped with weblogic server, which is under ...samples\examples\ejb20\basic\beanManaged. The original connection pool was on cloudscape. I was trying to modify it and make it connect to mySQL.
In ejb-jar.xml and weblogic-ejb-jar.xml, I replaced "demopool" (which was the original pool name) with "demopool1".
After starting the server, I configured a new connection pool as following:
Name: demopool1
URL: jdbc:mysql:///test
Driver Classname: org.gjt.mm.mysql.Driver
Properties
(key=value): user=none
server=none
But when I run the example, I got the following error:
----------------Server Side:------------------------------------
<2007-10-6 下午03时23分18秒> <Error> <JDBC> <Error during Data Source creation:
weblogic.common.ResourceException: DataSource(examples-dataSource-demoPool1) can't be created with non-existent Pool (connection or multi) (demoPool1)>
setEntityContext called
ejbFindByPrimaryKey (ID: 0)
Failed to lookup JDBC Datasource. Please double check that
the JNDI name defined in the resource-description of the
EJB's weblogic-ejb-jar.xml file is the same as the JNDI name
for the Datasource defined in your config.xml.
---------------------Client Side:-----------------------
C:\bea\wlserver6.1\samples\examples\ejb20\basic\beanManaged>java examples.ejb20.
basic.beanManaged.Client "t3://localhost:7001"
Beginning beanManaged.Client...
Trying to find account with id: ID: 0
There was an exception while creating and using the Accounts.
This indicates that there was a problem communicating with the server: java.rmi.RemoteException: Exception in ejbFindByPrimaryKey; nested exception is:
javax.ejb.EJBException
- with nested exception:
[javax.naming.LinkException: [Root exception is javax.naming.NameNotFoundException: Unable to resolve examples-dataSource-demoPool1. Resolved: '' Unresolved:'examples-dataSource-demoPool1' ; remaining name '']; Link Remaining Name: 'examples-dataSource-demoPool1']
What should I do to solve this problem?
Thanks a lot.The exception leads me to believe that you never set up the connection pool with that name in WebLogic. Why not try it? Do you know how to set up a connection pool? Start up the admin console and add it in.
http://localhost:7001/console
% -
Accessing External Url using Http Utility | Error when using from Weblogic on Solaris
We are using Http Utility (http://jakarta.apache.org/commons/httpclient/) from
Apache for accessing external URL. A XML string is sent as POST parameter to the
URL and the response is also an XML string. The URL is accessed over HTTPS protocol.
I am setting the following parameters in the java class:
Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider());
// set the property
System.setProperty("java.protocol.handler.pkgs","com.sun.net.ssl.internal.www.protocol");
The java class written to access the external URL using Http Utility works perfectly
fine when it is run from either the command line (of Windows or Solaris using
main() ) or from weblogic on windows. The same java class throws an exception
when run from Solaris instance of Weblogic
2003-09-30 11:02:12,411 FATAL [com.bp.beyondbp.presentation.userregistration.action.LloydsValidator]
EXCEPTION: com.bp.beyondbp.presentation.userregistration.exception.LlyodsValidationFailedException,
MESSAGE: Write Channel Closed, possible SSL handshaking or trust failure;
CAUSE: (java.io.IOException: Write Channel Closed, possible SSL handshaking or
trust failure)
at com.bp.beyondbp.presentation.userregistration.action.LloydsValidator.postXMLtoLloyd(LloydsValidator.java:243)
at com.bp.beyondbp.presentation.userregistration.action.LloydsValidator.validateLlyodsForNewUser(LloydsValidator.java:95)
at com.bp.beyondbp.presentation.userregistration.action.PreferencesActionForm.validate(PreferencesActionForm.java:326)
at org.apache.struts.action.RequestProcessor.processValidate(RequestProcessor.java:942)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:255)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1058)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:401)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:306)
java.io.IOException: Write Channel Closed, possible SSL handshaking or trust failure
at com.certicom.tls.record.WriteHandler.write(Unknown Source)
at com.certicom.tls.interfaceimpl.TLSConnectionImpl.fireAlertSent(Unknown
Source)
at com.certicom.tls.record.handshake.HandshakeHandler.fireAlert(Unknown
Source)
at com.certicom.tls.record.handshake.HandshakeHandler.fireAlert(Unknown
Source)
at com.certicom.tls.record.handshake.HandshakeHandler.handleHandshakeMessage(Unknown
Source)
at com.certicom.tls.record.handshake.HandshakeHandler.handleHandshakeMessages(Unknown
Source)
at com.certicom.tls.record.ReadHandler.interpretContent(Unknown Source)
at com.certicom.tls.record.ReadHandler.readRecord(Unknown Source)
at com.certicom.tls.record.ReadHandler.readUntilHandshakeComplete(Unknown
Source)
at com.certicom.tls.interfaceimpl.TLSConnectionImpl.completeHandshake(Unknown
Source)
at com.certicom.tls.record.WriteHandler.write(Unknown Source)
at org.apache.commons.httpclient.HttpConnection$WrappedOutputStream.write(HttpConnection.java:1344)
at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:67)
at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:125)
at org.apache.commons.httpclient.HttpConnection.flushRequestOutputStream(HttpConnection.java:779)
at org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:2179)
at org.apache.commons.httpclient.HttpMethodBase.processRequest(HttpMethodBase.java:2534)
I tried to debug the problem by looking at system properties on windows and solaris,
the difference that I found was
On Windows
[exec] tModelInstanceInfo_description : com.sun.net.ssl.internal.www.protocol
On Solaris
[exec] tModelInstanceInfo_description : weblogic.utils|weblogic.tils|weblogic.net|weblogic.management
After this I changed the startWLS.sh on Solaris and set
-Djava.protocol.handler.pkgs=com.sun.net.ssl.internal.www.protocol in java options.
On looking the system properties again, the output was
[exec] tModelInstanceInfo_description : com.sun.net.ssl.internal.www.protocol|weblogic.utils|weblogic.utils|weblogic.net|weblogic.management
But still the error is same. Can somebody help me out here as to what is going
wrong? Please find the java class attached for reference, please have a look at
postXMLtoLloyd() method in the class file..
[LloydsValidator.java]We are using Http Utility (http://jakarta.apache.org/commons/httpclient/) from
Apache for accessing external URL. A XML string is sent as POST parameter to the
URL and the response is also an XML string. The URL is accessed over HTTPS protocol.
I am setting the following parameters in the java class:
Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider());
// set the property
System.setProperty("java.protocol.handler.pkgs","com.sun.net.ssl.internal.www.protocol");
The java class written to access the external URL using Http Utility works perfectly
fine when it is run from either the command line (of Windows or Solaris using
main() ) or from weblogic on windows. The same java class throws an exception
when run from Solaris instance of Weblogic
2003-09-30 11:02:12,411 FATAL [com.bp.beyondbp.presentation.userregistration.action.LloydsValidator]
EXCEPTION: com.bp.beyondbp.presentation.userregistration.exception.LlyodsValidationFailedException,
MESSAGE: Write Channel Closed, possible SSL handshaking or trust failure;
CAUSE: (java.io.IOException: Write Channel Closed, possible SSL handshaking or
trust failure)
at com.bp.beyondbp.presentation.userregistration.action.LloydsValidator.postXMLtoLloyd(LloydsValidator.java:243)
at com.bp.beyondbp.presentation.userregistration.action.LloydsValidator.validateLlyodsForNewUser(LloydsValidator.java:95)
at com.bp.beyondbp.presentation.userregistration.action.PreferencesActionForm.validate(PreferencesActionForm.java:326)
at org.apache.struts.action.RequestProcessor.processValidate(RequestProcessor.java:942)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:255)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1058)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:401)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:306)
java.io.IOException: Write Channel Closed, possible SSL handshaking or trust failure
at com.certicom.tls.record.WriteHandler.write(Unknown Source)
at com.certicom.tls.interfaceimpl.TLSConnectionImpl.fireAlertSent(Unknown
Source)
at com.certicom.tls.record.handshake.HandshakeHandler.fireAlert(Unknown
Source)
at com.certicom.tls.record.handshake.HandshakeHandler.fireAlert(Unknown
Source)
at com.certicom.tls.record.handshake.HandshakeHandler.handleHandshakeMessage(Unknown
Source)
at com.certicom.tls.record.handshake.HandshakeHandler.handleHandshakeMessages(Unknown
Source)
at com.certicom.tls.record.ReadHandler.interpretContent(Unknown Source)
at com.certicom.tls.record.ReadHandler.readRecord(Unknown Source)
at com.certicom.tls.record.ReadHandler.readUntilHandshakeComplete(Unknown
Source)
at com.certicom.tls.interfaceimpl.TLSConnectionImpl.completeHandshake(Unknown
Source)
at com.certicom.tls.record.WriteHandler.write(Unknown Source)
at org.apache.commons.httpclient.HttpConnection$WrappedOutputStream.write(HttpConnection.java:1344)
at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:67)
at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:125)
at org.apache.commons.httpclient.HttpConnection.flushRequestOutputStream(HttpConnection.java:779)
at org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:2179)
at org.apache.commons.httpclient.HttpMethodBase.processRequest(HttpMethodBase.java:2534)
I tried to debug the problem by looking at system properties on windows and solaris,
the difference that I found was
On Windows
[exec] tModelInstanceInfo_description : com.sun.net.ssl.internal.www.protocol
On Solaris
[exec] tModelInstanceInfo_description : weblogic.utils|weblogic.tils|weblogic.net|weblogic.management
After this I changed the startWLS.sh on Solaris and set
-Djava.protocol.handler.pkgs=com.sun.net.ssl.internal.www.protocol in java options.
On looking the system properties again, the output was
[exec] tModelInstanceInfo_description : com.sun.net.ssl.internal.www.protocol|weblogic.utils|weblogic.utils|weblogic.net|weblogic.management
But still the error is same. Can somebody help me out here as to what is going
wrong? Please find the java class attached for reference, please have a look at
postXMLtoLloyd() method in the class file..
[LloydsValidator.java] -
Error when user hits Cancel in File Dialog Box
Error 43 occurs when the user hits cancel about saving a file. I have a simple state machine, and when the user hits "RUN", the dialog box comes up. What if they change their mind? I have tried to use the "exception code" in the General Error Handler for Error 43 but I still end up with an error message or my VI stopping.
Are there any templates for VIs that save your data only when you press a "SAVE" button, or either that don't freak out if you hit Cancel?
p.s. I have LabVIEW 6.1.
THANK YOU
LaurenHey, I got the same problem, Error 43 when cancel button is clicked, as I was going through one of the examples from "LabView for Everyone" book. I downloaded the Cancelled.vi example and constructed a case structure for it. However, the problem still occurs. When i ran highlight execution for the cancelled.vi example, as the cancel button is pressed the file dialog goes through and sends out boolean value of the cancel status. But for the file I'm working with, the boolean value is not send when cancel button is entered. File dialog sends out an error before the values are send out... Can someone explain? Thanks.
Attachments:
test.gif 14 KB
test1.vi 48 KB -
Error when running in weblogic
We are attempting to use tangosol from a .war file under Weblogic 7.0 sp5, jrockit 1.3.1 sp5, but are running into a problem. We are successfully able to create the cache and join the cluster, but when we try to put an object into the cache we get the following error:
Conversion failed: class com.tangosol.util.Binary)java.io.IOException: readObject failed: java.lang.ClassNotFoundException:com.airclic.foundation.component.track.DBSession
ClassLoader: sun.misc.Launcher$AppClassLoader@71732b
We have no problems when we are running outside of weblogic. It seems like perhaps some kind of class loader issue, so we set the option in weblogic to prefer web-inf classes, but to no avail. We have the tangosol.jar and coherence.jar in the war with our application. I've attached the source of the DBSession object, as well as our cache configuration file. The cache running in weblogic has local-storage turned off.<br><br> <b> Attachment: </b><br>DBSession.java <br> (*To use this attachment you will need to rename 69.bin to DBSession.java after the download is complete.)<br><br> <b> Attachment: </b><br>track-backing-config.xml <br> (*To use this attachment you will need to rename 70.bin to track-backing-config.xml after the download is complete.)It seems the stack trace is suppressed or just not available. Here's a snapshot of the exception while debugging.<br><br> <b> Attachment: </b><br>exception.jpg <br> (*To use this attachment you will need to rename 71.bin to exception.jpg after the download is complete.)
-
Getting error when opening the sap console
Dear Experts,
When I opening the SAP console There is a error message like
Get process list failed:80070424
The specified service does not exist as an installed service.Hi Amit,
There is another thread with exactly similar error like you.
SAPMMC tree disappear
1. Follow what Ashok Dalai mentioned in this thread.
2. If the above doesn't work, then start sapstartsrv.exe, I've already put the detail instruction how to do it.
Hope this helps.
Debasis. -
500 "Server error" when use User Management Console
Hello All, i'm staring with Hyperion products on this week))
I installed Shared Serveces and Essbase – System 9
I deployed Shared Serveces on OAS 10.1.3.1
And now when I use User Management Console and try to open
node 'Projects' I get an error 500 "Server error".
Why ?
Please help me resolve this issue
What's wrong? May be I have to install additional components to use Projects?I found follow error in my OC4J where deployed "User Management Console"
log file located in $OAS_ORACLE_HOME/j2ee/Hyperion/application-deployments/SharedServices9/Hyperion_default_group_1/application.log
07/11/16 10:57:16.633 interop: Error preloading servlet
javax.servlet.ServletException: Error instantiating servlet 'integration'. Servlet class com.hyperion.interop.webservices.integration.IntegrationWebservice not found in web-application interop
at com.evermind.server.http.HttpApplication.servletClassNotFound(HttpApplication.java:4866)
at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4832)
at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4734)
at com.evermind.server.http.HttpApplication.initPreloadServlets(HttpApplication.java:4922)
at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:1134)
at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:738)
at com.evermind.server.ApplicationStateRunning.getHttpApplication(ApplicationStateRunning.java:414)
at com.evermind.server.Application.getHttpApplication(Application.java:545)
at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFromReference(HttpSite.java:1990)
at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.<init>(HttpSite.java:1909)
at com.evermind.server.http.HttpSite.initApplications(HttpSite.java:645)
at com.evermind.server.http.HttpSite.setConfig(HttpSite.java:290)
at com.evermind.server.http.HttpServer.setSites(HttpServer.java:270)
at com.evermind.server.http.HttpServer.setConfig(HttpServer.java:177)
at com.evermind.server.ApplicationServer.initializeHttp(ApplicationServer.java:2450)
at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:998)
at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:131)
at java.lang.Thread.run(Thread.java:595)
07/11/16 10:57:17.334 interop: Error preloading servlet
javax.servlet.ServletException: Cannot initialize Hyperion DSF. Error:
Missing class: org.apache.xerces.jaxp.DocumentBuilderFactoryImpl
Dependent class: com.hyperion.workflow.engine.server.services.modelrepository.WfProductSchemaParser
Loader: SharedServices9.web.interop:0.0.0
Code-Source: /u0/SOA/SOA_Suite/j2ee/Hyperion/applications/SharedServices9/interop/WEB-INF/lib/wf_eng_server.jar
Configuration: WEB-INF/lib/ directory in /u0/SOA/SOA_Suite/j2ee/Hyperion/applications/SharedServices9/interop/WEB-INF/lib
The missing class is not available from any code-source or loader in the system.
at com.hyperion.dsf.server.framework.DsfServer.init(DsfServer.java:52)
at com.evermind.server.http.HttpApplication.loadServlet(HttpApplication.java:2361)
at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4810)
at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4734)
at com.evermind.server.http.HttpApplication.initPreloadServlets(HttpApplication.java:4922)
at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:1134)
at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:738)
at com.evermind.server.ApplicationStateRunning.getHttpApplication(ApplicationStateRunning.java:414)
at com.evermind.server.Application.getHttpApplication(Application.java:545)
at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFromReference(HttpSite.java:1990)
at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.<init>(HttpSite.java:1909)
at com.evermind.server.http.HttpSite.initApplications(HttpSite.java:645)
at com.evermind.server.http.HttpSite.setConfig(HttpSite.java:290)
at com.evermind.server.http.HttpServer.setSites(HttpServer.java:270)
at com.evermind.server.http.HttpServer.setConfig(HttpServer.java:177)
at com.evermind.server.ApplicationServer.initializeHttp(ApplicationServer.java:2450)
at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:998)
at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:131)
at java.lang.Thread.run(Thread.java:595)
07/11/16 10:57:17.482 interop: 10.1.3.1.0 Started -
Xerces.jar error when migrating from weblogic 8.1SP6 to Oracle Weblogic 10.
Hi all,
I am migrating the J2ee (1.4) application from 8.1sp6 to Oracle Weblogic server 10.3
I have set the environment in build.xml to point to Oracle weblogic server and the java to the one that comes with Oracleweblogic.
Rite now I am seeing the following error.
[javac] C:\Zdev10.3\sep09_Build\src\source\com\myapp\sample\ejb\external\pmt\ServicesBean.java:51: package org.apache.xerces.validators.datatype does not exist
[javac] import org.apache.xerces.validators.datatype.XMLException;
[javac] ^
[javac] C:\Zdev10.3\sep09_Build\src\source\com\myapp\sample\ejb\external\pmt\ServicesBean.java:109: cannot find symbol
[javac] symbol : class XMLException
[javac] location: class com.myapp.sample.ejb.external.pmt.ServicesBean
[javac] public static String validateXML(String xmlRequest) throws XMLException {
[javac] ^
[javac] C:\Zdev10.3\sep09_Build\src\source\com\myapp\sample\dao\tm\CommonTMDao.java:281: warning: non-varargs call of varargs method with inexact argument type for last parameter;
[javac] cast to java.lang.Object for a varargs call
[javac] cast to java.lang.Object[] for a non-varargs call and to suppress this warning
According to Oracle Weblogic , xerces is been not supported .
Also we need to go with the xerces.jar for some time.
Any ideas /inputs/work arounds on this will be appreciated.
thanks,
Jyothsna
Edited by: user10751474 on Oct 9, 2009 9:56 AMYou have to make sure the LogMessage class (weblogic/i18n/logging/LogMessage) is in the classpath
Using WebLogic Internationalization utilities: http://download.oracle.com/docs/cd/E17904_01/web.1111/e13704/utilities.htm#i1011073
and an example: http://download.oracle.com/docs/cd/E17904_01/web.1111/e13704/textformatterclasses.htm#g1016464
and: http://download.oracle.com/docs/cd/E17904_01/web.1111/e13704/loggerclasses.htm#g1020871 -
Error when deploy to weblogic cluster
My cluster has 2 servers A, B. when I deploy an WebCenter Custom Portal application to weblogic cluster, application on server A work well and application on server B is failed. Log on failed server is “what do i do: seems an odd quirk of the EJB spec. The exception is:java.lang.NoClassDefFoundError: Oracle/jdeveloper/db/adapter/DatabaseProvider”
When I reconfig cluster and then deploy, application on server B work well but application on server A is failed.
Please advise what should I do in this situation?Hi,
It seems your Application is running with non-seralizable objects where non-searlizable are not supported on cluster environment.
Please check server logs whether you have such warning messages are not.
Let me know if you need any further help on this issue.
Regards,
Kal -
ADF Application error when deploy on WebLogic Cluster
Hello,
I setup a WebLogic 10.3.5 Cluster, but I have problems to deploy my ADF application (ADF 11.1.2).
I am getting the following java.lang.NoClassDefFoundError: oracle/adf/share/logging/ADFLogger
The problem does not occur if I deploy the same application only to the AdminServer.
In order to setup my WebLogic Cluster I followed the process described by Mark Nelson at http://redstack.wordpress.com/2010/12/20/using-weblogic-as-a-load-balancer/
Any idea?
Thanks,
Cristo A.Have you installed the Oracle JRF template to the managed servers?
The error indicates that you didn't install the adf runtime (JRF template) for your jdev version onto the managed servers.
Timo
Maybe you are looking for
-
Maximum File size of Attachments
Hi All, I would like to know if there is a size limit (maximum) when it comes to attachments that can be attached within OCOD? Thanks Satish
-
Sync AIM in Messages across Mavericks and iPhone?
I have some friends who insist on sticking with their non-iPhone phones. I can send them text messages via Messages on my Mac via my AIM account. I can also text them via Messages on my iPhone. But those AIM messages do not sync between my Mac and my
-
Scheduled multi-patch Bundle - will it work?
A while back we started trying out ZPM for all our patching, soon found that using it for Microsoft patches was a) a nightmare to manage and b) slowed our ZCM database down to a crawl for 8 hours a day while it did something odd with the ZPM log tabl
-
The text in this new form is practically illegible.Too light and too small. In addition to bankrupting their clients by forcing them to subscribe in perpetuity to a bunch of software that they don't need, it appears that Adobe wants to blind its cust
-
So, what changed ...
in the Forum Etiquette thread that brought it to the top, 5 months after it was written? And then, updated since I logged in about 30 minutes ago?