Receiving ERRORS using WEBLOGIC.DEPLOY
Hi everybody,
I am getting strange errors when using the weblogic.deploy command-line
function. I am using WL6.0 on W2000.
Deploy/Update
command: java weblogic.deploy -port 7001 -host localhost update
beapasword MyWebApplication stage\MyWebApplication.war
error: java.lang.NullPointerException
at
weblogic.deploy.deployApplication(deploy.java:383)
at weblogic.deploy.deploy(deploy.java:340)
at weblogic.deploy.runBody(deploy.java:219)
at weblogic.utils.compiler.Tool.run(Tool.java:81)
at weblogic.deploy.main(deploy.java:954)
Undeploy
Command: java weblogic.deploy -port 7001 -host localhost undeploy
beapasword MyWebApplication
error: giving up after two minutes
And it looks that just a Update doens't work. I have to undeploy first and
the do a update to see the changes I've made in my file.
Any suggestions....
M-
Hi.
WLS version and service pack level? Please post the entire weblogic.deploy command along
with the exception that follows.
Thanks,
Michael
Harjeet Singh wrote:
I try to use weblogic.deploy to deploy my EAR file on weblogic server called localhost
on 7001. When I try to run it gives me following error:
[java] JNDI naming exception: Naming exception trying to connect to: t3://localhost:7001
as: system: password
system password is correct. I have tried http://localhost:7001 to but doesen't seem
to work.
Any ideas.
HS--
Michael Young
Developer Relations Engineer
BEA Support
Similar Messages
-
Error using weblogic.deploy tool, while deploying a war
Hi all, I'm trying to deploy a war with the follw command:
java weblogic.deploy -host localhost -port 7001 -component NewScreenWar:BEAserver
deploy beasystem NewScreenWar d:\newsscreen\weblogic\NewScreenWar.war
It gives me following error:
weblogic.j2ee.DeploymentException: Application NewScreenWar does not contain com
ponent NewScreenWar at weblogic.deploy.deploy(deploy.java:668) at weblogic.deploy.runBody(deploy.java:358)
at weblogic.utils.compiler.Tool.run(Tool.java:79) at weblogic.deploy.main(deploy.java:1601)
Application NewScreenWar does not contain component NewScreenWar
how do I resolve this...??
thanx --anjaly
Hi,
For a tutorial with source on how to create and deploy a simple quickstart JEE5 JPA enterprise 3-tier application on your Oracle WebLogic 10.3 server - see the following example that uses the EclipseLink JPA provider. You should be able to transition all of your mapping information (the @ManyToOne and table/column overrides and named queries for example) using either JPA via entity annotations or native extensions if you do not want to implement EJB3.
see...
http://wiki.eclipse.org/EclipseLink/Examples/JPA/WebLogic_Web_Tutorial
We also have a similar version for Tomcat 6 except the JPA entity beans run outside a container-managed JTA transaction on the web container - for reference.
http://wiki.eclipse.org/EclipseLink/Examples/JPA/Tomcat_Web_Tutorial
thank you
/michael
www.eclipselink.org -
Hi,
I am using Weblogic 6.1 with Oracle 8.1.7. I configured a TXDataSource as I wanted
to use Container Managed Transaction through a Session Bean.
Connection Pool Settings: -------------------------
Name - myXAPool URL - jdbc:oracle:thin:@myServer:1521:myDb DriverClassname - oracle.jdbc.xa.client.OracleXADataSource
TXDataSource Settings : -----------------------
Name - myXADS
JNDIName - myXADS
PoolName - myXAPool
Everything works fine but once in a while I get the following exception:
java.sql.SQLException: XA error: XAER_RMERR : A resource manager error has occured
in the transaction branch start() failed on resource 'myXAPool' Unexpected error
during start for XAResource 'myXAPool': null
The connection pool size is 30 and the number connections high reached was 5,
which means there are enough connections in the pool available at all time.
It would be really great if you can help me out.
Thanks in Advance, Sudhir.
Hi Slava,
Sorry about that Oracle instance I am using is 8.1.7.
For the XA Driver I am using the one that comes with Weblogic in weblogic.jar.
And my Weblogic version 6.1 Sp3.
Thanks,
Sudhir.
"Slava Imeshev" <[email protected]> wrote:
Hi Sudhir,
Are you using an instance of 8.1.6 or 8.1.7? In the message header you
say
8.1.6.
Regards,
Slava Imeshev
"Sudhir Babu" <[email protected]> wrote in message
news:[email protected]..
Hi,
I am using Weblogic 6.1 with Oracle 8.1.7. I configured a TXDataSourceas
I wanted
to use Container Managed Transaction through a Session Bean.
Connection Pool Settings: -------------------------
Name - myXAPool URL - jdbc:oracle:thin:@myServer:1521:myDb
DriverClassname - oracle.jdbc.xa.client.OracleXADataSource
TXDataSource Settings : -----------------------
Name - myXADS
JNDIName - myXADS
PoolName - myXAPool
Everything works fine but once in a while I get the following exception:
java.sql.SQLException: XA error: XAER_RMERR : A resource manager errorhas
occured
in the transaction branch start() failed on resource 'myXAPool' Unexpectederror
during start for XAResource 'myXAPool': null
The connection pool size is 30 and the number connections high reachedwas
5,
which means there are enough connections in the pool available at alltime.
It would be really great if you can help me out.
Thanks in Advance, Sudhir. -
XA error: using Weblogic 6.1 and Oracle 8.1.6
Hi,
I am using Weblogic 6.1 with Oracle 8.1.7. I configured a TXDataSource as I wanted
to use Container Managed Transaction through a Session Bean.
Connection Pool Settings: -------------------------
Name - myXAPool URL - jdbc:oracle:thin:@myServer:1521:myDb
DriverClassname - oracle.jdbc.xa.client.OracleXADataSource
TXDataSource Settings : -----------------------
Name - myXADS
JNDIName - myXADS
PoolName - myXAPool
Everything works fine but once in a while I get the following exception:
java.sql.SQLException: XA error: XAER_RMERR : A resource manager error has occured
in the transaction branch start() failed on resource 'myXAPool' Unexpected error
during start for XAResource 'myXAPool': null
The connection pool size is 30 and the number connections high reached was 5,
which means there are enough connections in the pool available at all time.
It would be really great if you can help me out.
Thanks in Advance, Sudhir.Hi Slava,
Sorry about that Oracle instance I am using is 8.1.7.
For the XA Driver I am using the one that comes with Weblogic in weblogic.jar.
And my Weblogic version 6.1 Sp3.
Thanks,
Sudhir.
"Slava Imeshev" <[email protected]> wrote:
Hi Sudhir,
Are you using an instance of 8.1.6 or 8.1.7? In the message header you
say
8.1.6.
Regards,
Slava Imeshev
"Sudhir Babu" <[email protected]> wrote in message
news:[email protected]..
Hi,
I am using Weblogic 6.1 with Oracle 8.1.7. I configured a TXDataSourceas
I wanted
to use Container Managed Transaction through a Session Bean.
Connection Pool Settings: -------------------------
Name - myXAPool URL - jdbc:oracle:thin:@myServer:1521:myDb
DriverClassname - oracle.jdbc.xa.client.OracleXADataSource
TXDataSource Settings : -----------------------
Name - myXADS
JNDIName - myXADS
PoolName - myXAPool
Everything works fine but once in a while I get the following exception:
java.sql.SQLException: XA error: XAER_RMERR : A resource manager errorhas
occured
in the transaction branch start() failed on resource 'myXAPool' Unexpectederror
during start for XAResource 'myXAPool': null
The connection pool size is 30 and the number connections high reachedwas
5,
which means there are enough connections in the pool available at alltime.
It would be really great if you can help me out.
Thanks in Advance, Sudhir. -
Error Using weblogic.jspc --- java.lang.ExceptionInInitializerError
Hi,
I am trying to use the weblogic.jspc compiler to pre-compile my jsp
files so that I can verify that they compile w/o having to visit the
page. I am using Weblogic 4.5.1. I am encountering the following
error:
java.lang.ExceptionInInitializerError
at java.lang.Throwable.<init>(Compiled Code)
at java.lang.Error.<init>(Compiled Code)
at java.lang.LinkageError.<init>(Compiled Code)
at java.lang.ExceptionInInitializerError.<init>(Compiled Code)
at java.beans.Beans.instantiate(Compiled Code)
at weblogic.servlet.jsp.JspLexer.processBeanTag(Compiled Code)
at weblogic.servlet.jsp.JspLexer.mXML_OPEN_USEBEAN(Compiled Code)
at weblogic.servlet.jsp.JspLexer.mXML_THING(Compiled Code)
at weblogic.servlet.jsp.JspLexer.mTOKEN(Compiled Code)
at weblogic.servlet.jsp.JspLexer.nextToken(Compiled Code)
at weblogic.servlet.jsp.JspLexer.parse(Compiled Code)
at weblogic.servlet.jsp.JspParser.doit(Compiled Code)
at weblogic.servlet.jsp.JspParser.parse(Compiled Code)
at weblogic.servlet.jhtmlc.Jhtml2Java$Output.setSourceFile(Compiled
Code)
at weblogic.servlet.jhtmlc.Jhtml2Java.outputs(Compiled Code)
at weblogic.utils.compiler.CodeGenerator.generate(Compiled Code)
at weblogic.jhtmlc.runBody(Compiled Code)
at weblogic.jspc.runBody(Compiled Code)
at weblogic.utils.compiler.Tool.run(Compiled Code)
at weblogic.jspc.main(Compiled Code)
Have any of you seen this? Can you tell me what I am doing wrong
(Classpath, etc.)?
Any and all help would be greatly appreciated.
The command line I am using is:
java -verbose -classpath
$CLASSPATH:/apps/weblogic/license:/apps/weblogic/classes:/apps/weblogic/lib/weblogicaux.jar
weblogic.jspc -d $HOME/weblogic/myserver/classfiles/examples
100-Welcome.jsp
Regards,
Richard
Fixed with a patch CR0737797 and CR062538 for the 6.1 sp3 source line
Prasanna Yalam -
One of our customers starts to encounter this error message recently.
We checked our log files. It seems that the error happens when
to obtain a jdbc connection. Have anyone seen similar problems
and knows how to fix it? thanks in advance.
We are using weblogic server 6.1sp2, and weblogic sql type 4 driver.
The functions that invoke the jdbc calls are stateless session bean
methods with their transaction attributes marked as Required.
There is no nested calls of these methods.
A partial stack trace we obtained is as following:
java.sql.SQLException: No JDBC connection can be made
because the transaction state is
Marked Rollback
at weblogic.jdbc.jts.Connection.getOrCreateConnection(Connection.java:586)
at weblogic.jdbc.jts.Connection.prepareStatement(Connection.java:115)
at weblogic.jdbc.rmi.internal.ConnectionImpl.prepareStatement(ConnectionImpl.java:135)
at weblogic.jdbc.rmi.SerialConnection.prepareStatement(SerialConnection.java:76)
lixinJoseph Weinstein <[email protected]> wrote:
>
>
YuanHui Liu wrote:
Joe,
We got the exact same error message. The error came after we got theJDBC connection,
and trying to create statement off it.
It occurs intermitently when we are running another standalone JAVAapp to do
some end of day work, which results in the DB Server being very busy(90+%CPU
usage) for about 5 minutes. We see a surge of requests to the WLSJDBC Connection
pool. This would sometimes result in all our subsequent DB requeststo fail and
lead to a crash.
We are using WLS6.0SP1. I do not think there's a 30 seconds wait leadingto a
connection timeout that caused this(rather it is the end effect).
Can you give us a more detailed explanation? Is there a miscommunicationbetween
our DB(Sybase12) and WLS?Hi. It looks to you like it's after you get the connection, but really
it's when the server is
gettng the pool connection. For performance/synchronization reasons we
do a clever
delay: When your code asks for a pool connection we quickly give you
the pool wrapper,
but we delay actually reserving the real underlying DBMS connection until
your first
real need for a connection, at your first JDBC call, such as createStatement()
etc.
It is while waiting for a pool connection long enough for the transaction
coordinator
to have timed you out before you ever get a chance. It's nothing to do
with the
DBMS or even JDBC, I believe. I think the weblogic server either has
too few execute-threads
and/or too few CPU cycles to do the work load.
Okay, so there's a lazy initialization of the connection.
From reading our log I believe our failur is immediate rather
than waiting for 30+ seconds(the default setting) from the DB,
the timeout occurred later as a result. At the time either because the DB Server
is very busy.
Since we are running WLS6.0 we have only one connection pool,
we have defined a max of 150 threads in the pool. While this
is happening the DB Server is being pinned by an overnight job,
but the WLS Server is not busy at all. The DB and WLS resides
on different physical boxes.
We also have a thread dump from the WLS console when we rebooted the server, it
showed that we are hanging on to the thread & jdbc
connections after these exceptions has occurred instead of releasing them, note
"16083"(~4.5 hours) seconds has passed:
142 116222 Retry rollback request for tx: 'transaction=(IdHash=2963855,Name =
[EJB UserManagerBeanImpl.signalICUserServletHeartBeat()],Xid=30643:8f3838f3709bf53d,Status=Rolling
Back. [Reason = Unknown],numRepliesOwedMe=0,numRepliesOwedOthers=0,seconds since
begin=16083,seconds left=10,ServerResourceInfo[weblogic.jdbc.jts.Connection]=(state=started,assigned=server),SCInfo[server]=(state=active),properties=({weblogic.jdbc=t3://159.55.158.25:8005,
weblogic.transaction.name=[EJB UserManagerBeanImpl.signalICUserServletHeartBeat()]}))'
Scheduled Trigger
So I would argue this problem actually chewed up resources on the WLS server.
-Yuanhui Liu
>>
>>
Thanks.
-YuanHui Liu
Joseph Weinstein <[email protected]> wrote:
lixin wrote:
One of our customers starts to encounter this error message recently.
We checked our log files. It seems that the error happens when
to obtain a jdbc connection. Have anyone seen similar problems
and knows how to fix it? thanks in advance.
We are using weblogic server 6.1sp2, and weblogic sql type 4 driver.
The functions that invoke the jdbc calls are stateless session bean
methods with their transaction attributes marked as Required.
There is no nested calls of these methods.
A partial stack trace we obtained is as following:
java.sql.SQLException: No JDBC connection can be made
because the transaction state is
Marked Rollback
at weblogic.jdbc.jts.Connection.getOrCreateConnection(Connection.java:586)Hi. This sounds like a JVM thread starvation issue, and/or a server
load
issue. What is
happening is that the transaction is started, and times out beforethe
SSB even gets to
the first JDBC work. I would first verify that the customer is using
the very latest JVM
available for the machine.
Joe Weinstein
at weblogic.jdbc.jts.Connection.prepareStatement(Connection.java:115)
at weblogic.jdbc.rmi.internal.ConnectionImpl.prepareStatement(ConnectionImpl.java:135)
at weblogic.jdbc.rmi.SerialConnection.prepareStatement(SerialConnection.java:76)
lixin -
java.lang.reflect.UndeclaredThrowableException: weblogic.j2ee.DeploymentException: Could not load web application from '..\..\project\wlproj\defaultroot'
I dont know if this is the right forum to ask this question.
Anyways.
I am using JBuilder Enterprise 7 and WebLogic 6.1 Server.
When I try to deploy an application. I get the error shown above.
I have the JBuilder project in directory c:/proj/wlproj
and I have the war getting generated in the folder defaultroot.
Anyone faced this problem and any idea why this is happening.
Any help will be appreciated.
VijayDownload and install the patch for CR064449. You can read more at http://www.mail-archive.com/[email protected]/msg01741.html and on BEA's web site.
-- Gorazd
java.lang.reflect.UndeclaredThrowableException:
weblogic.j2ee.DeploymentException: Could not load web
application from '..\..\project\wlproj\defaultroot'
I dont know if this is the right forum to ask this
question.
Anyways.
I am using JBuilder Enterprise 7 and WebLogic 6.1
Server.
When I try to deploy an application. I get the error
shown above.
I have the JBuilder project in directory
c:/proj/wlproj
and I have the war getting generated in the folder
defaultroot.
Anyone faced this problem and any idea why this is
happening.
Any help will be appreciated.
Vijay -
Servlet error in weblogic deployment
Hi Friends,
I have uploaded a war file by name 'Dat_Ced.war' in weblogic server.But when I try to run the servlet in the browser, I get the following error in console.
ca.com
2007-10-01 12:26:49,044 [ExecuteThread: '14' for queue: 'weblogic.kernel.Default
'] INFO (Utils.java:259) - boy
<Oct 1, 2007 12:26:49 PM IST> <Error> <HTTP> <BEA-101017> <[ServletContext(id=82
47019,name=Dat_Ced,context-path=/Dat_Ced)] Root cause of ServletException.
java.lang.NullPointerException
at com.bofa.pbes.cedrelay.RelayException.<init>(RelayException.java:107)
at com.bofa.pbes.cedrelay.Utils.loginPartyOrchService(Utils.java:260)
at com.bofa.pbes.cedrelay.Utils.loginCMWService(Utils.java:224)
at com.bofa.pbes.cedrelay.RelayServlet.init(RelayServlet.java:65)
at weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run(Servl
etStubImpl.java:993)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
dSubject.java:317)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
118)
at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubIm
pl.java:869)
at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStub
Impl.java:848)
at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubI
mpl.java:787)
at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.
java:518)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:362)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:305)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
n.run(WebAppServletContext.java:6350)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
dSubject.java:317)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
118)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
rvletContext.java:3635)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
pl.java:2585)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
>
Please help me..
Thanks in advance.Go to Weblogic admin console and see whether both applications are deployed successfully or not.
Also see the patch_weblogic.log whether it has some exception while deploying Nexaweb.
Certification for OIM:
http://www.oracle.com/technology/software/products/ias/files/idm_certification_101401.html -
Hyperion Workspace error , using weblogic as application server.
HI Experts !
I have Hyperion 9.3.0 environment and
I m using web logic 8.1 and facing problem in starting workspace .
configuration with weblogic is successful but still error while open workspace :
Error 404--Not Found
From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
10.4.5 404 Not Found
The server has not found anything matching the Request-URI. No indication is given of whether the condition is temporary or permanent.
If the server does not wish to make this information available to the client, the status code 403 (Forbidden) can be used instead. The 410 (Gone) status code SHOULD be used if the server knows, through some internally configurable mechanism, that an old resource is permanently unavailable and has no forwarding address.
Please help me..
Thank youHello,
Were you able to find any solutions to this problem. We are experiencing the same issue now.
Thanks
Srikanth -
Assertion error using weblogic.ejbc20
I'm getting the following error message generating the jar file for my BimPspsAdjApp
WL bean:
[java] weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Couldn't
find a WLBean called "BimPspAdjApp" ]
[java] at weblogic.utils.Debug.assert(Debug.java:84)
[java] at weblogic.ejb20.deployer.CompositeMBeanDescriptor.initialize60(CompositeMBeanDescriptor.java:218)
[java] at weblogic.ejb20.deployer.CompositeMBeanDescriptor.init(CompositeMBeanDescriptor.java:159)
[java] at weblogic.ejb20.deployer.CompositeMBeanDescriptor.<init>(CompositeMBeanDescriptor.java:152)
[java] at weblogic.ejb20.deployer.MBeanDeploymentInfoImpl.initializeBeanInfos(MBeanDeploymentInfoImpl.java:393)
[java] at weblogic.ejb20.deployer.MBeanDeploymentInfoImpl.<init>(MBeanDeploymentInfoImpl.java:126)
[java] at weblogic.ejb20.ejbc.EJBCompiler.setupEJB(EJBCompiler.java:128)
[java] at weblogic.ejbc20.runBody(ejbc20.java:358)
[java] at weblogic.utils.compiler.Tool.run(Tool.java:79)
[java] at weblogic.ejbc20.main(ejbc20.java:460)
[java] Exception in thread "main" weblogic.utils.AssertionError: ***** ASSERTION
FAILED *****[ Couldn't find a WLBean called "BimPspAdjApp" ]
[java] at weblogic.utils.Debug.assert(Debug.java:84)
[java] at weblogic.ejb20.deployer.CompositeMBeanDescriptor.initialize60(CompositeMBeanDescriptor.java:218)
[java] at weblogic.ejb20.deployer.CompositeMBeanDescriptor.init(CompositeMBeanDescriptor.java:159)
[java] at weblogic.ejb20.deployer.CompositeMBeanDescriptor.<init>(CompositeMBeanDescriptor.java:152)
[java] at weblogic.ejb20.deployer.MBeanDeploymentInfoImpl.initializeBeanInfos(MBeanDeploymentInfoImpl.java:393)
[java] at weblogic.ejb20.deployer.MBeanDeploymentInfoImpl.<init>(MBeanDeploymentInfoImpl.java:126)
[java] at weblogic.ejb20.ejbc.EJBCompiler.setupEJB(EJBCompiler.java:128)
[java] at weblogic.ejbc20.runBody(ejbc20.java:358)
[java] at weblogic.utils.compiler.Tool.run(Tool.java:79)
[java] at weblogic.ejbc20.main(ejbc20.java:460)
[java] Java Result: 1
My Ant command is:
<target name = "intBimPsp">
<mkdir dir="${ejbjartmp.dir}/webserviceBim/META-INF"/>
<mkdir dir="${ejbjartmp.dir}/webserviceBim/fastway/runtime/intBimPsp"/>
<copy file="${descriptors.dir}/BimPspAdjApp-ejb-jar.xml" tofile="${ejbjartmp.dir}/webserviceBim/META-INF/ejb-jar.xml"/>
<copy file="${descriptors.dir}/BimPspAdjApp-weblogic-ejb-jar.xml" tofile="${ejbjartmp.dir}/webserviceBim/META-INF/weblogic-ejb-jar.xml"/>
<copy todir="${ejbjartmp.dir}/webserviceBim/fastway/runtime/intBimPsp/">
<fileset dir="${build.dir}/fastway/runtime/intBimPsp/"/>
</copy>
<jar jarfile="${ejbjartmp.dir}/pre_BimPspAdjApp.jar"
basedir="${ejbjartmp.dir}/webserviceBim"/>
<java classname="weblogic.ejbc20" fork="yes" dir="${ejbjartmp.dir}">
<arg line="$pre_BimPspAdjApp.jar $BimPspAdjApp.jar"/>
<classpath>
<pathelement location="/apps/bea/wlserver6.1/lib/weblogic.jar"/>
<pathelement location="${ejbjartmp.dir}/pre_BimPspAdjApp.jar"/>
</classpath>
</java>
<delete dir="${ejbjartmp.dir}/webserviceBim/"/>
<delete file="${ejbjartmp.dir}/pre_BimPspAdjApp.jar"/>
</target>
Why does this assertion error occur?
ThanksAre you trying to run a EJB 2.0 bean using a EJB 1.1 DTD?
Gabriela Gonzalez wrote:
I'm getting the following error message generating the jar file for my BimPspsAdjApp
WL bean:
[java] weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Couldn't
find a WLBean called "BimPspAdjApp" ]
[java] at weblogic.utils.Debug.assert(Debug.java:84)
[java] at weblogic.ejb20.deployer.CompositeMBeanDescriptor.initialize60(CompositeMBeanDescriptor.java:218)
[java] at weblogic.ejb20.deployer.CompositeMBeanDescriptor.init(CompositeMBeanDescriptor.java:159)
[java] at weblogic.ejb20.deployer.CompositeMBeanDescriptor.<init>(CompositeMBeanDescriptor.java:152)
[java] at weblogic.ejb20.deployer.MBeanDeploymentInfoImpl.initializeBeanInfos(MBeanDeploymentInfoImpl.java:393)
[java] at weblogic.ejb20.deployer.MBeanDeploymentInfoImpl.<init>(MBeanDeploymentInfoImpl.java:126)
[java] at weblogic.ejb20.ejbc.EJBCompiler.setupEJB(EJBCompiler.java:128)
[java] at weblogic.ejbc20.runBody(ejbc20.java:358)
[java] at weblogic.utils.compiler.Tool.run(Tool.java:79)
[java] at weblogic.ejbc20.main(ejbc20.java:460)
[java] Exception in thread "main" weblogic.utils.AssertionError: ***** ASSERTION
FAILED *****[ Couldn't find a WLBean called "BimPspAdjApp" ]
[java] at weblogic.utils.Debug.assert(Debug.java:84)
[java] at weblogic.ejb20.deployer.CompositeMBeanDescriptor.initialize60(CompositeMBeanDescriptor.java:218)
[java] at weblogic.ejb20.deployer.CompositeMBeanDescriptor.init(CompositeMBeanDescriptor.java:159)
[java] at weblogic.ejb20.deployer.CompositeMBeanDescriptor.<init>(CompositeMBeanDescriptor.java:152)
[java] at weblogic.ejb20.deployer.MBeanDeploymentInfoImpl.initializeBeanInfos(MBeanDeploymentInfoImpl.java:393)
[java] at weblogic.ejb20.deployer.MBeanDeploymentInfoImpl.<init>(MBeanDeploymentInfoImpl.java:126)
[java] at weblogic.ejb20.ejbc.EJBCompiler.setupEJB(EJBCompiler.java:128)
[java] at weblogic.ejbc20.runBody(ejbc20.java:358)
[java] at weblogic.utils.compiler.Tool.run(Tool.java:79)
[java] at weblogic.ejbc20.main(ejbc20.java:460)
[java] Java Result: 1
My Ant command is:
<target name = "intBimPsp">
<mkdir dir="${ejbjartmp.dir}/webserviceBim/META-INF"/>
<mkdir dir="${ejbjartmp.dir}/webserviceBim/fastway/runtime/intBimPsp"/>
<copy file="${descriptors.dir}/BimPspAdjApp-ejb-jar.xml" tofile="${ejbjartmp.dir}/webserviceBim/META-INF/ejb-jar.xml"/>
<copy file="${descriptors.dir}/BimPspAdjApp-weblogic-ejb-jar.xml" tofile="${ejbjartmp.dir}/webserviceBim/META-INF/weblogic-ejb-jar.xml"/>
<copy todir="${ejbjartmp.dir}/webserviceBim/fastway/runtime/intBimPsp/">
<fileset dir="${build.dir}/fastway/runtime/intBimPsp/"/>
</copy>
<jar jarfile="${ejbjartmp.dir}/pre_BimPspAdjApp.jar"
basedir="${ejbjartmp.dir}/webserviceBim"/>
<java classname="weblogic.ejbc20" fork="yes" dir="${ejbjartmp.dir}">
<arg line="$pre_BimPspAdjApp.jar $BimPspAdjApp.jar"/>
<classpath>
<pathelement location="/apps/bea/wlserver6.1/lib/weblogic.jar"/>
<pathelement location="${ejbjartmp.dir}/pre_BimPspAdjApp.jar"/>
</classpath>
</java>
<delete dir="${ejbjartmp.dir}/webserviceBim/"/>
<delete file="${ejbjartmp.dir}/pre_BimPspAdjApp.jar"/>
</target>
Why does this assertion error occur?
Thanks--
Rajesh Mirchandani
Developer Relations Engineer
BEA Support -
Serialization error using WebLogic generated stubs.
I have written a web service using WL Workshop, and it works fine
in the browser based test environment. When I use the client stubsgenerated by
WL, I get a serialization error:
java.rmi.RemoteException: web service invoke failed; nested exception is:
javax.xml.soap.SOAPException: failed to deserialize xml:weblogic.xml.schema.binding.DeserializationException:
did not find needed xsi:type attribute on element <anyType>
at weblogic.jws.proxies.DataFeedSoap_Stub.getSched(DataFeedSoap_Stub.java:36)
at weblogic.jws.proxies.DataFeedSoap_Stub.getSched(DataFeedSoap_Stub.java:58)
at datafeed.Client.main(Client.java:19)
Caused by: javax.xml.soap.SOAPException: failed to deserialize xml:weblogic.xml.schema.binding.DeserializationException:
did not find needed xsi:type attribute on element <anyType>
at weblogic.webservice.core.DefaultPart.toJava(DefaultPart.java:296)
at weblogic.webservice.core.DefaultMessage.toJava(DefaultMessage.java:359)
at weblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.java:465)
at weblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.java:359)
at weblogic.webservice.core.rpc.StubImpl._invoke(StubImpl.java:205)
at weblogic.jws.proxies.DataFeedSoap_Stub.getSched(DataFeedSoap_Stub.java:33)
... 2 more
Caused by: weblogic.xml.schema.binding.DeserializationException: did not find
needed xsi:type attribute on element <anyType>
at weblogic.xml.schema.binding.internal.builtin.XSDAnyCodec.extractType(XSDAnyCodec.java:108)
at weblogic.xml.schema.binding.internal.builtin.XSDAnyCodec.deserialize(XSDAnyCodec.java:83)
at weblogic.xml.schema.binding.SequenceCodecBase.deserialize(SequenceCodecBase.java:118)
at weblogic.xml.schema.binding.RuntimeUtils.invoke_deserializer(RuntimeUtils.java:310)
at weblogic.xml.schema.binding.RuntimeUtils.invoke_deserializer(RuntimeUtils.java:286)
at weblogic.xml.schema.binding.BeanCodecBase.processElement(BeanCodecBase.java:140)
at weblogic.xml.schema.binding.BeanCodecBase.processElements(BeanCodecBase.java:125)
at weblogic.xml.schema.binding.BeanCodecBase.deserialize(BeanCodecBase.java:96)
at weblogic.xml.schema.binding.RuntimeUtils.invoke_deserializer(RuntimeUtils.java:310)
at weblogic.xml.schema.binding.RuntimeUtils.invoke_deserializer(RuntimeUtils.java:286)
at weblogic.xml.schema.binding.BeanCodecBase.processElement(BeanCodecBase.java:140)
at weblogic.xml.schema.binding.BeanCodecBase.processElements(BeanCodecBase.java:125)
at weblogic.xml.schema.binding.BeanCodecBase.deserialize(BeanCodecBase.java:96)
at weblogic.xml.schema.binding.RuntimeUtils.invoke_deserializer(RuntimeUtils.java:310)
at weblogic.xml.schema.binding.RuntimeUtils.invoke_deserializer(RuntimeUtils.java:266)
at weblogic.webservice.core.DefaultPart.toJava(DefaultPart.java:290)
... 7 moreIndeed there is a difference in how WLS and Workshop handle
xsd:anyType. Our plan at this point is to fix this to return
javax.xml.soap.SOAPElement when we do not find the xsi:type attribute
-- probably in the next service pack release. We have entered a
change request CR082976 that you can reference with support if you
need a more urgent resolution.
--Scott
In article <[email protected]>,
Neil Hornbeck <[email protected]> wrote:
>
I have written a web service using WL Workshop, and it works fine in
the browser based test environment. When I use the client
stubsgenerated by WL, I get a serialization error:
java.rmi.RemoteException: web service invoke failed; nested exception is:
javax.xml.soap.SOAPException: failed to deserialize xml:weblogic.xml.schema.binding.DeserializationException:
did not find needed xsi:type attribute on element <anyType>
at weblogic.jws.proxies.DataFeedSoap_Stub.getSched(DataFeedSoap_Stub.java:36)
at weblogic.jws.proxies.DataFeedSoap_Stub.getSched(DataFeedSoap_Stub.java:58)
at datafeed.Client.main(Client.java:19)
Caused by: javax.xml.soap.SOAPException: failed to deserialize xml:weblogic.xml.schema.binding.DeserializationException:
did not find needed xsi:type attribute on element <anyType>
at weblogic.webservice.core.DefaultPart.toJava(DefaultPart.java:296)
at weblogic.webservice.core.DefaultMessage.toJava(DefaultMessage.java:359)
at weblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.java:465)
at weblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.java:359)
at weblogic.webservice.core.rpc.StubImpl._invoke(StubImpl.java:205)
at weblogic.jws.proxies.DataFeedSoap_Stub.getSched(DataFeedSoap_Stub.java:33)
... 2 more
Caused by: weblogic.xml.schema.binding.DeserializationException: did not find
needed xsi:type attribute on element <anyType>
at weblogic.xml.schema.binding.internal.builtin.XSDAnyCodec.extractType(XSDAnyCodec.java:108)
at weblogic.xml.schema.binding.internal.builtin.XSDAnyCodec.deserialize(XSDAnyCodec.java:83)
at weblogic.xml.schema.binding.SequenceCodecBase.deserialize(SequenceCodecBase.java:118)
at weblogic.xml.schema.binding.RuntimeUtils.invoke_deserializer(RuntimeUtils.java:310)
at weblogic.xml.schema.binding.RuntimeUtils.invoke_deserializer(RuntimeUtils.java:286)
at weblogic.xml.schema.binding.BeanCodecBase.processElement(BeanCodecBase.java:140)
at weblogic.xml.schema.binding.BeanCodecBase.processElements(BeanCodecBase.java:125)
at weblogic.xml.schema.binding.BeanCodecBase.deserialize(BeanCodecBase.java:96)
at weblogic.xml.schema.binding.RuntimeUtils.invoke_deserializer(RuntimeUtils.java:310)
at weblogic.xml.schema.binding.RuntimeUtils.invoke_deserializer(RuntimeUtils.java:286)
at weblogic.xml.schema.binding.BeanCodecBase.processElement(BeanCodecBase.java:140)
at weblogic.xml.schema.binding.BeanCodecBase.processElements(BeanCodecBase.java:125)
at weblogic.xml.schema.binding.BeanCodecBase.deserialize(BeanCodecBase.java:96)
at weblogic.xml.schema.binding.RuntimeUtils.invoke_deserializer(RuntimeUtils.java:310)
at weblogic.xml.schema.binding.RuntimeUtils.invoke_deserializer(RuntimeUtils.java:266)
at weblogic.webservice.core.DefaultPart.toJava(DefaultPart.java:290)
... 7 more -
HT4864 "Note: If you receive errors using SSL, try using TLS instead."
My outgoing mail server works with .me when I enable TLS, but not SSL, any security issues?
Appreciate your reply. Please help me in my further questions.
We were using SSL to connect to their server till now, now they want to upgrade it, so they want us to use TLS1.0
In the link I see that TLS1.0 and others are installed but I do not see them on our server. I will have them install it.
Once we have TLS installed and enabled does Biztalk HTTP adapter use TLS 1.0 as default to connect to external system automatically or do I have to change the HTTP send receive port which has a certificate in it.
Also with which tool can I check if Biztalk is actually using TLS or SSL. -
Weblogic deployment APIs giving error for deployment on weblogic 10.3.2
I am using weblogic deployment APIs to distribute my war file on weblogic 10.3.2 but it gives the following error on distribute
weblogic.management.ManagementException: [Deployer:149003]Unable to access application source information in '<!DOCTYPE HTML PUBLIC "-/W3C/DTD HTML 4.0 Draft/EN">/app/jamagent.war' for application 'jamagent.war'. The specific error is: No application files exist.
My sample code is below.
DeploymentOptions options = null;
Target[] targets = myConnectedManager.getTargets();
Class wlsFactoryClass = Class.forName("weblogic.deploy.api.tools.SessionHelper");
Method m = wlsFactoryClass.getDeclaredMethod("getDeploymentManager",new Class[]{String.class,String.class,String.class,String.class});
m.setAccessible(true);
WebLogicDeploymentManager myConnectedManager = (WebLogicDeploymentManager)m.invoke(wlsFactoryClass, new Object[]{hostname,port,weblogicUsername,weblogicPasswd});
myConnectedManager.enableFileUploads();
options = new DeploymentOptions();
options.setName(destWarName);
ProgressObject po = myConnectedManager.distribute(targets, new File("/tmp/jamagent_orig.war), null,options);
The header of web.xml is
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
Can someone help why this is happening? I am not including weblogic-application.xml in the war file as i think this is not required for a war file. Is that the reason?
Edited by: user790199 on Dec 28, 2009 7:37 AMHi,
The DTD used in "web.xml" should not cause any issue ...though it's the OLD "web.xml"...Please try to run the Following command to Generate the New Deployment Descriptors from the Existing Application:
Step1). Open a Command Window and Run "setWLSEnv.sh" or "setWLSEnv.cmd".
Step2). In the Command Prompt move to the Current Directory where you have placed your Application and then Run the Following Command
java weblogic.DDConverter -d NewDDs jamagent.war
Here Above Command Will read the "jamagent.war" War archive and then It will generate the New DDs in "NewDDs" directory...Which we need to replace with the OLD DDs present in our WebApplication..
Thanks
Jay SenSharma
http://jaysensharma.wordpress.com (WebLogic Wonders Are Here) -
I'm trying to use weblogic.deploy during development.
Say I change something in the bean class. I have noticed that it's enough to
replace the class files in the deployable unit (that is not running ejbc)
and restart the server to get the changes to occur.
However using weblogic.deploy doesn't seem to work. Regardless if I change
an existing jar file or use ejbc.
I'm able to replace the unit according to "weblogic.deploy list" but the
changes aren't there when I run the EJB.
-Is there something about the classpath. I am developing in an IDE and have
all classes in the classpath, which are in the jar. Actually I tried to
remove them but it didn't matter. But classpaths are always tricky.
-I have connections between entity beans and session beans open during the
redeploy. May these have some effect.
Would be very happy for answers.
Regards
Erik RomsonI think I am having similar sorts of problems. We are trying to use weblogic.deploy
with the update action to automate our deployment process. The deployement appears
to go smoothly and we get no error messages, but none of the changed files appear
to actually make it to the server. We are deploying an EAR file. We I deploy
this file manually via the web console everything works. But if I alter some
classes and rebuild the EAR and then try to deploy it with weblogic.deploy it
doesn't seem to actually take effect. Do I need to undelpoy and then deploy again
instead of using the update action?
Any help would be appreciated.
Roy Wells
Novient Inc.
"Erik Romson" <[email protected]> wrote:
I'm trying to use weblogic.deploy during development.
Say I change something in the bean class. I have noticed that it's enough
to
replace the class files in the deployable unit (that is not running ejbc)
and restart the server to get the changes to occur.
However using weblogic.deploy doesn't seem to work. Regardless if I change
an existing jar file or use ejbc.
I'm able to replace the unit according to "weblogic.deploy list" but
the
changes aren't there when I run the EJB.
-Is there something about the classpath. I am developing in an IDE and
have
all classes in the classpath, which are in the jar. Actually I tried
to
remove them but it didn't matter. But classpaths are always tricky.
-I have connections between entity beans and session beans open during
the
redeploy. May these have some effect.
Would be very happy for answers.
Regards
Erik Romson -
I tried to use weblogic.deploy to deploy my EAR file on weblogic server called localhost
on 7001. When I try to run it gives me following error: [java] JNDI naming exception:
Naming exception trying to connect to: t3://localhost:7001 as: system: password
system password is correct. I have tried http://localhost:7001 to but doesen't seem
to work. Any ideas.
HSI tried to use weblogic.deploy to deploy my EAR file on weblogic server called localhost
on 7001. When I try to run it gives me following error: [java] JNDI naming exception:
Naming exception trying to connect to: t3://localhost:7001 as: system: password
system password is correct. I have tried http://localhost:7001 to but doesen't seem
to work. Any ideas.
HS
Maybe you are looking for
-
HI! I created a abap query and added few additional fields with codes in them and tried running the query. When I run teh query with selections on my selection screen it runs well and gives me output correctly but when I run it open without any selec
-
Movie taking up more space than the size
Hello. I published a movie in imovie to the media gallery in HD. It is a long video, so I knew it would take up a lot of space. It is listed as 5 GB in my imovie project folder. However, when I "show package contents" of the movie, the actual size of
-
Hi All, I have this config: aaa authentication login default local line enable aaa authorization console aaa authorization exec default local aaa authorization network default local line vty 0 4 password Gr834! transport preferred ssh transport input
-
Shared technologies install error
Trying to install Photoshop Elements 11 and keep getting the same error message: "The installation process has encountered an error while installing Shared Technologies"
-
Okay, I'm trying to do a whole book in Indesign having only created small booklets. I need to save a simple stroke I've drawn and paste it in certain places throughout the text as a divider between paragraphs. I want to save it and be able to access