Deploying session beans with weblogic 5.1 in NT
Hello ,
I have a problem with deploying session beans in weblogic 5.0. I have
written the code and compiled it. My Compilation is fine. Cud any one give
me a step by step of how I should deploy my bean with weblogic 5.0 on
windows NT.
Raj Urs
Hello ,
I have a problem with deploying session beans in weblogic 5.0. I have
written the code and compiled it. My Compilation is fine. Cud any one give
me a step by step of how I should deploy my bean with weblogic 5.0 on
windows NT.
Raj Urs
Similar Messages
-
How to deploy a session bean in Weblogic 9.2
Hi,
Can anyone please point me to the procedure of deploying session bean on weblogic 9.2. My operating system is Fedora 5. Please let me know the steps as i am very new to EJB.
Regards,
SanjeevI looked for this information in ServletConfig, in ServletContext, in JVMID
ServletConfig or ServletContext do not have anything (at least I do not see anything),
The newsgroups recommend the following code
public static String getLocalUrlString()
String urlString;
JVMID jvmid = JVMID.localID();
urlString = jvmid.getHostAddress();
weblogic.rjvm.Protocol proto
=weblogic.rjvm.Protocol.getDefaultProtocol();
int port = jvmid.getPort(proto);
return urlString + ISoapConstants.SCHEME_DELIMITER + port;
I also tried
weblogic.rjvm.Protocol does not exist in current version, and I did not get any real information inside JVMID
Also tried JVMID.localID().ports(), which returns null
System.getProperty("weblogic.system.bindAddr"); or weblogic.system.listenPort property,
getProperty returns null
Tried also another approach from the newsgroups - JwsContext.
/** @common:context */
JwsContext context;
String myPort = context.getService().getURL().getPort();
String myUrl = context.getService().getURL().toString();
context is null
None of them worked.
Do you have any other ideas?
All those ideas I found in the newsgroups were to the previos version(s) of weblogic - up to 8.1. I have not found anything specific to 9.2 -
HOWTO:Deploy BC4J as Session Bean in Weblogic
This document describes Howto deploy a BC4J Appmodule as EJB Session Bean to Weblogic and
test the appmodule through the BC4J tester.
=>create a BC4J Application using Business Components Wizard.
=>test it using BC4J tester
=>make the Application Module Remotable [list]
[*]Select Appmodule and right mouse on it to select the edit option
[*]Select Remote tab
[*]Select the check box for Remotable Application Module
[*]Select EJB Session Bean and shuttle it from Available list to Selected list
[*]Click on the finish button[list]
=> Do File| Save All and a Rebuild on the project
=> create the weblogic XML Deployment Descriptor[list]
[*]Choose File|New
[*]Select the web objects tab
[*]Select XML and click ok
[*]Rename the file as ejb-jar.xml using File|Rename
[*]Save it in the JDEV_HOME/myclasses/META-INF directory.
[*]Open the xml file by double clicking on it.
[*]Paste the following into the file
<!DOCTYPE ejb-jar PUBLIC '-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 1.1//EN' 'http://java.sun.com/j2ee/dtds/ejb-jar_1_1.dtd'>
<ejb-jar>
<enterprise-beans>
<session>
<ejb-name>wl.WlModule</ejb-name>
<home>wl.common.ejb.WlModuleHome</home>
<remote>wl.common.ejb.RemoteWlModule</remote>
<ejb-class>wl.server.ejb.WlModuleServerEJB</ejb-class>
<session-type>Stateful</session-type>
<transaction-type>Bean</transaction-type>
</session>
</enterprise-beans>
<assembly-descriptor>
</assembly-descriptor>
</ejb-jar>
[*]Choose File|New
[*]Select the web objects tab
[*]Select XML and click ok
[*]Rename the file as weblogic-ejb-jar.xml using File|Rename
[*]Save it in the JDEV_HOME/myclasses/META-INF directory.
[*]Open the xml file by double clicking on it.
[*]Paste the following into the file
<!DOCTYPE weblogic-ejb-jar PUBLIC '-//BEA Systems, Inc.//DTD WebLogic 5.1.0 EJB//EN' 'http://www.bea.com/servers/wls510/dtd/weblogic-ejb-jar.dtd'>
<weblogic-ejb-jar>
<weblogic-enterprise-bean>
<ejb-name>wl.WlModule</ejb-name>
<caching-descriptor>
<max-beans-in-free-pool>100</max-beans-in-free-pool>
<max-beans-in-cache>100</max-beans-in-cache>
<idle-timeout-seconds>60</idle-timeout-seconds>
</caching-descriptor>
<jndi-name>wl.WlModule</jndi-name>
</weblogic-enterprise-bean>
</weblogic-ejb-jar>
In this example "wl" is the package name and "WlModule" is the Appmodule name.[list]
=> generate the jar file for appmodule along with xml deployment descriptors[list]
[*]from the command line in JDEV_HOME/myclasses directory run
[*]jar cvf0 wlappmodule.jar wl META-INF[list]
=> edit the setenv.cmd file in WEBLOGIC_HOME directory[list]
[*]set JAVA_HOME=f:\jdev32\java1.2
[*]set JBOLIB=f:\jdev32\lib
[*]set JDBC_CLASSES=f:\jdev32\jdbc\lib\oracle8.1.7\classes12.zip
[*]set JBO_RUNTIME=%JBOLIB%\jboorasql.zip;%JDBC_CLASSES%;%JBOLIB%\jbodatum12.zip;%JBOLIB%\xmlparserv2.jar;%JBOLIB%\jbomt.zip;%JBOLIB%\jboejb.jar
[*]add JBO_RUNTIME in the set CLASSPATH variable[list]
=> create a bc4j deploy batch file "Deploybc4j.cmd" in the WEB_LOGIC HOME
which will generate the server side jar files
@setlocal
set JAVA=java
set JAVAC=javac
set BEAN_JAR=%1
set EJB_TEMP=f:\jdev32\myclasses\wl
set XMLPARSERV2=f:\jdev32\lib\xmlparserv2.jar;
set JDBC_LIBS=f:\jdev32\jdbc\oracle8.1.7\lib\classes12.zip
set JBO_EJB_RUNTIME=f:\jdev32\lib\jbomt.zip;f:\jdev32\lib\jboejb.jar;%XMLPARSERV2%;%JDBC_LIBS%
set CLASSPATH=%CLASSPATH%;%JBO_EJB_RUNTIME%;%BEAN_JAR%;%EJB_TEMP%
%JAVA% weblogic.ejbc -compiler javac f:\jdev32\myclasses\wlappmodule.jar f:\jdev32\myclasses\wlAppModuleGenerated.jar;f:\jdev32\lib\jbodomorcl.zip
pushd %EJB_TEMP%
@endlocal
Note: substittue appropriate jar file and directory structure names
=> Run setenv.cmd
=> Run deploybc4j.cmd
=> Configure Weblogic server[list]
If your weblogic server is residing on a different machine then
[*]copy wlAppModuleGenerated.jar (generated jar file from deploybc4j.cmd)
[*]Copy classes12.zip from JDEV_HOME/jdbc/lib/oracle8.1.7/ directory
[*]Copy jbodomorcl.zip
[*]jbodatum12.zip
[*]xmlparserv2.jar
[*]jbomt.zip
[*]jboejb.jar from JDEV_HOME/lib directory
[*]edit weblogic.properties file in WEBLOGIC_HOME directory
[*]In the WEBLOGIC EJB DEMO PROPERTIES sectio
[*]add weblogic.ejb.deploy=E:/weblogic/myserver/wlAppModuleGenerated.jar
(generated jar file from deploybc4j.cmd file)
[*]edit startweblogic.cmd file in WEBLOGIC_HOME directory
[*]set POST_CLASSPATH=f:\jdev32\jdbc\oracle8.1.7\lib\classes12.zip;f:\jdev32\lib\jboorasql.zip;f:\jdev32\lib\jbodatum12.zip;f:\jdev32\lib\xmlparserv2.jar;f:\jdev32\lib\jbomt.zip;f:\jdev32 \lib\jboEJB.jar;f:\jdev32\lib\jbodomorcl.zip
[*]add E:/weblogic/myserver/wlAppModuleGenerated.jar
(generated jar file from deploybc4j.cmd file) in the weblogic_classpath setting[list]
Note: modify the directory structure of jar files as apporpriate
=> Run the BC4J tester to test the deployed BC4J Appmodule as session bean to Weblogic[list]
[*]Add a new library
[*]Select the Project in which you developed the BC4J Appmodule
[*]Project | Project Properties
[*]select libraries tab
[*]Click on Add
[*]Click on New
[*]Specify "JBO WL Client" in the NAME
[*]Click on ... button for adding the jar files
[*]Click on Add/Zip jar button to add the following files
weblogicaux.jar
jboremoteejb.zip
jboremote.zip
<Weblogic_home>/classes
[*]Click on OK
[*]Start the weblogic server
[*]Bring the BC4J Tester by doing a right mouse on the appmodule and selecting Test option
[*]In the Middle Tier Server Type Select "Weblogic"
[*]Specify Host name and port # of weblogic server
[*]Click on Connect[list]
raghu
nullAlthough this explains how to then deploy to Weblogic on another server, it still presumes that it is installed on the same computer as JDev. I moved the weblogic.jar file over to the computer and fudged a few things to get it to work.
Also, I am testing this with Weblogic 6.0, so some of the information does not work as prescribed. I edited the config.xml instead of the weblogic.properties file. I am trying to figure out where to put all of the *.jar and *.zip files that I copied over to the Solaris machine with Weblogic. Any suggestions?
And one of the steps in the section to create the deploybc4j.cmd file is wrong. It says
"%JAVA% weblogic.ejbc -compiler javac f:\jdev32\myclasses\wlappmodule.jar f:\jdev32\myclasses\wlAppModuleGenerated.jar;f:\jdev32\lib\jbodomorcl.zip"
Which does not work. I took off the last part:
"%JAVA% weblogic.ejbc -compiler javac f:\jdev32\myclasses\wlappmodule.jar f:\jdev32\myclasses\wlAppModuleGenerated.jar"
and it worked. It was getting that whole last part and trying to create a directory with that name and failing.
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by David Shanes ([email protected]):
This seems to assume that JDev and Weblogic are installed on the same server (I refer to the section on setting the setenv.cmd file in the WEBLOGIC_HOME dir that includes the path to the JDev install.
I have JDev installed on a Win 2k box and Weblogic installed on a Solaris. Any suggestions? I got all the way up to the setenv.cmd step fine.<HR></BLOCKQUOTE>
null -
Steps to deploy the bean in weblogic
Im new to this J2ee. I want to know the steps to deploy the bean in weblogic.
Please send me the information about the weblogic server ( including the steps) or give me a URL for tutorial.Thanks.
it has not enough information.
i need all the information abt the server and compile and deployment steps for weblogic7.0
pls send a reply. -
Stateful Session Bean with BMT: JDBCpmf or EEpmf?
Quote:
For the record: when using BMT as David described, you should use a JDBCPersistenceManagerFactory
instead of an EEPersistenceManagerFactory. EEPersistenceManagerFactory is only appropriate when
transaction synchronization is desired.
-Patrick
Hi Patrick,
I wanted to follow up on this. In the case of Kodo, the JDBCpmf does not turn on the
UserTransaction in a managed environment, while the EEpmf does. My question: isn't is necessary to
turn on the UserTransaction in a stateful session bean with BMT? If this doesn't happen, isn't
there a danger, if the bean allows transactions to span business method invocations, that the
container will passivate the bean while a transaction is active? Since the PM can't be saved during
passivation, the tx would be interrupted by passivation -- something that would not happen if the
container were aware that a tx was active.
David EzzioDavid,
My interpretation of your initial post was that you were using fully
unmanaged transactions in your bean. That is, that you were not using the
UserTransaction, but were just using the javax.jdo.Transaction for
transactional data store access.
In the situation I just described, using the EEPMF would result in changes
to the UserTransaction. If your goal was to manage the UserTransaction in
the bean, then yes, you'd still want to use the EEPMF.
-Patrick
On 7/25/02 7:17 PM, "David Ezzio" <[email protected]> wrote:
Quote:
For the record: when using BMT as David described, you should use a
JDBCPersistenceManagerFactory
instead of an EEPersistenceManagerFactory. EEPersistenceManagerFactory is only
appropriate when
transaction synchronization is desired.
-Patrick
Hi Patrick,
I wanted to follow up on this. In the case of Kodo, the JDBCpmf does not turn
on the
UserTransaction in a managed environment, while the EEpmf does. My question:
isn't is necessary to
turn on the UserTransaction in a stateful session bean with BMT? If this
doesn't happen, isn't
there a danger, if the bean allows transactions to span business method
invocations, that the
container will passivate the bean while a transaction is active? Since the PM
can't be saved during
passivation, the tx would be interrupted by passivation -- something that
would not happen if the
container were aware that a tx was active.
David Ezzio--
Patrick Linskey [email protected]
SolarMetric Inc. http://www.solarmetric.com -
Creating and deploying ejb 3.0 session bean with annotated pojo
I try to create and deploy a EJB 3.0 stateless session bean (and associated webservice) with the following steps:
1) Create Interface "Repository"
package de.xxx.config;
import java.rmi.Remote;
import java.rmi.RemoteException;
import javax.jws.WebMethod;
import javax.jws.WebService;
@WebService
public interface Repository extends Remote {
@WebMethod(operationName = "findCampaignByChannel")
public String findCampaignByChannel(String channelName) throws RemoteException;
2) create dummy "RepositoryImpl"
package de.xxx.config;
import java.rmi.RemoteException;
import javax.ejb.Stateless;
import javax.jws.WebService;
@WebService(endpointInterface="de.xxx.config.Repository")
@Stateless
public class RepositoryImpl implements Repository {
public String findCampaignByChannel(String channelName) throws RemoteException {
return null;
3) The two class files are packaged into a jar without any further descriptors
4) The jar is deployed with admin_client into the oc4j instance using the commands:
-deploy -file <jarfile> -deploymentName <name>
Result:
An ear was constructed and started but no session bean or webservice is found (using the console). But according to to the docs a jar file without a ejb-jar.xml should be recognized as a EJB 3.0 ejb-jar file and the necessary steps to create session bean and expose webservice should be done automatically.
My question:
Which step do i miss here ?
Tools used:
Eclipse 3.2 for the jar file
SoaSuite 10.1.3.1 for oc4janother strange problem.
i have an APplication server added ( JBOSS ).
when i create deployment profile (EAR ) application server is showed in the ComboBox .
But when i create Java Test Client for some EJB and when i check " Connect Remote Application server" there is 2 comboboxes
J2EE Application
App Server Connection.
first combo is ok there is EJB applicaiton
Secound is empty .. but i Have App Server.
Another think is that when i create EJB 3.0 its BAD to see J2EE app it must be J EE 5 app or just Java EE app -
How to run a client program in Session bean using weblogic 8.1
Hi
I am new to weblogic server 8.1. I sucessfully deployed session ejb Session Bean. I created sessionbean jar file and put it it classpath also.
and also i created sessiobeanclient jar file, it included in class path.
While running client program it throws exception like noclass def found exception
plz tell me the right way to run the session ejb program.
byeHi,
You have to follow the given steps before you are going to run the client program that invokes the session bean .
1)set the Weblogic Environment using the tool setWLSEnv
2)place the Session bean jar file in classpath
3)run the client program
Note:If the client has to execute on remote machine we need to copy client class,remote interface, home interface and other classes which are used as
parameters and return types.
Regards
Anilkumar kari -
Exception while accessing deployed session bean
Hi,
I am new to IPlanet AS 6.0 . I wrote a simple stateless session bean in Forte EE v 3.0 environment. The compilation and deployment went fine. When I try to use my bean through a client program using IIOP then it throws the following exception in kjs:
javax.naming.NameNotFoundException: EjbContext: exception on getHome(), com.netscape.server.eb.UncheckedException: unchecked exception thrown by impl com.kivasoft.eb.boot.EBBootstrapImpl@71dc3d; nested exception is:
java.lang.NullPointerException
at com.netscape.server.ejb.EjbContext.createHomeRef(Unknown Source)
at com.netscape.server.ejb.EjbContext.getHomeRef(Unknown Source)
at com.netscape.server.ejb.EjbContext.lookup(Unknown Source)
at com.netscape.server.jndi.RootContext.lookup(Unknown Source)
at com.netscape.server.jndi.RootContext.lookup(Unknown Source)
at javax.naming.InitialContext.lookup(InitialContext. java:357)
at com.netscape.ejb.CorbaHomeFactoryImpl.ConstructEJBHome(Unknown Source
at com.netscape.CosNaming.NamingContextImpl.resolve(Unknown Source)
at org.omg.CosNaming._NamingContextImplBase.invoke(_N amingContextImplBas
e.java:233)
at com.sun.corba.ee.internal.corba.ServerDelegate.dis patch(ServerDelegat
e.java:236)
at com.sun.corba.ee.internal.iiop.ORB.process(ORB.jav a:227)
at com.sun.corba.ee.internal.iiop.CachedWorkerThread. doWork(IIOPConnecti
on.java:262)
at com.sun.corba.ee.internal.iiop.CachedWorkerThread. run(IIOPConnection.
java:230)
My client program is:
import java.util.*;
import javax.naming.Context;
import javax.naming.InitialContext;
import javax.rmi.PortableRemoteObject;
public class MybeanClient {
public static void main(String[] args) {
try {
Properties env = new Properties();
env.put("java.naming.factory.initial","com.sun.jndi.cosnaming.CNCtxFactory");
env.put("java.naming.provider.url", "iiop://localhost:9010");
Context initial = new InitialContext(env);
Object objref = initial.lookup("ejb/Mybean");
MybeanHome home =(MybeanHome)PortableRemoteObject.narrow(objref,My beanHome.class);
Mybean bean = home.create();
String result = bean.test();
System.out.println(result);
} catch (Exception ex) {
System.err.println("Caught an unexpected exception!");
ex.printStackTrace();
The j2eeguide.converter sample bundled with IPlanet works fine with the above code.
The only difference is that the converter sample was deployed by the IAS deployment tool.
Mybean was deployed by the Forte.
What is the problem?
Any help would be highly appreciated.1. Check that iiop is enabled in ias-ejb-jar.xml
2. Check your naming in the xml files
3. Check what has been deployed (filesystem & kregedit)
4. Try it with the full qualified name ejb/'ejbfilename'/<ejb-name> -
Example of using session bean with webservices
Hello,
I am working with netbeans 5.5 (with JAX-WS 2.0 library) and using Tomcat.
I have created webservices and everything is working well so far. However, each webservice is making a connection to my database.
I would like to use a session bean so that I make the connection only once (at the begining of the client session for example) and store it into my session bean.
I am a newbie in those things, I search on the Web and on this forum some code examples. The only thing I have found is this article http://weblogs.java.net/blog/ramapulavarthi/archive/2006/06/maintaining_ses.html
When I tried this, the session doesn't seem to work at all : I get the same result (counter=1) twice.
Does anybody have a complete example of how to use a session with webservices please?
Thanks a lot!Sorry, I was not very clear in my last message.
I need all my webservices to share the same bean during one user session.
Then, if a page calls 2 different web services, only 1 database connection is made instead of 2. And if the user opens other pages which call other webservices, they will use the connection kept into the session bean.
Anyway, I tried to do like it is said in your website but I can not build my project. I have an error : java.lang.LinkageError: JAXB 2.0 API is being loaded from the bootstrap classloader, but this RI (from jar:file:/C:/.../build/web/WEB-INF/lib/jaxb-impl.jar!/com/sun/xml/bind/v2/model/impl/ModelBuilder.class) needs 2.1 API. Use the endorsed directory mechanism to place jaxb-api.jar in the bootstrap classloader. I do not understand because I have downloaded the jax-ws 2.1.1 api and no other libraries are imported in my project. :-(
I wonder if it is not related to netbeans... -
Deploying entity beans with Local interfaces on Jboss
Hi, I'm trying to deploying a simple entity bean on Jboss. The EJB has been developed with Local Interfaces because then I want to access it with a session bean facade.
I get the following error:
<!-- ERROR BEGIN -->
23:41:25,984 WARN [verifier] EJB spec violation:
Bean : UsersEJB
Section: 9.2.2
Warning: The entity bean class must not be defined as abstract.
23:41:25,984 WARN [verifier] EJB spec violation:
Bean : UsersEJB
Section: 9.4.7.1
Warning: The primkey-field element must name a public field in the bean implemen
tation class.
<!-- ERROR END -->
I'm following what is wrote in the Professional EJB editeb by wrox?
Is it possible to deploy an entity bean alone with Local interfaces? Is there something I'm missing? It's true that I defined the implementation class as abstract, but because there are abstract getter/setter methods.
Thanks for any help,
MarcoGreetings,
Hi, I'm trying to deploying a simple entity bean on
Jboss. The EJB has been developed with Local
23:41:25,984 WARN [verifier] EJB spec violation:
Bean : UsersEJB
Section: 9.2.2
Warning: The entity bean class must not be defined as abstract.
23:41:25,984 WARN [verifier] EJB spec violation:
Bean : UsersEJB
Section: 9.4.7.1
Warning: The primkey-field element must name a public field in
the bean implementation class.What version of JBoss are you using? These errors indicate container compliance with EJB spec 1.1, not 2.0 to which your CMP beans are written. Download the latest JBoss release version - 3.2.1 - and you should not see this problem.
Is it possible to deploy an entity bean alone with
Local interfaces? Is there something I'm missing? It'sYes it is (no, you are not "missing something" ;). In fact, this is recommended practice in most cases under CMP 2.0 - CMR having been a major impetus to the development of Local interfaces in the specification. ;)
true that I defined the implementation class as
abstract, but because there are abstract getter/setter
methods.No problems. You are "right on track" for CMP 2.0. :)
Thanks for any help,
MarcoRegards,
Tony "Vee Schade" Cook -
Using a Statefull Session Bean with RMI on Multiple JSP pages
Heya all,
i have a JBoss server running with a statefull bean on it. I want to use it on my JSP pages. But every time I start my JSP-page a NEW INSTANTION of the bean is created! For each user using my page, I want ONE bean.
Is there anyway to do this? ANything with the sessioncontext?
I can do it with local beans, using the simple tags in the JSP-page, but they do not work for Remote Beans.
(I use JNDI)hi,
statefull session beans are client session specific. the instance will exists if client session exits.
now since u are loading the jsp page again in the other browser, a new instance will be associated with the current session.
hope it will work.
sameer -
Errors while deploying EJB3 beans in Weblogic server 10.
Hi All,
I am new to weblogic as well as EJB3. While trying to deploy an ant generated ejb3 bean in weblogic server 10, I got the following errors. I don't know where I went wrong. All you experts out there, pls. help me out.
Error Stack Trace
C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\UserAccessControlsDAOBean_p488kg_UserAccessControlsDAOLocalImpl.java:364: modifier transient not allowed here
public transient com.picmond.jaas.dto.UserAccessControls getUniqueResult(org.hibernate.criterion.SimpleExpression[] arg0)
^
C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\UserAccessControlsDAOBean_p488kg_UserAccessControlsDAOLocalImpl.java:526: add(com.picmond.jaas.dto.UserAccessControls) is already defined in com.picmond.jaas.dto.UserAccessCont
public void add(com.picmond.jaas.dto.UserAccessControls arg0)
^
C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\UserAccessControlsDAOBean_p488kg_UserAccessControlsDAOLocalImpl.java:607: modifier transient not allowed here
public transient org.hibernate.Criteria createCriteria(org.hibernate.criterion.Criterion[] arg0)
^
C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\UserAccessControlsDAOBean_p488kg_UserAccessControlsDAOLocalImpl.java:688: modifier transient not allowed here
public transient java.util.List<com.picmond.jaas.dto.UserAccessControls> getList(org.hibernate.criterion.SimpleExpression[] arg0)
^
C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\UserAccessControlsDAOBean_p488kg_UserAccessControlsDAOLocalImpl.java:850: remove(com.picmond.jaas.dto.UserAccessControls) is already defined in com.picmond.jaas.dto.UserAccessC
public void remove(com.picmond.jaas.dto.UserAccessControls arg0)
^
C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\UserAccessControlsDAOBean_p488kg_UserAccessControlsDAOLocalImpl.java:931: findByExample(com.picmond.jaas.dto.UserAccessControls) is already defined in com.picmond.jaas.dto.User
public java.util.List<com.picmond.jaas.dto.UserAccessControls> findByExample(com.picmond.jaas.dto.UserAccessControls arg0)
^
C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\UserAccessControlsDAOBean_p488kg_UserAccessControlsDAOLocalImpl.java:1012: merge(com.picmond.jaas.dto.UserAccessControls) is already defined in com.picmond.jaas.dto.UserAccessC
public com.picmond.jaas.dto.UserAccessControls merge(com.picmond.jaas.dto.UserAccessControls arg0)
^
C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\RolesDAOBean_ya6yd2_Intf.java:19: modifier transient not allowed here
public transient org.hibernate.Criteria createCriteria(org.hibernate.criterion.Criterion[] arg0);
^
C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\RolesDAOBean_ya6yd2_Intf.java:23: modifier transient not allowed here
public transient java.util.List<com.picmond.jaas.dto.Roles> getList(org.hibernate.criterion.SimpleExpression[] arg0);
^
C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\RolesDAOBean_ya6yd2_Intf.java:26: modifier transient not allowed here
public transient com.picmond.jaas.dto.Roles getUniqueResult(org.hibernate.criterion.SimpleExpression[] arg0);
^
C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\AccessControlsDAOBean_2hpczk_Intf.java:19: modifier transient not allowed here
public transient org.hibernate.Criteria createCriteria(org.hibernate.criterion.Criterion[] arg0);
^
C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\AccessControlsDAOBean_2hpczk_Intf.java:23: modifier transient not allowed here
public transient java.util.List<com.picmond.jaas.dto.AccessControls> getList(org.hibernate.criterion.SimpleExpression[] arg0);
^
C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\AccessControlsDAOBean_2hpczk_Intf.java:26: modifier transient not allowed here
public transient com.picmond.jaas.dto.AccessControls getUniqueResult(org.hibernate.criterion.SimpleExpression[] arg0);
^
C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\UserAccessControlsDAOBean_p488kg_Intf.java:19: modifier transient not allowed here
public transient org.hibernate.Criteria createCriteria(org.hibernate.criterion.Criterion[] arg0);
^
C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\UserAccessControlsDAOBean_p488kg_Intf.java:23: modifier transient not allowed here
public transient java.util.List<com.picmond.jaas.dto.UserAccessControls> getList(org.hibernate.criterion.SimpleExpression[] arg0);
^
C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\UserAccessControlsDAOBean_p488kg_Intf.java:26: modifier transient not allowed here
public transient com.picmond.jaas.dto.UserAccessControls getUniqueResult(org.hibernate.criterion.SimpleExpression[] arg0);
^
C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\AccessControlsDAOBean_2hpczk_AccessControlsDAOLocalImpl.java:202: merge(com.picmond.jaas.dto.AccessControls) is already defined in com.picmond.jaas.dto.AccessControlsDAOBean_2h
public com.picmond.jaas.dto.AccessControls merge(com.picmond.jaas.dto.AccessControls arg0)
^
C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\AccessControlsDAOBean_2hpczk_AccessControlsDAOLocalImpl.java:445: modifier transient not allowed here
public transient com.picmond.jaas.dto.AccessControls getUniqueResult(org.hibernate.criterion.SimpleExpression[] arg0)
^
C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\AccessControlsDAOBean_2hpczk_AccessControlsDAOLocalImpl.java:607: modifier transient not allowed here
public transient org.hibernate.Criteria createCriteria(org.hibernate.criterion.Criterion[] arg0)
^
C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\AccessControlsDAOBean_2hpczk_AccessControlsDAOLocalImpl.java:769: modifier transient not allowed here
public transient java.util.List<com.picmond.jaas.dto.AccessControls> getList(org.hibernate.criterion.SimpleExpression[] arg0)
^
C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\AccessControlsDAOBean_2hpczk_AccessControlsDAOLocalImpl.java:850: remove(com.picmond.jaas.dto.AccessControls) is already defined in com.picmond.jaas.dto.AccessControlsDAOBean_2
public void remove(com.picmond.jaas.dto.AccessControls arg0)
^
C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\AccessControlsDAOBean_2hpczk_AccessControlsDAOLocalImpl.java:931: add(com.picmond.jaas.dto.AccessControls) is already defined in com.picmond.jaas.dto.AccessControlsDAOBean_2hpc
public void add(com.picmond.jaas.dto.AccessControls arg0)
^
C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\AccessControlsDAOBean_2hpczk_AccessControlsDAOLocalImpl.java:1012: findByExample(com.picmond.jaas.dto.AccessControls) is already defined in com.picmond.jaas.dto.AccessControlsD
public java.util.List<com.picmond.jaas.dto.AccessControls> findByExample(com.picmond.jaas.dto.AccessControls arg0)
^
C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\ActivityTypesDAOBean_im1pf4_ActivityTypesDAOLocalImpl.java:283: merge(com.picmond.jaas.dto.ActivityTypes) is already defined in com.picmond.jaas.dto.ActivityTypesDAOBean_im1pf4
public com.picmond.jaas.dto.ActivityTypes merge(com.picmond.jaas.dto.ActivityTypes arg0)
^
C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\ActivityTypesDAOBean_im1pf4_ActivityTypesDAOLocalImpl.java:445: add(com.picmond.jaas.dto.ActivityTypes) is already defined in com.picmond.jaas.dto.ActivityTypesDAOBean_im1pf4_A
public void add(com.picmond.jaas.dto.ActivityTypes arg0)
^
C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\ActivityTypesDAOBean_im1pf4_ActivityTypesDAOLocalImpl.java:526: modifier transient not allowed here
public transient com.picmond.jaas.dto.ActivityTypes getUniqueResult(org.hibernate.criterion.SimpleExpression[] arg0)
^
C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\ActivityTypesDAOBean_im1pf4_ActivityTypesDAOLocalImpl.java:769: modifier transient not allowed here
public transient org.hibernate.Criteria createCriteria(org.hibernate.criterion.Criterion[] arg0)
^
C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\ActivityTypesDAOBean_im1pf4_ActivityTypesDAOLocalImpl.java:850: modifier transient not allowed here
public transient java.util.List<com.picmond.jaas.dto.ActivityTypes> getList(org.hibernate.criterion.SimpleExpression[] arg0)
^
C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\ActivityTypesDAOBean_im1pf4_ActivityTypesDAOLocalImpl.java:931: remove(com.picmond.jaas.dto.ActivityTypes) is already defined in com.picmond.jaas.dto.ActivityTypesDAOBean_im1pf
public void remove(com.picmond.jaas.dto.ActivityTypes arg0)
^
C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\ActivityTypesDAOBean_im1pf4_ActivityTypesDAOLocalImpl.java:1012: findByExample(com.picmond.jaas.dto.ActivityTypes) is already defined in com.picmond.jaas.dto.ActivityTypesDAOBe
public java.util.List<com.picmond.jaas.dto.ActivityTypes> findByExample(com.picmond.jaas.dto.ActivityTypes arg0)
^
C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\ActivityTypesDAOBean_im1pf4_Intf.java:19: modifier transient not allowed here
public transient org.hibernate.Criteria createCriteria(org.hibernate.criterion.Criterion[] arg0);
^
C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\ActivityTypesDAOBean_im1pf4_Intf.java:23: modifier transient not allowed here
public transient java.util.List<com.picmond.jaas.dto.ActivityTypes> getList(org.hibernate.criterion.SimpleExpression[] arg0);
^
C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\ActivityTypesDAOBean_im1pf4_Intf.java:26: modifier transient not allowed here
public transient com.picmond.jaas.dto.ActivityTypes getUniqueResult(org.hibernate.criterion.SimpleExpression[] arg0);
^
C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\UsersDAOBean_a4wuvg_Intf.java:19: modifier transient not allowed here
public transient org.hibernate.Criteria createCriteria(org.hibernate.criterion.Criterion[] arg0);
^
C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\UsersDAOBean_a4wuvg_Intf.java:23: modifier transient not allowed here
public transient java.util.List<com.picmond.jaas.dto.Users> getList(org.hibernate.criterion.SimpleExpression[] arg0);
^
C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\UsersDAOBean_a4wuvg_Intf.java:26: modifier transient not allowed here
public transient com.picmond.jaas.dto.Users getUniqueResult(org.hibernate.criterion.SimpleExpression[] arg0);
^
C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\RolesDAOBean_ya6yd2_RolesDAOLocalImpl.java:364: add(com.picmond.jaas.dto.Roles) is already defined in com.picmond.jaas.dto.RolesDAOBean_ya6yd2_RolesDAOLocalImpl
public void add(com.picmond.jaas.dto.Roles arg0)
^
C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\RolesDAOBean_ya6yd2_RolesDAOLocalImpl.java:445: modifier transient not allowed here
public transient com.picmond.jaas.dto.Roles getUniqueResult(org.hibernate.criterion.SimpleExpression[] arg0)
^
C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\RolesDAOBean_ya6yd2_RolesDAOLocalImpl.java:607: merge(com.picmond.jaas.dto.Roles) is already defined in com.picmond.jaas.dto.RolesDAOBean_ya6yd2_RolesDAOLocalImpl
public com.picmond.jaas.dto.Roles merge(com.picmond.jaas.dto.Roles arg0)
^
C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\RolesDAOBean_ya6yd2_RolesDAOLocalImpl.java:688: modifier transient not allowed here
public transient org.hibernate.Criteria createCriteria(org.hibernate.criterion.Criterion[] arg0)
^
C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\RolesDAOBean_ya6yd2_RolesDAOLocalImpl.java:850: modifier transient not allowed here
public transient java.util.List<com.picmond.jaas.dto.Roles> getList(org.hibernate.criterion.SimpleExpression[] arg0)
^
C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\RolesDAOBean_ya6yd2_RolesDAOLocalImpl.java:931: remove(com.picmond.jaas.dto.Roles) is already defined in com.picmond.jaas.dto.RolesDAOBean_ya6yd2_RolesDAOLocalImpl
public void remove(com.picmond.jaas.dto.Roles arg0)
^
C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\RolesDAOBean_ya6yd2_RolesDAOLocalImpl.java:1012: findByExample(com.picmond.jaas.dto.Roles) is already defined in com.picmond.jaas.dto.RolesDAOBean_ya6yd2_RolesDAOLocalImpl
public java.util.List<com.picmond.jaas.dto.Roles> findByExample(com.picmond.jaas.dto.Roles arg0)
^
C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\UsersDAOBean_a4wuvg_UsersDAOLocalImpl.java:364: add(com.picmond.jaas.dto.Users) is already defined in com.picmond.jaas.dto.UsersDAOBean_a4wuvg_UsersDAOLocalImpl
public void add(com.picmond.jaas.dto.Users arg0)
^
C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\UsersDAOBean_a4wuvg_UsersDAOLocalImpl.java:445: modifier transient not allowed here
public transient com.picmond.jaas.dto.Users getUniqueResult(org.hibernate.criterion.SimpleExpression[] arg0)
^
C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\UsersDAOBean_a4wuvg_UsersDAOLocalImpl.java:526: modifier transient not allowed here
public transient org.hibernate.Criteria createCriteria(org.hibernate.criterion.Criterion[] arg0)
^
C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\UsersDAOBean_a4wuvg_UsersDAOLocalImpl.java:688: modifier transient not allowed here
public transient java.util.List<com.picmond.jaas.dto.Users> getList(org.hibernate.criterion.SimpleExpression[] arg0)
^
C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\UsersDAOBean_a4wuvg_UsersDAOLocalImpl.java:769: findByExample(com.picmond.jaas.dto.Users) is already defined in com.picmond.jaas.dto.UsersDAOBean_a4wuvg_UsersDAOLocalImpl
public java.util.List<com.picmond.jaas.dto.Users> findByExample(com.picmond.jaas.dto.Users arg0)
^
C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\UsersDAOBean_a4wuvg_UsersDAOLocalImpl.java:931: remove(com.picmond.jaas.dto.Users) is already defined in com.picmond.jaas.dto.UsersDAOBean_a4wuvg_UsersDAOLocalImpl
public void remove(com.picmond.jaas.dto.Users arg0)
^
C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\UsersDAOBean_a4wuvg_UsersDAOLocalImpl.java:1012: merge(com.picmond.jaas.dto.Users) is already defined in com.picmond.jaas.dto.UsersDAOBean_a4wuvg_UsersDAOLocalImpl
public com.picmond.jaas.dto.Users merge(com.picmond.jaas.dto.Users arg0)
^
50 errors
at weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.java:457)
at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:295)
at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:303)
at weblogic.ejb.container.ejbc.EJBCompiler.doCompile(EJBCompiler.java:343)
at weblogic.ejb.container.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:533)
at weblogic.ejb.container.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:500)
at weblogic.ejb.container.deployer.EJBDeployer.runEJBC(EJBDeployer.java:476)
at weblogic.ejb.container.deployer.EJBDeployer.compileJar(EJBDeployer.java:798)
at weblogic.ejb.container.deployer.EJBDeployer.compileIfNecessary(EJBDeployer.java:701)
at weblogic.ejb.container.deployer.EJBDeployer.prepare(EJBDeployer.java:1234)
at weblogic.ejb.container.deployer.EJBModule.prepare(EJBModule.java:372)
>Hi,
The issue is that the weblogic EJB compiler isn't reading the varargs method modifier properly in your class files (it is mistaking it for a transient field). I think you will either have to:
a) Remove vararg methods from your EJBs.
b) Wait for a new release of Weblogic 10.
This issue was a bit of a pain for us as we are trying to use Seam to integrate various bits of the JEE specification together (and the Seam TimerDispatcher EJB uses vararg methods). -
Session bean with 2 entity bean
i have a phonebook manager (session bean) taht controls the category of contacts such as group a , group b, group c and group d. where group a b c and d are all entity beans.
may i know how to control a session bean so that it can diferent which entity beans to invoke ?Group might be a table in a database,
GroupEJB referes to Entity Bean.
with the following fields. Group Id , Group disciption. where group ID is primary Key.
Use a session bean and create your group A B C D.( EJB create method).
Simple i guess.
Enjoy
Zoha. -
Portlet question- session.invalidate()- with weblogic
Guys:
Has anyone had a issue with session.invalidate() using weblogic 8.1.
we have vignette and weblogic 8.1.
the problem i have noticed is session.getId retunrns a extra timestamp string in the end. And i am thinking since this changes the entire sessionid, it does not get invalidated. I tried adjusting the weblogic.xml's idlength session-param to 52 but this still happens after that. can anyone suggest any insights. i am unable to kill the session and hence the user is always logged in. the only way is to close to broswer window.
session id:
F1z2YTQMyD3Yy1Xs4VBHyq3M7LWVfYMnvWJgYLnrR3cPYnKL9NW9!-682555724!1170191618061
any help will be appreciated..thanks.
Harshi havent gone to weblogic support yet. Want to check
if anyone of us might have seen a similar issue.I haven't used weblogic in a while. I doubt many people here have. I would suggest you ask on a weblogic forum. This is a java forum. -
Deploying session bean on sun java application server
Hi,
I'm using sun java system application server 8.2.
I just want to deploy a session bean (stateless) on it.
Please tell me the procedure.
Thanksproblem is coming in Resource Type and Factory class when configuring JNDI.
what value I should give for the Resource Type and Factory class?
Please tell me.
Thanks
Maybe you are looking for
-
HP Notebook - 15-ac043tu - NOT ABLE TO INSTALL WIFI DRIVERS FOR WINDOWS 7 -64 BIT
I baught HP Notebook - 15-ac043tu. I am not able to install wifi drivers in windows 7 home edition . I have downloaded all drivers from HP Link shown below, http://support.hp.com/in-en/drivers/selfservice/hp-15-ac000-notebook-pc-series/7771404/model/
-
Get current list of programs in used
Hi, Is there a function module can I use to get the current list of programs or tcode being used? What I mean is that a user started tcode - CL02, I need to create a report that is showing that CL02 is being accessed by that user. Thanks.
-
How do I get rid of Trovi which redirects
please give my step-by-step how to get rid of Trovi
-
[svn] 1915: turn merge tracking on
Revision: 1915 Author: [email protected] Date: 2008-06-02 13:14:51 -0700 (Mon, 02 Jun 2008) Log Message: turn merge tracking on Property Changed: flex/sdk/trunk/
-
[Solved] util-linux and eject in conflict
I have installed all updates smoothly for the past few weeks, but this morning I got this: :: util-linux and eject are in conflict. Remove eject? [y/N] error: unresolvable package conflicts detected error: failed to prepare transaction (conflicting d