Problem while Clustering in Weblogic 7.0.
Hi,
I am trying to set up a cluster for my application on WL 7.0.I have set up two
managed servers (with owning Admin server Configuration) mserver1 and mserver2.
Is it Ok to configure these two servers into a single cluster ?
I have attempted doing this by trying to configure in the following way.
-> Add mserver2 in the mserver1's configuration by using the "configure a new
server" option. Also make this part of a cluster "TestCluster" that has been configured
on mserver1.
when i restart mserver1 i get the following error(Error pasted below). Can anybody
tell me as to what this error means ?
Also could anybody advice me if the way i have tried to configure a server is
right ??
Thanks in advance,
Regards,
uday
<Feb 8, 2003 6:27:39 PM IST> <Notice> <Cluster> <000133> <Waiting to synchronize
with other running members of TestCluster>
<Feb 8, 2003 6:28:09 PM IST> <Notice> <Cluster> <000134> <Discovered and synchronized
with 0 other running members of TestClus
ter>
<Feb 8, 2003 6:28:10 PM IST> <Emergency> <WebLogicServer> <000342> <Unable to
initialize the server: Fatal initialization exce
ption
Throwable: java.lang.NullPointerException
java.lang.NullPointerException
at weblogic.transaction.internal.TransactionRecoveryService.getOrCreate(TransactionRecoveryService.java:345)
at weblogic.transaction.internal.TransactionRecoveryService.deployAllTransactionRecoveryServices(TransactionRecoverySe
rvice.java:390)
at weblogic.transaction.internal.TransactionRecoveryService.resume(TransactionRecoveryService.java:160)
at weblogic.transaction.internal.TransactionService.resume(TransactionService.java:138)
at weblogic.t3.srvr.ServerLifeCycleList.resume(ServerLifeCycleList.java:61)
at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:806)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:295)
at weblogic.Server.main(Server.java:32)
>
The WebLogic Server did not start up properly.
Exception raised:
java.lang.NullPointerException
at weblogic.transaction.internal.TransactionRecoveryService.getOrCreate(TransactionRecoveryService.java:345)
at weblogic.transaction.internal.TransactionRecoveryService.deployAllTransactionRecoveryServices(TransactionRecoverySe
rvice.java:390)
at weblogic.transaction.internal.TransactionRecoveryService.resume(TransactionRecoveryService.java:160)
at weblogic.transaction.internal.TransactionService.resume(TransactionService.java:138)
at weblogic.t3.srvr.ServerLifeCycleList.resume(ServerLifeCycleList.java:61)
at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:806)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:295)
at weblogic.Server.main(Server.java:32)
Reason: Fatal initialization exception
Throwable: java.lang.NullPointerException
java.lang.NullPointerException
at weblogic.transaction.internal.TransactionRecoveryService.getOrCreate(TransactionRecoveryService.java:345)
at weblogic.transaction.internal.TransactionRecoveryService.deployAllTransactionRecoveryServices(TransactionRecoverySe
rvice.java:390)
at weblogic.transaction.internal.TransactionRecoveryService.resume(TransactionRecoveryService.java:160)
at weblogic.transaction.internal.TransactionService.resume(TransactionService.java:138)
at weblogic.t3.srvr.ServerLifeCycleList.resume(ServerLifeCycleList.java:61)
at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:806)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:295)
at weblogic.Server.main(Server.java:32)
Uday,
Can you post your config.xml if its not a problem.
-Kiran
"Wenjin Zhang" <[email protected]> wrote in message news:<[email protected]>...
> 1. If you don't have an admin server, install one. (better to be different from
> your cluster members).
> 2. Configure your cluster via admin console of admin server
>
>
> "Uday" <[email protected]> wrote:
> >
> >Hi,
> > I am trying to set up a cluster for my application on WL 7.0.I have
> >set up two
> >managed servers (with owning Admin server Configuration) mserver1 and
> >mserver2.
> >
> >
> >Is it Ok to configure these two servers into a single cluster ?
> >
> >I have attempted doing this by trying to configure in the following way.
> >-> Add mserver2 in the mserver1's configuration by using the "configure
> >a new
> >server" option. Also make this part of a cluster "TestCluster" that has
> >been configured
> >on mserver1.
> >
> >when i restart mserver1 i get the following error(Error pasted below).
> >Can anybody
> >tell me as to what this error means ?
> >
> >Also could anybody advice me if the way i have tried to configure a server
> >is
> >right ??
> >
> >Thanks in advance,
> >
> >Regards,
> >uday
> >
> >
> >
> ><Feb 8, 2003 6:27:39 PM IST> <Notice> <Cluster> <000133> <Waiting to
> >synchronize
> >with other running members of TestCluster>
> ><Feb 8, 2003 6:28:09 PM IST> <Notice> <Cluster> <000134> <Discovered
> >and synchronized
> >with 0 other running members of TestClus
> >ter>
> ><Feb 8, 2003 6:28:10 PM IST> <Emergency> <WebLogicServer> <000342> <Unable
> >to
> >initialize the server: Fatal initialization exce
> >ption
> >Throwable: java.lang.NullPointerException
> >java.lang.NullPointerException
> > at weblogic.transaction.internal.TransactionRecoveryService.getOrCreate(TransactionRecoveryService.java:345)
> > at weblogic.transaction.internal.TransactionRecoveryService.deployAllTransactionRecoveryServices(TransactionRecoverySe
> >rvice.java:390)
> > at weblogic.transaction.internal.TransactionRecoveryService.resume(TransactionRecoveryService.java:160)
> > at weblogic.transaction.internal.TransactionService.resume(TransactionService.java:138)
> > at weblogic.t3.srvr.ServerLifeCycleList.resume(ServerLifeCycleList.java:61)
> > at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:806)
> > at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:295)
> > at weblogic.Server.main(Server.java:32)
> >>
> >***************************************************************************
> >The WebLogic Server did not start up properly.
> >Exception raised:
> >java.lang.NullPointerException
> > at weblogic.transaction.internal.TransactionRecoveryService.getOrCreate(TransactionRecoveryService.java:345)
> > at weblogic.transaction.internal.TransactionRecoveryService.deployAllTransactionRecoveryServices(TransactionRecoverySe
> >rvice.java:390)
> > at weblogic.transaction.internal.TransactionRecoveryService.resume(TransactionRecoveryService.java:160)
> > at weblogic.transaction.internal.TransactionService.resume(TransactionService.java:138)
> > at weblogic.t3.srvr.ServerLifeCycleList.resume(ServerLifeCycleList.java:61)
> > at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:806)
> > at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:295)
> > at weblogic.Server.main(Server.java:32)
> >Reason: Fatal initialization exception
> >Throwable: java.lang.NullPointerException
> >java.lang.NullPointerException
> > at weblogic.transaction.internal.TransactionRecoveryService.getOrCreate(TransactionRecoveryService.java:345)
> > at weblogic.transaction.internal.TransactionRecoveryService.deployAllTransactionRecoveryServices(TransactionRecoverySe
> >rvice.java:390)
> > at weblogic.transaction.internal.TransactionRecoveryService.resume(TransactionRecoveryService.java:160)
> > at weblogic.transaction.internal.TransactionService.resume(TransactionService.java:138)
> > at weblogic.t3.srvr.ServerLifeCycleList.resume(ServerLifeCycleList.java:61)
> > at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:806)
> > at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:295)
> > at weblogic.Server.main(Server.java:32)
> >
> >***************************************************************************
> >
Similar Messages
-
Hi All
I am running weblogic 6.0 server with clustering.
My server configuration is as follows
Servers
1. AdminServer
2. ManagedServer1
3. ManagedServer2
Clusters
Cluster1
ClusterMemebers
ManagedServer1
ManagedServer2
ManageServer1 and Admin server are running on Machine A
ManageServer2 is running on Machine 2
I run client on machine 2 as follows
Java TestClient Mc1Ip1,Mc2Ip2:9001
where "Mc1Ip1,Mc2Ip2:7001 " is a provider URL
MC1IP1 is IP address of machine 1 and Mc2IP2 is IP address of machine2.
My problem is when I am running the client on machine 2 All the
requests goes to server on the machine 2. I can understan the collocation
optimization here since the client and the server are running on
the same machine. But when I run the client with 100 threads which
are simulating the load then still all my request goes to server
on machine 2 and hence after some time My server craches.
There is no load balancing happening here. The defaultLoad balancing
algorithm is "round-robin"
Is there anything I am missing here ??
Thanks
Sunil
If I understand correct I need proxy server only if My client is
web based sending request through servlet. But in my case my client
is simle java application.
glen wilcox <[email protected]> wrote:
>You need to add a proxy server (iPlanet, Apache or another
>WLS instance with
>HttpClusterServlet). Send your client requests to the
>proxy server.
>
>Sunil wrote:
>
>> Hi All
>> I am running weblogic 6.0 server with clustering.
>> My server configuration is as follows
>> Servers
>> 1. AdminServer
>> 2. ManagedServer1
>> 3. ManagedServer2
>>
>> Clusters
>> Cluster1
>>
>> ClusterMemebers
>> ManagedServer1
>> ManagedServer2
>>
>> ManageServer1 and Admin server are running on Machine
>A
>> ManageServer2 is running on Machine 2
>>
>> I run client on machine 2 as follows
>>
>> Java TestClient Mc1Ip1,Mc2Ip2:9001
>> where "Mc1Ip1,Mc2Ip2:7001 " is a provider URL
>> MC1IP1 is IP address of machine 1 and Mc2IP2 is IP address
>of machine2.
>> My problem is when I am running the client on machine
>2 All the
>> requests goes to server on the machine 2. I can understan
>the collocation
>> optimization here since the client and the server are
>running on
>> the same machine. But when I run the client with 100
>threads which
>> are simulating the load then still all my request goes
>to server
>> on machine 2 and hence after some time My server craches.
>> There is no load balancing happening here. The defaultLoad
>balancing
>> algorithm is "round-robin"
>> Is there anything I am missing here ??
>>
>> Thanks
>>
>> Sunil
>
>--
>Glen D. Wilcox
>Senior Consultant
>Valtech
>www.valtech.com
>Denver, CO
>
>
-
Hi All,
We are using WLS 5.1 clustering. 2 WLS are running in 2 different unix box in same subnet. But we are getting the following exception ( Though all the Beans have been deployed successfully).
java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.open(Compiled Code)
at java.util.zip.ZipFile.<init>(Compiled Code)
at java.util.zip.ZipFile.<init>(Compiled Code)
at weblogic.boot.ServerClassLoader.deploy(ServerClassLoader.java:132)
at weblogic.cluster.AnnotatedServiceOffer.expandClassPath(Compiled Code)
at weblogic.cluster.AnnotatedServiceOffer.readObject(Compiled Code)
at weblogic.common.internal.WLObjectInputStreamBase.readPublicSerializable(Compiled Code)
Fri Jan 25 16:57:22 MST 2002:<E> <MulticastSocket> Multicast socket receive error: java.lang.RuntimeException: I/O error opening JAR file from file:/opt/wlogic/weblogic/obscluster/server113/tmp_deployments/ejbjar-4247.jar
(cluster name we have changed to obscluster )
This Exception is coming in both the servers The difference is that the server whose ip ends with 112 is trying to open the file from server113 dir and the server whose ip ends with 113 is trying to open the file from server112 dir.
In web I have found that if the directory structure of 2 servers doesn't match then this porblem can arise. But for both of my servers the directory structure is same , at least until /opt/wlogic/weblogic/obscluster/ and then the directory server113 or server112 is created by Weblogic automatically when I have started the Server.
Any help regarding this will be very helpful.
Thanks & Regards
Srijeeb.Hi everyone,
I think I have got the solution. Using sp11. added sp11 related jar in PRE_CLASSPATH . Problem Solved....
Thanks
Srijeeb -
Problem while connecting the Weblogic Domain to MySql5.
Hi,
I would like to send you the entire stacktrace..
JAVA Memory arguments: -Xms256m -Xmx768m -XX:CompileThreshold=8000 -XX:PermSize=128m -XX:MaxPermSize=192m
WLS Start Mode=Development
CLASSPATH=;C:\WEBLOG~1\patch_wlw1030\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\WEBLOG~1\patch_wls1030\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\WEBLOG~1\patch_wlp1030\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\WEBLOG~1\patch_cie670\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\WEBLOG~1\patch_cie660\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\WEBLOG~1\JDK160~1\lib\tools.jar;C:\WEBLOG~1\WLSERV~1.3\server\lib\weblogic_sp.jar;C:\WEBLOG~1\WLSERV~1.3\server\lib\weblogic.jar;C:\WEBLOG~1\modules\features\weblogic.server.modules_10.3.0.0.jar;C:\WEBLOG~1\WLSERV~1.3\server\lib\webservices.jar;C:\WEBLOG~1\modules\ORGAPA~1.5/lib/ant-all.jar;C:\WEBLOG~1\modules\NETSFA~1.0_1/lib/ant-contrib.jar;;C:\WEBLOG~1\WLSERV~1.3\common\eval\pointbase\lib\pbclient57.jar;C:\WEBLOG~1\WLSERV~1.3\server\lib\xqrl.jar;C:\WEBLOG~1\WLSERV~1.3\server\lib\xquery.jar;C:\WEBLOG~1\WLSERV~1.3\server\lib\binxml.jar;
PATH=C:\WEBLOG~1\patch_wlw1030\profiles\default\native;C:\WEBLOG~1\patch_wls1030\profiles\default\native;C:\WEBLOG~1\patch_wlp1030\profiles\default\native;C:\WEBLOG~1\patch_cie670\profiles\default\native;C:\WEBLOG~1\patch_cie660\profiles\default\native;C:\WEBLOG~1\WLSERV~1.3\server\native\win\32;C:\WEBLOG~1\WLSERV~1.3\server\bin;C:\WEBLOG~1\modules\ORGAPA~1.5\bin;C:\WEBLOG~1\JDK160~1\jre\bin;C:\WEBLOG~1\JDK160~1\bin;C:\WebLogicBea\jrockit_160_05\jre\bin;E:\Oracle\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32\WBEM;F:\Oracle\Ora81\bin;C:\Program Files\Oracle\jre\1.1.7\bin;F:\Oracle\Ora81\orb\bin;C:\Program Files\Java\jdk1.5.0_06\bin;E:\Oracle\orb\bin;C:\WEBLOG~1\WLSERV~1.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:
Cleaning up license and uid files
Starting Autonomy with CONTENT_SEARCH_OPTION = full
Autonomy Distributed Search Handler engine started.
java version "1.6.0_05"
Java(TM) SE Runtime Environment (build 1.6.0_05-b13)
Java HotSpot(TM) Client VM (build 10.0-b19, mixed mode)
Starting WLS with line:
C:\WEBLOG~1\JDK160~1\bin\java -client -Xms256m -Xmx768m -XX:CompileThreshold=8000 -XX:PermSize=128m -XX:MaxPermSize=192m -Xverify:none -da -Dplatform.home=C:\WEBLOG~1\WLSERV~1.3 -Dwls.home=C:\WEBLOG~1\WLSERV~1.3\server -Dweblogic.home=C:\WEBLOG~1\WLSERV~1.3\server -Dweblogic.wsee.bind.suppressDeployErrorMessage=true -Dweblogic.wsee.skip.async.response=true -Dweblogic.management.discover=true -Dwlw.iterativeDev=true -Dwlw.testConsole=true -Dwlw.logErrorsToConsole=true -Dweblogic.ext.dirs=C:\WEBLOG~1\patch_wlw1030\profiles\default\sysext_manifest_classpath;C:\WEBLOG~1\patch_wls1030\profiles\default\sysext_manifest_classpath;C:\WEBLOG~1\patch_wlp1030\profiles\default\sysext_manifest_classpath;C:\WEBLOG~1\patch_cie670\profiles\default\sysext_manifest_classpath;C:\WEBLOG~1\patch_cie660\profiles\default\sysext_manifest_classpath;C:\WebLogicBea\wlportal_10.3\p13n\lib\system;C:\WebLogicBea\wlportal_10.3\light-portal\lib\system;C:\WebLogicBea\wlportal_10.3\portal\lib\system;C:\WebLogicBea\wlportal_10.3\info-mgmt\lib\system;C:\WebLogicBea\wlportal_10.3\analytics\lib\system;C:\WebLogicBea\wlportal_10.3\apps\lib\system;C:\WebLogicBea\wlportal_10.3\info-mgmt\deprecated\lib\system;C:\WebLogicBea\wlportal_10.3\content-mgmt\lib\system -Dweblogic.alternateTypesDirectory=C:\WebLogicBea\wlportal_10.3\portal\lib\security -Dweblogic.Name=AdminServer -Djava.security.policy=C:\WEBLOG~1\WLSERV~1.3\server\lib\weblogic.policy weblogic.Server
<Oct 27, 2009 11:15:35 AM IST> <Notice> <WebLogicServer> <BEA-000395> <Following extensions directory contents added to the end of the classpath:
C:\WebLogicBea\wlportal_10.3\analytics\lib\system\analytics_sys.jar;C:\WebLogicBea\wlportal_10.3\apps\lib\system\groupspace_system.jar;C:\WebLogicBea\wlportal_10.3\content-mgmt\lib\system\content_system.jar;C:\WebLogicBea\wlportal_10.3\info-mgmt\deprecated\lib\system\commerce_system.jar;C:\WebLogicBea\wlportal_10.3\info-mgmt\lib\system\wlp-schemas.jar;C:\WebLogicBea\wlportal_10.3\info-mgmt\lib\system\wlp_content_system.jar;C:\WebLogicBea\wlportal_10.3\info-mgmt\lib\system\wps_system.jar;C:\WebLogicBea\wlportal_10.3\light-portal\lib\system\netuix_common.jar;C:\WebLogicBea\wlportal_10.3\light-portal\lib\system\netuix_schemas.jar;C:\WebLogicBea\wlportal_10.3\light-portal\lib\system\netuix_system.jar;C:\WebLogicBea\wlportal_10.3\light-portal\lib\system\wsrp-client.jar;C:\WebLogicBea\wlportal_10.3\light-portal\lib\system\wsrp-common.jar;C:\WebLogicBea\wlportal_10.3\p13n\lib\system\p13n-schemas.jar;C:\WebLogicBea\wlportal_10.3\p13n\lib\system\p13n_common.jar;C:\WebLogicBea\wlportal_10.3\p13n\lib\system\p13n_system.jar;C:\WebLogicBea\wlportal_10.3\p13n\lib\system\wlp_services.jar;C:\WebLogicBea\wlportal_10.3\portal\lib\system\netuix_system-full.jar>
<Oct 27, 2009 11:15:35 AM IST> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) Client VM Version 10.0-b19 from Sun Microsystems Inc.>
<Oct 27, 2009 11:15:36 AM IST> <Info> <Management> <BEA-141107> <Version: WebLogic Server Temporary Patch for CR376251 Wed Aug 06 09:19:34 PDT 2008
WebLogic Server Temporary Patch for CR371247 Sat Aug 09 20:10:38 PDT 2008
WebLogic Server Temporary Patch for CR377673 Tue Aug 12 20:39:50 EDT 2008
WebLogic Server Temporary Patch for CR377673 Tue Aug 12 20:39:50 EDT 2008
WebLogic Server Temporary Patch for CR376759 Thu Aug 14 14:53:02 PDT 2008
WebLogic Server 10.3 Fri Jul 25 16:30:05 EDT 2008 1137967 >
<Oct 27, 2009 11:15:42 AM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
<Oct 27, 2009 11:15:42 AM IST> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool>
<Oct 27, 2009 11:15:42 AM IST> <Notice> <Log Management> <BEA-170019> <The server log file C:\WebLogicBea\user_projects\domains\zarDbDomain\zarDbDomain\servers\AdminServer\logs\AdminServer.log is opened. All server side log events will be written to this file.>
<Oct 27, 2009 11:15:57 AM IST> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
<Oct 27, 2009 11:16:10 AM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STANDBY>
<Oct 27, 2009 11:16:10 AM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
<Oct 27, 2009 11:16:40 AM IST> <Notice> <Log Management> <BEA-170027> <The Server has established connection with the Domain level Diagnostic Service successfully.>
<Oct 27, 2009 11:16:41 AM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to ADMIN>
<Oct 27, 2009 11:16:41 AM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RESUMING>
<Oct 27, 2009 11:16:41 AM IST> <Notice> <Server> <BEA-002613> <Channel "Default" is now listening on 192.9.200.236:7001 for protocols iiop, t3, ldap, snmp, http.>
<Oct 27, 2009 11:16:41 AM IST> <Warning> <Server> <BEA-002611> <Hostname "ZieF.pl", maps to multiple IP addresses: 192.9.200.236, 127.0.0.1>
<Oct 27, 2009 11:16:41 AM IST> <Notice> <Server> <BEA-002613> <Channel "Default[1]" is now listening on 127.0.0.1:7001 for protocols iiop, t3, ldap, snmp, http.>
<Oct 27, 2009 11:16:41 AM IST> <Notice> <WebLogicServer> <BEA-000331> <Started WebLogic Admin Server "AdminServer" for domain "zarDbDomain" running in Development Mode>
<Oct 27, 2009 11:16:41 AM IST> <Warning> <Server> <BEA-002611> <Hostname "192.9.200.236", maps to multiple IP addresses: 192.9.200.236, 127.0.0.1>
<Oct 27, 2009 11:16:41 AM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING>
<Oct 27, 2009 11:16:41 AM IST> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>
<Oct 27, 2009 11:17:18 AM IST> <Error> <Security> <BEA-090064> <The DeployableAuthorizer "myrealm_weblogic.security.providers.xacml.authorization.XACMLAuthorizationProviderImpl" returned an error: weblogic.security.spi.ResourceCreationException: Security:090310Failed to create resource.>
<Oct 27, 2009 11:17:20 AM IST> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1256622425468' for task '0'. Error is: 'weblogic.application.ModuleException: Exception preparing module: EJBModule(netuix.jar)
Unable to deploy EJB: ProxyPagePersistenceManager from netuix.jar:
Exception while attempting to deploy Security Policy: weblogic.security.service.ResourceCreationException: weblogic.security.spi.ResourceCreationException: Security:090310Failed to create resource
weblogic.application.ModuleException: Exception preparing module: EJBModule(netuix.jar)
Unable to deploy EJB: ProxyPagePersistenceManager from netuix.jar:
Exception while attempting to deploy Security Policy: weblogic.security.service.ResourceCreationException: weblogic.security.spi.ResourceCreationException: Security:090310Failed to create resource
at weblogic.ejb.container.deployer.EJBModule.prepare(EJBModule.java:452)
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:387)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:58)
Truncated. see log file for complete stacktrace
weblogic.ejb20.interfaces.PrincipalNotFoundException: Exception while attempting to deploy Security Policy: weblogic.security.service.ResourceCreationException: weblogic.security.spi.ResourceCreationException: Security:090310Failed to create resource
at weblogic.ejb.container.internal.SecurityHelperWLS.deployPolicy(SecurityHelperWLS.java:357)
at weblogic.ejb.container.internal.SecurityHelper.deployPolicy(SecurityHelper.java:306)
at weblogic.ejb.container.internal.SecurityHelper.deployPolicy(SecurityHelper.java:294)
at weblogic.ejb.container.internal.SecurityHelper.deployAllPolicies(SecurityHelper.java:249)
at weblogic.ejb.container.internal.SecurityHelper.deployAllPolicies(SecurityHelper.java:228)
Truncated. see log file for complete stacktrace
<Oct 27, 2009 11:17:20 AM IST> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'myPortalEAR'.>
<Oct 27, 2009 11:17:20 AM IST> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
weblogic.application.ModuleException: Exception preparing module: EJBModule(netuix.jar)
Unable to deploy EJB: ProxyPagePersistenceManager from netuix.jar:
Exception while attempting to deploy Security Policy: weblogic.security.service.ResourceCreationException: weblogic.security.spi.ResourceCreationException: Security:090310Failed to create resource
at weblogic.ejb.container.deployer.EJBModule.prepare(EJBModule.java:452)
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:387)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:58)
Truncated. see log file for complete stacktrace
weblogic.ejb20.interfaces.PrincipalNotFoundException: Exception while attempting to deploy Security Policy: weblogic.security.service.ResourceCreationException: weblogic.security.spi.ResourceCreationException: Security:090310Failed to create resource
at weblogic.ejb.container.internal.SecurityHelperWLS.deployPolicy(SecurityHelperWLS.java:357)
at weblogic.ejb.container.internal.SecurityHelper.deployPolicy(SecurityHelper.java:306)
at weblogic.ejb.container.internal.SecurityHelper.deployPolicy(SecurityHelper.java:294)
at weblogic.ejb.container.internal.SecurityHelper.deployAllPolicies(SecurityHelper.java:249)
at weblogic.ejb.container.internal.SecurityHelper.deployAllPolicies(SecurityHelper.java:228)
Truncated. see log file for complete stacktrace
There is around 140 Tables created in mysql database...
Is there anything wrong ?
Regards
ZarrakhWell.. When i runned the script for mysql from the weblogic domain configuration and compared the pointbase and mysql database.. i found that there are few tables, views and triggers that are missing in mysql db.. Could you telll me how can i create this missing tables, views and triggeres
Regards -
Problem while starting the weblogic managed server
Hi,
I am facing the following error while starting the managed weblogic server :
weblogic.diagnostics.lifecycle.DiagnosticComponentLifecycleException: weblogic.store.PersistentStoreException:
java.io.IOException: [Store:280021]There was an error while opening the file store file "WLS_DIAGNOSTICS000000.DAT"
at weblogic.diagnostics.lifecycle.ArchiveLifecycleImpl.initialize(ArchiveLifecycleImpl.java:66)
at weblogic.diagnostics.lifecycle.DiagnosticFoundationService.start(DiagnosticFoundationService.java:107)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Caused by: weblogic.store.PersistentStoreException: java.io.IOException: [Store:280021]There was an error while opening the
file store file "WLS_DIAGNOSTICS000000.DAT"
at weblogic.store.io.file.Heap.open(Heap.java:185)
at weblogic.store.io.file.FileStoreIO.open(FileStoreIO.java:88)
at weblogic.store.internal.PersistentStoreImpl.recoverStoreConnections(PersistentStoreImpl.java:332)
at weblogic.store.internal.PersistentStoreImpl.open(PersistentStoreImpl.java:323)
at weblogic.store.xa.PersistentStoreManagerXA.createFileStore(PersistentStoreManagerXA.java:104)
at weblogic.store.xa.PersistentStoreManagerXA.createFileStore(PersistentStoreManagerXA.java:177)
at weblogic.diagnostics.archive.DiagnosticStoreRepository.getStore(DiagnosticStoreRepository.java:85)
at weblogic.diagnostics.lifecycle.ArchiveLifecycleImpl.initialize(ArchiveLifecycleImpl.java:64)
... 4 more
Caused by: java.io.IOException: [Store:280021]There was an error while opening the file store file
"WLS_DIAGNOSTICS000000.DAT"
at weblogic.store.io.file.StoreDir.throwIOException(StoreDir.java:214)
at weblogic.store.io.file.StoreDir.open(StoreDir.java:104)
at weblogic.store.io.file.Heap.open(Heap.java:183)
... 11 more
Caused by: java.io.IOException: Error from fcntl() for file locking, Resource temporarily unavailable, errno=11
at weblogic.store.io.file.direct.DirectIONative.open(Native Method)
at weblogic.store.io.file.direct.DirectFileChannel.<init>(DirectFileChannel.java:52)
at weblogic.store.io.file.direct.DirectIOManager.open(DirectIOManager.java:139)
at weblogic.store.io.file.StoreFile.openInternal(StoreFile.java:118)
at weblogic.store.io.file.StoreFile.open(StoreFile.java:148)
at weblogic.store.io.file.StoreDir.open(StoreDir.java:96)
... 12 more
>
The WebLogic Server encountered a critical failure
Reason: Assertion violated
Exception in thread "main" java.lang.NoClassDefFoundError: Could not initialize class
weblogic.protocol.ServerIdentityManager$Initializer
at weblogic.protocol.ServerIdentityManager.findServerIdentity(ServerIdentityManager.java:64)
at weblogic.protocol.URLManager.findAdministrationURL(URLManager.java:172)
at weblogic.server.ServerLifeCycleRuntime.getLifeCycleOperationsRemote(ServerLifeCycleRuntime.java:801)
at weblogic.t3.srvr.ServerRuntime.sendStateToAdminServer(ServerRuntime.java:423)
at weblogic.t3.srvr.ServerRuntime.updateRunState(ServerRuntime.java:409)
at weblogic.t3.srvr.T3Srvr.setState(T3Srvr.java:187)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:458)
at weblogic.Server.main(Server.java:67)
Kindly suggest some solution for this.
Best Regards,
VarunHi,
I killed the processes hunged up and now m facing the following error while starting the managed weblogic:
<Oct 12, 2012 3:01:53 AM PDT> <Error> <Security> <BEA-090870> <The realm "myrealm" failed to be loaded: weblogic.security.service.SecurityServiceException: java.lang.NoClassDefFoundError: com/thortech/util/logging/Logger.
weblogic.security.service.SecurityServiceException: java.lang.NoClassDefFoundError: com/thortech/util/logging/Logger
at weblogic.security.service.CSSWLSDelegateImpl.initializeServiceEngine(CSSWLSDelegateImpl.java:342)
at weblogic.security.service.CSSWLSDelegateImpl.initialize(CSSWLSDelegateImpl.java:221)
at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.InitializeServiceEngine(CommonSecurityServiceManagerDelegateImpl.java:1783)
at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initializeRealm(CommonSecurityServiceManagerDelegateImpl.java:442)
at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.loadRealm(CommonSecurityServiceManagerDelegateImpl.java:840)
Truncated. see log file for complete stacktrace
Caused By: java.lang.NoClassDefFoundError: com/thortech/util/logging/Logger
at com.thortech.xl.security.wl.XellerateAuthenticationProviderImpl.<clinit>(XellerateAuthenticationProviderImpl.java:73)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:247)
at com.bea.common.security.internal.legacy.service.SecurityProviderImpl.init(SecurityProviderImpl.java:51)
at com.bea.common.engine.internal.ServiceEngineImpl.findOrStartService(ServiceEngineImpl.java:363)
Truncated. see log file for complete stacktrace
Caused By: java.lang.ClassNotFoundException: com.thortech.util.logging.Logger
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
Truncated. see log file for complete stacktrace
>
<Oct 12, 2012 3:01:53 AM PDT> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
<Oct 12, 2012 3:01:53 AM PDT> <Critical> <WebLogicServer> <BEA-000362> <Server failed. Reason:
There are 1 nested errors:
weblogic.security.service.SecurityServiceRuntimeException: [Security:090399]Security Services Unavailable
at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.doBootAuthorization(CommonSecurityServiceManagerDelegateImpl.java:916)
at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initialize(CommonSecurityServiceManagerDelegateImpl.java:1050)
at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:875)
at weblogic.security.SecurityService.start(SecurityService.java:141)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173) -
Problem while starting up Weblogic console (BSoD)
Hello All,
This is somewhat critical.. actually when i start admin server by command prompt...it goes well but after that when i start the console.. it give me a BSoD with the following error message.. please help me regarding this :--
**A problem has been detected and windows has been shut down to prevent damage to your computer.**
**a driver has over-run a stack based buffer . this over-run could potentially allow a malicious user to gain control of this machine.**
**if this is the first time you have seen this stop error screen ,restart your computer .if the screen appears again , follow these steps-**
**check to make sure any new hardware or software is properly installed. if this is a new installation ask your hardware or software manufecturer for any windows updates you might need.**
**if problems continue,disable or remove any new installed hardware or software .disable BIOS memory options such as catching or shadowing. if you need to use safe mode to remove or disable components,restart your computer ,press f8 to select Advanced Startup options , and then select safe mode .**
**Technical information**
*****STOP: 0x000000F7(0x00000000,0x00000000,0x00000000,0x00000000)**
**Begining dump of physical memory**
**physical memory dump complete.**
**contect your system administrator or technical support group for future assistance.**
please help
Edited by: Sharad Jain on Sep 17, 2011 8:53 AM
Edited by: Sharad Jain on Sep 19, 2011 10:50 AM
Edited by: Sharad Jain on Sep 22, 2011 1:15 PMHi John,
Thanks for your reply. M i supposed to look into device driver myself.. or there is some way out like customer support for this.. As i have already been to customer support for Microsoft for this but i did not get resolved.. finally i had to myself stop some service to let the weblogic run.. Is there any more way out there??? -
Problem while deploying on weblogic 10.3
I have ADF BC JSF Application Developed in JDeveloper 10.1.3 .I have Created Business Component Session Bean Deployment profile.
when i am deploying it on WebLogic 10.3 then i am getting Following Error.
<Mar 7, 2009 3:15:28 PM IST> <Warning> <EJB> <BEA-010054> <EJB Deployment: BackgroundCheckVerificationAMBean has a class com.shc.model.registration.company.bgchkverify.am.common.ejb.beanmanaged.RemoteBackgroundCheckVerificationAM that is in the classpath. This class should only be located in the ejb-jar file.>
<Mar 7, 2009 3:15:29 PM IST> <Error> <J2EE> <BEA-160187> <weblogic.appc failed to compile your application. Recompile with the -verbose option for more details. Please see the error message(s) below.>
Bad version number in .class file
**** weblogic.ejbc returned with a non-zero exit status:
Elapsed time for deployment: 17 seconds
#### Deployment incomplete. #### Mar 7, 2009 3:15:29 PM
Please Help me
Thanks in advanceWhat exactly do you mean by ...creating single form it gets deployedIf it get deployed then the question here is meaningless.
Timo -
Problem while starting Weblogic 7.0..please help
Hi,
Im facing this problem while starting the weblogic.
Below is the error i get...
<Nov 3, 2006 6:11:29 PM IST> <Alert> <WebLogicServer> <000297> <Inconsistent security configuration, java.lang.Exception: Certificate expired or not yet valid:
fingerprint = a48264011b8f3aeb13f64147821dc941, not before = Sat Nov 02 01:32:23 IST 2002, not after = Mon Oct 16 01:32:23 IST 2006, holder = C=US SP=California
L=San Francisco O=BEA WebLogic CN=weblogic.bea.com [email protected] , issuer = C=US SP=California L=San Francisco O=BEA WebLogic OU=Security CN=Demo Certi
ficate Authority Constraints [email protected] , key = modulus length=65, exponent length=3>
java.lang.Exception: Certificate expired or not yet valid: fingerprint = a48264011b8f3aeb13f64147821dc941, not before = Sat Nov 02 01:32:23 IST 2002, not after
= Mon Oct 16 01:32:23 IST 2006, holder = C=US SP=California L=San Francisco O=BEA WebLogic CN=weblogic.bea.com [email protected] , issuer = C=US SP=California L=San Francisco O=BEA WebLogic OU=Security CN=Demo Certificate Authority Constraints [email protected] , key = modulus length=65, exponent length=3 at weblogic.t3.srvr.SSLListenThread.<init>(SSLListenThread.java:219)
at weblogic.t3.srvr.SSLListenThread.<init>(SSLListenThread.java:122)
at weblogic.t3.srvr.T3Srvr.initializeListenThreads(T3Srvr.java:1556)
at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:891)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:300)
at weblogic.Server.main(Server.java:32)
<Nov 3, 2006 6:11:29 PM IST> <Emergency> <Security> <090034> <Not listening for SSL, java.io.IOException: Inconsistent security configuration, Certificate expir
ed or not yet valid: fingerprint = a48264011b8f3aeb13f64147821dc941, not before
= Sat Nov 02 01:32:23 IST 2002, not after = Mon Oct 16 01:32:23 IST 2006, holder = C=US SP=California L=San Francisco O=BEA WebLogic CN=weblogic.bea.com Email=s
[email protected] , issuer = C=US SP=California L=San Francisco O=BEA WebLogic OU=Security CN=Demo Certificate Authority Constraints [email protected] , key =
modulus length=65, exponent length=3.>
I have updated my license.bea file also. the date of expiration="2006-12-02" ..
Please suggest as to how to proceed
Thanks and Regards
SmitaUdupaYour server certificate expired. You need to update your identity keystore with a new certificate.
The expired certificate was issued by the demo BEA certificate authority (CA). These certs are not adequate for production but if you want to take this approach for your new cert you'll have to use the BEA CertGen utility. Have a look at http://edocs.bea.com/wls/docs70/secmanage/ssl.html for more details.
Your other option is to use Java's keytool utility to create a private key. You'd then generate a certificate signing request (CSR) that you'd send to a CA such as Verisign. You might even have a CA in-house. The CA will then send you a signed certificate that you load in your keystore. Assuming you've configured WebLogic to use this keystore you should be back in business with SSL.
Mike
Weblogic/J2EE Security Blog: http://monduke.com -
Problem While using Applet Reqd classes using Weblogic 5.1
Hi All,
Here is my problem while using other classes from the Applet gives an error:NoClassDefFound,
I have also put the applet reqd. classes in a jar file and placed this jar along with the applet
in weblogic/myserver/serverclases,
my tag in the html file is as follows:
<applet code="MyApplet.class" archive="voucher.jar"
codebase="/classes/" >
</applet>
is there any problem with my tag or directory structure,
It would be great ful and thanks for helping in solving this problem.
sai.Is this an issue with the "T-engine" or the "J-engine"? Are you using a
ubbconfig file or weblogic.properties file? Can you post the stack trace?
This may be an known issue and simply require you to install the latest
service pack for WLS 5.1 (aka. J-engine)...
Mary Ann Slavin wrote:
Accordning to the Software Product Information (SPI) for WLE 5.1 it is
available on the following Linux versions so this could be a problem
with the version you are running.
"BEA WebLogic Enterprise 5.1 software for Red Hat Linux 6.2 and Reliant
Unix 5.45 is available separately. "
MAS
yajneesh Sabharwal wrote:
hello friends,
I have a Problem in Using Weblogic 5.1
I am using weblogic 5.1 Enterprise on Linux 2.2.16 SuSE (7.0) with
Dual Celeron 550MHz and 1GB RAM. The server runs our web application
which uses the servelt, JSP and XSQL technology. The problem is
that often i receive ASSERTION FAILURES where after the jsp's stop
displaying content. Is this a Weblogic administration problem or
the underlying OS problem. Kindly advice.
Thankx in Advance
Yajneesh sabharwal -
Weblogic 6.0 Cluster Problem while reading requests
Hi,
My Problem is:
I get "weblogic.utils.NestedRuntimeException:Cannot parse POST parameters of request".
I am using weblogic 6.0 with SP2. I do have cluster setup. Problem occurs when accessing particular servlet using proxy cluster.
Can anybody help me out in resolving this problem? Thanks in advance!!!
Hi,
My Problem is:
I get "weblogic.utils.NestedRuntimeException:Cannot parse POST parameters of request".
I am using weblogic 6.0 with SP2. I do have cluster setup. Problem occurs when accessing particular servlet using proxy cluster.
Can anybody help me out in resolving this problem? Thanks in advance!!!
-
A web developer problem while running a web application
Hi all,
I'm novice to J2EE.
I've encountered a problem while accessing the deployed module in weblogic 8.1 server.
I'm sure that the webapplication module is deployed as i saw my module in administration console & also the status said that it is deployed.
when i access my web application by specifying the proper server and port no and context root it is showing
either 505 - resource not found error(http://localhost:7001/Suresh-2/Suresh) or 404 - not found error.( http://localhost:7001/Suresh-2/Suresh)
Now let me elaborate what i've done till now.
My webapplication folder structure is : C:\bea\user_projects\domains\mydomain\applications\Suresh\WEB-INF\classes\Sai\ServExamp.class
My servlet is ServExamp.java
I created a folder called "Suresh". In that folder created another folder called "WEB-INF". In WEB-INF created a folder called "Classes".
Since my servlet is in package "Sai", the .class file reside in \Suresh\WEB-INF\Classes\Sai\ServExamp.class
The source code is :
package Sai;
import javax.servlet.*;
import javax.servlet.http.*;
import java.io.*;
public class ServExamp extends HttpServlet
public void doPost(HttpServletRequest req,HttpServletResponse res)throws IOException
PrintWriter out=res.getWriter();
java.util.Date today=new java.util.Date();
out.println("<html>"+"<body>"+
"<h1 align=center>HF\'s Chapter1 Servlet </h1>"
+"<br>"+today+"</body>"+"</html>");
Now i'm almost done creating a web application. Next, I constructed a simple web.xml descriptor that gives a web friendly name for my servlet, and points to the servlet. I constructed web.xml descriptor file in the WEB-INF folder (C:\bea\user_projects\domains\mydomain\applications\Suresh\WEB-INF\).
The web.xml file source is :
<!DOCTYPE web-app
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
<display-name>Hello World Web Application</display-name>
<description>Test Servlet</description>
<servlet>
<servlet-name>ServExamp</servlet-name>
<servlet-class>Sai.ServExamp</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>ServExamp</servlet-name>
<url-pattern>/Suresh</url-pattern>
</servlet-mapping>
</web-app>
Now I have told Weblogic that the URI /Suresh corresponds to my servlet "Sai.ServExamp".
My Web Application is ready to be deployed at this point. I logged onto Weblogic's admin console,
1) clicked on deployments, then navigated to "Web Application Modules" .
2) Clicked "Deploy new Web Application Module"
3) Navigated to the location of your web application folder (Suresh). There was a radio button next to it indicating that I can select that folder as a valid web application.
4) I Clicked that radio button and clicked "Target Module".
5) It informed that my web application "Suresh" will be deployed to myServer.It asked a name for my web application deployment. By default it was "Suresh"
I clicked Deploy.
6) After deployment, my web application "Suresh" appeared in the "Web Application Modules" tree on the left.
I Clicked on "Suresh"( my web application) then clicked the testing tab, then clicked the link shown there(http://localhost:7001/Suresh-2).
It was not showing my servlet (showed a 403 error)
Error - 403
This status code is commonly used when the server does not wish to reveal exactly why the request has been refused, or when no other response is applicable.
I think so it came b'coz I don't have an index.html or index.jsp page.
7)Instead,I added my servlet on to the URL it provided.
http://localhost:7001/Suresh-2/Suresh
It is showing these error code: Http: 505 resource not allowed
The page cannot be displayed
The page you are looking for cannot be displayed because the address is incorrect.
Please try the following:
If you typed the page address in the Address bar, check that it is entered correctly.
Open the localhost:7001 home page and then look for links to the information you want.
Click Search to look for information on the Internet.
when i just type : http://localhost:7001/ -> Error 404 not found error
it's showing
Error 404--Not Found
From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
10.4.5 404 Not Found
The server has not found anything matching the Request-URI. No indication is given of whether the condition is temporary or permanent.
If the server does not wish to make this information available to the client, the status code 403 (Forbidden) can be used instead. The 410 (Gone) status code SHOULD be used if the server knows, through some internally configurable mechanism, that an old resource is permanently unavailable and has no forwarding address.
I want to run my web application & any help would be appreciated.
Thanks in advance.
with regards,
S.SayeeNarayanan.
Note: I even deployed my war file, which i got by execution of (jar cv0f webapp.war . ) command from the root directory of my web application i.e. Suresh
Then executed my webapplication it is showing
error-505 resource not allowed.
--------------------------------------------------------------------------------------------try a fully qualified path to the pem file
-
i am facing problem while reading values from properties file ...i am getting null pointer exception earlier i was using jdeveloper10g now i am using 11g
hi TimoHahn,
i am getting following exception in JDeveloper(11g release 2) Studio Edition Version 11.1.2.4.0 but it works perfectly fine in JDeveloper 10.1.2.1.0
Root cause of ServletException.
java.lang.NullPointerException
at java.util.PropertyResourceBundle.handleGetObject(PropertyResourceBundle.java:136)
at java.util.ResourceBundle.getObject(ResourceBundle.java:368)
at java.util.ResourceBundle.getString(ResourceBundle.java:334)
at org.rbi.cefa.master.actionclass.UserAction.execute(UserAction.java:163)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
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.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
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) -
Not able to set Weblogic Runtime on eclipse while adding new weblogic srvr
Hi Everyone,
I downloaded Oracle Integration pack for eclipse by clicking at "Download additional server adapters". I am not able to set Weblogic Runtime on eclipse while adding new weblogic server.
I am trying to give following values:
Name :Oracle WebLogic Server 10gR3 (2)
Weblogic home :C:\bea\wlserver_10.3
Java home: C:\bea\jrockit_160_05
Below it I am getting "No applicable extension found" and finish button is greyed out.
Please help in telling what is wrong. Never faced such an issue.
Thanks
SMI found this problem too.
OS:windows7、eclipse:helios、oepe:Part of Oracle Enterprise Pack for Eclipse 11.1.1.7.3
<workspace>\.metadata\.log:
!ENTRY org.eclipse.osgi 2 1 2012-06-05 00:16:06.357
!MESSAGE NLS unused message: enter_new_hit_count in: org.eclipse.wst.jsdt.debug.internal.ui.messages
!ENTRY org.eclipse.osgi 2 1 2012-06-05 00:16:06.357
!MESSAGE NLS unused message: exception_occurred_setting_bp_properties in: org.eclipse.wst.jsdt.debug.internal.ui.messages
!ENTRY org.eclipse.osgi 2 1 2012-06-05 00:16:06.357
!MESSAGE NLS unused message: hit_count_must_be_positive in: org.eclipse.wst.jsdt.debug.internal.ui.messages
!ENTRY org.eclipse.osgi 2 1 2012-06-05 00:16:06.357
!MESSAGE NLS unused message: no_description_provided in: org.eclipse.wst.jsdt.debug.internal.ui.messages
!ENTRY org.eclipse.osgi 2 1 2012-06-05 00:16:06.357
!MESSAGE NLS unused message: scripts in: org.eclipse.wst.jsdt.debug.internal.ui.messages
!ENTRY org.eclipse.osgi 2 1 2012-06-05 00:16:06.357
!MESSAGE NLS unused message: select_javascript_file in: org.eclipse.wst.jsdt.debug.internal.ui.messages
!ENTRY org.eclipse.osgi 2 1 2012-06-05 00:16:06.357
!MESSAGE NLS unused message: set_bp_hit_count in: org.eclipse.wst.jsdt.debug.internal.ui.messages
!ENTRY org.eclipse.osgi 2 1 2012-06-05 00:16:06.357
!MESSAGE NLS unused message: suspend_target in: org.eclipse.wst.jsdt.debug.internal.ui.messages
!ENTRY org.eclipse.osgi 2 1 2012-06-05 00:16:06.357
!MESSAGE NLS unused message: suspend_thread in: org.eclipse.wst.jsdt.debug.internal.ui.messages
!ENTRY org.eclipse.osgi 2 1 2012-06-05 00:16:06.357
!MESSAGE NLS unused message: the_argument_0_is_not_valid in: org.eclipse.wst.jsdt.debug.internal.ui.messages
I tried the weblogic 10.3.1、10.3.3、10.3.4、10.3.5 still show the info that "No applicable extension found" and finish button is greyed out.
What is the reason?
thanks! -
Please read my problem when I configure Weblogic https
I want to use https protocol and SSL for my web application in Weblogic
I have a problem but I am not sure it's related to configuring Weblogic or not please if you can advice me
I use "openssl" to be my own Certificate Authority (CA)
I used this instructions for using openssl [http://www.g-loaded.eu/2005/11/10/be-your-own-ca/]
after configuring openssl I used these steps for creating my keystore
1. First I use this keytool for creating my private key and public key
keytool -genkeypair -keyalg rsa -keystore ali_keytool.jks -storepass ali120 -alias ali_alias
What is your first and last name?
[Unknown]: AliKhosravi
What is the name of your organizational unit?
[Unknown]: Boors
What is the name of your organization?
[Unknown]: software
What is the name of your City or Locality?
[Unknown]: Tehranali_keytool.jks
What is the name of your State or Province?
[Unknown]: Tehran_Province
What is the two-letter country code for this unit?
[Unknown]: IR
Is CN=AliKhosravi, OU=Boors, O=software, L=Tehran, ST=Tehran_Province, C=IR correct?
[no]: y
2. I create my CSR by this command
keytool -certreq -alias ali_alias -keystore ali_keytool.jks -storepass ali120 -file ali_keytool.csr
3. I sign the ali_keytool.csr by openssl . I do it like this :
openssl x509 -req -in ali_keytool.csr -CA certs/myca.crt -CAkey private/myca.key -out ali_keytool.crt -days 365 -CAcreateserial -CAserial my_ca.seq
4.Now my I have a signed certificate (ali_keytool.crt) and my CA certificate (myca.crt)
and I import CA certificate to my keystore
keytool -import -alias Openssl_ca -file myca.crt -keystore ali_keytool.jks -storepass ali120
5. I import the signed certificate into my keystore by alias of private key
keytool -import -alias ali_alias -file ali_keytool.crt -keystore ali_keytool.jks -storepass ali120
6. I import the CA certificate again into a new keystore for creating Trust
keytool -import -alias my_ca -file myca.crt -keystore ali_keytool_trust.jks -storepass ali120
All steps done without any errors
I used this address for help [http://www.startux.de/java/44-dealing-with-java-keystores]
Now I want to configure kestores ans ssl in Weblogic
7. I go to the Environment-->Servers-->AdminServer-->Keystore tab in wblogic
8. I set "Keystores=Custom Identity and Custom Trust", "Custom Identity Keystore = H:\trust\ali_keytool.jks" , "Custom Identity Keystore Type=jks" ,
"Custom Identity Keystore Passphrase:ali120"
"Confirm Custom Identity Keystore Passphrase=ali120"
"Custom Trust Keystore=H:\trust\ali_keytool_trust.jks" , "Custom Trust Keystore Type=jks" ,
"Custom Trust Keystore Passphrase=ali120" , "Confirm Custom Trust Keystore Passphrase=ali120"
9. Then I go to SSL tab and I set "Identity and Trust Locations=Keystores" , "Private Key Alias=ali_alias" ,"Private Key Passphrase=ali120",
"Confirm Private Key Passphrase=ali120"
10. I go to the General tab and select "SSL Listen Port Enabled"
11. I user Firefox as WebBrowser so I configure my Browser I select Tools-->Options-->ViewCertificates --> Authorities tab
and I import the server certificate here is "myca.crt the openssl certificate"
in Downloading Certificate window I select
"Trust this CA to identify web sites"
"Trust this CA to identify email users"
"Trust this CA to identify software developers"
12. I restart Weblogic
13. I try to loging in weblogic like this "https://127.0.0.1:7002/console"
The webBroser show me this warning:
This Connection is Untrusted
You have asked Firefox to connect
securely to 127.0.0.1:7002, but we can't confirm that your connection is secure.
Normally, when you try to connect securely,
sites will present trusted identification to prove that you are
going to the right place. However, this site's identity can't be verified.
What Should I Do?
If you usually connect to
this site without problems, this error could mean that someone is
trying to impersonate the site, and you shouldn't continue.
Technical Details
I Understand the Risks
I don't know why the WebBrowser show me this warning while I imported the Server Certificate
I don't know that my problem is in configuring WebLogic or FireFox WebBrowser or Keystore
If you know please advice me
ThanksModerator Action:
You already aked this question a couple of weeks earlier:
My problem when I enable SSL in Weblogic and I don't have a trusted CA cert
This is a user-to-user forum.
There is no obligation that anyone respond. They will answer if they choose to.
If there is a business need for a resolution, use your service contract privileges and open a support ticket with Oracle Support.
http://www.oracle.com/us/support/contact-068555.html
This duplicate forum post is locked. -
A small problem while running my webapplication
Hi all,
I'm novice to J2EE.
I've encountered a problem while accessing the deployed module in weblogic 8.1 server.
I'm sure that the webapplication module is deployed as i saw my module in administration console & also the status said that it is deployed.
when i access my web application by specifying the proper server and port no and context root it is showing
either 505 - resource not found error(http://localhost:7001/Suresh-2/Suresh) or 404 - not found error.( http://localhost:7001/Suresh-2/Suresh)
Now let me elaborate what i've done till now.
My webapplication folder structure is : C:\bea\user_projects\domains\mydomain\applications\Suresh\WEB-INF\classes\Sai\ServExamp.class
My servlet is ServExamp.java
I created a folder called "Suresh". In that folder created another folder called "WEB-INF". In WEB-INF created a folder called "Classes".
Since my servlet is in package "Sai", the .class file reside in \Suresh\WEB-INF\Classes\Sai\ServExamp.class
The source code is :
package Sai;
import javax.servlet.;*
import javax.servlet.http.;*
import java.io.;*
public class ServExamp extends HttpServlet
public void doPost(HttpServletRequest req,HttpServletResponse res)throws IOException
PrintWriter out=res.getWriter();
java.util.Date today=new java.util.Date();
out.println("<html>"+"<body>"+
*"<h1 align=center>HF\'s Chapter1 Servlet </h1>"*
+"<br>"+today+"</body>"+"</html>");
Now i'm almost done creating a web application. Next, I constructed a simple web.xml descriptor that gives a web friendly name for my servlet, and points to
the servlet. I constructed web.xml descriptor file in the WEB-INF folder (C:\bea\user_projects\domains\mydomain\applications\Suresh\WEB-INF\).
The web.xml file source is :
*<!DOCTYPE web-app*
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
*"http://java.sun.com/dtd/web-app_2_3.dtd">*
*<web-app>*
*<display-name>Hello World Web Application</display-name>*
*<description>Test Servlet</description>*
*<servlet>*
*<servlet-name>ServExamp</servlet-name>*
*<servlet-class>Sai.ServExamp</servlet-class>*
*</servlet>*
*<servlet-mapping>*
*<servlet-name>ServExamp</servlet-name>*
*<url-pattern>/Suresh</url-pattern>*
*</servlet-mapping>*
*</web-app>*
Now I have told Weblogic that the URI /Suresh corresponds to my servlet "Sai.ServExamp".
My Web Application is ready to be deployed at this point. I logged onto Weblogic's admin console,
*1) clicked on deployments, then navigated to "Web Application Modules" .*
*2) Clicked "Deploy new Web Application Module"*
*3) Navigated to the location of your web application folder (Suresh). There was a radio button next to it indicating that I can select that folder as a*
valid web application.
*4) I Clicked that radio button and clicked "Target Module".*
*5) It informed that my web application "Suresh" will be deployed to myServer.It asked a name for my web application deployment. By default it was "Suresh"*
I clicked Deploy.
*6) After deployment, my web application "Suresh" appeared in the "Web Application Modules" tree on the left.*
I Clicked on "Suresh"( my web application) then clicked the testing tab, then clicked the link shown there(http://localhost:7001/Suresh-2).
It was not showing my servlet (showed a 403 error)
Error - 403
This status code is commonly used when the server does not wish to reveal exactly why the request has been refused, or when no other response is applicable.
I think so it came b'coz I don't have an index.html or index.jsp page.
*7)Instead,I added my servlet on to the URL it provided.*
http://localhost:7001/Suresh-2/Suresh
It is showing these error code: Http: 505 resource not allowed
The page cannot be displayed
The page you are looking for cannot be displayed because the address is incorrect.
Please try the following:
If you typed the page address in the Address bar, check that it is entered correctly.
Open the localhost:7001 home page and then look for links to the information you want.
Click Search to look for information on the Internet.
when i just type : http://localhost:7001/ -> Error 404 not found error
it's showing
Error 404--Not Found
From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
*10.4.5 404 Not Found*
The server has not found anything matching the Request-URI. No indication is given of whether the condition is temporary or permanent.
If the server does not wish to make this information available to the client, the status code 403 (Forbidden) can be used instead. The 410 (Gone) status code
SHOULD be used if the server knows, through some internally configurable mechanism, that an old resource is permanently unavailable and has no forwarding
address.
I want to run my web application & any help would be appreciated.
Thanks in advance.
with regards,
S.SayeeNarayanan.
Note: I even deployed my war file, which i got by execution of (jar cv0f webapp.war . ) command from the root directory of my web application i.e. Suresh
Then executed my webapplication it is showing
error-505 resource not allowed.
--------------------------------------------------------------------------------------------cross posted (amazingly dukes offered in both)
Maybe you are looking for
-
Help! ipod touch 1st generation cannot be recognized by iTunes
Hi there, I tried to upgrade my ipod touch (1st generation) using itunes, but it failed. I forgot the error code. After that, my ipod touch cannot be recognized by iTunes any longer. Every time when I open the ipod touch, it shows the graph of a CD a
-
Does anyone still make a monochrome office printer with true Postscript?
I'm looking for a monochrome laser printer to print letter-size paper, with true (not emulated) Adobe Postscript. The discontinued Xerox Phaser 4510 could, but its replacement, the Phaser 4622, has emulated postscript. Some Xerox color printers have
-
At selection screen output validation
Hi to all experts. i have requirement when user selects the download radio button then only the file path should be made mandatory . can be done
-
Return url for the current page
Hi, I would like to know how to return the url for the current page?
-
Upgrading from 10.3.9 to latest OS?
I am currently using OS 10.3.9 and would like to upgrade to the latest version possible. I have 933MHz PowerPC G4 2MB L3 cache, 512MB SDRAM. And running 10.3.9. as i just got the new iphone4, and this wouldn't connect with itune or any other programm