Weblogic Builder in 10.3
I just upgraded from WLS 8.1 to 10.3. I don't see the Weblogic Builder feature in it. Can someone tell me how to modify/add properties to a war file (like adding context root etc.) in 10.3 that was done using Weblogic Builder in 8.1?
Thanks
Jacob
Hi Jacob,
WLBuilder (WebLogic Builder tool) is not available anymore. After WLS9.x onwards.
But if you want to generate the Deployment descriptors for your Applications then you can use the following then:
For WEB Applications:
java weblogic.marathon.ddinit.WebInit <module>
For Enterprise Applications:
java weblogic.marathon.ddinit.EarInit <module>
As described in : http://download.oracle.com/docs/cd/E11035_01/wls100/admin_ref/utils.html#wp1201812
<h3><font color=maroon>PREWORK before running the above utility</font></h3>
Make Sure to set the Environment in your Shell/Commnd prompt before running the above commands:
Step1). Open a Shell Prompt.
Step2). echo $CLASSPATH … Just to see what is the current CLASSPATH value.
Step3). run the “setWLSEnv.sh” by adding two DOTs separated by a single space …..before the actual script like following : (use ‘cd’ command to move inside the <BEA_HOME>/wlserver_10.3/server/bin) then run the following command….
. ./setWLSEnv.sh
<b><font color=red>Note:</font></b> The first DOT represents that set the Environment in the current Shell, AND the second ./ represents execute the script from the current directory. For WINDOWS just run "setWLSEnv.cmd"
Step4). Verify that the Classpath is Set properly or not:
echo $CLASSPATH
Step5). Now u can run your command
Thanks
Jay SenSharma
http://weblogic-wonders.com/weblogic (WebLogic Wonders Are Here)
Similar Messages
-
Problem with Weblogic Builder SP1
I have a problem with Weblogic Builder SP1. I basically re-used my EJB deployment
descriptors from WL5.1 in WL8.1. Before SP1, i have no problem loading my EJB
in WB. But with SP1, WB throws weblogic.marathon.model.LoadFailureException.
I re-attempted by jarring my EJB with WL5.1 descriptors and used my friend's WB
(not SP1) to export new descriptors which I used to re-jar. This new EJB is again
not recognised by WB SP1?
What is wrong?The exception is as follows:
Opening module myproj.jar
java.lang.NullPointerException
at java.util.Arrays.sort(Arrays.java:1181)
at weblogic.marathon.model.EJBJarCMBean.initRelations(EJBJarCMBean.java:1212)
at weblogic.marathon.model.EJBJarCMBean.initBeans(EJBJarCMBean.java:1098)
at weblogic.marathon.model.EJBJarCMBean.setup(EJBJarCMBean.java:1144)
at weblogic.marathon.tasks.OpenModuleTask.getEJBModule(OpenModuleTask.java:156)
at weblogic.marathon.tasks.OpenModuleTask.figureOutModule(OpenModuleTask.java:191)
at weblogic.marathon.tasks.OpenModuleTask.figureOutModule(OpenModuleTask.java:230)
at weblogic.marathon.tasks.OpenModuleTask.runBackground(OpenModuleTask.java:89)
at weblogic.tools.jellybeans.core.task.TaskThread.execute(TaskThread.java:127)
at weblogic.tools.jellybeans.core.task.TaskThread.run(TaskThread.java:64)
Module myproj.jar descriptors failed to load
The EJB has no problem deploying.
Rob Woollen <[email protected]> wrote:
You'll have to at least show us the error you get from marathon.
Does your application deploy to the server?
-- Rob
Robin Tan wrote:
I have a problem with Weblogic Builder SP1. I basically re-used myEJB deployment
descriptors from WL5.1 in WL8.1. Before SP1, i have no problem loadingmy EJB
in WB. But with SP1, WB throws weblogic.marathon.model.LoadFailureException.
I re-attempted by jarring my EJB with WL5.1 descriptors and used myfriend's WB
(not SP1) to export new descriptors which I used to re-jar. This newEJB is again
not recognised by WB SP1?
What is wrong? -
NullPointerException when validating module *.jar using WebLogic Builder
Hi,
When using WebLogic Builder to validate module ceiba.jar, it shows the following errors. How to fix it? Thanks a lot. Attachment is the deployment descriptors.
Validating module ceiba.jar
Compiling input jar D:\gzdswebproject\gzdsweb\ceiba.jar
Processing input descriptor
ERROR: Error processing input descriptor
ERROR: Error from ejbc: null
java.lang.NullPointerException at weblogic.ejb20.deployer.SessionBeanInfoImpl.assignDefaultTXAttributesIfNecessary(SessionBeanInfoImpl.java:291) at weblogic.ejb20.deployer.MBeanDeploymentInfoImpl.initializeTransactionAttribute(MBeanDeploymentInfoImpl.java:807) at weblogic.ejb20.deployer.MBeanDeploymentInfoImpl.<init>(MBeanDeploymentInfoImpl.java:240) at weblogic.ejb20.ejbc.EJBCompiler.setupEJB(EJBCompiler.java:155) at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:415) at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:397) at weblogic.ejbc20.runBody(ejbc20.java:517) at weblogic.utils.compiler.Tool.run(Tool.java:146) at weblogic.utils.compiler.Tool.run(Tool.java:103) at weblogic.marathon.tasks.EJBCTask.runBackground(EJBCTask.java:140) at weblogic.tools.jellybeans.core.task.TaskThread.execute(TaskThread.java:127) at weblogic.tools.jellybeans.core.task.TaskThread.run(TaskThread.java:64)following is the ejb-jar.xml
<?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>
<enterprise-beans>
<session>
<display-name>Bblm</display-name>
<ejb-name>Bblm</ejb-name>
<home>com.foresee.ceiba.bbxz.BblmHome</home>
<remote>com.foresee.ceiba.bbxz.Bblm</remote>
<ejb-class>com.foresee.ceiba.bbxz.BblmBean</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Container</transaction-type>
</session>
<session>
<display-name>Bbnr</display-name>
<ejb-name>Bbnr</ejb-name>
<home>com.foresee.ceiba.bbxz.BbnrHome</home>
<remote>com.foresee.ceiba.bbxz.Bbnr</remote>
<ejb-class>com.foresee.ceiba.bbxz.BbnrBean</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Container</transaction-type>
</session>
<session>
<display-name>Fjxx</display-name>
<ejb-name>Fjxx</ejb-name>
<home>com.foresee.ceiba.comm.FjxxHome</home>
<remote>com.foresee.ceiba.comm.Fjxx</remote>
<ejb-class>com.foresee.ceiba.comm.FjxxBean</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Container</transaction-type>
</session>
<session>
<display-name>Yhzxx</display-name>
<ejb-name>Yhzxx</ejb-name>
<home>com.foresee.ceiba.comm.YhzxxHome</home>
<remote>com.foresee.ceiba.comm.Yhzxx</remote>
<ejb-class>com.foresee.ceiba.comm.YhzxxBean</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Container</transaction-type>
</session>
<session>
<display-name>GsbsProcess</display-name>
<ejb-name>GsbsProcess</ejb-name>
<home>com.foresee.ceiba.gsbs.ejb.GsbsProcessHome</home>
<remote>com.foresee.ceiba.gsbs.ejb.GsbsProcess</remote>
<ejb-class>com.foresee.ceiba.gsbs.ejb.ejb.GsbsProcessBean</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Container</transaction-type>
</session>
<session>
<display-name>BGDJ</display-name>
<ejb-name>BGDJ</ejb-name>
<home>com.foresee.ceiba.swdj.bg.BGDJHome</home>
<remote>com.foresee.ceiba.swdj.bg.BGDJ</remote>
<ejb-class>com.foresee.ceiba.swdj.bg.BGDJBean</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Container</transaction-type>
</session>
<session>
<display-name>PersonalRegister</display-name>
<ejb-name>PersonalRegister</ejb-name>
<home>com.foresee.ceiba.swdj.gr.PersonalRegisterHome</home>
<remote>com.foresee.ceiba.swdj.gr.PersonalRegister</remote>
<ejb-class>com.foresee.ceiba.swdj.gr.PersonalRegisterBean</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Container</transaction-type>
</session>
<session>
<display-name>ProjectRegister</display-name>
<ejb-name>ProjectRegister</ejb-name>
<home>com.foresee.ceiba.swdj.xm.ProjectRegisterHome</home>
<remote>com.foresee.ceiba.swdj.xm.ProjectRegister</remote>
<ejb-class>com.foresee.ceiba.swdj.xm.ProjectRegisterBean</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Container</transaction-type>
</session>
<session>
<display-name>SqjlCjwtLm</display-name>
<ejb-name>SqjlCjwtLm</ejb-name>
<home>com.foresee.ceiba.sqjl.SqjlCjwtLmHome</home>
<remote>com.foresee.ceiba.sqjl.SqjlCjwtLm</remote>
<ejb-class>com.foresee.ceiba.sqjl.SqjlCjwtLmBean</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Container</transaction-type>
</session>
<session>
<display-name>SqjlCjwtNr</display-name>
<ejb-name>SqjlCjwtNr</ejb-name>
<home>com.foresee.ceiba.sqjl.SqjlCjwtNrHome</home>
<remote>com.foresee.ceiba.sqjl.SqjlCjwtNr</remote>
<ejb-class>com.foresee.ceiba.sqjl.SqjlCjwtNrBean</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Container</transaction-type>
</session>
<session>
<display-name>Xxlm</display-name>
<ejb-name>Xxlm</ejb-name>
<home>com.foresee.ceiba.xxfb.XxlmHome</home>
<remote>com.foresee.ceiba.xxfb.Xxlm</remote>
<ejb-class>com.foresee.ceiba.xxfb.XxlmBean</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Container</transaction-type>
</session>
<session>
<display-name>Xxnr</display-name>
<ejb-name>Xxnr</ejb-name>
<home>com.foresee.ceiba.xxfb.XxnrHome</home>
<remote>com.foresee.ceiba.xxfb.Xxnr</remote>
<ejb-class>com.foresee.ceiba.xxfb.XxnrBean</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Container</transaction-type>
</session>
<session>
<display-name>ZCDJ</display-name>
<ejb-name>ZCDJ</ejb-name>
<home>com.foresee.ceiba.swdj.zc.ZCDJHome</home>
<remote>com.foresee.ceiba.swdj.zc.ZCDJ</remote>
<ejb-class>com.foresee.ceiba.swdj.zc.ZCDJBean</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Container</transaction-type>
</session>
</enterprise-beans>
<assembly-descriptor>
<container-transaction>
<method>
<ejb-name>Bblm</ejb-name>
<method-name>*</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>Bbnr</ejb-name>
<method-name>*</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>Fjxx</ejb-name>
<method-name>*</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>Yhzxx</ejb-name>
<method-name>*</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>GsbsProcess</ejb-name>
<method-name>*</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>BGDJ</ejb-name>
<method-name>*</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>PersonalRegister</ejb-name>
<method-name>*</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>ProjectRegister</ejb-name>
<method-name>*</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>SqjlCjwtLm</ejb-name>
<method-name>*</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>SqjlCjwtNr</ejb-name>
<method-name>*</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>Xxlm</ejb-name>
<method-name>*</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>Xxnr</ejb-name>
<method-name>*</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>ZCDJ</ejb-name>
<method-name>*</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
</assembly-descriptor>
</ejb-jar> -
Deployment descriptor Using weblogic Builder
Hi
I am new to Ejb,
So kindly help me. can we create Deployment Descriptor from CMP bean,using Weblogic Builder.
Thanks
Satya
Edited by: satya22 on Dec 11, 2007 10:37 AMsatya22 wrote:
Hi
I am new to Ejb,Please let me know can we create an Deployment Descriptor
Using Weblogic Builder for an CMP Bean
ThanksHow many things are wrong here, hmmm.
1. Your subject line is useless
2. You posted in the wrong forum
3. You posted about an unrelated technology
4. You didn't make any attempt to do the task yourself
5. You probably haven't searched for an answer on Google
....did I miss anything? -
Is Weblogic Builder part of Weblogic Server Product ?
We are planning to use Weblogic server 8.1 product.
Is Weblogic Builder is part of that product ?
Your response is appreciated.
MahendraJoe.qiao wrote:
both can use AD as the authentication providerThanks Joe. I am going to try to just install WebLogic portal and configure it with Active Directory for the authentication. -
WebLogic Builder remote-client-timeout
Just wondering if anyone has encountered this before.
After using WebLogic Builder to make and save changes to an EAR file the weblogic-ejb-jar.xml file is updated to include the remote-client-timeout tag. This tag causes warning messages in the weblogic console.
<weblogic-ejb-jar>
<weblogic-enterprise-bean>
<ejb-name>HelloWorldEJB</ejb-name>
<transaction-descriptor>
</transaction-descriptor>
<enable-call-by-reference>True</enable-call-by-reference>
<jndi-name>test.HelloWorldHome</jndi-name>
<remote-client-timeout>0</remote-client-timeout>
</weblogic-enterprise-bean>
</weblogic-ejb-jar>
Warning Messages
<Nov 2, 2005 4:46:22 PM PST> <Warning> <EJB> <BEA-014009> <Warning: EJB HelloWorldEJB, has the remote-client-timeout set to 0 secs. This timeout specifies a rmi level timeout in seconds for remote clients that call the home and remote methods of the ejb. The method call(s) timeout on the client side after the specified number of seconds. The server will continue to process the request(s) and may change the state. The rmi level timeout shall be set by the container only for non-transactional methods (i.e, method with tx-attributes of Never or Not-Supported). Please ensure that the parameter is used only for methods that are idempotent in nature.>I think the tool sets the default value for this flag. The default value
should not have any effect. However, I would expect the tool (weblogic
builder) not to insert this element in the descriptor.
More details on this setting can be found here -
http://e-docs.bea.com/wls/docs81/rmi/rmi_api.html#rmi_timeout
--Sathish
<Colin Yeung> wrote in message news:[email protected]..
Just wondering if anyone has encountered this before.
After using WebLogic Builder to make and save changes to an EAR file the
weblogic-ejb-jar.xml file is updated to include the remote-client-timeout
tag. This tag causes warning messages in the weblogic console.
<weblogic-ejb-jar>
<weblogic-enterprise-bean>
<ejb-name>HelloWorldEJB</ejb-name>
<transaction-descriptor>
</transaction-descriptor>
<enable-call-by-reference>True</enable-call-by-reference>
<jndi-name>test.HelloWorldHome</jndi-name>
<remote-client-timeout>0</remote-client-timeout>
</weblogic-enterprise-bean>
</weblogic-ejb-jar>
Warning Messages
<Nov 2, 2005 4:46:22 PM PST> <Warning> <EJB> <BEA-014009> <Warning: EJB
HelloWorldEJB, has the remote-client-timeout set to 0 secs. This timeout
specifies a rmi level timeout in seconds for remote clients that call the
home and remote methods of the ejb. The method call(s) timeout on the
client side after the specified number of seconds. The server will
continue to process the request(s) and may change the state. The rmi level
timeout shall be set by the container only for non-transactional methods
(i.e,
method with tx-attributes of Never or Not-Supported). Please ensure that
the parameter is used only for methods that are idempotent in nature.> -
All,
There is a discussion on the BEA Tech Directors group about the
importance around WebLogic Builder, which was the Deployment Descriptor
editor in 8.1. There are those who believe this was a useful feature.
What do you think? Did you use this tool and would you like to see to
come back?Hi
Regarding Application Deployment in wls 9 you can find more information
here
<br>
Regards,
Prasanna Yalam -
Help In Ejb with Weblogic Builder
I am Trying to create an Deployment Descriptor for CMP bean using WebLogic Builder8.1.
I have created class files in Demo Folder for
Remote Interface.
Home Interface.
Bean.
and Stored in a Directory.
I open i WebLogicBuilder
File>>>Open>>Folder containing Class files
>>Open
It ask Would u like new Deployment Descriptor Created for you
>>Click Yes
Immediately i get the following Message :
Search for EJB components in C:\Documents and Settings\prasanth\Desktop\Dump
No EJBs found in C:\Documents and Settings\prasanth\Desktop\Dump
Search for Web components in C:\Documents and Settings\prasanth\Desktop\Dump
searching for possible EAR modules
[DDInitModUpdateUI]: asking ddinit question
Please Help Me out..
Thnaks in AdvancePlease refer to :
http://www.oracle.com/technology/obe/obe1013jdev/index.htm
And
http://www.oracle.com/technology/obe/obe9051jdev/index.htm
These are the best Audio/Video/Image Tutorials ever i have seen for Jdeveloper. U will definately like it.
Learn, Enjoy and Share.... ;)
Thanks
Jay SenSharma
http://weblogic-wonders.com/weblogic (WebLogic Wonders Are here) -
Hi.
I've using WLS 8.1SP1 running on Solaris.
Is there any way to use WeblogicBuilder from Windows, without having it installed
on my PC ?
I've downloaded on my PC the weblogic.jar
When I do
java -client -verbose -cp weblogic.jar weblogic.marathon.Main
It starts, loading many classes but nothing display ....
Thanks.Steps are provided here: http://docs.oracle.com/cd/E21764_01/web.1111/e14139/tempbuild.htm#i1067569
What did you add to the template?
Note that there are some additional possibilities to create templates: http://docs.oracle.com/cd/E21764_01/web.1111/e14139/intro.htm#i1073396
pack is probably the easiest: http://docs.oracle.com/cd/E21764_01/web.1111/e14144/commands.htm#sthref13 -
Weblogic Portal 7.0 - Question on Build your first portal
I have followed the instructions as defined at http://e-docs.bea.com/wlp/docs70/index.htm.
When attempting to hot deploy using the EBCC tool I receive the following and
error message - "Unable to add module: NewPortalWebApp to application descriptor
for: portalApp"
have also tried deploying using Weblogic Builder and receive the following error
message
weblogic.management.ApplicationException: No modules to prepare on portalServerfor
application named NewPortalWebApp
Any suggestions
Thanks
- MikeMike,
If I remember right, this is a symptom of not having Internet access to
validate the application.xml document against its DTD (located on SUN's
website). I believe there is a release note on this...
Sincerely,
Daniel Selman
"Mike Mochan" <[email protected]> wrote in message
news:[email protected]..
>
I have followed the instructions as defined athttp://e-docs.bea.com/wlp/docs70/index.htm.
When attempting to hot deploy using the EBCC tool I receive the followingand
error message - "Unable to add module: NewPortalWebApp to applicationdescriptor
for: portalApp"
have also tried deploying using Weblogic Builder and receive thefollowing error
message
weblogic.management.ApplicationException: No modules to prepare onportalServerfor
application named NewPortalWebApp
Any suggestions
Thanks
- Mike -
Failed to load weblogic-ejb-jar.xml
Hi,
I try to deploy an EJB on Weblogic 9.1, but the weblogic-ejb-jar seems to cause this exception :
======================================================
[wlappc] <30 oct. 2006 12 h 13 CET> <Error> <J2EE> <BEA-160187> <weblogic.appc failed to compile your application. Recompile with the -verbose option for more details. Please see the error message(s) below.>
[wlappc] com.bea.xml.XmlException: failed to load java type corresponding to e=weblogic-ejb-jar@http://www.bea.com/ns/weblogic/910
[wlappc] at com.bea.staxb.runtime.internal.UnmarshalResult.getPojoBindingType(UnmarshalResult.java:325)
[wlappc] at com.bea.staxb.runtime.internal.UnmarshalResult.determineTypeForGlobalElement(UnmarshalResult.java:292)
[wlappc] at com.bea.staxb.runtime.internal.UnmarshalResult.determineTypeForGlobalElement(UnmarshalResult.java:302)
[wlappc] at com.bea.staxb.runtime.internal.UnmarshalResult.determineRootType(UnmarshalResult.java:283)
[wlappc] at com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalDocument(UnmarshalResult.java:153)
[wlappc] at com.bea.staxb.runtime.internal.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:65)
[wlappc] at weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:138)
[wlappc] at weblogic.descriptor.DescriptorManager.createDescriptor(DescriptorManager.java:271)
[wlappc] at weblogic.descriptor.DescriptorManager.createDescriptor(DescriptorManager.java:240)
[wlappc] at weblogic.descriptor.DescriptorManager.createDescriptor(DescriptorManager.java:300)
[wlappc] at weblogic.application.descriptor.AbstractDescriptorLoader.createDescriptor(AbstractDescriptorLoader.java:344)
[wlappc] at weblogic.application.descriptor.CachingDescriptorLoader.createDescriptor(CachingDescriptorLoader.java:188)
[wlappc] at weblogic.application.descriptor.AbstractDescriptorLoader.createDescriptor(AbstractDescriptorLoader.java:328)
[wlappc] at weblogic.application.descriptor.AbstractDescriptorLoader.getDescriptor(AbstractDescriptorLoader.java:237)
[wlappc] at weblogic.application.descriptor.AbstractDescriptorLoader.getRootDescriptorBean(AbstractDescriptorLoader.java:217)
[wlappc] at weblogic.ejb.spi.EjbJarDescriptor.parseWeblogicEjbJarBean(EjbJarDescriptor.java:171)
[wlappc] at weblogic.ejb.container.dd.xml.DDUtils.processWLEjbJarXMLWithSchema(DDUtils.java:706)
[wlappc] at weblogic.ejb.container.dd.xml.DDUtils.parseWLDD(DDUtils.java:535)
[wlappc] at weblogic.ejb.container.dd.xml.DDUtils.createDescriptorFromJarFile(DDUtils.java:358)
[wlappc] at weblogic.ejb.container.dd.xml.DDUtils.createReadOnlyDescriptorFromJarFile(DDUtils.java:141)
[wlappc] at weblogic.ejb.container.ejbc.EJBCompiler.parseDescriptors(EJBCompiler.java:1345)
[wlappc] at weblogic.ejb.container.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:431)
[wlappc] at weblogic.application.compiler.AppcUtils.compileEJB(AppcUtils.java:292)
[wlappc] at weblogic.application.compiler.EJBCompiler.compile(EJBCompiler.java:95)
[wlappc] at weblogic.application.compiler.flow.AppCompilerFlow.compileInput(AppCompilerFlow.java:113)
[wlappc] at weblogic.application.compiler.flow.AppCompilerFlow.compile(AppCompilerFlow.java:43)
[wlappc] at weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:55)
[wlappc] at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
[wlappc] at weblogic.application.compiler.FlowDriver.run(FlowDriver.java:24)
[wlappc] at weblogic.application.compiler.Appc.runBody(Appc.java:151)
[wlappc] at weblogic.utils.compiler.Tool.run(Tool.java:158)
[wlappc] at weblogic.utils.compiler.Tool.run(Tool.java:115)
======================================================
Here is my weblogic-ejb-jar.xml file :
======================================================
<?xml version="1.0" encoding="ISO-8859-1"?>
<weblogic-ejb-jar xmlns="http://www.bea.com/ns/weblogic/910"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.bea.com/ns/weblogic/910
http://www.bea.com/ns/weblogic/910/weblogic-ejb-jar.xsd">
<weblogic-enterprise-bean>
<ejb-name>MyMDB</ejb-name>
<message-driven-descriptor>
<resource-adapter-jndi-name>ActiveMQRA</resource-adapter-jndi-name>
<connection-factory-jndi-name>myQCF</connection-factory-jndi-name>
</message-driven-descriptor>
<resource-description>
<res-ref-name>jms/factory</res-ref-name>
<jndi-name>myQCF</jndi-name>
</resource-description>
<resource-env-description>
<resource-env-ref-name>jms/queue</resource-env-ref-name>
<jndi-name>queue.out</jndi-name>
</resource-env-description>
</weblogic-enterprise-bean>
</weblogic-ejb-jar>
======================================================
So, it looks like this problem : http://forums.bea.com/bea/message.jspa?messageID=600018030&tstart=0
I just need a confirmation :
- is the "res-ref-name" format incorrect with '/' character ?
- is the jndi-name format incorrect with '.' character ?
Else, what is the problem with this DD ?
Thanks,
Rudy"shubha" <[email protected]> wrote:
>
hi ,
Ejb with ejb-name 'hellobean' in ejb-jar.xml
should be specified in weblogic-ejb-jar.xml with <weblogic-enterprise-bean></weblogic-enterprise-bean>
i am having problem in deploying the most simple bean on wls7.0 .
when i try to open the bean module with the weblogic builder i get the
following
message
weblogic.ejb20.WLDeploymentException: Could not locate bean with ejb-name
'hellobean'
in weblogic-ejb-jar.xml
at weblogic.ejb20.deployer.CompositeMBeanDescriptor.initialize60(CompositeMBeanDescriptor.java:249)
at weblogic.ejb20.deployer.CompositeMBeanDescriptor.init(CompositeMBeanDescriptor.java:180)
at weblogic.ejb20.deployer.CompositeMBeanDescriptor.<init>(CompositeMBeanDescriptor.java:171)
at weblogic.marathon.model.EJBJarCMBean.setup(EJBJarCMBean.java:408)
at weblogic.marathon.tasks.OpenModuleTask.figureOutModule(OpenModuleTask.java:76)
at weblogic.marathon.tasks.OpenModuleTask.figureOutModule(OpenModuleTask.java:109)
at weblogic.marathon.tasks.OpenModuleTask.runBackground(OpenModuleTask.java:64)
at weblogic.jellybeans.core.task.TaskThread.execute(TaskThread.java:114)
at weblogic.jellybeans.core.task.TaskThread.run(TaskThread.java:55)
Could not locate bean with ejb-name 'hellobean' in weblogic-ejb-jar.xml
Module hello1 descriptors failed to load
if anyone has come across the same problem and have debugged it please
help me
out
thanks in advance -
Why weblogic-cmp-rdbms-jar.xml.old gets created in Weblogic 7?
Hi all,
I use the build.bat file for creating the jar file
build.bat
==========
mkdir build build\META-INF
copy *.xml build\META-INF
@REM Compile EJB classes into the build directory (jar preparation)
javac -d build *.java
@REM Make a EJB jar file, including XML deployment descriptors
cd build
jar cv0f std_ejb_accountcmp.jar META-INF ejb
cd ..
@REM Run EJBC on jar file
java -classpath %WL_HOME%/lib/weblogic.jar weblogic.ejbc -convertDDs -verbose -keepgenerated -compiler javac build\std_ejb_accountcmp.jar d:\ejb_accountcmp.jar
=============================================================
Any ideas why when u unjar the jar file created for deployment in Weblogic 7.0, it creates an old copy of the xml files used
For example :
weblogic-ejb-jar.xml has weblogic-ejb-jar.xml.old
ejb-jar.xml has ejb-jar.xml.old
Why does it replace the weblogic-cmp-rdbms-jar.xml to weblogic-cmp-rdbms-jar.xml.old?
Rgds,
SeeteshHi Indra,
Thanks for ur post.
I have now renamed the weblogic-cmp-rdbms-jar.xml to weblogic-cmp20-rdbms-jar.xml and made the changes in the weblogic-ejb-jar.xml file in the type-storage parameter.
Now after executing the foll cmd
java ..... weblogic.ejbc old.jar new.jar
The new.jar file contains the generated stub/skeleton along with the additional old files for the 2 xml's ejb-jar.xml and weblogic-ejb-jar.xml.
Using the Weblogic builder utility, while opening the new.jar file, it discards the old xml deployment descriptors and creates new ones in its place.
Cld u give me some hints on using the Deployment tool? I use it to deploy the new.jar file.
Rgds,
Seetesh -
WebLogic Server 8.1 and Axis 1.2: LinkageError qname?
I am trying to run Axis 1.2 inside WebLogic. It runs fine on JBoss, but I am getting strange errors in WebLogic 8.1 SP6.
Happyaxis validation seems to be ok, but as soon as a WSDL needs to be generated I get the following exception: weblogic LinkageError loader constraints violated when linking javax.xml.namespace.QName
I made sure that all the libraries are there and these are loaded from the lib folder of the WAR. One library in specific, qname.jar (that is related to the exception), was additionaly mentioned in the classpath before all other libraries but the exception still occurred.
Is this problem familiar to someone?I too have had problems using WebLogic Builder to add the WebLogic Deployment Descriptors.
I some places there are typos, others lack of Resource Reference Envionment tabs under Resources.
Other times I have generated and saved the deployment descriptors, only to have them recreated the next time I go into WebLogic Builder again.
Using the "Refresh Module" removes many of the CMP Fields and Primary Key fields in Persistence for some reason.
Basically, WebLogic Builder is very unfriendly in porting jAppServer2004. -
JDBC 2.0 vs 1.0 error in Weblogic 4.51
Hey, I have seen a few messages pertaining to this, but no clear
resolution.
I am running on Solaris, heres my version info:
-- WebLogic Build: 4.5.1 Service Pack 14 03/04/2001 21:07:55 #101564
When I call a method on my EJB session bean from a JSP, it get's a
connection from it's connection pool of type:
-- weblogic.jdbc20.jts.Connection
If I lookup this EJB and call this same method from a standalone java
class, the connection the EJB gets from it's connection pool is of
type:
-- weblogic.jdbc.jts.Connection
Is there any resolution to this problem??
Thanks
Ted WardHey, I have seen a few messages pertaining to this, but no clear
resolution.
I am running on Solaris, heres my version info:
-- WebLogic Build: 4.5.1 Service Pack 14 03/04/2001 21:07:55 #101564
When I call a method on my EJB session bean from a JSP, it get's a
connection from it's connection pool of type:
-- weblogic.jdbc20.jts.Connection
If I lookup this EJB and call this same method from a standalone java
class, the connection the EJB gets from it's connection pool is of
type:
-- weblogic.jdbc.jts.Connection
Is there any resolution to this problem??
Thanks
Ted Ward -
Can't able to start the weblogic server7.0 version
Hi there, I want to work out some ejb examples on weblogic server7.0 release and the installed an evaluation version on my pc, if I want to start my default server where can I sart the default server, when I have gone to start/programs/BEA Weblogic Platform 7.0/weblogic server 7.0/
there I'm seeing three things and I'm confused whcih one is the default server, I'm seeing Server tour and examples, about weblogic server7.0, and weblogic builder, and please tell me which one is the default weblogic server here , and if I want to place my jar files where shall I place them to be picked up by the weblogic default server, cause I can't see any wlserver/config/mydomain/applications directory in this version please help me to start a default server and where to place my things,
any help would be appreciated.
regards,
ShabeerCopy application jar file to weblogic700/samples/server/config/examples/applications
Start Examples Server with startExamplesServer script
weblogic700/samples/server/config/examples/startExamplesServer
http://e-docs.bea.com/wls/docs70/install/instpos.html#1050604
Maybe you are looking for
-
My G2 iPod that I use as an external drive to archive memory cards on the go cannot link with my new 13" Macbook Pro cause it uses a firewire 400 lead. It will not work with a USB lead. Is there a firewire 800 ipod lead or converter available? Can an
-
Emailing a completed active PDF form using a Submit buttom? (Acrobat XI Pro.)
I have created a very large active PDF form with hundreds of fields, with text boxes, drop downs, radio buttons, check boxes and I think the kitchen sink. But for the life of me I cannot figure out how to create a Submit button that will send the com
-
Setting up a document to bleed to the edges after designing it?
I already have a document created in CS6, now I want to make the background color bleed to the edges of the document. 1. Can someone please get me started with what I need to do? 2. Is it a problem that I started the document already and now want to
-
Adobe reader installer freeze with out downloading Adobe Reader when opened?
I can not download Adobe Reader on my Mac: I can do it on my iMac, and have done it fore 10 years now, but Adobe reader download freeze before downloading the file
-
I have created a document in Pages with about 15 photos. The document size is is 20 MB. I created a PDF of the document which doubled the size to 40 MB. Is there a way to compress this document to <10 MB so can be emailed?