[JBoss-user] [EJB/JBoss] - Re: javax.naming.NoInitialContextException
Here is my client code that call a simple Statefull Session bean: | public static void go() throws Exception{ | | Context ic = new InitialContext(); | Object o = ic.lookup("Hello"); | HelloHome home = (HelloHome) PortableRemoteObject.narrow(o,HelloHome.class); | Hello helloer = home.create("Test"); | System.out.println("From EJB: "+helloer.hello()); | helloer.remove(); | } | public static void main(String[] args) | { | try{ | go(); | } | catch(Exception ex){ | ex.printStackTrace(); | } | | } | --- Here is my jboss.xml : | | | | | | | | Hello | ejb/Hello | | | | | | | | | | - Here is the Bean (I use JBOSS IDE to design it): | public class HelloBean implements SessionBean { | | /** | * | */ | private SessionContext context; | private String userName; | public HelloBean() { | super(); | // TODO Auto-generated constructor stub | } | | /* (non-Javadoc) | * @see javax.ejb.SessionBean#setSessionContext(javax.ejb.SessionContext) | */ | public void setSessionContext(SessionContext ctx) | throws EJBException, | RemoteException { | context = ctx; | System.setProperty("java.naming.factory.initial","org.jnp.interfaces.NamingContextFactory"); | System.setProperty("java.naming.provider.url","localhost:1099"); | } | | /* (non-Javadoc) | * @see javax.ejb.SessionBean#ejbRemove() | */ | public void ejbRemove() throws EJBException, RemoteException { | // TODO Auto-generated method stub | } | | /* (non-Javadoc) | * @see javax.ejb.SessionBean#ejbActivate() | */ | public void ejbActivate() throws EJBException, RemoteException { | // TODO Auto-generated method stub | } | | /* (non-Javadoc) | * @see javax.ejb.SessionBean#ejbPassivate() | */ | public void ejbPassivate() throws EJBException, RemoteException { | // TODO Auto-generated method stub | } | | /** | * Default create method | * | * @throws CreateException | * @ejb.create-method | */ | public void ejbCreate() throws CreateException { | // TODO Auto-generated method stub | } | public void ejbCreate(String name) throws CreateException { | userName = name; | } | /** | * Business method | * @ejb.interface-method view-type = "remote" | */ | public String hello() { | // TODO Auto-generated method stub | return "Hello from Stateless Session Bean"+ userName; | } | } | -- I get this error: javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initial at javax.naming.spi.NamingManager.getInitialContext(Unknown Source) at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source) at javax.naming.InitialContext.getURLOrDefaultInitCtx(Unknown Source) at javax.naming.InitialContext.lookup(Unknown Source) at tutorial.client.ClientTest.go(ClientTest.java:30) at tutorial.client.ClientTest.main(ClientTest.java:39) -- Thank you for your help, if you think you need any further info please ask me to send them. Because I use Jboss IDE for EJB3 I don't think it is necessary to post my Home and Component interface but if it is necessary please inform me. THANX View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3894158#3894158 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3894158 --- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration & Deployment] - JBoss 4.0.2 web deployment module query
Hi, sorry about the cross post - I have a query concerning web module deployment, I posted under "Tomcat, HTTPD, Servlets & JSP", seen similar questions here, hence the repost: http://www.jboss.com/index.html?module=bb&op=viewtopic&t=69161 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3894157#3894157 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3894157 --- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration & Deployment] - Re: Deploying web application war file on JBoss App Svr
Can you check your login-config.xml under /server/default/conf folder? You application might be referring to the default login configuration used by the security domain that doesnt have any application-policy mentioned. * * Create users.properties and roles.properties under conf folder and feed with some user data and check it. Regards. Lokesh. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3894155#3894155 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3894155 --- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration & Deployment] - Re: How to deploy a sar after a jar?
You need to tell the SAR that it depends on JAR File by editing its jboss-service.xml file. Take a look at the following example for your reference. < mbean code="xxx" name="yyy" > < depends >jboss:j2ee:service=EJB,jndiName=jName< /depends > < mbean > you should replace the jnName in the above example with the jndiName on which your SAR is depended. If SAR is dependent on multiple files then you can use tag as follows. < mbean code="xxx" name="yyy" > jboss:j2ee:service=EJB,jndiName=jName1 jboss:j2ee:service=EJB,jndiName=jName2 < /mbean > Regards. Lokesh. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3894154#3894154 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3894154 --- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration & Deployment] - Re: How to deploy a sar after a jar?
You need to tell the SAR that it depends on JAR File by editing its jboss-service.xml file. Take a look at the following example for your reference. jboss:j2ee:service=EJB,jndiName=jName you should replace the jnName in the above example with the jndiName on which your SAR is depended. If SAR is dependent on multiple files then you can use tag as follows. jboss:j2ee:service=EJB,jndiName=jName1 jboss:j2ee:service=EJB,jndiName=jName2 Regards. Lokesh. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3894153#3894153 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3894153 --- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Jboss warning(No appenders could be found for logger) du
Make sure that you have log4j.xml file under your /server//conf folder. can be a) all b) default or c) minimal which is according to your configuration. Regards. Lokesh. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3894152#3894152 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3894152 --- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: ClassCastException
please change /server/all/deploy in my previous post to /server/all/lib. Regards. Lokesh. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3894151#3894151 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3894151 --- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: ClassCastException
Remove xerces jar file from /server/all/deploy folder. Xerces already exists under /lib/endorsed folder. as xercesImpl.jar and loaded by Server Loader. Trying to load two jars with the same classes will cause class cast exceptions. Remove the xerces jar from /server/all/deploy folder and try running your application. Regards. Lokesh. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3894150#3894150 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3894150 --- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: jboss-jmx.jar 0 download - where???
It can be found under /lib folder. Where is the root directory of your JBOSS Installation. Regards. Lokesh. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3894149#3894149 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3894149 --- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: JBoss TMP Folder
The tmp directory is the location to which the deployments are copied for local use. All files (including subfolders) in this directory will be deleted on every start up of the JBoss AS. If you find that your JSP file doesnt have the correct timestamp matching then it might not have been compiled during the deployment. To test, edit jsp once again with some content and save it, undo the changes and save it again. This should change the timestamp in the JBOSS_HOME/server//deploy folder. If you see the timestamp change in this folder then everything should work fine. Regards. Lokesh. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3894148#3894148 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3894148 --- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: can not cooect to sqlserver on windows xp or 2003
i think i have sql problem when i use netstat -an on windows 2000 i see tcp 127.0.0.1:1433 0.0.0.0 listening tcp 192.168.1.6:1433 0.0.0.0 listening and i can telnet to this windows with port 1433 but i dont see this protocol and local address on windows xp or 2003 and i cant telnet to these windows with port 1433 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3894147#3894147 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3894147 --- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - JBoss 4.0.2 web module deployment query
Hi, I'm trying to write a simple appln consisting of a JSP page and servlet, combine that into a .war (packed into a .ear) and drop it in the D:\JBoss\jboss402\server\default\deploy directory. The JSP page is found, but the Servlet is not. I have included my steps below: --- 1) JSP and Servlet related files: root/example2/index.jsp root/example2/WEB-INF/web.xml root/example2/WEB_INF/classes/HelloWorld.class - combine example2/*.* ---> example2.war 2) application.xml file root/META-INF/application.xml -combine /META-INF/*.* + example2.war --> example2.ear 3) Deploy .ear file D:\JBoss\jboss402\server\default\deploy\example2.ear 4) web.xml file HelloWorld HelloWorld /servlet/HelloWorld HelloWorld 5) application.xml file Example 2 example2.war /example2 6) JSP page found at: http://localhost:8080/example2/example2/ 7) Servlet NOT found at http://localhost:8080/example2/example2/HelloWorld The JSP link to servlet is : a href="servlet/HelloWorld", but Servlet is not found at: http://localhost:8080/example2/example2/servlet/HelloWorld ERROR Message: type Status report message /example2/example2/servlet/HelloWorld description The requested resource (/example2/example2/servlet/HelloWorld) is not available. - Questions: 1) For the JSP page the url is: http://localhost:8080/example2/example2/ I'm guessing the first "example2" in the URL refers to "example2.ear" and next to "example2.war", is that correct?. 2) why can't it find the Servlet? 3) Is there ever any need to set the classpath for TOMCAT when it comes embedded in JBoss? If yes, point it to where? Thanks for any help, Rohit. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3894142#3894142 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3894142 --- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration & Deployment] - How to deploy a sar after a jar?
I'm developing a system which has a Jboss service (SAR) executing since startup. It has some dependencies on a EJB module (JAR). Each one, the SAR and JAR file, are included within an EAR file. I've configured the EAR by setting up the files application.xml and jboss-app.xml. The last one to deploy the service file. How can I deploy the SAR file after the JAR file? Jboss seems to process the jboss-app.xml file before the application.xml file so a ClassNotFoundException is always thrown. Thanks, nikodc View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3894126#3894126 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3894126 --- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - jboss-cache in weblogic 9.0
Hi, I have the following problem using jboss-cache 1.2.3 with weblogic 9.0 (a) I have configured jboss-cache as a start up class with weblogic 9.0. (b) I have commented out the TransactionManagerLookupClass attribute in the cache-config.xml as it was causing errors when trying to bind with weblogic jndi. (c) After that I am getting the following error in the console during start up of weblogic 9.0 :- (d) I am also using jgroups version 2.2.8 which is in the server classpath along with all the other jboss cache jars Starting JBoss cache using config file etc/jbosscache-config.xml http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3894119#3894119 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3894119 --- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - Re: Type of Principals: Roles, CallerPrincipal?
Hi, After several hours of "Live and Learn" session, we've failed. I'm summarizing: We've loaded correct Roles and CallerPrincipal succesfully to webapp1 inside security-domain java:/jaas/webapp1. But when it calls any ejb, ejb security-domain (java:/jaas/ear) re-authenticates. And since ears' login-module has no domain information about caller, it dismissed previous roles,rolegroups. As a result, it seems jboss security-domain is not useful this time. We couldn't made our ejb's to distinguish two webapp callers. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3894117#3894117 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3894117 --- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JBossMQ Thread Count grows until Linux Too Many Files Op
Unfortunately we received no help with this problem. We checked all connections and objects were being closed and destroyed and still the sockets on each MDB remained. The only solution for us was to move these tasks away from the MDB to a servlet which received the object, fired off a new Thread and processed the object in the Thread destroying the Thread when it was finished. It works well for us but what would have worked better would have been a solution in an existing framework (rant, rant, rant - lol). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3894113#3894113 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3894113 --- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - JBoss TMP Folder
I find several temporary files in the folder C:\jboss-4.0.2\server\default\tmp\deploy. What are they? When i open a browser to see my jsp, i don't see the most recent file!!! http://localhost:8080/ZooWebProject/ apears testz.jsp an the last modified time/date isn't correct!!! Why?? Thanks, claudia PS - Does anybody have followed WTP Tutorial from Eclipse - Building a simple EJB Application?? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3894108#3894108 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3894108 --- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration & Deployment] - Re: Alternative Data Sources
Thanks, I'll see if i can make any since of that. I also just found this article that shows us mere mortals how to do it. http://www.informit.com/articles/article.asp?p=352320&seqNum=4 Jason View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3894106#3894106 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3894106 --- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - How to map C-M-Relationship Field to Table Column?
Hi, Please help! My Database has two tables: "names" - PK (primary key column) - MEMBERS_PK (stores foreign key to "members" - Integer) "members" table with a 1:1 bi-directinal relationship. - PK (primary key column) - NAMES_PK (stores foreign key to "names" - Integer) I can make my Names Entity Bean work with the accessor fields, ejb-jar.xml and jbosscmp-jdbc.xml snipits shown below. Note I can map the "pk" ben field implied by get/set Pk () to the all caps "PK" table column. But I cannot find a way to map a differnt bean field namefor the relationship field associated with the MEMBERS_PK column. I had to use get/setMEMBERS_PK () to make it work. Can anyone tell me what I am missing? I'd really like to: - use get/SetMembersPk () in my bean and - then map "membersPk" to the "MEMBERS_PK" table column. using the tag in jbosscmp-jdbc.xml file just gave me eroros or a giant bit blob being stored. Names ENTITY BEAN SOURCE CODE | | // abstract relationship fields | public abstract MemberLocal getMEMBERS_PK (); | public abstract void setMEMBERS_PK (MemberLocal local); | | // abstract persistence fields | public abstract Integer getPk (); | public abstract void setId (Integer newId); | | ejb-jar.xml | | | | pk | | | | | jbosscmp-jdbc.xml | | | | | pk | PK | | | | | | Please help. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3894103#3894103 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3894103 --- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration & Deployment] - Re: Alternative Data Sources
http://wiki.jboss.org/wiki/Wiki.jsp?page=FAQJBossJCA View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3894102#3894102 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3894102 --- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration & Deployment] - Re: Catalina vs. SUN JRE
You are misinformed. There is no built in tomcat jvm, and catalina is just a code name for tomcat 4. The jboss server whatever jvm you configure via the JAVA_HOME environment variable. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3894100#3894100 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3894100 --- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration & Deployment] - Catalina vs. SUN JRE
Hello, could someone help me please: As I know Catalina is the built-in JVM of Tomcat. Does JBOSS use Catalina or use SUNs JRE/JVM for Tomcat? Also, can it be changed from one to the other? Thanks, Tibor View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3894095#3894095 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3894095 --- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration & Deployment] - Alternative Data Sources
Hello, Is there any documentation on how to get Jboss to work with other databases like Postgres? I have searched the archives and found a few obscure references but nothing really solid. I would think using a another RDMS would be a common practice? Thanks, Jason View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3894089#3894089 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3894089 --- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: 4.0.3rc1: Exception in Timer trying to passivate Statef
See http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3894087#3894087 In summary, it appears that flushing the EntityManager solves the problem but I wasnt sure if the container should be able to passivate an unflushed PersistenceContextType.EXTENDED EntiryManager View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3894088#3894088 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3894088 --- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: can not cooect to sqlserver on windows xp or 2003
"saeedy" wrote : | i take exception i use jtds driver and jboss with j2sdk1.4.1_05 , pesonal sqlserver | "saeedy" wrote : | i use sql server professional on all os | Can you please double check the SQL server version, in the space of 11 hours you have reported two very different version. Did the netstat command show you that SQL server was listening on the port you expected? Also can you try the command 'telnet 192.168.1.1 1433' from the machine running JBoss to see if you can establish a connection to the port you are specifying. The error you have posted suggests that there is nothing listening on the port you have specified: - anonymous wrote : java.sql.SQLException: Connection refused: connect View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3894079#3894079 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3894079 --- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: can not cooect to sqlserver on windows xp or 2003
i use sql server professional on all os and i use windows xp service pack 2 firewall is off and tcp/ip enabled View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3894074#3894074 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3894074 --- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Problems with cache read after failover
Hello! I have a timing issue. Sometimes I am unable to read the cache on failover. In the code that runs just after failover that gets triggered when a node gets made the new cluster loader, I read the cache but I get null back. I look in the cache afterwards and all the data is there. To be specific, I have a node and its peer running concurently. I have a piece of restart code running as a jboss service and the method to invoke on restart is restoreRuntimeState ( see fragment of jboss-service.xml below) When the method called "restoreRuntimeState" is invoked, the cache read returns no data. I look through the mbean for the cache and the data is there so I am wondering why this happening. This is happening intermittently i.e. it works sometimes and at other times it does not. jboss:service=DefaultPartition slee:service=SleeManagement slee:service=MobicentsRuntimeRestore DefaultPartition restoreRuntimeState Can anybody help. Thanks Ranga View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3894070#3894070 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3894070 --- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JNDI/Naming/Network] - rmi.NoSuchObjectException
Hi Guys ! This is the situation: i always ran my application (Working Perfectly) on the same computer as my beans were deployed in this way: p.put("java.naming.factory.initial", "org.jnp.interfaces.NamingContextFactory"); | p.put("java.naming.factory.url.pkgs", "org.jboss.naming:org.jnp.interfaces"); | p.put("java.naming.provider.url","localhost"); and then InitialContext ctx = new InitialContext(p); and finally: ctx.lookup("AdmSolSn"); Well, the problem is that now i have to run my app not in the same computer as JBoss, so i change "localhost" to "192.168.1.52" but this is what i get when i try to start the application: anonymous wrote : javax.naming.CommunicationException [Root exception is java.rmi.NoSuchObjectException: no such object in table] | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:647)[...] The exception references to the third piece of code i write on this post, what i am doing wrong ? do i have to set something more to connect to another JBoss Server? Please Help me, Thanks in advance :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3894068#3894068 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3894068 --- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: can not cooect to sqlserver on windows xp or 2003
Are you installing the same version of SQL server on the XP or 2003 machines as you installed in 2000. What version of Windows 2000 is it professional / server? Have you checked if any firewall is enable on XP that might be blocking comms? Have you verified that tcpip is enable for SQL server? What happened when you executed 'netstat -an' on the XP machine, check the output on the 2000 machine as if that one is working that should show the expected output. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3894059#3894059 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3894059 --- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration & Deployment] - APP_INF properties file
Hello, The suggested way of putting common libraries in JBoss in in the appliocation.xml. Similar to APP-INF in Weblogic. Below. Can someone suggest what to do for Property files which need to be loaded in the classpath for sub components of EAR archives to find?? Is there a way of doing this in the application.xml?? Thanks so much. | | http://java.sun.com/dtd/application_1_3.dtd'> | | | | IC-trace | | | | cabsoft.jar | | | uni-d-client.jar | | | resources.jar | | | | | core.jar | | | | ws.war | /ws/1.0 | | | | | ic-trace.war | / | | | | | admin.war | /admin | | | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3894055#3894055 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3894055 --- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Distributed portlet session
The feature has just been added in the head of CVS. I did some wiki documentation here : http://wiki.jboss.org/wiki/Wiki.jsp?page=DistributedPortletSession View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3894049#3894049 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3894049 --- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: can not cooect to sqlserver on windows xp or 2003
sql server is ok and client can client can connect to this. i am beginner with jboss and jdbc configuration my application running on linux and uses datasource for coonnect to sql server that running on windows os all thing was ok but when i change my os (change it to xp or 2003) i could'nt connect to that sql that runs on this os now can you tell me where is the problem if need to change my structure or my configuration can you introduce documentation about this or tell me a way to solve this problem View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3894047#3894047 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3894047 --- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration & Deployment] - mysql compliant persistencemanager - class??
I want ot set up a datasource with mysql. I use named_pipes for communication to and from databse, because server and db-server are sitting on the same machine. I followed all instructions on http://wiki.jboss.org/wiki/Wiki.jsp?page=SetUpAMysqlDatasource but still got this Exception: anonymous wrote : org.jboss.mq.SpyJMSException: Could not resolve uncommited transactions. Message recovery may not be accurate; - nested throwable: (java.sql.SQLException: Every derived table must have its own alias) | at org.jboss.mq.pm.jdbc2.PersistenceManager.resolveAllUncommitedTXs(PersistenceManager.java:416) | at org.jboss.mq.pm.jdbc2.PersistenceManager.startService(PersistenceManager.java:1498) | at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:287) | at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:236) | at sun.reflect.GeneratedMethodAccessor22.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:72) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644) | at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:974) | at $Proxy0.start(Unknown Source) | at org.jboss.system.ServiceController.start(ServiceController.java:453) | at org.jboss.system.ServiceController.start(ServiceController.java:471) | at org.jboss.system.ServiceController.start(ServiceController.java:471) | at org.jboss.system.ServiceController.start(ServiceController.java:471) | at org.jboss.system.ServiceController.start(ServiceController.java:471) | at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:72) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644) | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176) | at $Proxy4.start(Unknown Source) | at org.jboss.deployment.SARDeployer.start(SARDeployer.java:276) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) | at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:74) | at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:74) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644) | at org.jboss.mx.util.JMXInvocationHandler.invoke(JMXInvocationHandler.java:273) | at $Proxy25.start(Unknown Source) | at org.jboss.deployment.XSLSubDeployer.start(XSLSubDeployer.java:185) | at org.jboss.deployment.MainDeployer.start(MainDeployer.java:973) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:774) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:737) | at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) | at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:74) | at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterc
[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Referencing common classes from a HAR
First, in 4.0.3 the hibernate-service.xml become a normal jboss-service.xml file. If scanning is enabled, each of the individual HAR files would not have a hibernate mbean definition. You could still have other MBeans in there, in which case it is really just a SAR file. The 4.0.3 hibernate integration is documented here: [url]http://docs.jboss.org/nightly/jbossas/adminguide/en/html/ch13.html [/url] View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3894041#3894041 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3894041 --- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - Re: Users don't log out
Hellooo ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3894037#3894037 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3894037 --- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: 4.0.3rc1: Exception in Timer trying to passivate Statef
There is an EJB 3.0 forum in the users section that would probably be a better place to ask your question. What fields do you have in your session bean? Have you defined a PrePassivate callback method to make sure your bean is redy for passivation? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3894036#3894036 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3894036 --- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - 4.0.3rc1: Exception in Timer trying to passivate StatefulBe
I am running 4.0.3rc1 using ejb3 and am seeing the exception below. I saw some post about pasivating an InitialContext in 4.0.3rc1 but Im not sure this is the same. Didnt see any bugs in jira but I cant imagine I am the only person seeing this. I only have one stateful bean with type=PersistenceContextType.EXTENDED. 09:11:20,359 INFO [STDOUT] Exception in thread "Timer-5" 09:11:20,359 INFO [STDOUT] javax.ejb.EJBException: Could not passivate; failed to save state; CausedByException is: org.hibernate.ejb.TransactionImpl 09:11:20,359 INFO [STDOUT] at org.jboss.ejb3.cache.simple.StatefulSessionFilePersistenceManager.passivateSession(StatefulSessionFilePersistenceManager.java:335) 09:11:20,359 INFO [STDOUT] at org.jboss.ejb3.cache.simple.SimpleStatefulCache.passivate(SimpleStatefulCache.java:143) 09:11:20,359 INFO [STDOUT] at org.jboss.ejb3.cache.simple.SimpleStatefulCache$SessionTimeoutTask.run(SimpleStatefulCache.java:92) 09:11:20,375 INFO [STDOUT] at java.util.TimerThread.mainLoop(Timer.java:512) 09:11:20,375 INFO [STDOUT] at java.util.TimerThread.run(Timer.java:462) 09:11:20,375 INFO [STDOUT] java.io.NotSerializableException: org.hibernate.ejb.TransactionImpl 09:11:20,375 INFO [STDOUT] at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1075) 09:11:20,375 INFO [STDOUT] at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1369) 09:11:20,375 INFO [STDOUT] at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1341) 09:11:20,375 INFO [STDOUT] at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1284) 09:11:20,375 INFO [STDOUT] at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1073) 09:11:20,375 INFO [STDOUT] at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:291) 09:11:20,375 INFO [STDOUT] at org.jboss.ejb3.entity.ExtendedPersistenceContext.writeExternal(ExtendedPersistenceContext.java:54) 09:11:20,375 INFO [STDOUT] at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1304) 09:11:20,375 INFO [STDOUT] at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1282) 09:11:20,375 INFO [STDOUT] at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1073) 09:11:20,375 INFO [STDOUT] at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1369) 09:11:20,375 INFO [STDOUT] at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1341) 09:11:20,375 INFO [STDOUT] at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1284) 09:11:20,375 INFO [STDOUT] at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1073) 09:11:20,375 INFO [STDOUT] at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:291) 09:11:20,375 INFO [STDOUT] at java.rmi.MarshalledObject.(MarshalledObject.java:92) 09:11:20,375 INFO [STDOUT] at org.jboss.ejb3.stateful.StatefulBeanContext.writeExternal(StatefulBeanContext.java:120) 09:11:20,375 INFO [STDOUT] at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1304) 09:11:20,375 INFO [STDOUT] at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1282) 09:11:20,375 INFO [STDOUT] at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1073) 09:11:20,375 INFO [STDOUT] at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:291) 09:11:20,375 INFO [STDOUT] at org.jboss.ejb3.cache.simple.StatefulSessionFilePersistenceManager.passivateSession(StatefulSessionFilePersistenceManager.java:326) 09:11:20,375 INFO [STDOUT] at org.jboss.ejb3.cache.simple.SimpleStatefulCache.passivate(SimpleStatefulCache.java:143) 09:11:20,375 INFO [STDOUT] at org.jboss.ejb3.cache.simple.SimpleStatefulCache$SessionTimeoutTask.run(SimpleStatefulCache.java:92) 09:11:20,375 INFO [STDOUT] at java.util.TimerThread.mainLoop(Timer.java:512) 09:11:20,375 INFO [STDOUT] at java.util.TimerThread.run(Timer.java:462) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3894033#3894033 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3894033 --- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - Re: Type of Principals: Roles, CallerPrincipal?
ok. i've made some research about sso and try to use SSO with tomcat's valve. (not the clustered one) Tomcat valve documentation summarizes properties, and requireReauthentication property is: anonymous wrote : | requireReauthentication | | Default false. Flag to determine whether each request needs to be reauthenticated to the security Realm. If "true", this Valve uses cached security credentials (username and password) to reauthenticate to the Realm each request associated with an SSO session. If "false", the Valve can itself authenticate requests based on the presence of a valid SSO cookie, without rechecking with the Realm. | This property is very interesting for our purposes, it seems that if two webapp lay in the same engine, session can be replicated and when host is changed, valve can do reauthentication. Since i'm considering to change CallerPrincipal across domains this can make my idea work unless it does re-authentication if user goes back to the previous domain. On the one hand, i've seen josso for jboss. I seems it does sso with security-domain distinctiong. Unfortunaltely, i'm not favoring using an external authentication mechanism. Need to try first, 0xff, that gonna hurt my brain:( View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3894032#3894032 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3894032 --- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: can not cooect to sqlserver on windows xp or 2003
You could start by looking at: - http://support.microsoft.com/default.aspx?scid=kb;en-us;827422 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3894021#3894021 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3894021 --- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: can not cooect to sqlserver on windows xp or 2003
how can i find personal edition allows network access to it? i am begginer can u help me thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3894019#3894019 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3894019 --- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: jboss-jmx.jar 0 download - where???
The jar is distributed with JBoss. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3894015#3894015 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3894015 --- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - jboss-jmx.jar 0 download - where???
can someone please tell me where I can get hold of this jar file. Can't find it for download anywhere... thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3894014#3894014 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3894014 --- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration & Deployment] - Re: JBoss 4.0.1 on Solaris 10 with JDK 1.5
Thanks. It works now. I just took the zip and used unzip. Filip View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3894013#3894013 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3894013 --- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: Server Load
This will depend very much on the overhead of the portlets you deploy and the volume of use you are expecting such as consurrent users and throughput of their requests. I have JBoss Portal 2.0 installed on JBoss 4.0.2 using the default memory settings without the need to adjust them. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3894012#3894012 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3894012 --- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Compile Warnings
What is your component that you are trying to compile? Generally the only jar you need to reference is jbossall-client.jar in the folder {jboss.home}/client View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3894011#3894011 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3894011 --- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Re: InitialContext access to Resource Adapter - possible err
It looks like you have been trying to mix a number of principles discussed on the web into one and unfortunately this is not how it works. The 'java:comp/env' namespace is a namespace that each compnent has its own private version of. In the deployment descriptors of a component using ejb-ref and resource-ref (and different variations of these) you can specify what needs to be references from the components namespace. These can really be thought of a symbolic links that can be altered so the component does not need to be recompiled if the resources it used are changed. There is another namespace the 'java:' namespace, this contains items that are global to the container but can only be accessed within the container. This (as you have already worked out) is the default place the resource adapter will be bound. In your deployment descriptor you have configured it to bind to the 'java:' namespace using the same String that would be used to access the components namespace. Try removing the 'comp/env' from the name your resource adapter is bound to and adjust the client accordingly and see if that works. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3894010#3894010 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3894010 --- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [J2EE Design Patterns] - Re: Database Object Model Error
Could you please explain your problem further, from your description I can not work out what you are trying to achieve. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3894009#3894009 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3894009 --- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: can not cooect to sqlserver on windows xp or 2003
It is a little while since I last used SQL server, are you sure the personal edition allows network access to it? Does their documentation tell you how to connect to it using JDBC? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3894008#3894008 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3894008 --- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration & Deployment] - Re: Default JBoss Security problem
Ok unless you can justify why you are using that version stop using it and download a later release. JBoss 4.0.0 is the very first production release of the 4.0.x series, there have been quite a lot of fixes / enhancemens since then. The RC1 stands for Release Candidate 1. Release candidate 1 was not considered suitable for production use so there was a release candidate 2 before the production release of JBoss 4.0.0 was made. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3894007#3894007 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3894007 --- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration & Deployment] - Re: Deploying web application war file on JBoss App Svr
Is your application running within JBoss portal or is it an application running on its own? anonymous wrote : Not sure why it's not accepting the default admin/admin credentials Where have you got these defaults from? By default the app server is unsecured so wouldn't have defaults. Have you checked to see if you already have anything installed an listening on port 8080 instead, double check the file {jboss.home}/server/default/log/server.log for any exceptions during start up. (Ignore any exceptions logged as DEBUG). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3894006#3894006 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3894006 --- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - can not cooect to sqlserver on windows xp or 2003
hi in my application i use datasource coneection to coonect to sqlserver. i can only connect to sql server that running on windows 2000 but when i want cooncet to sqlserver that running on window xp or 2003 i take exception i use jtds driver and jboss with j2sdk1.4.1_05 , pesonal sqlserver this is my datasource code //-- Onlline-HISDS jdbc:jtds:sqlserver://192.168.1.1:1433/hsp;user=sa;password= net.sourceforge.jtds.jdbc.Driver sa 50 200 0 // my connection code is InitialContext ic = new InitialContext(); DataSource dc = (DataSource) ic.lookup("java:/Onlline-HISDS"); connection = dc.getConnection(); and exception occured on getConnection(); please help me this is my exception Could not create connection; - nested throwable: (java.sql.SQLException: Connection refused: connect); - nested throwable: (org.jboss.resource.JBossResourceException: Could not create connection; - nested throwable: (java.sql.SQLException: Connection refused: connect)) org.jboss.util.NestedSQLException: Could not create connection; - nested throwable: (java.sql.SQLException: Connection refused: connect); - nested throwable: (org.jboss.resource.JBossResourceException: Could not create connection; - nested throwable: (java.sql.SQLException: Connection refused: connect)) thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3893998#3893998 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3893998 --- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user