Config weblogic in myeclipse
i don't know how to config weblogic in myeclipse
what are the plugins to be used to config weblogic in the myeclipse
http://www.google.com/search?q=myeclipse+weblogic+setup&ie=utf-8&oe=utf-8&aq=t
You can't really expect us to do all your research, can you?
Similar Messages
-
Help on how to config weblogic 5.1's file encoding or codeset
I have some written chinese characters in my stateless session bean, i got to send
them to a web site through http connection using get method, but chars arrived
at web site are in wrong format, I tried to use new String (msg.getBytes("", "GBK"))
or new String (msg.getBytes("ISO8859_1","GBK")) to transfer but didn't work ,
my java VM's file.encoding = GBK , weblogic server is the same , BTW I wrote
a stand alone application to open a URLConnection and send these chars, it worked,
it just didn't work in my stateless session bean
any help will be appreciated, thanks in advance!!!I have tuned this parameter, but it is not effective.
if use tomcat or jboss , tune the similar parameter:maxHttpHeaderSize="8192", upload file will be very fast. -
How to config weblogic 10.3.3 server log and domain log?
I need to change the default logging configuration for both server log and the domain log. The server logging configuration (such as limiting the number of retained log files) can be updated in the Admin console. Howerver there are 100 domains running in a weblogic instance, can this be accomplished by updating a configuration file for each domain instead of going through the web interface?
Also, how can I change the domain log configuration? Is there a configuration file or a command line argument for this?
Thanks,
HongHi Hong,
Based on your requirement we have just created a script for you which would full fill your requirement.
Note: Please the below properties files and the WLST script in the same same location
"*domain.properties*"
domain.count=2
rotationType=bySize
numberOfFilesLimited=yes
fileMinSize=3000
rotateLogOnStartup=yes
fileCount=5
### Domain-1 Details ###
domain.1.name=Domain_7001
domain.1.admin.url=t3://10.10.10.10:7001
domain.1.admin.username=weblogic
domain.1.admin.password=weblogic
domain.1.server.count=2
domain.1.server.1.name=AdminServer
domain.1.server.2.name=MS-1
### Domain-2 Details ###
domain.2.name=Test_Domain
domain.2.admin.url=t3://20.20.20.20:8001
domain.2.admin.username=weblogic
domain.2.admin.password=weblogic
domain.2.server.count=2
domain.2.server.1.name=AdminServer
domain.2.server.2.name=MS-1 Below is the WLST script "*domainLogConfigurtionChange.py*" which would use the above properties file.
# @author Copyright (c) 2010 - 2011 by Middleware Maigc, All Rights Reserved.
from java.io import FileInputStream
propInputStream = FileInputStream("domain.properties")
configProps = Properties()
configProps.load(propInputStream)
totalNumbersofDomains=configProps.get("domain.count")
rotationType=configProps.get("rotationType")
numberOfFilesLimited=configProps.get("numberOfFilesLimited")
fileMinSize=configProps.get("fileMinSize")
rotateLogOnStartup=configProps.get("rotateLogOnStartup")
fileCount=configProps.get("fileCount")
def str2bool(v):
return v.lower() in ("yes", "true", "t", "1")
domainTmpCount=1
while (domainTmpCount <= int(totalNumbersofDomains)) :
domainName = configProps.get("domain."+ str(domainTmpCount)+".name")
domainAdminUrl = configProps.get("domain."+ str(domainTmpCount)+".admin.url")
domainAdminUserName = configProps.get("domain."+ str(domainTmpCount)+".admin.username")
domainAdminPassword = configProps.get("domain."+ str(domainTmpCount)+".admin.password")
serverTmpCount = configProps.get("domain."+ str(domainTmpCount)+".server.count")
connect(domainAdminUserName, domainAdminPassword, domainAdminUrl)
print '==============================================='
print 'Changing Log Settings For Domain....', domainName
print '==============================================='
serverTmpCount=1
while (serverTmpCount <= int(totalNumbersofDomains)) :
edit()
startEdit()
serverName = configProps.get("domain."+ str(domainTmpCount)+".server."+ str(serverTmpCount)+".name")
print 'Changing Log Setting for serverName: ' , serverName
cd('/Servers/' + serverName + '/Log/' + serverName)
cmo.setRotationType(rotationType)
x = str2bool(numberOfFilesLimited)
cmo.setNumberOfFilesLimited(x)
cmo.setFileMinSize(int(fileMinSize))
cmo.setRotateLogOnStartup(str2bool(rotateLogOnStartup))
cmo.setFileCount(int(fileCount))
cmo.setFileName('logs/' + serverName + '.log')
activate()
serverTmpCount = serverTmpCount +1
domainTmpCount = domainTmpCount +1 For more information on how these WLST scripts can be used please refer to the following link
Topic: WLST
http://middlewaremagic.com/weblogic/?page_id=1492
Regards,
Ravish Mody -
Problem wth weblogic.servlet.jsp.jspstub
hai,
i have three pages in my application iam calling a login page which verifies the user and gets the data from the database
and iam showing the results in the secod page and logging from there.
This process iam doing with a stress tool repeatedly.
iam observing the created objects in the heapinspector the name of the product is optimiztit.
iam observing the following contents are increasing on each login process.
The objects which are increasing are as follows.
weblogic.servlet.jsp.config,
weblogic.servlet.jsp.jspstub,
weblogic.socket.IoRecord,
weblogic.rmi.internal.dgc.DGCServerHelper,
java.lang.security.exceptions
and some other weblogic related objects.
and once they reach the max heap memory my application is runnig outofmemory exception.
do i need to follow any configration setting to arrest the above object increments.
can any body give some help to over come this.it would be a great help for me if i get any healp.
Any ideas/pointers would be welcome. Thanks for your help.
Thanks,
gangadhar
Hi,
It's peculiar that you're seeing JspStub and jsp.config instances
increasing. Can you convert your application to a stand alone app that
doesn't do any database access and send me the application with instructions
on how to run it. If so, I can look into it quickly - otherwise, I can only
guess and that is a waste of time for both of us.
Alex
"gangadhar" <[email protected]> wrote in message
news:[email protected]...
> hai,
>
> i have three pages in my application iam calling a login page which
verifies the user and gets the data from the database
> and iam showing the results in the secod page and logging from there.
>
> This process iam doing with a stress tool repeatedly.
>
> iam observing the created objects in the heapinspector the name of the
product is optimiztit.
>
> iam observing the following contents are increasing on each login process.
>
> The objects which are increasing are as follows.
>
> weblogic.servlet.jsp.config,
> weblogic.servlet.jsp.jspstub,
> weblogic.socket.IoRecord,
> weblogic.rmi.internal.dgc.DGCServerHelper,
> java.lang.security.exceptions
> and some other weblogic related objects.
>
> and once they reach the max heap memory my application is runnig
outofmemory exception.
>
> do i need to follow any configration setting to arrest the above object
increments.
>
> can any body give some help to over come this.it would be a great help for
me if i get any healp.
>
> Any ideas/pointers would be welcome. Thanks for your help.
>
> Thanks,
> gangadhar
-
Does NetWeaver have same functionality like WLST in WebLogic?
[WLST|http://download.oracle.com/docs/cd/E12840_01/wls/docs103/config_scripting/using_WLST.html] is powerful and convenient script for config WebLogic Server. I am wondering if NetWeaver has something similar to it?
Thanks,
-JianHere I would like specify my question mnore clearly,
CREATE TABLE t(
line NUMBER(3),
site VARCHAR2(4),
phase VARCHAR2(5),
test VARCHAR2(25));
INSERT INTO t VALUES (1, '0100', '*','1111111111111111111111111' );
INSERT INTO t VALUES (2, '0100', '=','2222222222222222222222222' );
INSERT INTO t VALUES (3, '0100', '=','3333333333333333333333333' );
INSERT INTO t VALUES (4, '0100', '*','4444444444444444444444444' );
INSERT INTO t VALUES (5, '0100', '=','5555555555555555555555555' );
INSERT INTO t VALUES (6, '0200', '*','6666666666666666666666666' );
Here I want to retrieve the 'line' column information in ONE line way
select line from t I want the result is like '1,2,3,4,5,6'
Any generous help would be greatly appreciated!!! -
Aix server ( WebLogic 11)
Hi
Obiee Experts
how to config weblogic deployment in obiee link. could you please let me know
thnks
satyahi
Kiran
thanks for qucick responce
i have install obiee 10.1.3.4 in Aix (Unix server). at the same way i installed weblogic also how to map with weblogic to our obiee link.
what is my query means i have install weblogic 11g in aix server (Unix) how to deployment, means how to config our obiee link through weblogic.
i am new software (Weblogic) instllation unix server . what are the steps pendig kindly let me know
i hope u understand my query
Advance Thanks
Satya -
Weblogic 10.3 ldap provider configuration
Hello, I am trying to configure Weblogic 10.3 to use an LDAP authentication provider. I can see my list of Users from the ldap server, but I can not see the list of Groups. Any help with my config would be appreciated. I turned on debug for DebugSecurity and ldap. I do not seem to have a recent error from trying to view the groups in the logs. I have been doing grep -i error on the log dir.
Ldap-auth Config
Weblogic 10.3 (Windows install)
IPlanetAuth Provider - 1.0
LDAP Server – Fedora Directory Server (fedora-ds-1.0.4-1.RHEL4)
LDAP Group DN
ou=fssys02,ou=Groups,dc=hns-net,dc=com
Groups under fssys02 – 4 cn=fs* groups that do not show up in Weblogic
Group objectClass - groupOfUniqueNames (structural)
Control flag - OPTIONAL
IPlanetAuth Provider - 1.0
Keep Alive Enabled – yes
User Name Attribute – uid
Propagate Cause for Login Exception – yes
Principal -
Host – ldap
User Object Class – person
All Users filter -
User Search Scope – subtree
All Groups filter –
Static Member DN Attribute – uniqueMember
Bind Anonymously on Referrals – yes
Group From Name Filter - (&(cn=%g)(objectclass=groupofUniqueNames))
Static Group DNs from Member DN Filter - (&(uniqueMember=%M)(objectclass=groupofUniqueNames))
Use Retrieved user Name as Principal –
Results Time Limit – 0
Cache TTL – 60
Dynamic Group Name Attribute –
Credential –
Confirm Credential –
Group Search Scope – subtree
Group Base DN - ou=fssys02,ou=Groups,dc=hns-net,dc=com
Dynamic Group Object Class – groupofURLs
User From Name Filter - (&(uid=%u)(objectclass=person))
Dynamic Member URL Attribute – memberURL
Cache Size – 32
SSLEnabled –
Cache Enabled – yes
Connection Retry Limit – 1
Connect Timeout – 0
Parallel Connect Delay – 0
User Dynamic Group DN Attribute – cn
Static Group Name Attribute – cn
User Base DN - ou=People, dc=hns-net,dc=com
Follow Referrals – yes
Port – 389
Ignore Duplicate Membership –
Static Group Object Class –
Group Membersip Searching – unlimited
Max Group Membership Search Level – 15Hi To View the LDAP Groups and the users
Groups and users has to been under one OU (organizational Unit) Check the Below Format
and in the Properties files you have to enable the LDAPGroup Proprties to true.
This is for iplanet
User path
ou=groups,dc=xxx,dc=xxxsoft,dc=com
Group path
ou=groups,dc=xxx,dc=xxxsoft,dc=com
Search filter
(objectclass=person)
for ADS Group base DN and user base Dn should be same (for example:-ou=test)
Group Base DN - ou=fssys02,ou=Groups,dc=hns-net,dc=com
User Base DN - ou=People, dc=hns-net,dc=com
Check it out.This Should work. -
Hi all,
pls help, I have a problem with starting weblogic8.1 SP2 wich is running in MyEclipse. When I run weblogic from MyEclipse to the line:
<Jun 16, 2006 10:35:42 AM EDT> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) Client VM Version 1.4.1_05-b01 from Sun Microsystems Inc.>
<Jun 16, 2006 10:35:43 AM EDT> <Info> <Configuration Management> <BEA-150016> <This server is being started as the administration server.>
<Jun 16, 2006 10:35:43 AM EDT> <Info> <Management> <BEA-141107> <Version: WebLogic Server 8.1 SP2 Fri Dec 5 15:01:51 PST 2003 316284
WebLogic XMLX Module 8.1 SP2 Fri Dec 5 15:01:51 PST 2003 316284 >
<Jun 16, 2006 10:35:43 AM EDT> <Notice> <Management> <BEA-140005> <Loading domain configuration from configuration repository at C:\bea_home\user_projects\domains\mydomain\config.xml.>
<Jun 16, 2006 10:35:45 AM EDT> <Notice> <Log Management> <BEA-170019> <The server log file C:\bea_home\user_projects\domains\mydomain\myserver\myserver.log is opened. All server side log events will be written to this file.>
<Jun 16, 2006 10:35:48 AM EDT> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
<Jun 16, 2006 10:35:48 AM EDT> <Notice> <WebLogicServer> <BEA-000327> <Starting WebLogic Admin Server "myserver" for domain "mydomain">
<Jun 16, 2006 10:36:29 AM EDT> <Warning> <HTTP> <BEA-101304> <Webapp: ServletContext(id=16125728,name=SMARTS,context-path=/SMARTS), the role: myGrp defined in web.xml has not been mapped to principals in security-role-assignment in weblogic.xml. Will use the rolename itself as the principal-name.>
<Jun 16, 2006 10:36:30 AM EDT> <Notice> <WebLogicServer> <BEA-000331> <Started WebLogic Admin Server "myserver" for domain "mydomain" running in Development Mode>
It popup a messge box said:
This kind of launch is configued to open a Debug perpective when it suspended. Do you want to open this perpective now?
and it opens a file in Weblogic.jar called ServerCoordinatorDescription which is in weblogic.transaction.internal package of weblogic.jar in MyEclipse editor window
After this, then weblogic continues running until the line:
<Thread "ListenThread.Default" listening on port 7001, ip address *.*> .
However the application will be hang if I try to run it.
The question is why weblogic is suspended to that certain point? It used to run normally
please help, I have tried to solve this problem for 2 days. I have reinstall myeclipse and also weblogic but it does not help.
ThanksDon't know. We use IBM's MQ. javax.jms.JMSException has a method, getLinkedException() that allows one access to the linked, often true exception. You might want to see if javax.transaction.xa.XAException provides access to a linked exception.
Just a thought.
Good luck. -
Java.rmi.ConnectException using webstart Swing client with WL 8.1 SP2 in a
Hi all,
I'm receiving the following exception when invoking a remote method on
a cached remote stub. This only happens if there are at least two
nodes running in a cluster. It happens more often the more nodes are
running.
It seems that the exception occurs if for a call to a remote method a
cached stub is used, and if that call is referred to a different node
in the cluster by the load balancer than the one that the stub
originally came from. But I'm not completely sure about that...
Client side config:
Webstart
JDK 1.4.2_05
weblogic.jar (we're experiencing other problems already discussed in
this group when using wlclient.jar)
Server side config:
Weblogic 8.1 SP2
cluster on Sun Solaris machines (two nodes, one manager)
Here is the exception stacktrace:
java.rmi.ConnectException: Could not establish a connection with
2198062098923170717S:shebea219:[7001,7001,-1,-1,7001,-1,-1,0,0]:SHEBEA219,SHEBEA334:DaGama:DaGamaNode1,
java.security.AccessControlException: access denied
(java.net.SocketPermission shebea219 resolve)
at weblogic.rjvm.RJVMImpl.getOutputStream(RJVMImpl.java:316)
at weblogic.rjvm.RJVMImpl.getRequestStream(RJVMImpl.java:488)
at weblogic.rjvm.RJVMImpl.getOutboundRequest(RJVMImpl.java:584)
at
weblogic.rmi.internal.BasicRemoteRef.getOutboundRequest(BasicRemoteRef.java:91)
at
weblogic.rmi.internal.activation.ActivatableRemoteRef.invoke(ActivatableRemoteRef.java:69)
at
de.conet.dagama.interesengine.nativesession.SBNativeSession_8da95c_EOImpl_812_WLStub.isConnected(Unknown
Source)
at
de.conet.dagama.agent.flight.nativ.FlightNativeListener.doExitNativeSession(FlightNativeListener.java:244)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at
de.objektpark.framework.command.CommandInvoker.invoke(CommandInvoker.java:132)
at
de.objektpark.framework.command.CommandProcessor.doService(CommandProcessor.java:169)
at
de.objektpark.framework.command.CommandProcessor.service(CommandProcessor.java:131)
at
de.objektpark.framework.command.CommandProcessor.execute(CommandProcessor.java:71)
at
de.conet.webactiv.swing.command.GUICommandProcessor.execute(GUICommandProcessor.java:87)
at
de.conet.webactiv.swing.controller.GUICommandController.execute(GUICommandController.java:98)
at
de.conet.webactiv.swing.controller.GUICommandController.execute(GUICommandController.java:124)
at
de.conet.dagama.agent.flight.nativ.FlightFreeNativeView.this_windowClosing(FlightFreeNativeView.java:84)
at
de.conet.dagama.agent.flight.nativ.FlightFreeNativeView$1.windowClosing(FlightFreeNativeView.java:73)
at java.awt.AWTEventMulticaster.windowClosing(Unknown Source)
at java.awt.Window.processWindowEvent(Unknown Source)
at javax.swing.JFrame.processWindowEvent(Unknown Source)
at java.awt.Window.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown
Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
Has anyone ever come across the same problem and possibly found a
solution?
Any help would be greatly appreciated.
Thanks in advance
RolfHi all,
I'm receiving the following exception when invoking a remote method on
a cached remote stub. This only happens if there are at least two
nodes running in a cluster. It happens more often the more nodes are
running.
It seems that the exception occurs if for a call to a remote method a
cached stub is used, and if that call is referred to a different node
in the cluster by the load balancer than the one that the stub
originally came from. But I'm not completely sure about that...
Client side config:
Webstart
JDK 1.4.2_05
weblogic.jar (we're experiencing other problems already discussed in
this group when using wlclient.jar)
Server side config:
Weblogic 8.1 SP2
cluster on Sun Solaris machines (two nodes, one manager)
Here is the exception stacktrace:
java.rmi.ConnectException: Could not establish a connection with
2198062098923170717S:shebea219:[7001,7001,-1,-1,7001,-1,-1,0,0]:SHEBEA219,SHEBEA334:DaGama:DaGamaNode1,
java.security.AccessControlException: access denied
(java.net.SocketPermission shebea219 resolve)
at weblogic.rjvm.RJVMImpl.getOutputStream(RJVMImpl.java:316)
at weblogic.rjvm.RJVMImpl.getRequestStream(RJVMImpl.java:488)
at weblogic.rjvm.RJVMImpl.getOutboundRequest(RJVMImpl.java:584)
at
weblogic.rmi.internal.BasicRemoteRef.getOutboundRequest(BasicRemoteRef.java:91)
at
weblogic.rmi.internal.activation.ActivatableRemoteRef.invoke(ActivatableRemoteRef.java:69)
at
de.conet.dagama.interesengine.nativesession.SBNativeSession_8da95c_EOImpl_812_WLStub.isConnected(Unknown
Source)
at
de.conet.dagama.agent.flight.nativ.FlightNativeListener.doExitNativeSession(FlightNativeListener.java:244)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at
de.objektpark.framework.command.CommandInvoker.invoke(CommandInvoker.java:132)
at
de.objektpark.framework.command.CommandProcessor.doService(CommandProcessor.java:169)
at
de.objektpark.framework.command.CommandProcessor.service(CommandProcessor.java:131)
at
de.objektpark.framework.command.CommandProcessor.execute(CommandProcessor.java:71)
at
de.conet.webactiv.swing.command.GUICommandProcessor.execute(GUICommandProcessor.java:87)
at
de.conet.webactiv.swing.controller.GUICommandController.execute(GUICommandController.java:98)
at
de.conet.webactiv.swing.controller.GUICommandController.execute(GUICommandController.java:124)
at
de.conet.dagama.agent.flight.nativ.FlightFreeNativeView.this_windowClosing(FlightFreeNativeView.java:84)
at
de.conet.dagama.agent.flight.nativ.FlightFreeNativeView$1.windowClosing(FlightFreeNativeView.java:73)
at java.awt.AWTEventMulticaster.windowClosing(Unknown Source)
at java.awt.Window.processWindowEvent(Unknown Source)
at javax.swing.JFrame.processWindowEvent(Unknown Source)
at java.awt.Window.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown
Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
Has anyone ever come across the same problem and possibly found a
solution?
Any help would be greatly appreciated.
Thanks in advance
Rolf -
WLS 8.1 issue with .ear deployment ....
I think the weblogic8.1 seems to have some NEW bug now. We have a .ear file that
works just PERFECT in WLS6.1. But now when we try to DEPLOY this .ear file our
WLS8.1 server(via the new look and feel of WLS8.1' console)....we are getting
the Exception like ...."pl read inline below":
...All i know is that WLS 8.1 has introduced something like : "single J2EEC -
EAR compiler, replacing the separate compilers in previous releases" ........is
it may be because of this ????
If somebody has any idea ....please let me know asap ...and just above the EXCEPTION
we are also getting something like ...."Deployment descriptor "/WEB-INF/ups-html.tld"
is malformed" ....what is going wrong now ?
Please note again ....this .ear file just work PERFECT in WLS6.1+sp2.
Read inline for the Exception:
<Jul 16, 2003 11:15:14 AM EDT> <Warning> <HTTP> <BEA-101248> <[ServletContext(id=4316640,name=ABL,context-path=/ABL)]:
Deployment descriptor "/WEB-INF/ups-html.tld" is malformed. Check against the
DTD: Element type "info" must be declared. (line 334, column 9).>
<Jul 16, 2003 11:15:14 AM EDT> <Warning> <HTTP> <BEA-101248> <[ServletContext(id=4316640,name=ABL,context-path=/ABL)]:
Deployment descriptor "/WEB-INF/ups-html.tld" is malformed. Check against the
DTD: The content of element type "tag" must match "(name,tag-class,tei-class?,body-content?,display-name?,small-icon?,large-icon?,description?,variable*,attribute*,example?)".
(line 335, column 8).>
MessageResourcesFactory.createFactory
java.lang.NoClassDefFoundError: org/apache/struts/util/MessageResourcesFactory
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:502)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:431)
at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:169)
at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
at java.lang.ClassLoader.loadClass(ClassLoader.java:292)
at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:41)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:140)
at org.apache.struts.util.MessageResourcesFactory.createFactory(MessageResourcesFactory.java:161)
at org.apache.struts.action.ActionServlet.initApplication(ActionServlet.java:1029)
at org.apache.struts.action.ActionServlet.init(ActionServlet.java:464)
at javax.servlet.GenericServlet.init(GenericServlet.java:258)
at weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run(ServletStubImpl.java:1070)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:97)
at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:893)
at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:842)
at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:782)
at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:3191)
at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServletContext.java:3136)
at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:3109)
at weblogic.servlet.internal.WebAppServletContext.setStarted(WebAppServletContext.java:5559)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:853)
at weblogic.j2ee.J2EEApplicationContainer.start(J2EEApplicationContainer.java:2012)
at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2053)
at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.activateContainer(SlaveDeployer.java:2558)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.doCommit(SlaveDeployer.java:2483)
at weblogic.management.deploy.slave.SlaveDeployer$Task.commit(SlaveDeployer.java:2308)
at weblogic.management.deploy.slave.SlaveDeployer.commitUpdate(SlaveDeployer.java:639)
at weblogic.drs.internal.SlaveCallbackHandler$2.execute(SlaveCallbackHandler.java:35)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:178)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:151)
<Jul 16, 2003 11:15:14 AM EDT> <Error> <HTTP> <BEA-101046> <[ServletContext(id=4316640,name=ABL,context-path=/ABL)]
service: Cannot load application resources bundle com.ups.dfd.abl.prop.Constants
java.lang.NullPointerException
at org.apache.struts.action.ActionServlet.initApplication(ActionServlet.java:1031)
at org.apache.struts.action.ActionServlet.init(ActionServlet.java:464)
at javax.servlet.GenericServlet.init(GenericServlet.java:258)
at weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run(ServletStubImpl.java:1070)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:97)
at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:893)
at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:842)
at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:782)
at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:3191)
at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServletContext.java:3136)
at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:3109)
at weblogic.servlet.internal.WebAppServletContext.setStarted(WebAppServletContext.java:5559)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:853)
at weblogic.j2ee.J2EEApplicationContainer.start(J2EEApplicationContainer.java:2012)
at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2053)
at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.activateContainer(SlaveDeployer.java:2558)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.doCommit(SlaveDeployer.java:2483)
at weblogic.management.deploy.slave.SlaveDeployer$Task.commit(SlaveDeployer.java:2308)
at weblogic.management.deploy.slave.SlaveDeployer.commitUpdate(SlaveDeployer.java:639)
at weblogic.drs.internal.SlaveCallbackHandler$2.execute(SlaveCallbackHandler.java:35)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:178)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:151)
>
<Jul 16, 2003 11:15:14 AM EDT> <Error> <HTTP> <BEA-101216> <Servlet: "service"
failed to preload on startup in Web application: "ABL".
javax.servlet.UnavailableException: Cannot load application resources bundle com.ups.dfd.abl.prop.Constants
at org.apache.struts.action.ActionServlet.initApplication(ActionServlet.java:1043)
at org.apache.struts.action.ActionServlet.init(ActionServlet.java:464)
at javax.servlet.GenericServlet.init(GenericServlet.java:258)
at weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run(ServletStubImpl.java:1070)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:97)
at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:893)
at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:842)
at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:782)
at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:3191)
at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServletContext.java:3136)
at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:3109)
at weblogic.servlet.internal.WebAppServletContext.setStarted(WebAppServletContext.java:5559)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:853)
at weblogic.j2ee.J2EEApplicationContainer.start(J2EEApplicationContainer.java:2012)
at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2053)
at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.activateContainer(SlaveDeployer.java:2558)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.doCommit(SlaveDeployer.java:2483)
at weblogic.management.deploy.slave.SlaveDeployer$Task.commit(SlaveDeployer.java:2308)
at weblogic.management.deploy.slave.SlaveDeployer.commitUpdate(SlaveDeployer.java:639)
at weblogic.drs.internal.SlaveCallbackHandler$2.execute(SlaveCallbackHandler.java:35)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:178)
thx, sangitaRob,
These are the 3 files that you need:
1) wlstart_cap (this is the start up script that we use to start the Managed server
while on WLS6.1) ....please read inline:
-----------Inline 1-----------------
#!/bin/ksh
# BEA WebLogic Start Script - Version 1.1
# Add support for STARTMODE MKG 03/08/2002
# Set user specified variables
JAVA_HOME=/usr/j2sdk1_3_1_01
JAVA_OPTIONS="-D$1 -ms128m -mx128m -noclassgc"
BEA_HOME=/opt/bea
WL_HOME=$BEA_HOME/wlserver6.1
WL_SCRIPT=$WL_HOME/config/Subsidiary
export WL_SCRIPT
EXPORT_LIB=$WL_HOME/lib
#### Set locale to US English MKG 2003/01/16
LC_MESSAGES=C
LC_TIME=en_US.ISO8859-1
LC_NUMERIC=en_US.ISO8859-1
LC_MONETARY=en_US.ISO8859-1
LC_COLLATE=en_US.ISO8859-1
LC_CTYPE=en_US.ISO8859-1
export LC_MESSAGES LC_TIME LC_NUMERIC LC_MONETARY LC_COLLATE LC_CTYPE
#### End locale settings
#### UPSCAP-clientmanger App settings --- Begin
# workaround for strange bug in code that requires an x-server
# to be present when graph code is initialized.
# Note that this is my sun workstation. MKG 05/16/2002
DISPLAY=bluewolf.telecom.ups.com:0.0
export DISPLAY
#### UPSCAP-clientmanger App settings --- End
#### EUP App settings --- Begin
VANAPI_HOME=/opt/vanapi
VANPATH=$VANPATH:$VANAPI_HOME/vanapi/share
LD_LIBRARY_PATH=$VANAPI_HOME/vanapi:$VANAPI_HOME/vanapi/vanjavi:$LD_LIBRARY_PATH
PATH=$VANAPI_HOME/perl_dir/bin:$PATH
EUP_CLASSPATH=$WL_HOME/config/Subsidiary/serverclasses
export VANPATH LD_LIBRARY_PATH VANAPI_HOME PATH EUP_CLASSPATH
#### EUP App settings --- End
CLASSPATH=$WL_HOME/lib/CR061106_61sp2.jar:$WL_HOME/lib/CR072612_61sp2.jar:$WL_HOME/lib/CR071109_610sp2.jar:$WL_
HOME/lib/CR058352_61sp2.jar:$WL_HOME/lib/weblogic.jar:$BEA_HOME:$EUP_CLASSPATH
if [ -n "$LD_LIBRARY_PATH" ]; then
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$WL_HOME/lib/solaris:
else
LD_LIBRARY_PATH=$WL_HOME/lib/solaris:
fi
export LD_LIBRARY_PATH
ADMIN_URL=$(cat $WL_SCRIPT/config.weblogic|grep AdminServerURL|awk '{print $2}')
ADMIN_SERVER_NAME=$(cat $WL_SCRIPT/config.weblogic|grep AdminServerName|awk '{print
$2}')
DOMAIN_NAME=$(cat $WL_SCRIPT/config.weblogic|grep Domain|awk '{print $2}')
PATH=$WL_HOME/bin:$JAVA_HOME/bin:$PATH
export PATH
WLS_PW=$(cat $WL_SCRIPT/bea.check | awk '{print $1}')
export $WLS_PW
#################################export LOG_HOME=/export/bea/netsite/ext-admin/logs/bea
export LOG_HOME=/export/bea/logs
# echo all of the variable settings
#echo
#echo "BEA_HOME=$BEA_HOME"
#echo "WL_HOME=$WL_HOME"
echo "EXPORT_HOME=$EXPORT_HOME"
echo "CLASSPATH=$CLASSPATH"
#echo "LD_LIBRARY_PATH=$LD_LIBRARY_PATH"
#echo "PATH=$PATH"
#echo "JAVA_OPTIONS=$JAVA_OPTIONS"
#echo "DOMAIN_NAME=$DOMAIN_NAME"
#echo "ADMIN_URL=$ADMIN_URL"
#echo "ADMIN_SERVER_NAME=$ADMIN_SERVER_NAME"
#java -fullversion
#echo
#echo
# Grab some file descriptors.
maxfiles='ulimit -H -n'
if [ ! $? -a "$maxfiles" != 1024 ]; then
if [ "$maxfiles" = "unlimited" ]; then
maxfiles=1025
fi
if [ "$maxfiles" -lt 1024 ]; then
ulimit -n $maxfiles
else
ulimit -n 1024
fi
fi
# Set Production Mode. When set to true, the server starts up
# in production mode. When set to false, the server starts up
# in development mode. The default is false.
STARTMODE=true
if [[ -n $1 ]]; then
if [[ $1 = "admin" ]]; then
echo "Starting admin server...."
###### echo "See /export/netsite/ext-admin/logs/bea/admin.start for more info"
# Change to the WebLogic directory
cd $WL_HOME
echo nohup java $JAVA_OPTIONS -classpath $CLASSPATH -Dweblogic.Domain=$DOMAIN_NAME
-Dweblogic.Name=$ADM
IN_SERVER_NAME -Dbea.home=$BEA_HOME -Djava.security.policy==$WL_HOME/lib/weblogic.policy
-Dweblogic.Production
ModeEnabled=$STARTMODE -Dweblogic.management.password=$WLS_PW -Dweblogic.management.discover=true
-Dweblogic.ma
nagement.discover.retries=6 -Dweblogic.management.discover.interval=90 weblogic.Server
nohup java $JAVA_OPTIONS -classpath $CLASSPATH -Dweblogic.Domain=$DOMAIN_NAME
-Dweblogic.Name=$ADMIN_SE
RVER_NAME -Dbea.home=$BEA_HOME -Djava.security.policy==$WL_HOME/lib/weblogic.policy
-Dweblogic.ProductionModeE
nabled=$STARTMODE -Dweblogic.management.password=$WLS_PW -Dweblogic.management.discover=true
-Dweblogic.managem
ent.discover.retries=6 -Dweblogic.management.discover.interval=90 weblogic.Server
$LOG_HOME/admin.start 2>&1&
echo
shift
# Change back to the domain directory
cd config/$DOMAIN_NAME
echo $! > admin.pid
else
while [[ $# -gt 0 ]];do
SERVER_NAME=$(cat $WL_SCRIPT/config.weblogic|grep $1|awk '{print $2}')
if [[ $SERVER_NAME = "" ]]; then
echo "ERROR: unable to locate an entry for "$1" in config file"
shift
else
echo "Starting server: "$SERVER_NAME
######### echo "See /export/netsite/ext-admin/logs/bea/$SERVER_NAME.start
for more info"
# Change to the WebLogic directory
cd $WL_HOME
echo nohup java $JAVA_OPTIONS -classpath $CLASSPATH -Dweblogic.Domain=$DOMAIN_NAME
-Dweblogic.Nam
e=$SERVER_NAME -Dweblogic.management.server=$ADMIN_URL -Djava.security.policy==$WL_HOME/lib/weblogic.policy
-Dw
eblogic.ProductionModeEnabled=$STARTMODE -Dweblogic.management.password=$WLS_PW
weblogic.Server
nohup java $JAVA_OPTIONS -classpath $CLASSPATH -Dweblogic.Domain=$DOMAIN_NAME
-Dweblogic.Name=$SE
RVER_NAME -Dweblogic.management.server=$ADMIN_URL -Djava.security.policy==$WL_HOME/lib/weblogic.policy
-Dweblog
ic.ProductionModeEnabled=$STARTMODE -Dweblogic.management.password=$WLS_PW weblogic.Server
$LOG_HOME/$SERVER_NAME.start 2>&1 &
shift
# Change back to the domain directory
cd config/$DOMAIN_NAME
echo $! > $SERVER_NAME".pid"
fi
done
fi
else
echo ""
echo ""
echo "FATAL ERROR: You must specify the server to start. Either 'admin' or
the server token"
echo ""
fi
-----------Inline 1 ends-----------------
2) startManagedWebLogic.sh(this is the Managed server start up script at wls8.1)
---------Inline 2 starts---------
#!/bin/sh
# This script is used to start a managed WebLogic Server for the domain in the
# current working directory. This script reads in the SERVER_NAME and
# ADMIN_URL as positional parameters, sets the SERVER_NAME variable, then
# starts the server.
# Other variables that startWLS takes are:
# WLS_USER - cleartext user for server startup
# WLS_PW - cleartext password for server startup
# PRODUCTION_MODE - Set to true for production mode servers, false for
# development mode
# JAVA_OPTIONS - Java command-line options for running the server. (These
# will be tagged on to the end of the JAVA_VM and MEM_ARGS)
# JAVA_VM - The java arg specifying the VM to run. (i.e. -server,
# -hotspot, etc.)
# MEM_ARGS - The variable to override the standard memory arguments
# passed to java
# For additional information, refer to the WebLogic Server Administration Guide
# (http://e-docs.bea.com/wls/docs81/ConsoleHelp/startstop.html).
#Set the New Java Path
PATH=/opt/bea/jdk141_02/bin:$PATH
# set up WL_HOME, the root directory of your WebLogic installation
WL_HOME="/opt/bea/weblogic81"
# set up common environment
# Set Production Mode. When this is set to true, the server starts up in
# production mode. When set to false, the server starts up in development
# mode. If it is not set, it will default to false.
PRODUCTION_MODE="true"
# Set JAVA_VENDOR to java virtual machine you want to run on server side.
JAVA_VENDOR="Sun"
# Set JAVA_HOME to java virtual machine you want to run on server side.
JAVA_HOME="/opt/bea/jdk141_02"
set USE_CURRENT_JAVA_HOME "$@"
. "${WL_HOME}/common/bin/commEnv.sh"
shift 1
# Set SERVER_NAME to the name of the server you wish to start up.
ADMIN_URL=http://153.2.255.51:8001
SERVER_NAME=
# Set WLS_USER equal to your system username and WLS_PW equal
# to your system password for no username and password prompt
# during server startup. Both are required to bypass the startup
# prompt.
WLS_USER=
WLS_PW=
# Set JAVA_VM to java virtual machine you want to run on server side.
# JAVA_VM="-server"
# Set JAVA_OPTIONS to the java flags you want to pass to the vm. If there
# are more than one, include quotes around them. For instance:
# JAVA_OPTIONS="-Dweblogic.attribute=value -Djava.attribute=value"
usage()
echo "Need to set SERVER_NAME and ADMIN_URL environment variables or specify"
echo "them in command line:"
echo 'Usage: ./startManagedWebLogic.sh [SERVER_NAME] [ADMIN_URL]'
echo "for example:"
echo './startManagedWebLogic.sh managedserver1 http://localhost:7001'
exit 1
# Check for variables SERVER_NAME and ADMIN_URL
# SERVER_NAME and ADMIN_URL must by specified before starting a managed server,
# detailed information can be found at http://e-docs.bea.com/wls/docs81/adminguide/startstop.html.
if [ ${#} = 0 ]; then
if [ "x${SERVER_NAME}" = "x" -o "x${ADMIN_URL}" = "x" ]; then
usage
fi
elif [ ${#} = 1 ]; then
SERVER_NAME=${1}
if [ "x${ADMIN_URL}" = "x" ]; then
usage
fi
elif [ ${#} = 2 ]; then
SERVER_NAME=${1}
ADMIN_URL=${2}
else
usage
fi
# Start WebLogic server
# Reset number of open file descriptors in the current process
# This function is defined in commEnv.sh
resetFd
CLASSPATH="${WEBLOGIC_CLASSPATH}${CLASSPATHSEP}${POINTBASE_CLASSPATH}${CLASSPATHSEP}${JAVA_HOME}/jre/lib/rt.jar${CLASSPATHSEP}${WL_HOME}/server/lib/webservices.jar${CLASSPATHSEP}${CLASSPATH}"
export CLASSPATH
# Start WebLogic server
echo CLASSPATH="${CLASSPATH}"
echo
echo PATH="${PATH}"
echo
echo "***************************************************"
echo "* To start WebLogic Server, use a username and *"
echo "* password assigned to an admin-level user. For *"
echo "* server administration, use the WebLogic Server *"
echo "* console at http://<hostname>:<port>/console *"
echo "***************************************************"
"$JAVA_HOME/bin/java" ${JAVA_VM} ${MEM_ARGS} ${JAVA_OPTIONS} \
-Dweblogic.Name=${SERVER_NAME} \
-Dweblogic.management.username=${WLS_USER} \
-Dweblogic.management.password=${WLS_PW} \
-Dweblogic.management.server=${ADMIN_URL} \
-Djava.security.policy="${WL_HOME}/server/lib/weblogic.policy" \
weblogic.Server
-------Inline 2 ends----------
3) startWebLogic.sh(this is the Admin start up script at wls8.1)
---------Inline 3 starts-------
#!/bin/sh
# This script is used to start WebLogic Server for the domain in the current
# working directory. This script simply sets the SERVER_NAME variable
# and calls the startWLS.sh script under ${WL_HOME}/server/bin.
# To create your own start script for your domain, all you need to set is
# SERVER_NAME, then starts server.
# Other variables that startWLS takes are:
# WLS_USER - cleartext user for server startup
# WLS_PW - cleartext password for server startup
# PRODUCTION_MODE - Set to true for production mode servers, false for
# development mode
# JAVA_OPTIONS - Java command-line options for running the server. (These
# will be tagged on to the end of the JAVA_VM and MEM_ARGS)
# JAVA_VM - The java arg specifying the VM to run. (i.e. -server,
# -hotspot, etc.)
# MEM_ARGS - The variable to override the standard memory arguments
# passed to java
# For additional information, refer to the WebLogic Server Administration
# Console Online Help(http://e-docs.bea.com/wls/docs81/ConsoleHelp/startstop.html)
#Set the New Java Path
PATH=/opt/bea/jdk141_02/bin:$PATH
# set up WL_HOME, the root directory of your WebLogic installation
WL_HOME="/opt/bea/weblogic81"
# set up common environment
# Set Production Mode. When this is set to true, the server starts up in
# production mode. When set to false, the server starts up in development
# mode. If it is not set, it will default to false.
PRODUCTION_MODE="true"
# Set JAVA_VENDOR to java virtual machine you want to run on server side.
JAVA_VENDOR="Sun"
# Set JAVA_HOME to java virtual machine you want to run on server side.
JAVA_HOME="/opt/bea/jdk141_02"
set USE_CURRENT_JAVA_HOME "$@"
. "${WL_HOME}/common/bin/commEnv.sh"
shift 1
# Set SERVER_NAME to the name of the server you wish to start up.
SERVER_NAME=Admin
# Set WLS_USER equal to your system username and WLS_PW equal
# to your system password for no username and password prompt
# during server startup. Both are required to bypass the startup
# prompt.
WLS_USER=
WLS_PW=
# Set JAVA_VM to java virtual machine you want to run on server side.
# JAVA_VM="-server"
# Set JAVA_OPTIONS to the java flags you want to pass to the vm. If there
# are more than one, include quotes around them. For instance:
# JAVA_OPTIONS="-Dweblogic.attribute=value -Djava.attribute=value"
# Reset number of open file descriptors in the current process
# This function is defined in commEnv.sh
resetFd
# Start WebLogic server
CLASSPATH="${WEBLOGIC_CLASSPATH}${CLASSPATHSEP}${POINTBASE_CLASSPATH}${CLASSPATHSEP}${JAVA_HOME}/jre/lib/rt.jar${CLASSPATHSEP}${WL_HOME}/server/lib/webservices.jar${CLASSPATHSEP}${CLASSPATH}"
export CLASSPATH
"$JAVA_HOME/bin/java" ${JAVA_VM} ${MEM_ARGS} ${JAVA_OPTIONS} -Dweblogic.Name=${SERVER_NAME}
-Dweblogic.management.username=${WLS_USER} -Dweblogic.management.password=${WLS_PW}
-Dweblogic.ProductionModeEnabled=${PRODUCTION_MODE} -Djava.security.policy="${WL_HOME}/server/lib/weblogic.policy"
weblogic.Server
--------Inline 3 ends---------
I think we are getting closer to a solution !
thanks rob,
Rob Woollen <[email protected]> wrote:
Yes, your $CLASSPATH could be the issue. Can you show me the $CLASSPATH
used in each version of the server?
-- Rob
sangita wrote:
Thanks Rob, I understood changing the DOCTYPE ...and i will give ita try.
And iam assuming you might have read my previous response in this chain,Iam using
WLS6.1 & WLS8.1 BOTH on the same hardware unix server....iam just wonderingif
there is any CLASSPATH issue that might have been causing this NoClassDefFoundError......?
just wanted to let you know that iam running WLS6.1 + WLS8.1 on thesame BOX.
I will try other options that you have suggested ....thanks again !
Rob Woollen <[email protected]> wrote:
sangita wrote:
Rob,
Right, you're referencing the Taglib 1.2 DTD, but your tld file conforms
to the Taglib 1.1 DTD. You'll either need to change the DOCTYPE
definition to the Taglib 1.1 DTD or change the tld file to conformto
the 1.2 DTD. how do i do either of the 2 options ?To change your taglib to be the 1.1 DTD you just need to change the
DOCTYPE header to be
<!DOCTYPE taglib
PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN"
"http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd">
Otherwise, you'll need to change the tld file to be JSP 1.2 compliant.
If you post your tld file here, then I can help.
Iam just guessing here, is it may be due to this DTD/.tld issue thatiam not been
able to DEPLOY the .ear file(now that wls8.1 checks the validity beforedeloying
the app)....are the 2 errors that iam getting, in any ways inter-related?
I'm not sure they're related. It is possible.
i.e is it possible that due to DTD/.tld ....am i getting this NoClassDefFoundError
JUST CURIOUS ???
WELL THANKS FOR YOUR TIME ON THIS ...REALLY APPRECIATE IT !
No problem.
-- Rob
Regards, sangita
Rob Woollen <[email protected]> wrote:
sangita wrote:
1) This is how my .tld looks like:
<?xml version="1.0" encoding="UTF-8" ?>^M
<!DOCTYPE taglib^M
PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN"^M
"http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd">^M
Right, you're referencing the Taglib 1.2 DTD, but your tld file conforms
to the Taglib 1.1 DTD. You'll either need to change the DOCTYPE
definition to the Taglib 1.1 DTD or change the tld file to conformto
the 1.2 DTD. Unfortunately WLS 6.1 didn't validate the tld file
against
the DTD, but it should have, and you'll need to correct your application.
<taglib>^M
<tlib-version>1.0</tlib-version>^M
<jsp-version>1.2</jsp-version>^M
<short-name>html</short-name>^M
2) the MANIFEST.MF file is located within the ABL.war.
3) I will try placing the struts-util.jar in the WEB-INF/lib directoryof the
ABL.war file. And I will let you if it works or not ?Right. My guess is this is a bug in WLS 8.1. I can see no reasonwhy
the manifest class-path isn't working for you. That's why I askedif
you could send the EAR file so I could investigate, but I understand
that's not always possible.
I suspect the WEB-INF/lib will work, but it's just a workaround.
I'm
not sure if you're using 8.1 or 8.1SP1, but if you're not using SP1,
then you might consider trying that. (java weblogic.version willtell
you.)
Otherwise, I think you should open a case with [email protected]
-- Rob
thx, sangita
Rob Woollen <[email protected]> wrote:
sangita wrote:
Rob, here is the information that you need: Please read inline:
---------------------------iam doing cut&paste
<attribute>^M
<name>styleClass</name>^M
<required>false</required>^M
</attribute>^M
(this is the 334 line)<info>applys the style of
the
number text
if it passes the conditional given</info>^M
</tag>^M
</taglib>^MWell, it looks like you have a JSP 1.1 tld, but it's being validated
against the JSP 1.2 tld. I suspect that you have not declareda
DOCTYPE
and 6.1 defaulted to the older JSP spec.
Anyway, check the first line of your tld file. It should look
something
like this:
<!DOCTYPE taglib
PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN"
"http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd">
I have an ABL.ear file and this is what it looks like:
ABL.ear
META-INF/
META-INF/MANIFEST.MF
ABL.jar
ABL.war
lib/
lib/struts-util.jar
META-INF/application.xml
and in the ABL.war ...there is a META-INF/MANIFEST.MF file ...and
when
i open
this file ...this is what it contains:Just to double-check, the MANIFEST.MF file is located within the
ABL.war, right?
Manifest-Version: 1.0
Created-By: Ant 1.4.1
Class-Path: lib/struts-util.jar
there is nothing in the CLASSPATH that contains this application'sspecific .jar/.war
...or any classes specific to this application ........BOTH IN
WLS6.1(and
now
in WLS8.1)Hmm, I'm not sure yet what the problem is here. Does it work ifyou
place the struts-util.jar in the WEB-INF/lib directory of the ABL.war
file? (I suspect it will.)
This might be a WLS bug. If you can post your ear file here (oremail
it to me rwoollen at bea dot com), then I can dig into it more.
-- Rob
thx, sangita
Rob Woollen <[email protected]> wrote:
It looks like there are 2 errors.
The first error /WEB-INF/ups-html.tld is most likely the result
of
WLS
8.1 doing more validation on your tld file. If you'd show us
either
the
entire ups-html.tld or just the part around line 334, then wecan
help.
As for the NoClassDefFoundError, you'll have to provide some
more
details about your ear file and environment. Do you have anythingin
the $CLASSPATH on either the 6.1 or 8.1 environments?
-- Rob
Sangita wrote:
I think the weblogic8.1 seems to have some NEW bug now. We have
a
.ear
file that
works just PERFECT in WLS6.1. But now when we try to DEPLOY
this
.ear
file our
WLS8.1 server(via the new look and feel of WLS8.1' console)....we
are
getting
the Exception like ...."pl read inline below":
...All i know is that WLS 8.1 has introduced something like
"single
J2EEC -
EAR compiler, replacing the separate compilers in previous releases"........is
it may be because of this ????
If somebody has any idea ....please let me know asap ...and
just
above
the EXCEPTION
we are also getting something like ...."Deployment descriptor
"/WEB-INF/ups-html.tld"
is malformed" ....what is going wrong now ?
Please note again ....this .ear file just work PERFECT in WLS6.1+sp2.
Read inline for the Exception:
<Jul 16, 2003 11:15:14 AM EDT> <Warning> <HTTP> <BEA-101248>
<[ServletContext(id=4316640,name=ABL,context-path=/ABL)]:
Deployment descriptor "/WEB-INF/ups-html.tld" is malformed.Check
against
the
DTD: Element type "info" must be declared. (line 334, column
9).>
<Jul 16, 2003 11:15:14 AM EDT> <Warning> <HTTP> <BEA-101248><[ServletContext(id=4316640,name=ABL,context-path=/ABL)]:
Deployment descriptor "/WEB-INF/ups-html.tld" is malformed.Check
against
the
DTD: The content of element type "tag" must match "(name,tag-class,tei-class?,body-content?,display-name?,small-icon?,large-icon?,description?,variable*,attribute*,example?)".
(line 335, column 8).>
MessageResourcesFactory.createFactory
java.lang.NoClassDefFoundError: org/apache/struts/util/MessageResourcesFactory
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:502)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:431)
at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:169)
at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
at java.lang.ClassLoader.loadClass(ClassLoader.java:292)
at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:41)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:140)
at org.apache.struts.util.MessageResourcesFactory.createFactory(MessageResourcesFactory.java:161)
at org.apache.struts.action.ActionServlet.initApplication(ActionServlet.java:1029)
at org.apache.struts.action.ActionServlet.init(ActionServlet.java:464)
at javax.servlet.GenericServlet.init(GenericServlet.java:258)
at weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run(ServletStubImpl.java:1070)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:97)
at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:893)
at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:842)
at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:782)
at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:3191)
at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServletContext.java:3136)
at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:3109)
at weblogic.servlet.internal.WebAppServletContext.setStarted(WebAppServletContext.java:5559)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:853)
at weblogic.j2ee.J2EEApplicationContainer.start(J2EEApplicationContainer.java:2012)
at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2053)
at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.activateContainer(SlaveDeployer.java:2558)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.doCommit(SlaveDeployer.java:2483)
at weblogic.management.deploy.slave.SlaveDeployer$Task.commit(SlaveDeployer.java:2308)
at weblogic.management.deploy.slave.SlaveDeployer.commitUpdate(SlaveDeployer.java:639)
at weblogic.drs.internal.SlaveCallbackHandler$2.execute(SlaveCallbackHandler.java:35)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:178)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:151)
<Jul 16, 2003 11:15:14 AM EDT> <Error> <HTTP> <BEA-101046> <[ServletContext(id=4316640,name=ABL,context-path=/ABL)]
service: Cannot load application resources bundle com.ups.dfd.abl.prop.Constants
java.lang.NullPointerException
at org.apache.struts.action.ActionServlet.initApplication(ActionServlet.java:1031)
at org.apache.struts.action.ActionServlet.init(ActionServlet.java:464)
at javax.servlet.GenericServlet.init(GenericServlet.java:258)
at weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run(ServletStubImpl.java:1070)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:97)
at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:893)
at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:842)
at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:782)
at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:3191)
at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServletContext.java:3136)
at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:3109)
at weblogic.servlet.internal.WebAppServletContext.setStarted(WebAppServletContext. -
MissingResourceException: Error parsing jdbcdrivers.xml
java.io.IOException: Unable to resolve input source.
Error: writeDomain() failed. Do dumpStack() to see details.
Problem invoking WLST - Traceback (innermost last):
File "D:\release\7420WLS\SCPO\weblogic\config\weblogic\setup\createManuWLSDomain.py", line 222, in ?
File "C:\Documents and Settings\j1007353\Local Settings\Temp\WLSTOfflineIni2466.py", line 70, in writeDomain
com.bea.plateng.domain.script.jython.WLSTException: java.util.MissingResourceException: Error parsing jdbcdrivers.xml
at com.bea.plateng.domain.script.jython.CommandExceptionHandler.handleException(CommandExceptionHandler.java:51)
at com.bea.plateng.domain.script.jython.WLScriptContext.handleException(WLScriptContext.java:1373)
at com.bea.plateng.domain.script.jython.WLScriptContext.writeDomain(WLScriptContext.java:712)
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 org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java:160)
at org.python.core.PyMethod.__call__(PyMethod.java:96)
at org.python.core.PyObject.__call__(PyObject.java:270)
at org.python.core.PyInstance.invoke(PyInstance.java:261)
at org.python.pycode._pyx5.writeDomain$14(C:\Documents and Settings\j1007353\Local Settings\Temp\WLSTOfflineIni2466.py:70)
at org.python.pycode._pyx5.call_function(C:\Documents and Settings\j1007353\Local Settings\Temp\WLSTOfflineIni2466.py)
at org.python.core.PyTableCode.call(PyTableCode.java:208)
at org.python.core.PyTableCode.call(PyTableCode.java:267)
at org.python.core.PyFunction.__call__(PyFunction.java:172)
at org.python.pycode._pyx18.f$0(D:\release\7420WLS\SCPO\weblogic\config\weblogic\setup\createManuWLSDomain.py:222)
at org.python.pycode._pyx18.call_function(D:\release\7420WLS\SCPO\weblogic\config\weblogic\setup\createManuWLSDomain.py)
at org.python.core.PyTableCode.call(PyTableCode.java:208)
at org.python.core.PyCode.call(PyCode.java:14)
at org.python.core.Py.runCode(Py.java:1135)
at org.python.util.PythonInterpreter.execfile(PythonInterpreter.java:167)
at weblogic.management.scripting.WLST.main(WLST.java:106)
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 weblogic.WLST.main(WLST.java:29)
Caused by: java.util.MissingResourceException: Error parsing jdbcdrivers.xml
at com.bea.plateng.domain.jdbc.JDBCAspectHelper.getGenericJDBCDriverInfo(JDBCAspectHelper.java:850)
at com.bea.plateng.domain.jdbc.JDBCAspectHelper.getGenericJDBCDriverInfo(JDBCAspectHelper.java:223)
at com.bea.plateng.domain.aspect.XBeanJDBCConnectionPoolDriverNameConfigAspect.decompose(XBeanJDBCConnectionPoolDriverNameConfigAspect.java:56)
at com.bea.plateng.domain.aspect.AbstractConfigAspect.setDelegate(AbstractConfigAspect.java:550)
at com.bea.plateng.domain.aspect.FilteredConfigAspect.setDelegate(FilteredConfigAspect.java:333)
at com.bea.plateng.domain.aspect.XBeanConfigAspectBuilder.createJDBCConnectionPoolSimpleAspect(XBeanConfigAspectBuilder.java:300)
at com.bea.plateng.domain.aspect.AbstractConfigAspectBuilder.createJDBCConnectionPoolSimpleAspects(AbstractConfigAspectBuilder.java:288)
at com.bea.plateng.domain.operation.config.ConfigJDBCConnectionPool.createInitialSimpleAspects(ConfigJDBCConnectionPool.java:115)
at com.bea.plateng.domain.operation.HTableEditOperation.createSimpleTableModel(HTableEditOperation.java:784)
at com.bea.plateng.domain.operation.HTableEditOperation.getSimpleTableModel(HTableEditOperation.java:348)
at com.bea.plateng.domain.operation.HTableEditOperation.initSimpleTableModel(HTableEditOperation.java:654)
at com.bea.plateng.domain.DomainChecker.isOperationValid(DomainChecker.java:726)
at com.bea.plateng.domain.DomainChecker.getInvalidSection(DomainChecker.java:168)
at com.bea.plateng.domain.GeneratorHelper.validateConfig(GeneratorHelper.java:257)
at com.bea.plateng.domain.GeneratorHelper.validateDomainCreation(GeneratorHelper.java:235)
at com.bea.plateng.domain.script.ScriptExecutor.writeDomain(ScriptExecutor.java:580)
at com.bea.plateng.domain.script.jython.WLScriptContext.writeDomain(WLScriptContext.java:704)
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 org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java:160)
at org.python.core.PyMethod.__call__(PyMethod.java:96)
at org.python.core.PyObject.__call__(PyObject.java:270)
at org.python.core.PyInstance.invoke(PyInstance.java:261)
at org.python.pycode._pyx5.writeDomain$14(C:\Documents and Settings\j1007353\Local Settings\Temp\WLSTOfflineIni2466.py:70)
at org.python.pycode._pyx5.call_function(C:\Documents and Settings\j1007353\Local Settings\Temp\WLSTOfflineIni2466.py)
at org.python.core.PyTableCode.call(PyTableCode.java:208)
at org.python.core.PyTableCode.call(PyTableCode.java:267)
at org.python.core.PyFunction.__call__(PyFunction.java:172)
com.bea.plateng.domain.script.jython.WLSTException: com.bea.plateng.domain.script.jython.WLSTException: java.util.MissingResourceException: Error parsing jdbcdrivers.xml
The system cannot find the path specified.
0 file(s) copied.
Attempting to shutdown server ...
Checking JSP Precompilation ...
Thanksjava.io.IOException: Unable to resolve input source.
Error: writeDomain() failed. Do dumpStack() to see details.
Problem invoking WLST - Traceback (innermost last):
File "D:\release\7420WLS\SCPO\weblogic\config\weblogic\setup\createManuWLSDomain.py", line 222, in ?
File "C:\Documents and Settings\j1007353\Local Settings\Temp\WLSTOfflineIni2466.py", line 70, in writeDomain
com.bea.plateng.domain.script.jython.WLSTException: java.util.MissingResourceException: Error parsing jdbcdrivers.xml
at com.bea.plateng.domain.script.jython.CommandExceptionHandler.handleException(CommandExceptionHandler.java:51)
at com.bea.plateng.domain.script.jython.WLScriptContext.handleException(WLScriptContext.java:1373)
at com.bea.plateng.domain.script.jython.WLScriptContext.writeDomain(WLScriptContext.java:712)
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 org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java:160)
at org.python.core.PyMethod.__call__(PyMethod.java:96)
at org.python.core.PyObject.__call__(PyObject.java:270)
at org.python.core.PyInstance.invoke(PyInstance.java:261)
at org.python.pycode._pyx5.writeDomain$14(C:\Documents and Settings\j1007353\Local Settings\Temp\WLSTOfflineIni2466.py:70)
at org.python.pycode._pyx5.call_function(C:\Documents and Settings\j1007353\Local Settings\Temp\WLSTOfflineIni2466.py)
at org.python.core.PyTableCode.call(PyTableCode.java:208)
at org.python.core.PyTableCode.call(PyTableCode.java:267)
at org.python.core.PyFunction.__call__(PyFunction.java:172)
at org.python.pycode._pyx18.f$0(D:\release\7420WLS\SCPO\weblogic\config\weblogic\setup\createManuWLSDomain.py:222)
at org.python.pycode._pyx18.call_function(D:\release\7420WLS\SCPO\weblogic\config\weblogic\setup\createManuWLSDomain.py)
at org.python.core.PyTableCode.call(PyTableCode.java:208)
at org.python.core.PyCode.call(PyCode.java:14)
at org.python.core.Py.runCode(Py.java:1135)
at org.python.util.PythonInterpreter.execfile(PythonInterpreter.java:167)
at weblogic.management.scripting.WLST.main(WLST.java:106)
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 weblogic.WLST.main(WLST.java:29)
Caused by: java.util.MissingResourceException: Error parsing jdbcdrivers.xml
at com.bea.plateng.domain.jdbc.JDBCAspectHelper.getGenericJDBCDriverInfo(JDBCAspectHelper.java:850)
at com.bea.plateng.domain.jdbc.JDBCAspectHelper.getGenericJDBCDriverInfo(JDBCAspectHelper.java:223)
at com.bea.plateng.domain.aspect.XBeanJDBCConnectionPoolDriverNameConfigAspect.decompose(XBeanJDBCConnectionPoolDriverNameConfigAspect.java:56)
at com.bea.plateng.domain.aspect.AbstractConfigAspect.setDelegate(AbstractConfigAspect.java:550)
at com.bea.plateng.domain.aspect.FilteredConfigAspect.setDelegate(FilteredConfigAspect.java:333)
at com.bea.plateng.domain.aspect.XBeanConfigAspectBuilder.createJDBCConnectionPoolSimpleAspect(XBeanConfigAspectBuilder.java:300)
at com.bea.plateng.domain.aspect.AbstractConfigAspectBuilder.createJDBCConnectionPoolSimpleAspects(AbstractConfigAspectBuilder.java:288)
at com.bea.plateng.domain.operation.config.ConfigJDBCConnectionPool.createInitialSimpleAspects(ConfigJDBCConnectionPool.java:115)
at com.bea.plateng.domain.operation.HTableEditOperation.createSimpleTableModel(HTableEditOperation.java:784)
at com.bea.plateng.domain.operation.HTableEditOperation.getSimpleTableModel(HTableEditOperation.java:348)
at com.bea.plateng.domain.operation.HTableEditOperation.initSimpleTableModel(HTableEditOperation.java:654)
at com.bea.plateng.domain.DomainChecker.isOperationValid(DomainChecker.java:726)
at com.bea.plateng.domain.DomainChecker.getInvalidSection(DomainChecker.java:168)
at com.bea.plateng.domain.GeneratorHelper.validateConfig(GeneratorHelper.java:257)
at com.bea.plateng.domain.GeneratorHelper.validateDomainCreation(GeneratorHelper.java:235)
at com.bea.plateng.domain.script.ScriptExecutor.writeDomain(ScriptExecutor.java:580)
at com.bea.plateng.domain.script.jython.WLScriptContext.writeDomain(WLScriptContext.java:704)
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 org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java:160)
at org.python.core.PyMethod.__call__(PyMethod.java:96)
at org.python.core.PyObject.__call__(PyObject.java:270)
at org.python.core.PyInstance.invoke(PyInstance.java:261)
at org.python.pycode._pyx5.writeDomain$14(C:\Documents and Settings\j1007353\Local Settings\Temp\WLSTOfflineIni2466.py:70)
at org.python.pycode._pyx5.call_function(C:\Documents and Settings\j1007353\Local Settings\Temp\WLSTOfflineIni2466.py)
at org.python.core.PyTableCode.call(PyTableCode.java:208)
at org.python.core.PyTableCode.call(PyTableCode.java:267)
at org.python.core.PyFunction.__call__(PyFunction.java:172)
com.bea.plateng.domain.script.jython.WLSTException: com.bea.plateng.domain.script.jython.WLSTException: java.util.MissingResourceException: Error parsing jdbcdrivers.xml
The system cannot find the path specified.
0 file(s) copied.
Attempting to shutdown server ...
Checking JSP Precompilation ...
Thanks -
Customer LoginModule with BEA 7.0
I am use BEA WebLogic 7.0 beta now, we want implement our own JAAS
LoginModule,. Do any one know how to implement and integrate with
WebLogic Server?
Thanks,
PaulPaul ,
I presume that you are referring to a LoginModule on the Client side
and not on server side...
if you had the LoginModule working for WLS 6.1 ( refer to the examples
bundled with it)..
You should have it working by setting another property
"java.security.auth.login.config" == "weblogic.security.jaas.Policy"
- Harish
[email protected] (Paul Z) wrote in message news:<[email protected]>...
I am use BEA WebLogic 7.0 beta now, we want implement our own JAAS
LoginModule,. Do any one know how to implement and integrate with
WebLogic Server?
Thanks,
Paul -
Managed server independence mode startup : VERY slow (2h~)
Hello there,
I'm posting this thread to ask for some help.
In my production environnement, where I am running a cluster of several ALSB nodes, a problem showed up when a network card was unplugged on our admin server hardware.
You have to know that for some reason, we are not using a node manager for our admin operations on the managed servers, but rather scripts that are scheduled by a tool we use for several other things (backup,etc..). This tool runs WLST scripts to do some basic stuff on our servers.
So, during the shutdown/startup process, when we tried to bring back all the managed servers up, we faced this problem : When the managed servers were not able to contact the admin server, the startup process takes approx 2 hours, but only 10min when admin server is up and running. This is a real problem in our high availibility environnement, if we have to face this "no admin server" situation again.
My environnement is :
Weblogic 10.0
Solaris 10.6.0
Java HotSpot(TM) Server VM Version 1.5.0_16-b02
<Jul 22, 2010 10:07:03 AM MEST> <Notice> <WebLogicServer> <BEA-000395> <Following extensions directory contents added to the end of the classpath:
/xx/JMSReportingProviderStartupClass.jar:/xx/SID_AMM_ALSB_SECURITY.jar:/xx/content_system.jar:/xx/p13n-schemas.jar:/xx/p13n_common.jar:/xx/p13n_system.jar:/xx/wlp_services.jar:/xx/analytics_sys.jar:/xx/commerce_system.jar:/xx/groupspace_system.jar:/xx/netuix_common.jar:/xx/netuix_schemas.jar:/xx/netuix_system-full.jar:/xx/netuix_system.jar:/xx/nf-jspcmods.jar:/xx/nf-system.jar:/xx/wlp-schemas.jar:/xx/wlp_content_system.jar:/xx/wps_system.jar:/xx/wsrp-client.jar:/xx/wsrp-common.jar>
WebLogic Server Temporary Patch for CR382552 Fri Dec 12 13:12:27 IST 2008
WebLogic Server Temporary Patch for 9112835 Thu Nov 12 10:53:52 EST 2009
WebLogic Server Temporary Patch for CR368155 Mon Jul 07 15:51:15 PDT 2008
WebLogic Server Temporary Patch for CR370311 Tue Jun 03 14:40:28 IST 2008
WebLogic Server Temporary Patch for CR360676 Fri Apr 18 19:41:49 IST 2008
WebLogic Server Temporary Patch for CR360117 Wed Mar 12 14:47:42 PDT 2008
WebLogic Server Temporary Patch for CR354395 Mon Dec 10 08:10:43 PST 2007
WebLogic Server Temporary Patch for CR345092 Wed Oct 24 11:10:56 IST 2007
WebLogic Server Temporary Patch for CR338239 Fri Jan 11 17:14:11 EST 2008
WebLogic Server Temporary Patch for CR328282 Thu Nov 08 13:44:54 EST 2007
WebLogic Server Temporary Patch for CR315317 Mon Feb 25 09:45:40 PST 2008
WebLogic Server Temporary Patch for CR315317 Mon Feb 25 09:45:40 PST 2008
WebLogic Server Temporary Patch for CR344429 Mon Nov 26 16:11:55 EST 2007
WebLogic Server Temporary Patch for CR351304 Thu Feb 21 10:23:22 EST 2008
WebLogic Server Temporary Patch for CR350614 Sun Nov 11 18:02:20 PST 2007
WebLogic Server Temporary Patch for CR344375 Fri Oct 19 11:08:33 PDT 2007
WebLogic Server Temporary Patch for CR353586 Mon Feb 25 18:59:49 EST 2008
WebLogic Server Temporary Patch for CR353586 Mon Feb 25 18:59:49 EST 2008
WebLogic Server Temporary Patch for CR339736, CR346639 Mon Nov 26 18:13:36 PST 2007
WebLogic Server Temporary Patch for CR343580 Mon Oct 29 17:41:35 EDT 2007
WebLogic Server Temporary Patch for CR315317 Fri Feb 15 11:13:21 PST 2008
WebLogic Server Temporary Patch for CR351685, CR320630 Thu Dec 06 14:04:31 CST 2007
WebLogic Server Temporary Patch for CR345472 Thu Jan 17 16:13:48 EST 2008
WebLogic Server Temporary Patch for CR355338 Mon Jan 21 13:08:48 EST 2008
WebLogic Server Temporary Patch for CR356295 Wed Dec 19 15:37:45 EST 2007
WebLogic Server Temporary Patch for CR348244 Fri Oct 19 11:57:37 PDT 2007
WebLogic Server Temporary Patch for CR346064 Fri Oct 19 13:27:18 PDT 2007
WebLogic Server Temporary Patch for CR346063 Fri Oct 05 14:48:13 PDT 2007
WebLogic Server Temporary Patch for Cr346061 Thu Oct 18 15:38:04 PDT 2007
WebLogic Server Temporary Patch for Cr346061 Thu Oct 18 15:38:04 PDT 2007
WebLogic Server Temporary Patch for CR346060 Thu Oct 18 15:28:01 PDT 2007
WebLogic Server Temporary Patch for CR350528 Fri Nov 02 16:19:36 PDT 2007
WebLogic Server Temporary Patch for CR354048 Thu Dec 06 13:52:09 IST 2007
WebLogic Server Temporary Patch for CR348229 Wed Oct 24 13:49:07 PDT 2007
WebLogic Server Temporary Patch for CR362972, CR357095 Fri Mar 07 15:38:53 IST 2008
WebLogic Server Temporary Patch for CR358677 Wed Jan 23 16:28:40 PST 2008
WebLogic Server Temporary Patch for CR354390 Wed Feb 27 09:57:23 PST 2008
WebLogic Server Temporary Patch for CR357287 Thu Jan 31 14:51:56 PST 2008
WebLogic Server Temporary Patch for CR359323 Fri Mar 07 02:24:20 EST 2008
WebLogic Server Temporary Patch for CR322355 Tue Oct 23 10:53:45 PDT 2007
WebLogic Server 10.0 MP1 Thu Oct 18 20:17:44 EDT 2007 1005184 >
<Jul 22, 2010 10:10:36 AM MEST> <Emergency> <Management> <BEA-141151> <The admin server could not be reached at http://xx.xx.xx.xx:xx.>
<Jul 22, 2010 10:10:36 AM MEST> <Info> <Configuration Management> <BEA-150018> <This server is being started in managed server independence mode in the absence of the admin server.>
<Jul 22, 2010 10:10:36 AM MEST> <Info> <WebLogicServer> <BEA-000215> <Loaded License : xxxxxx>
<Jul 22, 2010 10:10:36 AM MEST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
<Jul 22, 2010 10:10:36 AM MEST> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool>
<22/07/2010#10:10:36.794#+0200> <Notice> <Log Management> <BEA-170019> <The server log file xxxxxxx.log is opened. All server side log events will be written to this file.>
<22/07/2010#10:10:41.578#+0200> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
<22/07/2010#10:10:42.75#+0200> <Alert> <Security> <BEA-090167> <Cannot retrieve identity certificate and private key on server xxmanaged1xx, because the keystore entry alias is not specified.>
<22/07/2010#10:10:42.77#+0200> <Notice> <Security> <BEA-090169> <Loading trusted certificates from the JKS keystore file /xxxkeystore.>
<22/07/2010#10:16:02.665#+0200> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STANDBY>
<22/07/2010#10:16:02.666#+0200> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
<22/07/2010#10:45:48.374#+0200> <Alert> <ALSB Security> <BEA-387042> <There is no user password credential mapper provider configured in your security realm. AquaLogic Service Bus service account management will be disabled. Configure a user password credential mapper provider if you need ALSB service account support.>
<22/07/2010#10:45:48.564#+0200> <Error> <ClusterTimer> <BEA-000000> <Cannot contact Admin server. Therefore constructing the Cluster Authority Current time with the time skew 0
java.rmi.UnknownHostException: Could not discover URL for server 'xxadminxx'
at weblogic.protocol.URLManager.findURL(URLManager.java:143)
at com.bea.wli.sb.init.RemoteClusterTimerAuthority.getInitialContext(RemoteClusterTimerAuthority.java:72)
at com.bea.wli.sb.init.RemoteClusterTimerAuthority.getTimerAuthority(RemoteClusterTimerAuthority.java:84)
at com.bea.wli.sb.init.RemoteClusterTimerAuthority.getClusterTimerAuthorityCurrentTime(RemoteClusterTimerAuthority.java:44)
at com.bea.wli.timer.ClusterTimerService.clusterTimeAuthorityCurrentTimeMillis(ClusterTimerService.java:173)
Truncated. see log file for complete stacktrace
>
<22/07/2010#10:45:48.567#+0200> <Error> <ClusterTimer> <BEA-000000> <Cannot contact the admin server. Therefore constructing the Cluster Authority Urzeit from the persisted value
java.rmi.UnknownHostException: Could not discover URL for server 'xxadminxx'
at weblogic.protocol.URLManager.findURL(URLManager.java:143)
at com.bea.wli.sb.init.RemoteClusterTimerAuthority.getInitialContext(RemoteClusterTimerAuthority.java:72)
at com.bea.wli.sb.init.RemoteClusterTimerAuthority.getTimerAuthority(RemoteClusterTimerAuthority.java:84)
at com.bea.wli.sb.init.RemoteClusterTimerAuthority.getUrzeit(RemoteClusterTimerAuthority.java:57)
at com.bea.wli.timer.ClusterTimerService.initialize(ClusterTimerService.java:87)
Truncated. see log file for complete stacktrace
>
<22/07/2010#10:45:52.154#+0200> <Warning> <WliSbTransports> <BEA-381917> <MQ Transport could not be registered due to : Missing MQ Library>
<22/07/2010#11:54:55.765#+0200> <Error> <Deployer> <BEA-149231> <Unable to set the activation state to true for the application 'ALSB Framework Starter Application'.
RegistrationException : java.rmi.RemoteException: [Deployer:149147]Could not reach the admin server via any of its URLS: 'http://xx.xx.xx.xx:xx'.
at weblogic.deploy.service.internal.targetserver.TargetDeploymentService.registerHandler(TargetDeploymentService.java:166)
at weblogic.deploy.service.internal.DeploymentService.registerHandler(DeploymentService.java:177)
at com.bea.wli.config.deployment.server.ServerDeploymentReceiver.register(ServerDeploymentReceiver.java:82)
at com.bea.wli.config.deployment.server.ServerDeploymentReceiver.<init>(ServerDeploymentReceiver.java:75)
at com.bea.wli.config.weblogic.WebLogicConfigService$DeploymentReceiverLauncher.endOfStart(WebLogicConfigService.java:190)
Truncated. see log file for complete stacktrace
RegistrationException : java.rmi.RemoteException: [Deployer:149147]Could not reach the admin server via any of its URLS: 'http://xx.xx.xx.xx:xx'.
at weblogic.deploy.service.internal.targetserver.TargetDeploymentService.registerHandler(TargetDeploymentService.java:166)
at weblogic.deploy.service.internal.DeploymentService.registerHandler(DeploymentService.java:177)
at com.bea.wli.config.deployment.server.ServerDeploymentReceiver.register(ServerDeploymentReceiver.java:82)
at com.bea.wli.config.deployment.server.ServerDeploymentReceiver.<init>(ServerDeploymentReceiver.java:75)
at com.bea.wli.config.weblogic.WebLogicConfigService$DeploymentReceiverLauncher.endOfStart(WebLogicConfigService.java:190)
Truncated. see log file for complete stacktrace
>
<22/07/2010#11:54:56.271#+0200> <Error> <ConfigFwk> <BEA-000000> <Failed in endLoadNotification. Ignoring.
java.lang.NullPointerException
at com.bea.wli.sb.resources.globaloperations.GlobalOperationsResourceLifecycleListener.endLoadNotification(GlobalOperationsResourceLifecycleListener.java:112)
at com.bea.wli.config.impl.ResourceListenerNotifier.sendLoadNotificationsInContext(ResourceListenerNotifier.java:236)
at com.bea.wli.config.impl.ResourceListenerNotifier.access$400(ResourceListenerNotifier.java:41)
at com.bea.wli.config.impl.ResourceListenerNotifier$1.execute(ResourceListenerNotifier.java:151)
at com.bea.wli.config.transaction.TransactionalTask._doExecute(TransactionalTask.java:217)
Truncated. see log file for complete stacktrace
>
<22/07/2010#11:54:57.153#+0200> <Error> <ConfigFwk> <BEA-000000> <Failed in endLoadNotification. Ignoring.
java.lang.NullPointerException
at com.bea.wli.sb.service.ServiceChangeListener.updateAlerts(ServiceChangeListener.java:243)
at com.bea.wli.sb.service.ServiceChangeListener.endLoadNotification(ServiceChangeListener.java:175)
at com.bea.wli.config.impl.ResourceListenerNotifier.sendLoadNotificationsInContext(ResourceListenerNotifier.java:236)
at com.bea.wli.config.impl.ResourceListenerNotifier.access$400(ResourceListenerNotifier.java:41)
at com.bea.wli.config.impl.ResourceListenerNotifier$1.execute(ResourceListenerNotifier.java:151)
Truncated. see log file for complete stacktrace
>
<22/07/2010#11:54:59.828#+0200> <Error> <ALSB Statistics Manager> <BEA-473004> <Cannot recover from persistent Store : java.lang.NullPointerException
java.lang.NullPointerException
at com.bea.wli.monitoring.statistics.collection.Collector.readPersistedRawSnapshot(Collector.java:357)
at com.bea.wli.monitoring.statistics.StatisticsManager.onStatConfigLoad(StatisticsManager.java:347)
at com.bea.wli.monitoring.statistics.ALSBStatisticsManager.onStatConfigLoad(ALSBStatisticsManager.java:379)
at com.bea.wli.sb.service.ServiceStatisticsListener.updateRuntime(ServiceStatisticsListener.java:200)
at com.bea.wli.sb.service.ServiceStatisticsListener.endLoadNotification(ServiceStatisticsListener.java:168)
Truncated. see log file for complete stacktrace
>
<22/07/2010#11:55:02.434#+0200> <Warning> <Log Management> <BEA-170011> <The LogBroadcaster on this server failed to broadcast log messages to the admin server. The Admin server may not be running. Message broadcasts to the admin server will be disabled.>
<22/07/2010#11:55:02.557#+0200> <Notice> <Cluster> <BEA-000197> <Listening for announcements from cluster using unicast cluster messaging>
<22/07/2010#11:55:02.557#+0200> <Notice> <Cluster> <BEA-000133> <Waiting to synchronize with other running members of xxCLUSTERxx.>
<22/07/2010#11:55:32.595#+0200> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to ADMIN>
<22/07/2010#11:55:32.595#+0200> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RESUMING>
<22/07/2010#11:57:17.835#+0200> <Notice> <Server> <BEA-002613> <Channel "Default" is now listening on xx.xx.xx.xx:14101 for protocols iiop, t3, CLUSTER-BROADCAST, ldap, snmp, http.>
<22/07/2010#11:57:17.835#+0200> <Notice> <WebLogicServer> <BEA-000358> <Started WebLogic Independent Managed Server "xxmanaged1xx" for domain "xxDOMAINxx" running in Production Mode>
<22/07/2010#11:57:17.840#+0200> <Warning> <JMX> <BEA-149510> <Unable to establish JMX Connectivity with the Adminstration Server xxadminxx at <JMXServiceURL:null>.>
<22/07/2010#11:57:20.13#+0200> <Notice> <Cluster> <BEA-000102> <Joining cluster xxCLUSTERxx on xx.xx.xx.xx:7001>
<22/07/2010#11:57:20.28#+0200> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING>
I have a hard time trying to see what's happening here.
If you have any input for me to use, I would be very thankful.
And by the way, please excuse me for my poor english (french here ^^)
Best regards,
SergeAs a test, I shutdown my admin server and then killed the managed server from the command line so that node manager would start it ( and not be able to find the admin server ).
I'm using WL 10.3.3 ( 11g + OSB + SOA ) on oracle linux (64bit) and the managed server started in 3 minutes.
So I tried the same in my 10g environment WL 10.3 running OSB 10g ( oracle linux 32-bit ) and the server started in 2 minutes.
I see a couple of times when your trace shows a pause:
1. when loading certificates22/07/2010#10:10:42.75#+0200> <Alert> <Security> <BEA-090167> <Cannot retrieve identity certificate and private key on server xxmanaged1xx, because the keystore entry alias is not specified.>
<22/07/2010#10:10:42.77#+0200> <Notice> <Security> <BEA-090169> <Loading trusted certificates from the JKS keystore file /xxxkeystore.>
<22/07/2010#10:16:02.665#+0200> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STANDBY>
For this server, is the keystore alias entered in the server's SSL tab?
2. Just after entering STARTING<22/07/2010#10:16:02.666#+0200> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
<22/07/2010#10:45:48.374#+0200> <Alert> <ALSB Security> <BEA-387042> <There is no user password credential mapper provider configured in your security realm. AquaLogic Service Bus service account management will be disabled. Configure a user password credential mapper provider if you need ALSB service account support.>
In my test, the "user password credential" message was preceded by messages about the Singleton Marker applications. Are the singleton apps deployed to this server, or to some other managed server? If they are deployed to some other managed server, are they deployed to a managed server on the same host as the (unreachable) admin server?
<Jul 19, 2010 11:11:54 AM EDT> <Info> <WorkManager> <BEA-002903> <Creating WorkManager from "weblogic.wsee.mdb.DispatchPolicy" WorkManagerMBean for application "ALSB Cluster Singleton Marker Application">
<Jul 19, 2010 11:11:54 AM EDT> <Info> <WorkManager> <BEA-002903> <Creating WorkManager from "weblogic.wsee.mdb.DispatchPolicy" WorkManagerMBean for application "ALSB Domain Singleton Marker Application">
<Jul 19, 2010 11:11:54 AM EDT> <Info> <WorkManager> <BEA-002903> <Creating WorkManager from "weblogic.wsee.mdb.DispatchPolicy" WorkManagerMBean for application "ALSB Framework Starter Application">
<Jul 19, 2010 11:11:56 AM EDT> <Alert> <OSB Security> <BEA-387042> <There is no user password credential mapper provider configured in your security realm. Oracle Service Bus service account management will be disabled. Configure a user password credential mapper provider if you need OSB service account support.>
3. activating ALSB Framework 22/07/2010#10:45:52.154#+0200> <Warning> <WliSbTransports> <BEA-381917> <MQ Transport could not be registered due to : Missing MQ Library>
<22/07/2010#11:54:55.765#+0200> <Error> <Deployer> <BEA-149231> <Unable to set the activation state to true for the application 'ALSB Framework Starter Application'.
In my test, this was logged immediately after the "user password credential mapper" message, with the following between:
<Jul 19, 2010 11:11:56 AM EDT> <Debug> <AlsbSecurityWss> <BEA-000000> <WssModuleImpl.getInstance>
<Jul 19, 2010 11:11:56 AM EDT> <Debug> <AlsbSecurityWss> <BEA-000000> <WssModuleImpl.initialize>
<Jul 19, 2010 11:11:56 AM EDT> <Debug> <AlsbSecurityWss> <BEA-000000> <initializing WssHandlerImpl>
<Jul 19, 2010 11:11:56 AM EDT> <Debug> <AlsbSecurityWss> <BEA-000000> <WssHandlerImpl constructor>
<Jul 19, 2010 11:11:56 AM EDT> <Debug> <AlsbSecurityWss> <BEA-000000> <WssAuditor initilizing>
<Jul 19, 2010 11:11:56 AM EDT> <Debug> <AlsbSecurityWss> <BEA-000000> <auditingEnbled set to false>
<Jul 19, 2010 11:11:56 AM EDT> <Debug> <AlsbSecurityWss> <BEA-000000> <auditingEnbled set to false>
<Jul 19, 2010 11:11:56 AM EDT> <Debug> <AlsbSecurityWss> <BEA-000000> <WssAuditor successfully started>
<Jul 19, 2010 11:11:56 AM EDT> <Debug> <AlsbSecurityWss> <BEA-000000> <WssModuleImpl was successfully initialized>
<Jul 19, 2010 11:11:56 AM EDT> <Debug> <AlsbSecurityModule> <BEA-000000> <jndiLookup: [jndi-name: com.bea.alsb.internal.clusterTimerAuthority]>
<Jul 19, 2010 11:11:56 AM EDT> <Debug> <AlsbSecurityModule> <BEA-000000> <jndiLookup: [jndi-name: com.bea.alsb.internal.clusterTimerAuthority]>
<Jul 19, 2010 11:11:56 AM EDT> <Info> <Monitoring> <BEA-000000> <New Metadata version is 0>
<Jul 19, 2010 11:11:56 AM EDT> <Info> <Monitoring> <BEA-000000> <New Metadata version is 0>
<Jul 19, 2010 11:11:56 AM EDT> <Info> <Monitoring> <BEA-000000> <New Metadata version is 0>
<Jul 19, 2010 11:11:56 AM EDT> <Info> <Deployer> <BEA-149059> <Module Dummy of application ALSB Framework Starter Application is transitioning from STATE_NEW to STATE_PREPARED on server
The clusterTimerAuthority involves contacting the admin server in 11g, but not quite sure about 10g. ( I have a separate bug in 11g when the ClusterTime can't be reached if the admin server is using 2way SSL )
I can't run the same test in my multi-node environments, but is it possible for you to change the targets of the 2 Singleton applications to a managed server which runs on some machine other than the Admin server's machine? Then try starting that managed server while the Admin server is down, and also try restarting another managed server ( which is not on the admin server's host and is not targetted by the Singleton applications. )
I suspect the managed server with the singleton apps will start more quickly than the one without. -
Security issue to access remote ejbs, URGENT!!! please and thanks.
Hi gurus:
I have questions for you. I need to access remote ejbs. the ejb(beans) have been
deployed on remote machine. I have helper class file to do JNDI lookup to point
the machine and find it.
I have local machine to have all of home interfaces, remote interfaces and stub
classes and common classes. I have local jsp and config weblogic-web.xml to allow
test user to access.
Sometimes fine but got the following message and error from my local machine.
I have no clue about that. Is any other issue that remote machine have security
to limit clients to access beans. Because remote wl server startup as system/weblogic.
If my local machine startup as system/weblogic too. It has no problem at all.
This doesn't make sense for my local machine has to have same system's password
as remote machine. Should have some issues to limit clients to access remote beans.
Thank you for any helps and suggestions in advance.
Steven.
####<Jun 7, 2001 10:34:25 AM CDT> <Error> <HTTP> <stevenzhu> <myserver> <ExecuteThread-14>
<springbow> <> <101020> <[WebAppServletContext(8365803,public_html)] Servlet failed
with Exception>
java.lang.SecurityException: Authentication for user test denied in realm wl_realm
at weblogic.rmi.internal.AbstractOutboundRequest.sendReceive(AbstractOutboundRequest.java:90)
at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:247)
at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:225)
at weblogic.jndi.internal.ServerNamingNode_WLStub.lookup(ServerNamingNode_WLStub.java:121)
at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:323)
at com.sprint.common.util.EJBHelper.getHomeInterface(EJBHelper.java:172)
at com.sprint.common.util.EJBHelper.getOrganizationSLHome(EJBHelper.java:122)
at com.sprint.common.organization.OrganizationBean.getOrganizationHome(OrganizationBean.java:290)
at com.sprint.common.organization.OrganizationBean.getOrganizationRemote(OrganizationBean.java:315)
at com.sprint.common.organization.OrganizationBean.findEmployee(OrganizationBean.java:107)
at jsp_servlet._ehr._vieworganizationalhierarchy._jspService(_vieworganizationalhierarchy.java:173)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:208)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:1127)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:1529)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)well, if we post in other threads, they tell me that it is ARD and server technology. If you try to post back to my mac in the normal threads about Leopard, they point us to this thread.
It seems that a lot of people are frantically looking for someone who can explain in plain english how to do the remote desktop - is remote desktop the same technology as back to my mac?
Extremely frustrating for people like me who don't have unix or programming language experience... We choose for mac because we wanted user friendlyness... What a joke! -
Can't start WebLogic6.0 sp1 server on win2000
I'm getting this error when I try to start the weblogic 6.0 sp1
server on win2000, please help
C:\bea\wlserver6.0sp1>"C:\bea\jdk130\bin\java" -hotspot -ms64m
-mx64m -classpath .;.\lib\weblogic_sp.jar;.\lib\weblogic.
jar -Dweblogic.Domain=weblogic -Dweblogic.Name=floorpie "-Dbea.home=C:\bea"
"-Djava.security.policy==C:\bea\wlserver6.0s
p1/lib/weblogic.policy" -Dweblogic.management.password= weblogic.Server
<Mar 22, 2001 9:45:36 AM MST> <Info> <Security> <Getting boot password
from user.>
Enter password to boot WebLogic server:weblogic
Starting WebLogic Server ....
<Mar 22, 2001 9:45:56 AM MST> <Notice> <Management> <Loading configuration
file .\config\weblogic\config.xml ...>
The WebLogic Server did not start up properly.
Exception raised: weblogic.management.configuration.ConfigurationException:
Error creating mbean, type: Domain, parent:
null, objectName: null while parsing XML config file - with nested
exception:
[weblogic.management.MBeanCreationException: - with nested exception:
[javax.management.InstanceAlreadyExistsException: weblogic:Type=Domain,Name=weblogic]]
javax.management.InstanceAlreadyExistsException: weblogic:Type=Domain,Name=weblogic
at com.sun.management.jmx.RepositorySupport.addMBean(RepositorySupport.java:134)
at com.sun.management.jmx.MBeanServerImpl.internal_addObject(MBeanServerImpl.java:2352)
at com.sun.management.jmx.MBeanServerImpl.registerMBean(MBeanServerImpl.java:874)
at weblogic.management.internal.RemoteMBeanServerImpl.registerMBean(RemoteMBeanServerImpl.java:112)
at weblogic.management.internal.Helper.createMBean(Helper.java:321)
at weblogic.management.internal.Helper.createAdminMBean(Helper.java:236)
at weblogic.management.internal.RemoteMBeanServerImpl.createAdminMBean(RemoteMBeanServerImpl.java:176)
at weblogic.management.internal.xml.ConfigurationParser$ConfigurationHandler.createAdminMBean(ConfigurationParse
r.java:236)
at weblogic.management.internal.xml.ConfigurationParser$ConfigurationHandler.startElement(ConfigurationParser.ja
va:176)
at weblogic.apache.xerces.parsers.SAXParser.startElement(SAXParser.java:1335)
at weblogic.apache.xerces.validators.common.XMLValidator.callStartElement(XMLValidator.java:823)
at weblogic.apache.xerces.framework.XMLDocumentScanner.scanElement(XMLDocumentScanner.java:1852)
at weblogic.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XMLDocumentScanner.java:1000)
at weblogic.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:380)
at weblogic.apache.xerces.framework.XMLParser.parse(XMLParser.java:900)
at weblogic.management.internal.xml.ConfigurationParser.parse(ConfigurationParser.java:103)
at weblogic.management.internal.xml.XmlFileRepository.loadDomain(XmlFileRepository.java:222)
at weblogic.management.internal.xml.XmlFileRepository.loadDomain(XmlFileRepository.java:186)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:562)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:548)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:285)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:437)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:178)
at $Proxy1.loadDomain(Unknown Source)
at weblogic.management.AdminServer.configureFromRepository(AdminServer.java:183)
at weblogic.management.AdminServer.configure(AdminServer.java:168)
at weblogic.management.Admin.initialize(Admin.java:207)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:317)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:169)
at weblogic.Server.main(Server.java:35)
--------------- nested within: ------------------
weblogic.management.MBeanCreationException: - with nested exception:
[javax.management.InstanceAlreadyExistsException: weblogic:Type=Domain,Name=weblogic]
at weblogic.management.internal.Helper.createMBean(Helper.java:328)
at weblogic.management.internal.Helper.createAdminMBean(Helper.java:236)
at weblogic.management.internal.RemoteMBeanServerImpl.createAdminMBean(RemoteMBeanServerImpl.java:176)
at weblogic.management.internal.xml.ConfigurationParser$ConfigurationHandler.createAdminMBean(ConfigurationParse
r.java:236)
at weblogic.management.internal.xml.ConfigurationParser$ConfigurationHandler.startElement(ConfigurationParser.ja
va:176)
at weblogic.apache.xerces.parsers.SAXParser.startElement(SAXParser.java:1335)
at weblogic.apache.xerces.validators.common.XMLValidator.callStartElement(XMLValidator.java:823)
at weblogic.apache.xerces.framework.XMLDocumentScanner.scanElement(XMLDocumentScanner.java:1852)
at weblogic.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XMLDocumentScanner.java:1000)
at weblogic.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:380)
at weblogic.apache.xerces.framework.XMLParser.parse(XMLParser.java:900)
at weblogic.management.internal.xml.ConfigurationParser.parse(ConfigurationParser.java:103)
at weblogic.management.internal.xml.XmlFileRepository.loadDomain(XmlFileRepository.java:222)
at weblogic.management.internal.xml.XmlFileRepository.loadDomain(XmlFileRepository.java:186)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:562)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:548)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:285)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:437)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:178)
at $Proxy1.loadDomain(Unknown Source)
at weblogic.management.AdminServer.configureFromRepository(AdminServer.java:183)
at weblogic.management.AdminServer.configure(AdminServer.java:168)
at weblogic.management.Admin.initialize(Admin.java:207)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:317)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:169)
at weblogic.Server.main(Server.java:35)
--------------- nested within: ------------------
weblogic.management.configuration.ConfigurationException: Error
creating mbean, type: Domain, parent: null, objectName:
null while parsing XML config file - with nested exception:
[weblogic.management.MBeanCreationException: - with nested exception:
[javax.management.InstanceAlreadyExistsException: weblogic:Type=Domain,Name=weblogic]]
at weblogic.management.internal.xml.ConfigurationParser$ConfigurationHandler.createAdminMBean(ConfigurationParse
r.java:265)
at weblogic.management.internal.xml.ConfigurationParser$ConfigurationHandler.startElement(ConfigurationParser.ja
va:176)
at weblogic.apache.xerces.parsers.SAXParser.startElement(SAXParser.java:1335)
at weblogic.apache.xerces.validators.common.XMLValidator.callStartElement(XMLValidator.java:823)
at weblogic.apache.xerces.framework.XMLDocumentScanner.scanElement(XMLDocumentScanner.java:1852)
at weblogic.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XMLDocumentScanner.java:1000)
at weblogic.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:380)
at weblogic.apache.xerces.framework.XMLParser.parse(XMLParser.java:900)
at weblogic.management.internal.xml.ConfigurationParser.parse(ConfigurationParser.java:103)
at weblogic.management.internal.xml.XmlFileRepository.loadDomain(XmlFileRepository.java:222)
at weblogic.management.internal.xml.XmlFileRepository.loadDomain(XmlFileRepository.java:186)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:562)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:548)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:285)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:437)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:178)
at $Proxy1.loadDomain(Unknown Source)
at weblogic.management.AdminServer.configureFromRepository(AdminServer.java:183)
at weblogic.management.AdminServer.configure(AdminServer.java:168)
at weblogic.management.Admin.initialize(Admin.java:207)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:317)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:169)
at weblogic.Server.main(Server.java:35)
Reason: Fatal initialization exception
C:\bea\wlserver6.0sp1>goto finish
C:\bea\wlserver6.0sp1>cd config\weblogic
C:\bea\wlserver6.0sp1\config\weblogic>ENDLOCAL
C:\bea\wlserver6.0sp1\config\weblogic>post your config.xml here
joey eccleston wrote:
I'm getting this error when I try to start the weblogic 6.0 sp1
server on win2000, please help
C:\bea\wlserver6.0sp1>"C:\bea\jdk130\bin\java" -hotspot -ms64m
-mx64m -classpath .;.\lib\weblogic_sp.jar;.\lib\weblogic.
jar -Dweblogic.Domain=weblogic -Dweblogic.Name=floorpie "-Dbea.home=C:\bea"
"-Djava.security.policy==C:\bea\wlserver6.0s
p1/lib/weblogic.policy" -Dweblogic.management.password= weblogic.Server
<Mar 22, 2001 9:45:36 AM MST> <Info> <Security> <Getting boot password
from user.>
Enter password to boot WebLogic server:weblogic
Starting WebLogic Server ....
<Mar 22, 2001 9:45:56 AM MST> <Notice> <Management> <Loading configuration
file .\config\weblogic\config.xml ...>
The WebLogic Server did not start up properly.
Exception raised: weblogic.management.configuration.ConfigurationException:
Error creating mbean, type: Domain, parent:
null, objectName: null while parsing XML config file - with nested
exception:
[weblogic.management.MBeanCreationException: - with nested exception:
[javax.management.InstanceAlreadyExistsException: weblogic:Type=Domain,Name=weblogic]]
javax.management.InstanceAlreadyExistsException: weblogic:Type=Domain,Name=weblogic
at com.sun.management.jmx.RepositorySupport.addMBean(RepositorySupport.java:134)
at com.sun.management.jmx.MBeanServerImpl.internal_addObject(MBeanServerImpl.java:2352)
at com.sun.management.jmx.MBeanServerImpl.registerMBean(MBeanServerImpl.java:874)
at weblogic.management.internal.RemoteMBeanServerImpl.registerMBean(RemoteMBeanServerImpl.java:112)
at weblogic.management.internal.Helper.createMBean(Helper.java:321)
at weblogic.management.internal.Helper.createAdminMBean(Helper.java:236)
at weblogic.management.internal.RemoteMBeanServerImpl.createAdminMBean(RemoteMBeanServerImpl.java:176)
at weblogic.management.internal.xml.ConfigurationParser$ConfigurationHandler.createAdminMBean(ConfigurationParse
r.java:236)
at weblogic.management.internal.xml.ConfigurationParser$ConfigurationHandler.startElement(ConfigurationParser.ja
va:176)
at weblogic.apache.xerces.parsers.SAXParser.startElement(SAXParser.java:1335)
at weblogic.apache.xerces.validators.common.XMLValidator.callStartElement(XMLValidator.java:823)
at weblogic.apache.xerces.framework.XMLDocumentScanner.scanElement(XMLDocumentScanner.java:1852)
at weblogic.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XMLDocumentScanner.java:1000)
at weblogic.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:380)
at weblogic.apache.xerces.framework.XMLParser.parse(XMLParser.java:900)
at weblogic.management.internal.xml.ConfigurationParser.parse(ConfigurationParser.java:103)
at weblogic.management.internal.xml.XmlFileRepository.loadDomain(XmlFileRepository.java:222)
at weblogic.management.internal.xml.XmlFileRepository.loadDomain(XmlFileRepository.java:186)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:562)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:548)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:285)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:437)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:178)
at $Proxy1.loadDomain(Unknown Source)
at weblogic.management.AdminServer.configureFromRepository(AdminServer.java:183)
at weblogic.management.AdminServer.configure(AdminServer.java:168)
at weblogic.management.Admin.initialize(Admin.java:207)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:317)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:169)
at weblogic.Server.main(Server.java:35)
--------------- nested within: ------------------
weblogic.management.MBeanCreationException: - with nested exception:
[javax.management.InstanceAlreadyExistsException: weblogic:Type=Domain,Name=weblogic]
at weblogic.management.internal.Helper.createMBean(Helper.java:328)
at weblogic.management.internal.Helper.createAdminMBean(Helper.java:236)
at weblogic.management.internal.RemoteMBeanServerImpl.createAdminMBean(RemoteMBeanServerImpl.java:176)
at weblogic.management.internal.xml.ConfigurationParser$ConfigurationHandler.createAdminMBean(ConfigurationParse
r.java:236)
at weblogic.management.internal.xml.ConfigurationParser$ConfigurationHandler.startElement(ConfigurationParser.ja
va:176)
at weblogic.apache.xerces.parsers.SAXParser.startElement(SAXParser.java:1335)
at weblogic.apache.xerces.validators.common.XMLValidator.callStartElement(XMLValidator.java:823)
at weblogic.apache.xerces.framework.XMLDocumentScanner.scanElement(XMLDocumentScanner.java:1852)
at weblogic.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XMLDocumentScanner.java:1000)
at weblogic.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:380)
at weblogic.apache.xerces.framework.XMLParser.parse(XMLParser.java:900)
at weblogic.management.internal.xml.ConfigurationParser.parse(ConfigurationParser.java:103)
at weblogic.management.internal.xml.XmlFileRepository.loadDomain(XmlFileRepository.java:222)
at weblogic.management.internal.xml.XmlFileRepository.loadDomain(XmlFileRepository.java:186)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:562)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:548)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:285)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:437)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:178)
at $Proxy1.loadDomain(Unknown Source)
at weblogic.management.AdminServer.configureFromRepository(AdminServer.java:183)
at weblogic.management.AdminServer.configure(AdminServer.java:168)
at weblogic.management.Admin.initialize(Admin.java:207)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:317)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:169)
at weblogic.Server.main(Server.java:35)
--------------- nested within: ------------------
weblogic.management.configuration.ConfigurationException: Error
creating mbean, type: Domain, parent: null, objectName:
null while parsing XML config file - with nested exception:
[weblogic.management.MBeanCreationException: - with nested exception:
[javax.management.InstanceAlreadyExistsException: weblogic:Type=Domain,Name=weblogic]]
at weblogic.management.internal.xml.ConfigurationParser$ConfigurationHandler.createAdminMBean(ConfigurationParse
r.java:265)
at weblogic.management.internal.xml.ConfigurationParser$ConfigurationHandler.startElement(ConfigurationParser.ja
va:176)
at weblogic.apache.xerces.parsers.SAXParser.startElement(SAXParser.java:1335)
at weblogic.apache.xerces.validators.common.XMLValidator.callStartElement(XMLValidator.java:823)
at weblogic.apache.xerces.framework.XMLDocumentScanner.scanElement(XMLDocumentScanner.java:1852)
at weblogic.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XMLDocumentScanner.java:1000)
at weblogic.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:380)
at weblogic.apache.xerces.framework.XMLParser.parse(XMLParser.java:900)
at weblogic.management.internal.xml.ConfigurationParser.parse(ConfigurationParser.java:103)
at weblogic.management.internal.xml.XmlFileRepository.loadDomain(XmlFileRepository.java:222)
at weblogic.management.internal.xml.XmlFileRepository.loadDomain(XmlFileRepository.java:186)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:562)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:548)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:285)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:437)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:178)
at $Proxy1.loadDomain(Unknown Source)
at weblogic.management.AdminServer.configureFromRepository(AdminServer.java:183)
at weblogic.management.AdminServer.configure(AdminServer.java:168)
at weblogic.management.Admin.initialize(Admin.java:207)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:317)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:169)
at weblogic.Server.main(Server.java:35)
Reason: Fatal initialization exception
C:\bea\wlserver6.0sp1>goto finish
C:\bea\wlserver6.0sp1>cd config\weblogic
C:\bea\wlserver6.0sp1\config\weblogic>ENDLOCAL
C:\bea\wlserver6.0sp1\config\weblogic>
Maybe you are looking for
-
Why can't I access my mac pro from other computers
I can't seem to access files from my Mac Pro from other computers on our network. It asks for a username and password, which it says is always incorrect. Any ideas on how to fix this? We have two main workstations that need to access a single Fire
-
Problem send attachment with mail
Hello, I'm coding a program which sends a mail with attachment to an external mail address. The system creates the mail and the attachment, bu the content of the attachment isn 't correct. this is my code REPORT Z_SEND_MAIL. data: IS_DOCDATA type SO
-
Import Category Tag Data from Album 1.0 to Elements 4.0
I have used PS Album 1.0 since its release together with PSE 2.0. I want to upgrade to PSE 4.0 but do not want to lose organizational data created in PSA 1.0. Can this be imported to PSE 4.0 or will it be recognized automatically?? Can't find the ans
-
I have deskjet 1510 all in one printer. In scan setting, i have selected the destination folder as local or on network. I have entered location as desktop but after scaning even though as pdf file,copy is saving as HTML doc, enable me to see or save.
-
Hello, I'm using Oracle JDeveloper 11g Release 2 (11.1.2.3.0). Here a little sample data: create table Concessionaire (CON_ID number, CON_NAME varchar2(20)); create table Stock (STO_ID number, STO_CAR_ID number, STO_CON_ID number, STO_SALE_ID number)