Anybody tried weblogic server 9.0 or 9.1 ?
anybody tried weblogic server 9.0 or 9.1 ?
whats are the differences you have seen in them ...i know the link that gives the whats new in ? for each version that bea comes up with, please do not refer me to that link ...can anyone tell me your expereinces with the newer version ?
I thank in advance to anyone coming with +VE replies for this post.
Sarvotham
Hello,
Admin/boot credentials are specified when you are creating a new domain, not while installation. Create a new domain, it prompt for user credential, remember them. Then start the server and try to log on to admin console using that credentials.
http://e-docs.bea.com/platform/docs90/confgwiz/intro.html#1065242
Regards,
Kuldeep Singh.
Similar Messages
-
Getting Error when trying to deploy Portlet Application on WebLogic Server
Hi,
We have a WebLogic server installed on a Windows machine. We created a new Domain, extended it with ADF Runtime and with Web Center Framework. It created three servers for us along with the already existing AdminServer, WLS_Portlet, WLS_Spaces, WLS_Service.
We created a portlet Application on our development machine using JDeveloper. When we run it from JDeveloper it runs as expected without any errors.
We created a Deployment profile for the application as an EAR file. Then we copied this EAR file over to the machine on which WebLogic server is installed (deployment machine).
On the Deployments screen of the WebLogic Server Console, we selected "Install", selected the EAR file we had created above, selected "Install as Application" and then selected the WLS_Portlet server on which to install it. Then we just kept clicking Next and Finish.
The first time we tried it, we got a NoClassDefFound exception for some class like JAXRPCServer. We did some research and found that to fix this issue we can put the containing .jar files of the classes not found into the public_html\WEB-INF\lib folder. We tried this for the above error by placing "wsserver.jar" file into the lib folder. Then we got anothe NoClassDefFound error. We again searched for the containing .jar file and put it into the lib folder. This continued for around ten to twenty errors and now we are stuck at a point where we are not able to find a way out.
The current error that we are getting is NoClassDefFound: oracle/security/jps/internal/policystore/GranteeFactory. We searched for the containing jar of this class and found it to be jps-internal.jar which is already present in our lib folder. The stack trace of the exception is:
<Jul 2, 2010 11:23:13 AM GMT+05:30> <Error> <Console> <BEA-240003> <Console encountered the following error weblogic.application.ModuleException: oracle/security/jps/internal/policystore/GranteeFactory
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1516)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:486)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:201)
at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:249)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:427)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:28)
at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:1269)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:409)
at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:58)
at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:150)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:116)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323)
at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:844)
at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1253)
at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:440)
at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:164)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:195)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:13)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:69)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Caused by: java.lang.NoClassDefFoundError: oracle/security/jps/internal/policystore/GranteeFactory
at oracle.security.jps.internal.policystore.JavaPolicyProvider.getPermissions(JavaPolicyProvider.java:216)
at java.security.Policy.initPolicy(Policy.java:299)
at java.security.Policy.setPolicy(Policy.java:243)
at oracle.security.jps.internal.jaas.JaasUtil.setPolicyProvider(JaasUtil.java:54)
at oracle.security.jps.wls.JpsWeblogicFilter.<clinit>(JpsWeblogicFilter.java:47)
at oracle.security.jps.wls.JpsWlsPlatformFactory.getJpsFilter(JpsWlsPlatformFactory.java:87)
at oracle.security.jps.ee.http.JpsFilter.<init>(JpsFilter.java:59)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at java.lang.Class.newInstance0(Class.java:355)
at java.lang.Class.newInstance(Class.java:308)
at weblogic.servlet.internal.WebComponentContributor.getNewInstance(WebComponentContributor.java:225)
at weblogic.servlet.internal.WebComponentContributor.createFilterInstance(WebComponentContributor.java:257)
at weblogic.servlet.internal.FilterManager.loadFilter(FilterManager.java:94)
at weblogic.servlet.internal.FilterManager.preloadFilters(FilterManager.java:59)
at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1867)
at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3126)
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1512)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:486)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:1267)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:409)
at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:58)
at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:150)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:116)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323)
at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:844)
at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1253)
at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:440)
at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:163)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:195)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:13)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:68)
Any help would be appreciated on this since we are stuck at this point and have no idea to get across this hurdle.
One more thing, this is the first time that we are trying to play with WebLogic or even Java. So, some of our questions or steps performed might seem irrelevant here.
Thanks,
GauravHi,
Another update on this issue.
To remove the error that we were getting (java.lang.LinkageError: Class javax/xml/transform/Source violates loader constraints), we tried some searching around and found out that the way to fix it is to provide correct versions of xalan.jar, xml-apis.jar and xercesImpl.jar. We downloaded the required version from the apache site and added it to our WEB-INF/lib folder in the WAR file.
Now, we are getting this error:
XPathFactory#newInstance() failed to create an XPathFactory for the default object model: http://java.sun.com/jaxp/xpath/dom with the XPathFactoryConfigurationException: javax.xml.xpath.XPathFactoryConfigurationException: No XPathFctory implementation found for the object model: http://java.sun.com/jaxp/xpath/dom
What else we might be missing in our libs or do we need to check some other configurations?
Any help on this would be much appreciated.
Thanks,
Gaurav -
Problem when trying to start Weblogic server
Hi,
I have a problem when in was trying to start the weblogic server from the
Weblogic Console.It Loads all the necessary files and finally it comes out
giving an error "Server start message not received in allotted time, server
process killed.".
But at the same time i can start the server cooly by running the
"Wlserver.exe".Can any help me on this problem
regards
Ramesh
Baan CompanyHi!
I'm quite sure that this is a time out problem. I need about 3 minutes to start
up my weblogic server. It's no problem to start it from a command prompt
(startWeblogic.cmd), but using weblogic console application I always got a time
out after 120 seconds. On a faster computer, where the start up process can be
finished in less then 120 seconds it was no problem to start the server with the
same amount of EJBs.
Does anyone know how to increase the time out parameter for the weblogic console
application?
Best reagards,
Przemek
Ramesh wrote:
Yes Its resource problem i suppose..
My friend who is working with WL advised me to us 128 MB RAM to work with
Weblogic server.
Justin i need one more help
I registered my servlet in Weblogic.properties.But when i try to load
it from the command tab says "Property change error on LOAD".I dont know
what
properties i have to change to load this.
Even the existing example servlets i coundnt Load.!!!!
Can any one help on this problem
Justin Knowlden <[email protected]> wrote in message
news:[email protected]...
I actually got WL to work on my system yesterday. I found that it was aresource
problem. I had to shut down my X Server; if you don't know what the XServer is,
it's (basically) the app that runs a window manager. It was consuming toomuch
of my processing time. WL is now the only thing running on that machine.
Since you have NT, You may want to try shutting down all uneccesarydevices and
app's.
Ramesh wrote:
My System is
Win NT 4.00
Pentium pro 199 mhz
and 80 mb RAM
Is that because of the Memory Problem?
I dont know because i am able run it well when it trought command
prompt.
Justin Knowlden <[email protected]> wrote in message
news:[email protected]...
I posted a comment about this last week and have to receive a reply. Ialso saw
a post from April about this and there were no replies to it, either.
My problem exists on Linux whether I use the console or not. What are
the
specs
for your machine?
Mine:
Linux 2.2.15
P/Pro 199 MHx
128 MB RAM
Ramesh wrote:
Hi,
I have a problem when in was trying to start the weblogic server
from
the
Weblogic Console.It Loads all the necessary files and finally it
comes
out
giving an error "Server start message not received in allotted time,server
process killed.".
But at the same time i can start the server cooly by running the
"Wlserver.exe".Can any help me on this problem
regards
Ramesh
Baan Company--
Justin Knowlden <[email protected]>
Software Developer
MyPoints.com, Inc.
Justin Knowlden <[email protected]>
Software Developer
MyPoints.com, Inc.
Przemyslaw Rychlewski Tech@Spree Software Technology GmbH
mailto:[email protected] http://www.tech.spree.de
Tel +49 (0)30 235 520-34 Bülowstrasse 66
Fax +49 (0)30 217 520-12 10783 Berlin -
Problem: my J2EE ear file uses the AdventNet third-party library to do
SNMP work. WebLogic Server 8.1 also uses this AdventNet third-party
library to do its own SNMP work. The problem is the version used by
WebLogic 8.1 is older than the version I use, so my code tries to run
and finds the wrong version of the library that WebLogic 8.1 has supplied.
Possible solution: I plan to have a custom classloader (derived from
java.lang.ClassLoader) that gets hooked in to my threads using
Thread.setContextClassLoader(). This custom classloader would look for
the AdventNet library jars in a spot I specify so it would find the
correct ones. Since I want to change the usual classloader behavior of
"look in parent classloaders first, then child classloader" to "look in
child classloader first, then in parent classloaders" I can't just
override ClassLoader.findClass(). I, at a minimum, have to override
ClassLoader.loadClass() to look in my classloader first. I have
questions about this:
1. What other methods do I have to override? For example, which of the
resource-related methods do I need to override so that resources are
searched for first in my classloader then in parent classloaders?
2. I was thinking of using a URLClassLoader as a helper to my
classloader, invoking its method(s) from my custom classloader's
method(s) to actually load the classes from URLs that are not on the
standard classpath. I was planning to set it up with a custom parent
classloader that can't find anything, so that the helper URLClassLoader
would only ever find classes/resources in the URLs I provide to it. Does
this approach make sense? Have you seen anything like this done before?
3. Is there any way around this problem besides a custom ClassLoader? A
buggy custom ClassLoader would have problems which AFAIK would be
difficult to track down as ClassLoader problems.
Thanks in advance for any help you can provide.Alvin wrote:
Hi,
I am experiencing the same problme and
even I tried to put the AdventNet jar files
before weblogic.jar I still cannot get it
to work
Would you help me out here.
Thanks,
-AlvinI finally figured out a way to do it using a custom classloader that
looked in the directory where I kept the version of AdventNet I wanted
before looking in the normal places classloaders look.
How it works is I hook two classloaders at the bottom of the chain of
classloaders. My custom BlockingClassLoader is hooked as a child of the
normal chain of classloaders, then a URLClassLoader is hooked under
that. The BlockingClassLoader's findClass method checks if the class
starts with a package prefix I want to control (like "com.adventnet.").
If it does, then it acts like it can't find the class. This makes its
child, the URLClassLoader, try to find the class. The URLClassLoader
is given the URL of places to look for classes that match the directory
I keep the version of AdventNet I want in. When I load a class, I
directly tell the URLClassLoader to load it so that it is loaded as I want.
There's more to it than this. I had to override some other methods in
my BlockingClassLoader and do some other stuff. I'm not sure if I can
share the source code, as it was developed on company time and thus is
owned by the company. Feel free to ask questions though.
I haven't tried this solution very long (basically just unit tested it)
but it looks promising. -
JNDI not found when trying to communicate from websphere to weblogic server
Hi,
we have a J2EE application in which the client is a standalone program or may reside in any of the application server. But our EJB component is deployed in the weblogic server.
Earlier the client program which contacts the EJB is a standalone program and it uses the weblogic initial context factory and t3 protocol and we will have the weblogic.jar in the classpath.
but there is a new requirement as our new client is in websphere and it has to contact the weblogic server through IIOP protocol and websphere initial context factory. Please let me know what i need to do?
Since iam new to websphere and i am having no clue to establish the communication. I tried to use both IIOP protocol and wesphere initial context factory.but still i get exception as the JNDI name not found.
Guidance is appreciated.
Thanx in advance.To be in same page, iam running the client program using the IBM jre and using all the websphere client jars set in classpath. This program conatins intial context factory as "com.ibm.websphere.naming.WsnInitialContextFactory" and provider url as "iiop://hostname:portnumber" it contacts the EJB bean method which is hosted on the weblogic server on the "hostname" machine. When it tries to contact i get the errror as
"javax.naming.NameNotFoundException: Context: , name: java.iecc.env.ejb.elf.client_new(My JNDI name): First component in name java.iecc.env.ejb.elf.client_new not found. [Root exception is org.omg.CosNaming.NamingContextPackage.NotFound: IDL:omg.org/CosNaming/NamingContext/NotFound:1.0]" -
Hi i when i am trying to deploy an EJB module on weblogic server i get the
Hi all,
when i am trying to deploy an EJB module on weblogic server i get the the following exception on the server.
Exception:weblogic.management.ApplicationException: prepare failed for test Module: test Error: Exception preparing module: EJBModule(test,status=NEW) Unable to deploy EJB: D:\bea\weblogic81b\server\bin\myserver\upload\test.jar from test.jar: weblogic.ejb20.deployer.DeploymentDescriptorException: Unable to load a class specified in your ejb-jar.xml: Class bytes found but defineClass()failed for: 'HelloBean' at weblogic.ejb20.deployer.MBeanDeploymentInfoImpl.initializeBeanInfos(MBeanDeploymentInfoImpl.java:525) at weblogic.ejb20.deployer.MBeanDeploymentInfoImpl.(MBeanDeploymentInfoImpl.java:230) at weblogic.ejb20.deployer.EJBDeployer.prepare(EJBDeployer.java:1256) at weblogic.ejb20.deployer.EJBModule.prepare(EJBModule.java:449) at weblogic.j2ee.J2EEApplicationContainer.prepareModule(J2EEApplicationContainer.java:2792) at weblogic.j2ee.J2EEApplicationContainer.prepareModules(J2EEApplicationContainer.java:1478) at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1136) at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:975) at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.prepareContainer(SlaveDeployer.java:2571) at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(SlaveDeployer.java:2523) at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2453) at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:820) at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:536) at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:494) at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25) at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:178) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:151)
[Deployer:149033]preparing application test on myserver
[Deployer:149033]failed application test on myserver
[Deployer:149034]An exception occurred for task [Deployer:149026]Deploy application test on myserver.: Exception:weblogic.management.ApplicationException: prepare failed for test Module: test Error: Exception preparing module: EJBModule(test,status=NEW) Unable to deploy EJB: D:\bea\weblogic81b\server\bin\myserver\upload\test.jar from test.jar: weblogic.ejb20.deployer.DeploymentDescriptorException: Unable to load a class specified in your ejb-jar.xml: Class bytes found but defineClass()failed for: 'HelloBean' at weblogic.ejb20.deployer.MBeanDeploymentInfoImpl.initializeBeanInfos(MBeanDeploymentInfoImpl.java:525) at weblogic.ejb20.deployer.MBeanDeploymentInfoImpl.(MBeanDeploymentInfoImpl.java:230) at weblogic.ejb20.deployer.EJBDeployer.prepare(EJBDeployer.java:1256) at weblogic.ejb20.deployer.EJBModule.prepare(EJBModule.java:449) at weblogic.j2ee.J2EEApplicationContainer.prepareModule(J2EEApplicationContainer.java:2792) at weblogic.j2ee.J2EEApplicationContainer.prepareModules(J2EEApplicationContainer.java:1478) at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1136) at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:975) at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.prepareContainer(SlaveDeployer.java:2571) at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(SlaveDeployer.java:2523) at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2453) at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:820) at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:536) at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:494) at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25) at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:178) at weblogic.kernel.ExecuteThread.run(ExecuteThreadHi, i am also facing the same problem.......
my ejb-jar.xml is
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" "http://java.sun.com/dtd/ejb-jar_2_0.dtd">
<ejb-jar >
<description><![CDATA[No Description.]]></description>
<display-name>Generated by XDoclet</display-name>
<enterprise-beans>
<!-- Session Beans -->
<!--
To add session beans that you have deployment descriptor info for, add
a file to your XDoclet merge directory called session-beans.xml that contains
the <session></session> markup for those beans.
-->
<!-- Entity Beans -->
<entity >
<description><![CDATA[Description for Account]]></description>
<display-name>Name for Account</display-name>
<ejb-name>Account</ejb-name>
<home>com.app.j2ee.bmp.interfaces.AccountHome</home>
<remote>com.app.j2ee.bmp.interfaces.Account</remote>
<local-home>com.app.j2ee.bmp.interfaces.AccountLocalHome</local-home>
<local>com.app.j2ee.bmp.interfaces.AccountLocal</local>
<ejb-class>com.app.j2ee.bmp.ejb.AccountBean</ejb-class>
<persistence-type>Bean</persistence-type>
<prim-key-class>com.app.j2ee.bmp.interfaces.AccountPK</prim-key-class>
<reentrant>False</reentrant>
<resource-ref>
<res-ref-name>jdbc/ejbPool</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
</resource-ref>
</entity>
</enterprise-beans>
<!-- Relationships -->
<!-- Assembly Descriptor -->
<!--
To specify your own assembly descriptor info here, add a file to your
XDoclet merge directory called assembly-descriptor.xml that contains
the <assembly-descriptor></assembly-descriptor> markup.
-->
<assembly-descriptor >
<!--
To specify additional security-role elements, add a file in the merge
directory called ejb-security-roles.xml that contains them.
-->
<!-- method permissions -->
<!--
To specify additional method-permission elements, add a file in the merge
directory called ejb-method-permissions.ent that contains them.
-->
<!-- transactions -->
<!--
To specify additional container-transaction elements, add a file in the merge
directory called ejb-container-transactions.ent that contains them.
-->
<!-- finder transactions -->
<!-- message destinations -->
<!--
To specify additional message-destination elements, add a file in the merge
directory called ejb-message-destinations.ent that contains them.
-->
<!-- exclude list -->
<!--
To specify an exclude-list element, add a file in the merge directory
called ejb-exclude-list.xml that contains it.
-->
<container-transaction>
<method>
<ejb-name>Account</ejb-name>
<method-intf>Local</method-intf>
<method-name>*</method-name>
</method>
<method>
<ejb-name>Account</ejb-name>
<method-intf>Remote</method-intf>
<method-name>*</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
</assembly-descriptor>
</ejb-jar> -
Anybody tried install oracle 10g into Microsoft Windows Server 2003
Dear sir/madam
I would like to know is anybody tried install oracle 10g 10.2.0.1.0 into Microsoft Windows Small Business Server 2003?
Will it works smoothly? any problems about it? any networks problems?
I am prepare to buy Genuine Microsoft Windows Small Business Server 2003, so I would like to know about this matter.
many thanks
FrancisWhile I have not installed Oracle on Windows 2003 Small Business Server, I would suggest that you not install on that particular version of Windows. While I have not worked with SBS, I believe that this is an all-in-one solution that handles Exchange email services, file services, print services, domain control (all roles), DNS, WINS, HTTP, and probably a couple other things also.
While it sounds like a great idea to add Oracle to this server, I suspect that you will encounter some of the same issues that cause problems when Oracle is installed on a Windows domain controller. On such a server, there is no concept of a local group (the ORA_DBA group that the installer tries to create). Available memory, availalble free CPU, and disk contention may also be a problem due to contention with other services running on the server.
You might take a look at the following Metalink articles:
Note:46001.1
Note:77665.1
Note:160538.1
I would suggest that you take a look at the 64 bit Standard Edition of Windows 2003 if it is compatible with your hardware, or if you are familiar with Linux, do as Aman suggested. If possible, run only Oracle on the server.
Incidentally, Windows 2003 SBS is not listed on Oracle's certify web page, even though Windows 2008 is listed.
Charles Hooper
IT Manager/Oracle DBA
K&M Machine-Fabricating, Inc. -
Exception while trying to start weblogic server using workshop
Hi all,
Here am getting the trace given below when i try to start workshop.Any
clues.
=====================================
Starting WebLogic Server...
<Feb 2, 2002 4:09:18 PM EST> <Notice> <Management> <140005> <Loading
configuration .\..\workshop\config.xml>
<Feb 2, 2002 4:09:41 PM EST> <Notice> <WebLogicServer> <000327> <Starting
WebLogic Admin Server "cgServer" for domain
"workshop">
<Feb 2, 2002 4:10:15 PM EST> <Alert> <JMS> <040052> <JMSServer
"cgJMSServer", store failed to open, java.io.IOExcepti
on: JMS JDBC store, connection pool = <cgPool>, prefix = <null>: JMS JDBC
SQL Error
java.sql.SQLException: Invalid transaction state -- active SQL-transaction.
state: 2.
at
com.pointbase.net.netJDBCPrimitives.handleResponse([DashO-OE-V2.2-121500.112
15B000919])
at
com.pointbase.net.netJDBCPrimitives.handleJDBCObjectResponse([DashO-OE-V2.2-
121500.11215B000919])
at
com.pointbase.net.netJDBCDatabaseMetaData.getTables([DashO-OE-V2.2-121500.11
215B000919])
at
weblogic.jdbc.pool.DatabaseMetaData.getTables(DatabaseMetaData.java:1006)
at
weblogic.jms.store.JDBCStoreUpgradeHelper.tablesExist(JDBCStoreUpgradeHelper
.java:1076)
at
weblogic.jms.store.JDBCStoreUpgradeHelper.oldStore(JDBCStoreUpgradeHelper.ja
va:1261)
at weblogic.jms.store.JDBCIOStream.recover(JDBCIOStream.java:840)
at weblogic.jms.store.JMSStore.recover(JMSStore.java:121)
at weblogic.jms.backend.BEStore.open(BEStore.java:234)
at weblogic.jms.backend.BEStore.start(BEStore.java:147)
Thanks
VPls post it to the workshop newsgroup:
weblogic.developer.interest.70beta.workshop
regards,
-manoj
"Veena" <[email protected]> wrote in message news:[email protected]..
Hi all,
Here am getting the trace given below when i try to start workshop.Any
clues.
=====================================
Starting WebLogic Server...
<Feb 2, 2002 4:09:18 PM EST> <Notice> <Management> <140005> <Loading
configuration .\..\workshop\config.xml>
<Feb 2, 2002 4:09:41 PM EST> <Notice> <WebLogicServer> <000327> <Starting
WebLogic Admin Server "cgServer" for domain
"workshop">
<Feb 2, 2002 4:10:15 PM EST> <Alert> <JMS> <040052> <JMSServer
"cgJMSServer", store failed to open, java.io.IOExcepti
on: JMS JDBC store, connection pool = <cgPool>, prefix = <null>: JMS JDBC
SQL Error
java.sql.SQLException: Invalid transaction state -- active SQL-transaction.
state: 2.
at
com.pointbase.net.netJDBCPrimitives.handleResponse([DashO-OE-V2.2-121500.112
15B000919])
at
com.pointbase.net.netJDBCPrimitives.handleJDBCObjectResponse([DashO-OE-V2.2-
121500.11215B000919])
at
com.pointbase.net.netJDBCDatabaseMetaData.getTables([DashO-OE-V2.2-121500.11
215B000919])
at
weblogic.jdbc.pool.DatabaseMetaData.getTables(DatabaseMetaData.java:1006)
at
weblogic.jms.store.JDBCStoreUpgradeHelper.tablesExist(JDBCStoreUpgradeHelper
.java:1076)
at
weblogic.jms.store.JDBCStoreUpgradeHelper.oldStore(JDBCStoreUpgradeHelper.ja
va:1261)
at weblogic.jms.store.JDBCIOStream.recover(JDBCIOStream.java:840)
at weblogic.jms.store.JMSStore.recover(JMSStore.java:121)
at weblogic.jms.backend.BEStore.open(BEStore.java:234)
at weblogic.jms.backend.BEStore.start(BEStore.java:147)
Thanks
V
[att1.html] -
How to deploy a war file on Weblogic Server 7.0??
Hello Everyone
I am trying to deploy a servlet on Weblogic Server 7.0 as a WAR file. Can anyone of u plz tell me the steps required to do that. I am posting this question on EJb forum and not on servlets coz this is not a servlet problem, rather this is something which is related to J2EE, ie how to deploy a war file on J2EE Server.
This is how i have done it, but this is not working---
(1) First i created a directory structure for the web application according to J2EE Specification.
C:\Work\
myServletWAR\
META-INF\
WEB-INF\
classes\
HelloServlet.class
web.xml
i.e within work directory, there is a dic called myServletWAR which is my application directory which contains 2 sub directories viz META-INF which contains the mainifest file being generated by the jar utility. the second directory in the myServletWAR application dir is WEB-INF, which contains one file called web.xml for servlet mapping and one directory classes which contains HelloServlet.class
(2) I used following command for creating war file from myServletWAR director(i.e from my web application's directory).
jar -cvf TestServletWAR.war .
This creates the TestServletWAR.war file in myServletWAR dir.
Here is how my Servlet and web.xml looks like...
Servlet code
import java.io.*;
import javax.servlet.*;
import javax.servlet.http.*;
public class HelloServlet extends HttpServlet
public void doPost ( HttpServletRequest req, HttpServletResponse res )
throws IOException, ServletException
doGet( req, res );
public void doGet ( HttpServletRequest req, HttpServletResponse res )
throws IOException, ServletException
res.setContentType( "text/html" ); // Can also use "text/plain" or others.
PrintWriter out = res.getWriter();
// Get the requestor's IP address (See JavaDocs to see how to get other info):
String addr = req.getRemoteAddr();
// Create output (the response):
out.println( "<HTML><HEAD><TITLE>HelloServlet in myServletWAR</TITLE></HEAD>" );
out.println( "<BODY><H1 ALIGN=\"CENTER\">" );
out.println( "Hello " + addr + ", from HelloServlet in myServletWAR!" );
out.println( "</H1></BODY></HTML>" );
out.close();
************************Servlet Ends Here **************************
web.xml
---------------------------------------------------------- <!DOCTYPE web-app
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
"http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
<web-app>
<display-name>myServletWAR, a first Web Application</display-name>
<description>
This is a simple web application containing a single servlet
of the "Hello, World" variety.
</description>
<servlet>
<servlet-name>myHello</servlet-name>
<servlet-class>HelloServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>myHello</servlet-name>
<url-pattern>/myHello</url-pattern>
</servlet-mapping>
</web-app>
****************************web.xml file ends here********************
After deploying the TestServletWAR.war file on the weblogic 7.0, i tried to execute the servlet from the browser by the following URL
http://localhost:7001/myServletWAR/myHello
I am getting the HTTP 404 Error, which is an indication that weblogic was unable to find the resourse, which it was requested for. Can anybody plz tell me what i m doing worng?? do i need to use weblogic related xml file (i.e weblogic.xml) also along with web.xml. If yes, then what all i need to include that. I m not very sure. A sample weblogic.xml file for this HelloWorld example will help me a lot.
Looking forward for your help
Thanx in advance
Nishahi i have read ur answer regarding deploing a servlet in weblogic 7.0
i am facing another problem
when i try to access the servlet inside my classes directory it throwa an error stating this :
IT DOES NOT FOUND THE CLASSES ON WHICH MY SERVLET DEPENDS.WHAT DOEES ATHIS MEAN
KINDLY TELL ME
PUNEET JAIN
<May 28, 2003 1:46:25 PM IST> <Error> <HTTP> <101250> <[ServletContext(id=6057728,name=WebApp,context-path=/WebApp)]: Se
rvlet class myclasses.Wservlet for servlet welcome could not be loaded because a class on which it depends was not found
in the classpath D:\bea\user_projects\PuneetDomain\applications\WebApp;D:\bea\user_projects\PuneetDomain\applications\W
ebApp\WEB-INF\classes.
java.lang.NoClassDefFoundError: myclasses/Wservlet (wrong name: Wservlet)>
<May 28, 2003 1:46:26 PM IST> <Error> <HTTP> <101018> <[ServletContext(id=6057728,name=WebApp,context-path=/WebApp)] Ser
vlet failed with ServletException
javax.servlet.ServletException: [ServletContext(id=6057728,name=WebApp,context-path=/WebApp)]: Servlet class myclasses.W
servlet for servlet welcome could not be loaded because a class on which it depends was not found in the classpath D:\be
a\user_projects\PuneetDomain\applications\WebApp;D:\bea\user_projects\PuneetDomain\applications\WebApp\WEB-INF\classes.
java.lang.NoClassDefFoundError: myclasses/Wservlet (wrong name: Wservlet)
at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:791)
at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:517)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:351)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:306)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:5412)
at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:744)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3086)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2544)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:153)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:134)
> -
After install Axis2 v.1.5.4 on WebLogic Server 10.3.3.0, when i tried to start axis2 error occured(showed in administration console):
java.lang.NoClassDefFoundError: org/apache/log4j/CategoryFull stacktrace from log: http://pastebin.com/7bvSC1E6
Could anybody help me?
I found one theme like this: http://www.coderanch.com/t/478489/BEA-Weblogic/Deployment-error-NoClassDefFoundError-org-hibernate#2154062
But i can't undestand what i have to do for solving the problem?
Regards,
Sayan M.Hi,
Please share the solution. I am getting similar error.
Thanks,
Ramakrishna -
Error while deploying application on weblogic server
Hi,
I have created webservice and deployed on weblogic server.
Earlier it was working fine. I added some logger and trying to redeploy it.
But it gives following error.
Weblogic Server Exception: java.lang.NoSuchMethodException: deploy(java.lang.String,java.lang.String,java.lang.String,weblogic.management.deploy.DeploymentData,java.lang.String,java.lang.Boolean,) for com.bea:Name=DeployerRuntime,Type=DeployerRuntime
[12:46:48 AM] See server logs or server console for more details.
[12:46:48 AM] java.lang.NoSuchMethodException: deploy(java.lang.String,java.lang.String,java.lang.String,weblogic.management.deploy.DeploymentData,java.lang.String,java.lang.Boolean,) for com.bea:Name=DeployerRuntime,Type=DeployerRuntime
[12:46:49 AM] #### Deployment incomplete. ####
[12:46:49 AM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)
Can anybody help me out..
Thanks in advance.Hi,
I am newbie for web service Need your help.
I am having well developed webservice project with apache cxf 2.2.3 and working fine on Weblogic server 10.3
But After migration from 10.3 to 10.3.4 Facing below problem.
While calling call back service of third party it is giving warning messages like
12 Apr, 2011 5:42:36 PM weblogic.wsee.jaxws.framework.policy.advertisementimpl.AdvertisementHelperImpl registerExtension
WARNING: Registering oracle.j2ee.ws.wsdl.extensions.addressing.AddressingExtensionRegistry extension failed; java.lang.NoSuchMethodException: oracle.j2ee.ws.wsdl.extensions.addressing.AddressingExtensionRegistry*.registerSerializersAndTypes()*12 Apr, 2011 5:42:36 PM weblogic.wsee.jaxws.spi.WLSServiceDelegate addWsdlDefinitionFeature
SEVERE: Failed to create WsdlDefinitionFeature for wsdl location: http://serverName:port/WSDLURL, error: com.sun.xml.ws.wsdl.parser.InaccessibleWSDLException, message: 2 counts of InaccessibleWSDLException.
I tried Below solutions
1. I added com.oracle.ws.orawsdl_1.3.0.0.jar file in web service application provided the required clssess to resolve the issue. Now getting below exceptions
But getting Exception related org.apache.cxf.wsdl.WSDLManager as it is referenced from my beans.xml import some xml file from cxf 2.2.3.jar and due to
above jar, the WSDL4J.jar is not getting deployed and throwing getElementType() menthod not found exception while creating bean class for Webservice.
2. Now I just rename this jar file so that I can expose WSDL, But getting below exception after calling call back servic
12 Apr, 2011 5:42:36 PM weblogic.wsee.jaxws.framework.policy.advertisementimpl.AdvertisementHelperImpl registerExtension
WARNING: Registering oracle.j2ee.ws.wsdl.extensions.addressing.AddressingExtensionRegistry extension failed; java.lang.NoSuchMethodException: oracle.j2ee.ws.wsdl.extensions.addressing.AddressingExtensionRegistry.registerSerializersAndTypes*(com.ibm.wsdl.extensions.PopulatedExtensionRegistry)*12 Apr, 2011 5:42:36 PM weblogic.wsee.jaxws.spi.WLSServiceDelegate addWsdlDefinitionFeature
SEVERE: Failed to create WsdlDefinitionFeature for wsdl location: http://serverName:port/WSDLURL, error: com.sun.xml.ws.wsdl.parser.InaccessibleWSDLException, message: 2 counts of InaccessibleWSDLException.
After investingation I found that in cxf 2.2.3.jar there are some classes which are also present in com.oracle.ws.orawsdl_1.3.0.0.jar.
now in this case deployer is able to find out the call but signature is getting mismatch, because com.ibm.wsdl.extensions.PopulatedExtensionRegistry is referred from cxf2.2.3.jar file.
Looking for your response.
Thanks In Advance. -
Mysql jdbc drivers not found in weblogic server
I want to create a connection pool in weblogic server,
and use mysqldatabase.
My drivers is "org.gjt.mm.mysql.Driver"
I put the jar in "D:\bea\weblogic700\server\lib" ,but when i apply ,there is
an error blow:
Error creating connection pool
at weblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBeans(ConfigurationMBeanImpl.java:635)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:419)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)<2003-4-6 ����10��00��34��> <Error> <JDBC> <001060> <Cannot startup connection pool "mssqlserverPool" weblogic.common.ResourceException: Cannot load driver class: org.gjt.mm.mysql.Driver>
Can anybody tell me why,thanks!Weblogic has been designed for nannies...
I've developed a application which uses internally my own jdbc-driver.
After months of really hard work on tomcat (the application works fine) I've tried migrate it to weblogic.
But ...
In weblogic seems mandatory to put the jdbc drivers out of the war!!!. Brilliant!!!
If I move the driver out, I need move the 50% of the application out, also!
If I move part of the application out, nothing works, because... �are the class loaders distinct?. And I'll need to do a lot of extra work because one day one weblogic architect had a great great inspiration.
In the future I'll suggest to my customers to run and not stop when they listen the WEBLOGIC word.
Regards,
Pablo -
Where to download weblogic Oracle WebLogic Server 10.3.6
hi am trying to download
Oracle WebLogic Server 10.3.6
from WebLogic Server 12c (12.1.1), WebLogic Server 11g (10.3.6) and Previous Releases
but the see all files is disable does anybody know where i can downloadHi,
There is a procedure to download old Oracle products.
I think you should open a SR.
but first look into this note on metalink
Regards
Doc ID 1068235.1 -
No Weblogic server adapter in OEPE (12.1.3.1)
Hi there,
I've just download the latest version of OEPE (Luna) and realized that there is not Weblogic adapter included in the OEPE.
Clicking on the "Download additional server adapters" also does not give me any Weblogic adapter option for download.
Any idea? (I used to downloaded the bundled version with Coherence and Weblogic included but the bundled version is still not out. Does anybody know when the bundled version will be released?)
ThanksWhich version of WebLogic Server are you trying to configure in OEPE?
If you go to the Servers view and right-click to select New, do you see an Oracle category in the New Servers view? Under the Oracle category there should be numerous WebLogic versions listed.
Thanks,
Greg -
Configuring multiple instances of weblogic server 7.0 on single machine
Hi,
I am trying to configure multiple instances of weblogic server 7.0 on single machine
( sun Solaris 7). I tried to create everytime new domain. Can anybody help me.
Thanks in advance.
RaviYou can have several servers under one domain. No need to create a new
domain for each server. Just configure a server and make sure they are
listening on different ports. you are all set.
Kumar
ravikiran wrote:
Hi,
I am trying to configure multiple instances of weblogic server 7.0 on single machine
( sun Solaris 7). I tried to create everytime new domain. Can anybody help me.
Thanks in advance.
Ravi
Maybe you are looking for
-
Error while uploading R/3 Derived Role into EP
Dear all, When i was trying to upload the derived role from backend R/3 system. It's giving following error. com.sap.portal.pcd.rolemigration.RoleMigrationException: Nested Exception. Failure to execute native function. Nested Exception. ROLE_IS_DERI
-
I have a few issues with uploading files through Dreamweaver. I will state that this could be a problem with DW and if it is I hope someone sees this that can address the problems. 1. There is the consistent Waiting for Server Error. I have seen th
-
Using MS Access as Database from Remote Machine
Hi All I am trying to use MS access as Data base, I have done the following. 1. I have Added the mdb file on a remote machines DSN.(Control Panel->Admin Tools->ODBC->System Tools) 2. In xMII data services->Data Servers, Copied the Default IDBC Server
-
I get an error message saying "Disk burner or software not found" ...
when I try to burn a disk. How can I fix this? I tried usuing another application to burn my itunes purchased music onto a CD but it said it couldn't read the file. So how can I fix this problem on itunes? Or is there another free application that ca
-
Cannot install, Photoshop CS3 conflicts with Photoshop CS3
Here's the correct sequence to uninstall the CS3 beta and install the final, shipping version of CS3: 1. DEACTIVATE the Photoshop CS3 beta; 2. Run the Adobe Uninstaller currently residing in your ./ Applications / Utilities /Adobe folder to uninstall