Re: [JBoss-user] CMP and finders: optimized?
hi, on serverside.com there's a pattern called 'Fat-Key' that may help to solve this problem: http://www.theserverside.com/patterns/thread.jsp?thread_id=4540 cheers jakob ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Jboss Petstore going to be hard without access to jps 1.1.1
Someone needs to update the patch I think because I didn't see an easy way to obtain the 1.1.1 release on javasoft which the patch requires. ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] New User of Jboss
Do you want to try cleaning up the .jar directories under your tmp folder, restart jboss and try a fresh deploy. If it still fails please send the stack trace. Lets see what we can do about it. Vinay - Original Message - From:Sachin S. Khanna Sent:Sunday, May 06, 2001 7:42 AM To:[EMAIL PROTECTED] Subject:Re: [JBoss-user] New User of Jboss Hello List, I appreciate Vinay's suggestion as it helped me overcome my earlier error, thanks for it Vinay but i have got stuck with the following error: "[Auto deploy] Deployment failed:file:/C:/jboss-2.2/deploy/ch24.jar[Auto deploy] org.jboss.deployment.J2eeDeploymentException: Error while startingch24.jar: Could not deploy file:/C:/jboss-2.2/tmp/deploy/Default/ch24.jar[Auto deploy] at org.jboss.deployment.J2eeDeployer.startApplication(Compiled Code)[Auto deploy] at org.jboss.deployment.J2eeDeployer.deploy(J2eeDeployer.java:178)" I'd appreciate if someone could help me with the solving the above error.Looking forward to hearing from you. Have a nice day.With regards,Sachin S. Khanna - Original Message - From: Vinay Menon To: JBOSS Sent: Saturday, May 05, 2001 9:30 PM Subject: Re: [JBoss-user] New User of Jboss Make sure that you do not have any other jboss.xml and ejb-jar.xml in path. For eg. it you have a directory META-INF under say C:\Work and C:\Work is in the class path .. remove it! The ejb-jar.xml and jboss.xml are loaded from classpath and if it appears in the system class path anywhere the JBoss deployer will take it from there instead of the jar that you provide. Vinay - Original Message - From:Sachin S. Khanna Sent:Saturday, May 05, 2001 1:23 PM To:[EMAIL PROTECTED] Subject:[JBoss-user] New User of Jboss Hello List, I have installed jboss-2.2 on a windows 98 machine having a jdk 1.2 installed on it. When i try to deploy an ejb application it throws an DeploymentException:Error in jboss.xml for Bean Product: found in jboss.xml but not in ejb-jar.xml. I'd appreciate if somebody could help me solve this problem. Looking forward to hearing from you. Have a nice day.With regards,Sachin S. Khannahttp://www.emailanorder.comGet your FREE download of MSN Explorer at http://explorer.msn.com Get your FREE download of MSN Explorer at http://explorer.msn.com
Re: [JBoss-user] Strange Behavior?
Why would you want to do that? Shouldn't commit option 'A' work just fine? Greg, do you want to tell us what your transaction setting is? Vinay - Original Message - From:Rama Rao Sent:Sunday, May 06, 2001 5:48 AM To:[EMAIL PROTECTED] Subject:Re: [JBoss-user] Strange Behavior? set the commit-option in standard jboss.xml for Standard BMP Bean to 'C' I think it works fine, bye rama rao - Original Message - From: Greg Parker To: [EMAIL PROTECTED] Sent: Saturday, May 05, 2001 10:25 PM Subject: [JBoss-user] Strange Behavior? I’m using Jboss 2.0 FINAL, Oracle 8.1.6. I’ve implemented a program using BMP. I call the Create method from within my app and it inserts a record into the database just fine. I’ve verified this. If I then immediately call the findByPrimaryKey method, it does not find the newly created created record. However, if I shut Jboss down and restart, and then call the findByPrimaryKey method, it does find the record. Why would it not find the record immediately after the insert. What’s going on here? Where do I start chasing this problem down? Thank you, GREG++ Get your FREE download of MSN Explorer at http://explorer.msn.com
Re: [JBoss-user] oracle integration
Hi, placed classes12.zip in jboss/lib/ext - Good. That is required modified in jboss.jcml:mbean code="org.jboss.jdbc.JdbcProvider"name="DefaultDomain:service=JdbcProvider"attributename="Drivers"oracle.jdbc.driver.OracleDriver,org.hsql.jdbcDriver,org.enhydra.instantdb.jdbc.idbDriver/attribute/mbean - Fine this should load the Oracle JDBC driversadded in jboss.jcml:mbean code="org.jboss.jdbc.XADataSourceLoader"name="DefaultDomain:service=XADataSource,name=OracleDB"attribute name="PoolName"OracleDS/attributeattributename="DataSourceClass"org.opentools.minerva.jdbc.xa.wrapper.XADataSourceImpl/attributeattributename="URL"jdbc:oracle:thin:@localhost:1521:chili/attributeattribute name="JDBCUser"scott/attributeattribute name="Password"tiger/attribute/mbean - I'd suggest you copy paste the entire mbean tag of DefaultDS and change the values for Oracle. So name=OracleDS and PoolName = Oracle DS and the details [OracleDS] Starting[OracleDS] XA Connection pool OracleDS bound tojava:/OracleDS[OracleDS] Started So it is loading the datasource! You'rea pro!This is the last line in the doc for integrating withOracle8.CMP Type Mapping Names (for jaws.xml): Oracle8Do I need to edit or add to standardjaws.xml? Do Ineed to create another jaws file? - Adda new jaws.xml file in the META-INF directory. Specify the datasource as OracleDS there. There is no need to specify the type mappings... should work without them. For eg a sample jaws.xml filewould look like ?xml version="1.0"? jaws datasourcePartModelDS/datasource type-mapping/type-mapping type-mappings/type-mappings default-entity create-tablefalse/create-table remove-tablefalse/remove-table tuned-updatestrue/tuned-updates read-onlyfalse/read-only time-out300/time-out/default-entity enterprise-beans entity ejb-namePartModelDetailEJB/ejb-name table-namepartmodel_detail/table-name create-tablefalse/create-table remove-tablefalse/remove-table tuned-updatesfalse/tuned-updates read-onlyfalse/read-only time-out300/time-out cmp-field field-namepartid_master/field-name column-namepartid_master/column-name/cmp-field cmp-field field-namelocale/field-name column-namelocale/column-name/cmp-field cmp-field field-namepartdescription/field-name column-namepartdescription/column-name/cmp-field /entity/enterprise-beans/jaws What should my MLet look like for Oracle8? Don't need to do this. Any .zip or .jar file lib/ext will be loadedOnce I have this datasource configured, do I need torefer to it in my ejb-jar.xml or jboss.xml? - Its in jaws.xml as given above Let me know if you have any further problems. VinayGet your FREE download of MSN Explorer at http://explorer.msn.com
[JBoss-user] how to unsubscribe ????
I cant find instructions to get off this list on the sourceforge page . can anyone help thanks
Re: [JBoss-user] Stateless session beans with a little state
Hi, I at least don't understand what state you are referring to as necessary to call external resources. How is this different from doing some jdbc-sql in a stateless session bean? Do you want to maintain a pool of connections to the corba resource? Possibly you are looking for resource adapters from the Java Connector Architecture? (JCA spec is in pfd2, jboss support in jbosscx). This provides a uniform way of among other things pooling connections to legacy resource managers (databases, ERP, other transaction monitors, etc) under various levels of transaction support. david jencks On 2001.05.06 07:08:27 -0400 [EMAIL PROTECTED] wrote: Hello. This message is more of a design question, sorry if it doesn't belong to this list. Stateless session beans are usually used to implement service-like features, such as a CalculatorBean which might have functionality for doing certain kind of calculations. The Staless session beans works fine here. But if I have a service that needs to connect to some kind of resource, e.g. a CORBA service, how should that be implemented with Statless session beans? The bean is stateless in one sense since it doesn't change it's state between calls, but it is stateful in another sense, since it must contain a state to be able to call external resources. My first approach was to put all state initialization in the ejbCreate method, but that might not work if the connection setup is slow. My second approach was to let the clients keep the references to the service beans they use, and use the same bean on each call. I don't know if that is appropriate to do according to EJB though. Question: How should this be implemented? The way to do this in no-ejb-Java would be through connection pools I guess ... which is straght forward and easy, but connection pools of ejb's, hm, that should be handled by the container, right!? / Jonas ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] JBoss / Exolab future
I am currently integrating Exolab's Tyrex as the DTM in JBoss. But due to lack of support of RMI-IIOP in JBoss, my plugin works around to propagate transaction context via RMI Anatoly Akkerman On Fri, 4 May 2001, John Moore wrote: I noticed that a jar file from exolab is delivered with 2.2.1. Are there plans to join forces or utilize any of their Corba services like RMI/IIOP or Naming? John John Moore [mailto:[EMAIL PROTECTED]] PDSI 625 The City Drive Suite 190 Orange, CA 92868 800-850-7374 ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] Re: JBoss-user digest, Vol 1 #394 - 15 msgs
I have heard of this beforelike 5 years ago! Does anyone still pay by the MB for email? jim -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Toby Allsopp Sent: Sunday, May 06, 2001 12:15 AM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] Re: JBoss-user digest, Vol 1 #394 - 15 msgs Aargh! PLEASE, trim your replies. Some of us pay by the megabyte for this stuff. Toby. Guy Rouillier wrote: [63kB of stuff] ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Re: JBoss-user digest, Vol 1 #394 - 15 msgs
jim wrote: I have heard of this beforelike 5 years ago! Does anyone still pay by the MB for email? It's still common in many areas, especially if you include tiered rates where the first tier is cheap but you pay through the nose if you exceed your quota. Trimming quoted material will be good netiquette for generations, even when paying per byte is not the issue. One should always quote the minimum necessary context. It shows that you care to minimize the irrelevancies that one must wade through to get to the actual content. [EMAIL PROTECTED] ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Newbie default installation prob - server seems to pause infinitely
The Allisons wrote: Attached is my log - with my one comment inserted. I'm on Debian running a 2.2 kernel with the default download of JBoss 2.2.1 / Tomcat 3.2.1 For some reason your DefaultDS cannot connect to its database. What's in that section of your jboss.jcml? -danch ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Newbie default installation prob - server seems to pause infinitely
danch wrote: The Allisons wrote: Attached is my log - with my one comment inserted. I'm on Debian running a 2.2 kernel with the default download of JBoss 2.2.1 / Tomcat 3.2.1 For some reason your DefaultDS cannot connect to its database. What's in that section of your jboss.jcml? -danch Here it is - it's whatever is downloadable from the .org site... mbean code=org.jboss.jdbc.XADataSourceLoader name=DefaultDomain:service=XADataSource,name=DefaultDS attribute name=PoolNameDefaultDS/attribute attribute name=DataSourceClassorg.opentools.minerva.jdbc.xa.wrapper.XADataSourceImpl/attribute attribute name=Properties/attribute attribute name=URLjdbc:HypersonicSQL:hsql://localhost:1476/attribute attribute name=GCMinIdleTime120/attribute attribute name=JDBCUsersa/attribute attribute name=MaxSize10/attribute attribute name=Password / attribute name=GCEnabledfalse/attribute attribute name=InvalidateOnErrorfalse/attribute attribute name=TimestampUsedfalse/attribute attribute name=Blockingtrue/attribute attribute name=GCInterval12/attribute attribute name=IdleTimeout180/attribute attribute name=IdleTimeoutEnabledfalse/attribute attribute name=LoggingEnabledfalse/attribute attribute name=MaxIdleTimeoutPercent1.0/attribute attribute name=MinSize0/attribute /mbean ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Anyone know how to federate across multiple jnp...
I will check again. I do belive that this will work, but I think that there might be a problem when it comes to using lookup() on the InitialContext. I will try this again and let you know... I might be doing something wrong =) --jason On Sat, 5 May 2001, Scott M Stark wrote: Its been about a week. Here is a simple test that works against the current cvs: jboss 722cat tstNS.java import java.util.Properties; import javax.naming.*; class tstNS { public static void main(String[] args) throws NamingException { Properties env = new Properties(); env.setProperty(Context.INITIAL_CONTEXT_FACTORY, org.jnp.interfaces.NamingContextFactory); env.setProperty(Context.PROVIDER_URL, jnp://localhost:1099); env.setProperty(Context.URL_PKG_PREFIXES , org.jboss.naming:org.jnp.interfaces); InitialContext ctx = new InitialContext(env); System.out.println(Connected to JNDI); } } jboss 723java -classpath /tmp/cvs/jboss/dist/client/jnp-client.jar;. tstNS Connected to JNDI jboss 724 Most likely your using a jndi.properties that does not include the org.jnp.interfaces package in the URL_PKG_PREFIXES if this does not work for you. - Original Message - From: Jason Dillon [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, May 04, 2001 9:50 PM Subject: Re: [JBoss-user] Anyone know how to federate across multiple jnp ... How recently was this added? I am just curious, because the EJB handle impl that I added (for container remembrance) would not work if I set the url to jnp://host:port, I had to set it to host:port. --jason On Fri, 4 May 2001, Scott M Stark wrote: This is an issue seperate from References of type URL, but the jnp InitialContextFactory does now accept jnp urls passed in via the provider url property. ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Deploying the Petstore app on Jboss.
Robert == Robert Nicholson [EMAIL PROTECTED] writes: Robert Well I downloaded the 1.1.1 patch and fortunately I already have Robert the 1.1.1 source release from javasoft. Despite it no longer being Robert available today. I look at the README in the patch and it points me Robert to a URL that's no longer valid Robert http://www.jboss.org/newsite/documentation/petstore-1.1.1-01.html Robert I would like to see a number list of steps needed to deploy the Robert Petstore on jboss. Does such a thing exist? In addition, the document that I've read on this (http://www.jboss.org/documentation/petstore-1.1.1-01.html) is specific to JBoss with embedded Tomcat. I'd like to see alternative descriptions of how to use it with a separate Tomcat. -- === David M. Karr ; Best Consulting [EMAIL PROTECTED] ; Java/Unix/XML/C++/X ; BrainBench CJ12P (#12004) ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] remove me
remove me from list _ Get your FREE download of MSN Explorer at http://explorer.msn.com ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] JBoss + Turbine.
Hi, I am trying to use Turbine with JBoss. Has somebody worked on this combination before if so can u point me some documentation on these. I tried on the jakarta site but there is no beginner tutorial on that site(even for using Turbine). Any sample application code would be very helpful. Thanks,-Poorna __ Do You Yahoo!? Yahoo! Auctions - buy the things you want at great prices http://auctions.yahoo.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
AW: [JBoss-user] Deploying the Petstore app on Jboss- Apache/Tomcat/JBoss ??
The petstore patch includes a README which steps you through. Also, in the JBoss Online Doc itself is a section committed to that. However, I missed some files for my W2K installation. Here are the additions: 1) script dbrealm.bat is missing, use dbrealm.sh and convert it to a bat, if you are unfamiliar with DOS bat syntax look at populate.bat 2) for CLoudscape users: server.xml of tomcat DB driver COM.cloudscape.coreRmiJdbcDriver is unknown, use COM.cloudscape.core.JDBCDriver instead 3) classes SecurityAssociation and SimplePrincipal could not be found in the packages org.jboss.security, copy them from jakarta-tomcat-3.2.1/src/org/apache/tomcat/util to the directory where you put JBossSecurityAdapter Things run fine under Tomcat/JBoss, but I can't get it to run with Apache/Tomact/JBoss as it is as a reference implementation on jboss.org. Apache/Tomcat alone works with the jsp examples. But how about JBoss? Does anyone know how? Ulli -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]Im Auftrag von Robert Nicholson Gesendet: Sonntag, 6. Mai 2001 11:40 An: [EMAIL PROTECTED] Betreff: [JBoss-user] Deploying the Petstore app on Jboss. Well I downloaded the 1.1.1 patch and fortunately I already have the 1.1.1 source release from javasoft. Despite it no longer being available today. I look at the README in the patch and it points me to a URL that's no longer valid http://www.jboss.org/newsite/documentation/petstore-1.1.1-01.html I would like to see a number list of steps needed to deploy the Petstore on jboss. Does such a thing exist? The Readme still leaves a lot up to the user and it's not for novices. ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user