[JBoss-user] presentation level integration using jboss: how? (web services/soap, xml/xslt, xhtml, xul, ..)
(view using mono-space font for proper "ascii-art" display ;) hi all, i'd like to write a presentation level integration prototype using jboss (4.0, if possible). therefore, the presentation layer (to be implemented) needs to provide the following different "services" to a client (browser and/or rich client): * a soap interface (i.e. the client must be able to access a web service using soap. the web service should be provided): client < soap > presentation layer (server-side) * apart from providing a soap interface, the presentation layer (pl) should also be able to transform xml-data into various other xml formats (xhtml, xul, wml, ..) using a server-side xslt transformation: client < http > presentation layer (server-side) {xhtml, xul {xml} transformation using xslt wml, ..} constraints: * the whole thing should be *as simple as possible* as it only serves as a *demonstration prototype*. * the other layers (business logic tier, data tier) of this n-tier architecture don't matter for the prototype (of course they matter for presenation level integration, but this prototype is supposed to show only few aspects of presentation level integration). whatever is the simplest to understand and implement. * the presentation layer should preferably use session beans mainly (eventually an entity bean to hold the xml data) * as a design pattern for the presentation layer i'm thinking about using a model-view-controller (mvc) pattern or a business delegate pattern (see: matjaz b. juric "professional j2ee eai") questions: ** * how can i implement an xml to xyz transformation using xslt in jboss? (i.e. how can i apply a xslt sheet on xml using jboss? is this done using a servlet? how?) * how should i combine/couple the soap interface component(s) and the xml/xslt transformation component(s)? * is there any example code showing this or aspects/parts of it? * am i totally wrong in choosing jboss for this purpose? would another technology/product (e.g. axis, tomcat or a java mvc framework like http://www.springframework.org/) be better suitable to implement a presentation level integration prototype? * any suggestions or recommendations on the topic ("presentation level integration") or my intentions as explained? i.e. do you have any better ideas to showcase presentation level integration using jboss (or an alternative product/technology)? any hint/tip/recommendation is welcome! regards dani -- Daniel Mettler http://www.numlock.ch/ --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] rmh - enterprise javabeans, 4th ed. exercise 15.1 doesn't work on my jboss4 installation
hi all, recently, i bought "enterprise javabeans, 4th ed" by richard monson-haefel, bill burke and sacha labourey. i have installations of jboss 3.2.3 (java 1.4.1) on my gentoo linux server and jboss 4.0.0 rc2 (java 1.5.0-rc-b63) on windows xp sp2 on my tabletpc/localhost. i strongly prefer to use the jboss4 server as this is a) the future and b) i do prototyping only (stability isn't an issue for me right now). on jboss4/localhost i checked out most of the examples in the jboss workbook included with "rmh-ejb". however, the one i needed most, "exercise 15.1: web services and ejb 2.1" doesn't seem to work on my local jboss4 server. first it failed to build, probably due to deprecated/missing jboss.net support in jboss4. so i tried to replace with on line 15 in ex15_1\build.xml using this, ant didn't complain when building the server-side of the example ('ant wsdl', 'ant ejbjar'). however, when restarting jboss4, the server log reads: 12:00:09,420 INFO [EJBDeployer] Deployed: file:/C:/jboss-4.0.0RC2/server/defaul t/deploy/titan.jar 12:00:09,621 ERROR [ServiceDeployer] Cannot startup webservice for: titan.jar java.lang.IllegalArgumentException: The wsdl file should be located in: META-INF /wsdl/ etc. my questions: * q1: *** how can i make this example work (nicely) with jboss4? if the example, as downloaded from http://examples.oreilly.com/entjbeans4/workbook.zip, doesn't work with jboss4 indeed, i'd kindly ask to release an update of it as quickly as possible. jboss4 is suggested in the workbook and i believe most people prefer a web service example using jboss-ws4ee (j2ee 1.4 compliant) instead of jboss-net (the axis way, deprecated). q2: *** apart from the problem described above, running the client of exercise 15.1 threw some exceptions. do you have any idea what's wrong here and how i can make it work in my environment (jboss4, java 1.5.0-rc-b63, windows xp sp2)? the following steps worked fine: 'ant clean.db' 'ant createdb' the following threw exceptions: C:\unison_sync\thesis\working\current\code\examples\oreilly\workbook\ex15_1>MakeReservation 1 106 1 5000.00 Buildfile: build.xml prepare: compile: ejbjar: run.client: [java] Exception in thread "main" java.rmi.ServerException: RemoteException occurred in server thread; nested excep tion is: [java] java.rmi.ServerException: EJBException:; nested exception is: [java] javax.ejb.EJBException: failed [java] at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:325) [java] at sun.rmi.transport.Transport$1.run(Transport.java:153) [java] at java.security.AccessController.doPrivileged(Native Method) [cut] [java] at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191) [java] ... 25 more [java] Java Result: 1 BUILD SUCCESSFUL Total time: 3 seconds any help appreciated, regards dani p.s. it can be safely assumed that line wrappings are correct, despite of wrong appearance above. -- Daniel Mettler http://www.numlock.ch/ --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Re: Problem with XA and Oracle
i have the same error ... it seems that oracle does not accept a XID that has a branch qualifier null. i did some stuffs on it but nothing to do, got alway that exception, we are working a few days on it but can not find what is wrong any help on it ? http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3826915#3826915";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3826915>Reply to the post --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - XADataSource
hi, i m trying to configure a XADataSource. When using the one from JBoss i got an exception when it s trying to enlist the resource. So i decide to do my own connection using OracleXADataSource, just to try it. there is no problem using it, but only when a change is done in the database (insert, ...) and when i try to commit the transaction i got an exception. eventhough when using rollback for the transaction it s normally working. the exception i got when commiting : [java] org.jboss.tm.JBossRollbackException: Unable to commit, tx=TransactionImpl:XidImpl [FormatId=257, GlobalId=daniel//1, BranchQual=] status=STATUS_NO_TRANSACTION; - nested throwable: (javax.transaction.xa.XAException) [java] at org.jboss.tm.TransactionImpl.commit(TransactionImpl.java:413) [java] at Plugin.PluginHello.doPlugin(Unknown Source) [java] at Framework.Thread.Launcher.run(Unknown Source) [java] Caused by: javax.transaction.xa.XAException [java] at oracle.jdbc.xa.OracleXAResource.disallowLocalTxnMode(OracleXAResource.java:1045) [java] at oracle.jdbc.xa.OracleXAResource.suspendStacked(OracleXAResource.java:227) [java] at oracle.jdbc.xa.client.OracleXAResource.rollback(OracleXAResource.java:920) [java] at org.jboss.tm.TransactionImpl.rollbackResources(TransactionImpl.java:1664) [java] at org.jboss.tm.TransactionImpl.commit(TransactionImpl.java:403) [java] ... 2 more i suppose there is a problem with the XID from oracle and JBoss, but the pad attribute is set at true when i look for it with the JMX console, is there something wrong http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3826810#3826810";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3826810>Reply to the post --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Re: configure XA datasource with oracle 9i ...
thank you Adrian!!! what i do really need is a XAResource, to enlist it in a transaction. but if i get a DataSource i dunno how to get the XAResource. i see no examples of how to do it. can you point me somewhere how to do that ??? http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3826129#3826129";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3826129>Reply to the post --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - configure XA datasource with oracle 9i ...
i tried but nothing to do, i always get an ClassCast Exception... i ve copied the oracle-xa-ds.xml to the deploy directory, changed the configuration and its deployed as it should be. i can its JNDI name in the JMX console. the problem is when i do a lookup on it, and try to cast it in a XADataSource, it throws a ClassCastException .. anybody got an idea ??? i tried to change the standardjbosscmp-jdbc.xml, but no more chance ... and in the transaction-service.xml i put the attribute "pad" for the XidFactory to true. surely i missed something but i looked in many docs and here on the forum and can not find what i m doing wrong ... i have tried it with JBoss4 and Jboss3.2.3 http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3825891#3825891";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3825891>Reply to the post --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - TransactionManagerService
i m trying to use the TransactionManager service but can not even make a new Object by new TransactionManagerService(); i got the next error cannot access org.jboss.system.ServiceMBeanSupport now may be i didn t understand well, than please tell me how to do that or either what is that error??? of course i don t have that class in the jars of jboss ... using jboss 4 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3823595#3823595 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3823595 --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: queues and receivers
but the question is now, how to do when you got 2 receivers, that only and only one of them will recive every messages ??? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3823558#3823558 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3823558 --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: queues and receivers
got the answer, it is the same thing for JBoss View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3823557#3823557 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3823557 --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: queues and receivers
ok that is the definition of JMS, but now how does JBoss work? when i start a second receiver, it is the second that always receive ... but in the middle of a transaction the first receiver keep the hand, but can not find how is Jboss working ... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3823556#3823556 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3823556 --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: queues and receivers
ohhh i didn t understand ... thanx for that advice View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3823319#3823319 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3823319 --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: queues and receivers
sorry for replying to my self, and reposting ... but i dunno if it is a problem in JBoss ... as i have tried to explain before, about starting new receivers, even if there is already one ... there is no problem if there is no current transaction, the last started will get the hand on the first one ... but now if a transaction is started in the first receiverand is not yet finished, and another receiver starts, than after the transaction is finished in the first one ... that make a problem, because the second one would not receive messages, but still the first one ... is there any solution to that ... i ve tested it on Jboss 3.2.3 and 4.0, it is the same thing View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3823277#3823277 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3823277 --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: queues and receivers
ok resolved, did a bad thing, but when a second is connected to the queue , the last connected would get the message ... the problem now is if the first receiver wasn t killed, and the second one is killed, and if a third receiver is started, it is not the last connect, here the third receiver, but the first receiver will get the message if anyone can undesrtand that ... is there a solution that way we can be sure, that only the last connected receiver will get the message ??? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3823270#3823270 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3823270 --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - queues and receivers
hi, is it possible that when you have a queue, and put a receiver on it, and if another receiver try to connect to the queue, to do that way that the last one receive the message and not the first one? of course it s not a topic but a queue. and that way there is still only receiver, only i would like is that the last one get the message ... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3823251#3823251 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3823251 --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: transactio stopped in another thread ...
sorry for posting it here ... i was looking for something and forgot that i m under that topic!!! in fact, what i was trying to do is possible, just have to pass as parameter to the thread the XAResource used in that transaction, and the Xid cheers daniel View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822962#3822962 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3822962 --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - transactio stopped in another thread ...
is it possible to stop a transaction started in a thread in another thread? i know that makes no sense, but would it be possible to do ?? and if so, how ?? thanx View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822945#3822945 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3822945 --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] DB Connection Validation in 2.4.x
Hi, I have a couple of questions about connection pooling in 2.4.x: How and when are the connections in the pool tested? How is the connection testing behaviour configured? By connection testing I mean verifying the validity of the connection: like ping to testing DB connectivity Cheers Dan *** This e-mail is intended only for the addressee named above. As this e-mail may contain confidential or privileged information, if you are not the named addressee, you are not authorised to retain, read, copy or disseminate this message or any part of it. The Royal Bank of Scotland plc is registered in Scotland No 90312 Registered Office: 36 St Andrew Square, Edinburgh EH2 2YB Regulated by the Financial Services Authority Visit our website at http://www.rbs.co.uk/CBFM/ *** --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] loading same native library from different deployment units
Hi all, I have two deployment units. One is a war and the other is a ejb-jar. They both include a jar file (as a library) that calls a native API on a win23 platform. The server tells me that native libraries cannot be loaded from two different class loaders. When I put the library jar file on the lib directory there is no problem because the server class loader loads the native library. Anyhow, I was wondering if there is any possibility to include the jar file inside the apps. It's to make the deployment units more like a black box from the library point of view. I am running a 3.0.6 instance. Regards, Daniel Santos --- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Mapping configuration error
Hi, my Jboss-Engine continuously prints this error-message: [Engine] StandardHost[localhost]: MAPPING configuration error for request URI /archive.dll I only have this on one special machine, on another one the same (default) configuration works fine. It also doesn't seem to have any effect on the Beans I deployed. They work fine. The error message is printed about once a minute. Any idea? Thanks for your help! Daniel --- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Had the Pay-For Documentation Been updated for 3.2?
http://www.componentsource.com/Search.asp?SC=EJBOS&Browse=Y&GroupType=5&gc=JBOSSG&GroupDesc=JBoss+Group -Daniel Finn, Michael wrote: I don't see the 3.2 stuff either - just 3.0.7 (we have a subscription and I can't find it). In fact, like Bob, I can't even find JBoss on componentsource at all. Search for JBoss, and browse by product name turn up nothing - only the JBoss deployer plugin for ControlCenter. Can some pass on the link? Mike --- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Too Slow
On Wednesday 22 January 2003 12:31, Gabriel Pinto wrote: > I'm running JBOSS in a Pentium III 1gHz with 512MB RAM with RedHat 7.2, > but it is too slow! > > Even when I run only jsp files I can't get a reasonable speedy. > > When I run the application in a AMD Duron 800Mhz 256MB RAM it works a lot > better? > > Anyone have any idea? > > Is there any configuration that can be made to JBOSS that let it faster > running in Linux? JBoss doesn't do servlets. JBoss itself, from my experience is the fastest server of its kind on the market. Servlet engines on the other hand are slower than hell, because of the constant compile cycle when you introduce a newly timestamped jsp file. You're probably better off asking speed-related questions for the servlet engine either to the jetty mailing list, or the tomcat mailing list, depending on which servlet engine you're using. Without knowing which servlet engine you're using, it's impossible to tell you any specifics on speeding your jsp pages up. However, one method you can use that is generalized for speeding up a JSP/servlet container, w.r.t. jsp pages, is to precompile all jsp pages before deploying. This can be achieved using jspc for both Tomcat and jetty. Jetty uses Tomcat's jspc. --- This SF.net email is sponsored by: Scholarships for Techies! Can't afford IT training? All 2003 ictp students receive scholarships. Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more. www.ictp.com/training/sourceforge.asp ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] JMS under JBoss
I'm curious. Does JMS under JBoss guarantee delivery of messages? If so, what steps does it take to guarantee this? And, is there a size limitation on messages for which it guarantees delivery? Thanks. --- This SF.NET email is sponsored by: Thawte.com - A 128-bit supercerts will allow you to extend the highest allowed 128 bit encryption to all your clients even if they use browsers that are limited to 40 bit encryption. Get a guide here:http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0030en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] JBoss 3.0.0-3.0.4
My datasource SAR won't even deploy in 3.0.5, so I can't comment on it. However, I cannot seem to get Chinese text to work properly in JBoss 3 series. I was running JDK 1.4 under JBoss 2.4.10, Tomcat 4.1.18 with the Oracle 9iR2 JDK 1.4 driver. After adding 3.0.x into the mix, all of the Chinese characters (gb2312-80) on my pages are all showing up as question marks. Could it be the way I've configured my datasource? I'm currently creating a file called 'ess-ds.sar', and placing the ojdbc14.jar in the root of this war, and jboss-service.xml in the META-INF directory of it. The jboss-service.xml is a modified copy of $JBOSS_HOME/docs/examples/jca/oracle-service.xml. The new one has defined two datasources. Before deploying the SAR, I first delete the hsqldb-service.xml file in the deploy directory, so that I undeploy the DefaultDS service. My two new DS's are DefaultDS and HR2DS. Is there perhaps something I'm missing, or is there a problem with gb2312 text rmi transfer in JBoss 3.0? Thanks. Daniel --- This SF.NET email is sponsored by: Thawte.com - A 128-bit supercerts will allow you to extend the highest allowed 128 bit encryption to all your clients even if they use browsers that are limited to 40 bit encryption. Get a guide here:http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0030en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] JBoss/Jetty and JSP 2.0
On Friday 17 January 2003 01:50, Pete Beck wrote: > Anyone know what sort of timeframe we might be able to use JSP 2.0 in > JBoss? You can probably use it right now, if you use Tomcat 5 in it. The main problem with JSP 2.0, is that the JSP 2.0 spec isn't finalized (Tomcat 5 is still in alpha, and Tomcat is the reference implementation.) --- This SF.NET email is sponsored by: Thawte.com - A 128-bit supercerts will allow you to extend the highest allowed 128 bit encryption to all your clients even if they use browsers that are limited to 40 bit encryption. Get a guide here:http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0030en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: AW: [JBoss-user] Which JBoss should I take ?
On Monday 22 July 2002 09:31, Thomas Renninger wrote: > Sounds as if it would be a lot of work, specially for a person who has to > download the source and start coding on JBoss the first time ... > > I'm wondering about all the other JBoss users. Oracle is a quite famous > database. I thought there are a lot of JBoss users running JBoss with > Oracle. > I can not believe no one is using a CLOB or BLOB datatype. > > Is there a possibilty to work around to store data larger than 4000 bytes ? > (maybe the deprecated LONG datatype ?) Why is LONG deprecated? Don't you mean LONG RAW? AFAIK, it's not deprecated, but for large data, it's not a very good way to store the data. > > Does there a compliant JDBC driver exist ? The XADataSource using Oracle (but using the Minerva XADataSource wrapper, not the Oracle XADataSource in the Oracle thin driver) works fine with BLOBs under JBoss 2.4.3/2.4.4. I can't report anything for JBoss 3 at the moment, however. I'm having a hell of a time trying to get JBoss 3 working with JDK 1.4. However, I have special requirements (I'm working with Oracle 9i, and I also need to work with utf-8, gb2312-80, and iso-8859-1 character sets.) I ended up saying forget the CLOBs, and I'm using BLOBs for every area where I needed CLOBs before, and just storing an extra column that tells me what format the BLOB data is in (MIME type). To be able to handle the BLOBs, and not have to allocate a huge byte array that you pass over RMI to the EJBs from the servlets, perform streaming in small byte arrays (up to 32,767 bytes). Then just use DBMS_LOB.write() to append the data to the LOB. Make sure you don't use a buffer larger than 32,767 bytes. Oracle's stored procedures do not allow raw buffers of larger than 32,767 bytes. It's not a limitation on the LOB package, but rather Oracle's stored procedures. --- This SF.NET email is sponsored by: A Thawte Code Signing Certificate is essential in establishing user confidence by providing assurance of authenticity and code integrity. Download our Free Code Signing guide: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0028en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] JBoss-3.0.5 release available
On Monday 13 January 2003 19:44, Rod Macpherson wrote: As Scott pointed out, to see if there are backward compatibility problems. However, the fact that it uses jdbc3 and nio are also good reasons to upgrade. NIO should give you better performance for the communication layer, if you've got multiple connections (usually the case, unless it's a single user test environment). Also, if you need some JDBC3 functionality, it wouldn't exist in the 1.3 version. > We have a couple of hundred pages and this morning I dropped in the 1.4.1 > distro without incident: not the live system of course but our rigorous > testing platform. Is there any advantage to using a 1.4.1 binary over a > 1.3.1. binary assuming you have no 1.4.1 features - aside from binary > compatibility with 1.3.1 that is. > > - Original Message - > From: "Scott M Stark" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Monday, January 13, 2003 1:58 PM > Subject: Re: [JBoss-user] JBoss-3.0.5 release available > > > There are features that use nio, jdbc3 that are available in the 1.4.1 > > compiled release, > > > but that is not the point of it. The point is to see if there are > > backward > > compatibility > > > problems that do not show up in our unit tests. There are only two dists, > > one built --- This SF.NET email is sponsored by: FREE SSL Guide from Thawte are you planning your Web Server Security? Click here to get a FREE Thawte SSL guide and find the answers to all your SSL security issues. http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Store large pdfs with JBoss
On Saturday 04 January 2003 04:48, Pete Beck wrote: > I agree with Sun 100% on this. Using the file-system is bad news for > maintenance, scalability and as the article says security. > I've seen the chaos that using the filesystem can cause in clustered > environments and I would say avoid it if you can. > > Of course, the problem is Oracle seems to have totally pathetic support > for large objects from Java. However I am using Postgres and it works > like a charm. Postgres is more natural, yes. However, Oracle's support is still good. You just need to use a combination of the JDBC LOB support with the DBMS_LOB package. We use a combination of stored procedures that manipulate the LOB using DBMS_LOB.getlength(), DBMS_LOB.read(), DBMS_LOB.write(), and DBMS_LOB.copy(), in combination with the getBlob(), select, and select for update operations. Postgres is pretty much the same, but supports most of these operations directly from the JDBC driver, instead of through a database package for LOB operations. The only difference I can see from a usability standpoint, is Postgres lacks a copy operation. You would have to write a stored procedure in C I would imagine, to obtain this goal in Postgres. --- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] HELP: EJB Deployment order
Hi, I use JBoss 3.0.2. I deploy each of my EJBs in a JAR file. Some of my EJBs reference some others. I encounter problem during deployment while JBoss tries to load the JAR of an EJB that references another EJB not yet loaded : "WARN [ServiceController] Problem starting service jboss.j2ee:service=EJB,jndiName=ejb/CatalogEJB org.jboss.deployment.DeploymentException: cannot locate deployment info: file:/soft/jboss-3.0.2/server/coreservices/deploy/Localization.jar" JBoss seems to don't take in account all the information set in the EJB deployment files (-ejb-jar.xml & -jboss.xml): (...) ejb/LocalizationEJB Session (...).LocalizationHome (...).Localization Localization.jar#Localization (...) (...) ejb/LocalizationEJB ejb/LocalizationEJB (...) I test whether JBoss tries to locate the depending JAR from the class path (by copying all the JAR files into ./server/myconf/lib, quite an ugly thing to do, isn't it?!), but the test fails. I tries to set up an *-service.xml file that describes the MBean dependencies (for my EJB, as JBoss considers each EBJ as a MBean), and deploy it: jboss.j2ee:service=EJB,jndiName=ejb/LocalizationEJB But the problem is still the same. The only solution I found is to deploy my EJBs twice... What's a shame! Do you have a prettier solution? Thanks! Daniel --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Jboss for Dummies
I have started a rough site for absolute JBoss beginners: http://sammaher.com/jboss Thanks, Toastchum www.sammaher.com http://toastchum.blogspot.com/ Yahoo! - We Remember 9-11: A tribute to the more than 3,000 lives lost
Re: [JBoss-user] JBoss in a multi developers environment
On Wednesday 22 May 2002 14:07, Emerson Cargnin - MSA wrote: > no, i'm working in defining an developing environment for a froup of about > 40 developers, so we can't afford bying a big machine for each one : ) For a large application with a small uptime, JBoss 2.4.4 only takes up about 96MB's of memory. It's extremely lean on memory usage. Compare this to Tomcat participating in the same application. It uses up a whopping 450MB's. Both run on Blackdown's 1.3.1 JVM. (I'd hate to see the memory requirements under Sun's JVMs.) On another note, to conserve bandwidth and hard drive space, could you limit your quoting to the relevants parts of the post you're replying to? Thanks. --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Running several jboss instances on the same machine
Hello, all I need to run several Jboss server instances on a machine with one IP address. I have different configurations for each developer. I don't know how to assign a different port to each conf. Can anyone help me ? (I'm using jetty) By the way, when I run the jboss startup script and supply it the name of the configuration I uses default. I'm using jboss 3.0.0 Many thanks Daniel Santos --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Correction: Question about JBossMQ and message routing
Sorry in advance - I got my 'MX's and 'MQ's confused. My question was, of course, about JBossMQ and not JBossMX. Apologies! Cheers, Daniel At 09:39 23/07/2002 +0100, Daniel Strawson wrote: >Hi guys - I wonder if someone can answer a question about JBossMX. > >Although I'm a 'Java' person, I've had the (mis) fortune to use >Microsoft's MSMQ message queue system. This, and other commercial MQ >systems are able to 'route' messages between MQ servers. To me this is >powerful feature for a message queuing system, but I guess that there is >nothing in JMS to say that a message queue implementation must support >remote queues. > >Also, in MSMQ there are two kinds of client. A 'dependent client' needs >the MQ server to always be present and reachable. If it isn't, the send >message function will fail. An 'independent client' can function by >itself if the MQ server is down. > >So, my question is two fold. Firstly, does JBossMX allow you to send a >message, using the local application server, to a queue on a remote >application server (and if so, how do I do it?). Also, is the JBossMX >client 'dependent' or 'independent' of the server - i.e. if the >application server is down, will the client library persist messages until >it returns (I'm guessing that the answer is no here)? > >Thanks in advance, > >Daniel Strawson > > > > > > >--- >This sf.net email is sponsored by:ThinkGeek >Welcome to geek heaven. >http://thinkgeek.com/sf >___ >JBoss-user mailing list >[EMAIL PROTECTED] >https://lists.sourceforge.net/lists/listinfo/jboss-user --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Question about JBossMX and message routing
Hi guys - I wonder if someone can answer a question about JBossMX. Although I'm a 'Java' person, I've had the (mis) fortune to use Microsoft's MSMQ message queue system. This, and other commercial MQ systems are able to 'route' messages between MQ servers. To me this is powerful feature for a message queuing system, but I guess that there is nothing in JMS to say that a message queue implementation must support remote queues. Also, in MSMQ there are two kinds of client. A 'dependent client' needs the MQ server to always be present and reachable. If it isn't, the send message function will fail. An 'independent client' can function by itself if the MQ server is down. So, my question is two fold. Firstly, does JBossMX allow you to send a message, using the local application server, to a queue on a remote application server (and if so, how do I do it?). Also, is the JBossMX client 'dependent' or 'independent' of the server - i.e. if the application server is down, will the client library persist messages until it returns (I'm guessing that the answer is no here)? Thanks in advance, Daniel Strawson --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] CPM2 Container Managed Relationships
Hi, I'm using a fk-constraint to link two ejbEntity. the JBossCMP will automatically add a foreign key to the tables. the problem is that field is already exist in the table and I want the JBossCMP use this field, not to create a new one. is that possible? 11:39:48,112 DEBUG [Service] Create: pk=43 - 42 11:39:48,112 DEBUG [Service] Executing SQL: SELECT COUNT(*) FROM SERVICEBEANTABLE WHERE MEV_PRIMARY_KEY=? AND ORDER_MEV_PRIMARY_KEY=? 11:39:48,172 DEBUG [Service] Executing SQL: INSERT INTO SERVICEBEANTABLE (MEV_PRIMARY_KEY, ORDER_MEV_PRIMARY_KEY, ADDITIONAL_ATTRIBUTES, FAILED, FAILED_EXCEPTION, LAST_MODIFIED, MEV_TYPE, POSITION_IN_ORDER_VALUE_ARRAY, SERVICE_ACTIVATOR_HOME_JNDI_NAME, STATE, SUBSCRIBER_ID, ORDER_MEV_PRIMARY_KEY) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? ) 11:39:48,222 ERROR [Service] Could not create entity SQL Exception: Column name 'ORDER_MEV_PRIMARY_KEY' appears more than once times in the column list of an insert statement. at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteC all.java:245) at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:220) at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:122) at RmiJdbc.RJConnectionServer_Stub.prepareStatement(Unknown Source) at RmiJdbc.RJConnection.prepareStatement(RJConnection.java:109) at org.jboss.resource.adapter.jdbc.local.LocalConnection.prepareStatement(Local Connection.java:191) at org.jboss.ejb.plugins.cmp.jdbc.JDBCCreateEntityCommand.insertEntity(JDBCCrea teEntityCommand.java:186) Thanks for your helps. Best regards LY Daniel --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] VOTE FOR JBOSS
Marc (Jean-Claude?) I'd really appreciate that your change your behaviour and that you ban your favorite french word "putain" from this mailing-list. I try to convince my CTO to use JBoss instead of Weblogic on our platforms, but your behaviour (of a 6 years old little boy) in this mailing-list doesn't help me in my quest: how can a manager trust a product if he doesn't trust the leader of this product? > Ok I want us to be #1 there and we will not stop until we are #1 there, I just don't care that people think we have the best EJB server in the world. The most important is to do our job, whatever the "jetset" communauty thinks about us. "C'est à leur humilité que l'on reconnait la valeur réelle des gens." Daniel Le ven 24/05/2002 à 16:10, marc fleury a écrit : GADDAMIT, these pools are ridiculous, it is just the company voting for it, and comatose products like oracle has got the full company behind it, so here is our call, if you are on our lists and you haven't voted for us yet, please please go and vote, I did this morning :)I hadn't before. Ok I want us to be #1 there and we will not stop until we are #1 there, clear? http://www.sys-con.com/java/readerschoice2002/nominationform.cfm go marcf x Marc Fleury, Ph.D President JBoss Group, LLC x ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] CMP 2.0 - CMR fields are NULL
Oliver, The setting of the cmr fields in the ejb create methods is against the ejb spec. I know it by experience. It was my first aproach. JBoss itself told me that. Thanks for your interest Daniel -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: segunda-feira, 22 de Abril de 2002 0:29 To: Daniel Santos Cc: [EMAIL PROTECTED] Subject: Re: [JBoss-user] CMP 2.0 - CMR fields are NULL Hello Daniel, I think the reason for your problem is the use of ejbPostCreate to set the CRM fields. When using CMP the record in the database is created after the call of ejbCreate but before the call of ejbPostCreate. Therefore your changes to the CMR fields are not persistent, and that's why the corresponding SQL statements are missing in the trace. Oliver Daniel Santos wrote: >hello all ! > >I'm deploying a hierarchy of entity beans with relations : > >FACTORY <- PROCESS <- COMPONENT <- VARIABLE > >I call creates from a servlet to create the hierarquy from FACTORY to >VARIABLE. > >The CMR fields are set in each ejbPostCreate methods. > >PROCESS sets FACTORY, COMPONENT sets process, so on... up to VARIABLE > >after calling the servlet I notice that the CMR fields in the db are NULL. > >below is the SQL generated. Where are the UPDATES to set the CMR fields ? > >environment : >Jboss-3.0.0beta >jdk 1.3.1 >w2k >mysql-max 3.23.49 with ISAM tables. I know they are not transactional. I >just need the SELECT FOR UPDATE syntax to work >jdbc driver : mm.mysql-2.0.8-bin.jar > >Many thanks. >Daniel Santos > >--- - >- > >020419 16:36:18 2 Connect root@localhost on > 2 Init DB history > 2 Query SHOW VARIABLES > 2 Query SET autocommit=0 > 2 Query show tables FROM history like 'FACTORY' > 2 Query rollback >020419 16:36:19 2 Query CREATE TABLE FACTORY (id VARCHAR(255) >BINARY NOT NULL, name VARCHAR(255) BINARY, CONSTRAINT pk_FACTORY PRIMARY KEY >(id)) > 2 Query commit > 2 Query rollback >020419 16:36:21 2 Query show tables FROM history like 'EVENT' > 2 Query rollback > 2 Query CREATE TABLE EVENT (id VARCHAR(255) BINARY NOT >NULL, >CONSTRAINT pk_EVENT PRIMARY KEY (id)) > 2 Query commit > 2 Query rollback >020419 16:36:22 2 Query show tables FROM history like >'COMPONENT' > 2 Query rollback > 2 Query CREATE TABLE COMPONENT (id VARCHAR(255) BINARY NOT >NULL, name VARCHAR(255) BINARY, process VARCHAR(255) BINARY, CONSTRAINT >pk_COMPONENT PRIMARY KEY (id)) > 2 Query commit > 2 Query rollback >020419 16:36:24 2 Query show tables FROM history like >'VARIABLE' > 2 Query rollback > 2 Query CREATE TABLE VARIABLE (id VARCHAR(255) BINARY NOT >NULL, name VARCHAR(255) BINARY, component VARCHAR(255) BINARY, CONSTRAINT >pk_VARIABLE PRIMARY KEY (id)) > 2 Query commit > 2 Query rollback >020419 16:36:26 2 Query show tables FROM history like 'SAMPLE' > 2 Query rollback > 2 Query CREATE TABLE SAMPLE (id VARCHAR(255) BINARY NOT >NULL, >value VARCHAR(255) BINARY, variable VARCHAR(255) BINARY, CONSTRAINT >pk_SAMPLE PRIMARY KEY (id)) > 2 Query commit > 2 Query rollback > 2 Query show tables FROM history like 'PROCESS' > 2 Query rollback > 2 Query CREATE TABLE PROCESS (id VARCHAR(255) BINARY NOT NULL, >name VARCHAR(255) BINARY, factory VARCHAR(255) BINARY, CONSTRAINT pk_PROCESS >PRIMARY KEY (id)) > 2 Query commit > 2 Query rollback >020419 16:37:18 2 Query SET autocommit=0 > 2 Query SELECT VALUE FROM HIGH_KEY WHERE NAME = >'gruposumol' >FOR UPDATE > 2 Query INSERT INTO HIGH_KEY (VALUE, NAME) VALUES >('8080808080808080808080808080','gruposumol') > 2 Query UPDATE HIGH_KEY SET VALUE = >'8180808080808080808080808080' WHERE NAM
RE: [JBoss-user] CMP 2.0 - CMR fields are NULL
Mike, below is the top of FactoryBean.java. the first EJB created in the chain. --- import javax.ejb.*; import org.ejbutils.uid.*; import org.ejbutils.context.*; public abstract class FactoryBean implements EntityBean { EntityContext entityContext; public java.lang.String ejbCreate(java.lang.String name) throws CreateException { setName(name); String objectId; try { objectId = UIDDispenser.getDispenser().getNextId(); } catch (UIDDispenserException e) { throw new EJBException(e.toString()); } this.setId(objectId); return objectId; } public void ejbPostCreate(java.lang.String name) throws CreateException { } ... --- and here is the start of ProcessBean.java the second created. It has a cmr field pointing to the primary key of factory. --- import java.util.*; import javax.rmi.*; import javax.ejb.*; import javax.naming.*; import org.ejbutils.uid.*; import org.ejbutils.context.*; public abstract class ProcessBean implements EntityBean { EntityContext entityContext; public String ejbCreate(String factory, String name) throws CreateException { setName(name); String objectId; try { objectId = UIDDispenser.getDispenser().getNextId(); } catch (UIDDispenserException e) { throw new EJBException(e.toString()); } setId(objectId); return objectId; } public void ejbPostCreate(String factory, String name) throws CreateException { try { Context ctx = new InitialContext(); FactoryLocalHome flhome = (FactoryLocalHome)ctx.lookup("java:comp/env/ejb/Factory"); FactoryLocal fl = flhome.findByName(factory); this.setFactory(fl); } catch (NamingException e) { throw new EJBException(e.toString()); } catch (FinderException e) { throw new CreateException(e.toString()); } } ... --- Did not declare the cmr fields in the ejb-jar.xml file, nor the jboss.xml file. All the ejb creates use the UIDispenser from Emmanuel Sciara (many thanks, and everyone that contibuted to the solution). The process bean sets the cmr field pointing to its factory that is looked up by name, in the ejbPostCreate method. Many thanks Daniel -Original Message- From: Mike Dougherty [mailto:[EMAIL PROTECTED]] Sent: sexta-feira, 19 de Abril de 2002 21:28 To: Daniel Santos Cc: [EMAIL PROTECTED] Subject: Re: [JBoss-user] CMP 2.0 - CMR fields are NULL Daniel, I'm not sure I completely understand the situation. Maybe if you sent some Java code snippets I could take a stab at it. Like just the "ejbCreate" and "ejbPostCreate" methods for "Variable" or "Factory" which ever one is calling the setter method. /mike On Fri, 2002-04-19 at 08:54, Daniel Santos wrote: > hello all ! > > I'm deploying a hierarchy of entity beans with relations : > > FACTORY <- PROCESS <- COMPONENT <- VARIABLE > > I call creates from a servlet to create the hierarquy from FACTORY to > VARIABLE. > > The CMR fields are set in each ejbPostCreate methods. > > PROCESS sets FACTORY, COMPONENT sets process, so on... up to VARIABLE > > after calling the servlet I notice that the CMR fields in the db are NULL. > > below is the SQL generated. Where are the UPDATES to set the CMR fields ? > > environment : > Jboss-3.0.0beta > jdk 1.3.1 > w2k > mysql-max 3.23.49 with ISAM tables. I know they are not transactional. I > just need the SELECT FOR UPDATE syntax to work > jdbc driver : mm.mysql-2.0.8-bin.jar > > Many thanks. > Daniel Santos > > -- -- > - > > 020419 16:36:18 2 Connect root@localhost on > 2 Init DB history > 2 Query SHOW VARIABLES > 2 Query SET autocommit=0 > 2 Query show tables FROM history like 'FACTORY' > 2 Query rollback > 020419 16:36:19 2 Query CREATE TABLE FACTORY (id VARCHAR(255) > BINARY NOT NULL, name VARCHAR(255) BINARY, CONSTRAINT pk_FACTORY PRIMARY KEY > (id)) > 2 Query commit > 2 Query rollback > 020419 16:36:21 2 Query show tables FROM history like 'EVENT' > 2 Query rollback > 2 Query CREATE TABLE EVENT (id VARCHAR(255) BINARY NOT >NULL, > CONSTRAINT pk_EVENT PRIMARY KEY (id)) > 2 Query commit > 2 Query rollback > 020419 16:36:22 2 Query show tables FROM history
[JBoss-user] CMP 2.0 - CMR fields are NULL
hello all ! I'm deploying a hierarchy of entity beans with relations : FACTORY <- PROCESS <- COMPONENT <- VARIABLE I call creates from a servlet to create the hierarquy from FACTORY to VARIABLE. The CMR fields are set in each ejbPostCreate methods. PROCESS sets FACTORY, COMPONENT sets process, so on... up to VARIABLE after calling the servlet I notice that the CMR fields in the db are NULL. below is the SQL generated. Where are the UPDATES to set the CMR fields ? environment : Jboss-3.0.0beta jdk 1.3.1 w2k mysql-max 3.23.49 with ISAM tables. I know they are not transactional. I just need the SELECT FOR UPDATE syntax to work jdbc driver : mm.mysql-2.0.8-bin.jar Many thanks. Daniel Santos - 020419 16:36:18 2 Connect root@localhost on 2 Init DB history 2 Query SHOW VARIABLES 2 Query SET autocommit=0 2 Query show tables FROM history like 'FACTORY' 2 Query rollback 020419 16:36:19 2 Query CREATE TABLE FACTORY (id VARCHAR(255) BINARY NOT NULL, name VARCHAR(255) BINARY, CONSTRAINT pk_FACTORY PRIMARY KEY (id)) 2 Query commit 2 Query rollback 020419 16:36:21 2 Query show tables FROM history like 'EVENT' 2 Query rollback 2 Query CREATE TABLE EVENT (id VARCHAR(255) BINARY NOT NULL, CONSTRAINT pk_EVENT PRIMARY KEY (id)) 2 Query commit 2 Query rollback 020419 16:36:22 2 Query show tables FROM history like 'COMPONENT' 2 Query rollback 2 Query CREATE TABLE COMPONENT (id VARCHAR(255) BINARY NOT NULL, name VARCHAR(255) BINARY, process VARCHAR(255) BINARY, CONSTRAINT pk_COMPONENT PRIMARY KEY (id)) 2 Query commit 2 Query rollback 020419 16:36:24 2 Query show tables FROM history like 'VARIABLE' 2 Query rollback 2 Query CREATE TABLE VARIABLE (id VARCHAR(255) BINARY NOT NULL, name VARCHAR(255) BINARY, component VARCHAR(255) BINARY, CONSTRAINT pk_VARIABLE PRIMARY KEY (id)) 2 Query commit 2 Query rollback 020419 16:36:26 2 Query show tables FROM history like 'SAMPLE' 2 Query rollback 2 Query CREATE TABLE SAMPLE (id VARCHAR(255) BINARY NOT NULL, value VARCHAR(255) BINARY, variable VARCHAR(255) BINARY, CONSTRAINT pk_SAMPLE PRIMARY KEY (id)) 2 Query commit 2 Query rollback 2 Query show tables FROM history like 'PROCESS' 2 Query rollback 2 Query CREATE TABLE PROCESS (id VARCHAR(255) BINARY NOT NULL, name VARCHAR(255) BINARY, factory VARCHAR(255) BINARY, CONSTRAINT pk_PROCESS PRIMARY KEY (id)) 2 Query commit 2 Query rollback 020419 16:37:18 2 Query SET autocommit=0 2 Query SELECT VALUE FROM HIGH_KEY WHERE NAME = 'gruposumol' FOR UPDATE 2 Query INSERT INTO HIGH_KEY (VALUE, NAME) VALUES ('8080808080808080808080808080','gruposumol') 2 Query UPDATE HIGH_KEY SET VALUE = '8180808080808080808080808080' WHERE NAME = 'gruposumol' 2 Query SET autocommit=0 2 Query rollback 020419 16:37:20 2 Quit 3 Connect root@localhost on 3 Init DB history 3 Query SHOW VARIABLES 3 Query SET autocommit=0 3 Query SELECT COUNT(*) FROM FACTORY WHERE id='80808080808080808080808080808080gruposumol' 3 Query INSERT INTO FACTORY (id, name) VALUES ('80808080808080808080808080808080gruposumol', 'factory') 020419 16:37:21 3 Query commit 3 Query rollback 3 Query SELECT COUNT(*) FROM PROCESS WHERE id='80808080808080808080808080808180gruposumol' 3 Query INSERT INTO PROCESS (id, name, factory) VALUES ('80808080808080808080808080808180gruposumol', 'process', null) 3 Query SELECT t1_f.id FROM FACTORY t1_f WHERE t1_f.name = 'factory' 3 Query SELECT name FROM FACTORY WHERE
[JBoss-user] local-jndi-name tag in jboss.xml
Hi all! I'm deploying some entity beans that have relations. In the jboss.xml I've put a tag below named . When I startup jboss in the agent view I only see the remote names. I've searched the forum and seems to me that that feature may not be implemented. Is this correct ? environment : os : win 2k prof. jvm : sun jdk 1.3.1 jboss : jboss3.0.0beta Many thanks Daniel ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] JBoss 3.0 beta and JMS
I looked in the section you mentioned and there it was : "ConnectionFactory (class: org.jboss.mq.SpyConnectionFactory)" I can get a queue to where I am supposed to send messages. Daniel -Original Message- From: Alex Loubyansky [mailto:[EMAIL PROTECTED]] Sent: quarta-feira, 10 de Abril de 2002 19:00 To: 'Daniel Santos' Subject: RE: [JBoss-user] JBoss 3.0 beta and JMS Yes, it could be verified this way. But also you can scroll down to jboss service=JNDIView and watch all bindings. Sorry, can't see the cause of the problem now. Can you get something else from JNDI? alex > -Original Message- > From: Daniel Santos [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, April 10, 2002 7:59 PM > To: [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED] > Subject: RE: [JBoss-user] JBoss 3.0 beta and JMS > > > In the agent view I looked under jbossmq : > service=InvocationLayer,type=OIL > and in the mbean view I see an attribute > ConnectionFactoryJNDIRef with the > value ConnectionFactory. > Is this what you mean by the JNDI Viewer ? > > Daniel > > -Original Message- > From: Alex Loubyansky [mailto:[EMAIL PROTECTED]] > Sent: quarta-feira, 10 de Abril de 2002 17:31 > To: 'Daniel Santos' > Subject: RE: [JBoss-user] JBoss 3.0 beta and JMS > > > Do you see ConnectionFactory in jndi viewer? > I use messaging with JBoss-2.4.3 and JBoss-3.0.0beta2 almost > successfully. > Though, I have other problems. It seems, there are some bugs exist. > > alex > > > > -Original Message- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED]]On Behalf Of > > Daniel Santos > > Sent: Wednesday, April 10, 2002 4:18 PM > > To: [EMAIL PROTECTED] > > Subject: [JBoss-user] JBoss 3.0 beta and JMS > > > > > > Hello ! > > > > I'm having trouble putting a JMS app running on Jboss 3.0 > > beta. I am able to > > obtain a JNDI context and a queue, but no connection factory. > > In JBoss 2.4.4 > > everything is fine. > > > > I'm trying to get the OIL connection factory which I then cast to a > > QueueConnectionFactory. > > > > connectionFactory = > > lookupConnectionFactory(props.getProperty(JMS_CONN_FACTORY)); > > > > where JMS_CONN_FACTORY = ConnectionFactory > > > > When the previous statement is executed the connectionFactory > > is null and no > > exception is thrown. I have the client side JBossMQ jars in > > the classpath. > > > > Environment : > > JDK 1.3.1 > > Jboss 3.0.0 beta > > Os : Windows 2000 Professional > > > > I'm attaching the java file with the above code. > > > > Many thanks. > > Daniel Santos > > > ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] JBoss 3.0 beta and JMS
Hello ! I'm having trouble putting a JMS app running on Jboss 3.0 beta. I am able to obtain a JNDI context and a queue, but no connection factory. In JBoss 2.4.4 everything is fine. I'm trying to get the OIL connection factory which I then cast to a QueueConnectionFactory. connectionFactory = lookupConnectionFactory(props.getProperty(JMS_CONN_FACTORY)); where JMS_CONN_FACTORY = ConnectionFactory When the previous statement is executed the connectionFactory is null and no exception is thrown. I have the client side JBossMQ jars in the classpath. Environment : JDK 1.3.1 Jboss 3.0.0 beta Os : Windows 2000 Professional I'm attaching the java file with the above code. Many thanks. Daniel Santos JMSMessaging.java Description: JavaScript source
Re: [JBoss-user] odd problem...
On April 2, 2002 06:45 am, Jarecsni János wrote: > The configuration is JBoss244+Tomcat401 with Apache (1.3.22) on a Debian > Linux 2.4.3 > The problem is that JBoss hangs after a few days of operation. By "hangs" I > mean that it does not accept any new request, and stays so until it is > killed. This killing is rather peculiar too: I ask for the process list > pertaining to JBoss by issuing: "ps aux | grep jboss". From the list I > choose one and kill it with -9. It usually brings down JBoss at one (you > see "killed" in the log). The only problem is that there remains one > process that cannot be killed. And because of that sole process I have to > restart the machine (otherwise I can't start JBoss because it cannot start > listen on a port). You can shut down JBoss normally by http'ing to localhost:8082, and choosing the shutdown option. Optionally, you may also kill it by sending the '-INT' signal. i.e. kill -INT pid > Now I suspect that this process is responsible for what's happening. It > seems something like a dead lock. I cannot image what's causing this. What > I know is this has nothing to do with server load, server hangs no matter > how many are using it. Do you have any ideas? How should I start unfolding > this problem? BTW: the same application worked for weeks without stopping > on JB241TC323. Of course, the application code has changed in the meantime, > so if the error is lurking in the app code somewhere then it won't work on > earlier JBoss either. If you inspect this hung process a little closer (ps auxffww | grep java), you might find that it is not really JBoss, but a 'java -version' process, if you're running Sun's 1.3.x JVM. This did not occur on their 1.2.x JVM, and does not occur on their 1.4.x JVM. It also does not occur on IBM's JVM, or Blackdown's JVM. It's an incompatibility between those version of Sun's JVM and glibc's threading library from what I've been able to ascertain. ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Oracle: connection reset by peer
>From time to time, I seem to get an error down at the JDBC level within JBoss, where it seems Oracle has dropped JBoss's socket connection. However, I believe this problem is probably on the JBoss side, because I've run other JDBC code using our own proprietary pooling mechanism for over a year now, without ever getting that error. I've searched the mailing list back as far as June of last year (when I first started receiving the mailing list), to no avail. It seems nobody else has run into this problem. So, I'm wondering if it's something in my jboss.jcml configuration for the database. The following are the relevant sections from my jboss.jcml file: oracle.jdbc.driver.OracleDriver DefaultDS org.jboss.pool.jdbc.xa.wrapper.XADataSourceImpl jdbc:oracle:thin:@oracle:1521:ora 120 mailuser 10 mailuser false false false true 12 180 false false 1.0 0 Thanks in advance for any light you might be able to shed on this problem. ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] jboss and freebsd
On March 21, 2002 02:47 pm, Felipe Oliveira wrote: > i am trying to use JBoss-2.4.4_Tomcat-4.0.1 on FreeBSD but it's not stable > at all. I am using JDK1.4. > the server blows up every 5 minutes, even when i try to deploy. any > thoughts? > it seems to be a problem with the Sun JVM. More than likely just a compatibility problem. There's been a few things that have changed with the new JDK. Also, the new JDK is supposedly more stable than the 1.3.x series. 1.3.x was unstable as all hell. ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] JBoss 2.4.4 and Tomcat standalone
On March 18, 2002 11:31 am, Burkhard Vogel wrote: > there are at least two possibilities: > first, run Jboss standalone, copy the jars from $JBOSS_HOME/client into > Tomcats classpath and treat tomcat like any other client application. > (Remember jndi.properties...) jndi.properties no longer works in Tomcat 4. It worked in Tomcat 3.x, however. Tomcat 4 includes its own jndi provider, which doesn't use jndi.properties. ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: AW: [JBoss-user] JBoss 2.4.4 and Tomcat standalone
On March 18, 2002 08:18 am, Lenhart wrote: Sorry...I hit reply last time, and I guess it makes me reply to the sender rather than the list; I must not have been paying attention. > I would prefer getting them running on the same VM, but having them talk to > each other would be a good start as integrating both in one VM seems to be > quite difficult. I would be very grateful if you could give me a brief > advice on the configuration you have to chose to get it working... Within the web.xml file for Tomcat 4.0.x, you'll need to add entries similar to the following: jbosskey/BindingName Session org.jboss.BeanHome org.jboss.BeanRemote I believe if it's in the same VM, you would need to change the "" to "", but I'm not sure on that. Within the EJB code, you'll need to do something similar to: String jboss_host_name="ejb" ; int jboss_port=1099 ; String host_url=jboss_host_name + ":" + jboss_port ; Hashtable env=new Hashtable() ; env.put( "java.naming.factory.initial", "org.jnp.interfaces.NamingContextFactory" ) ; env.put( "java.naming.factory.url.pkgs", "org.jboss.naming:org.jnp.interfaces" ) ; env.put( "java.naming.provider.url", host_url ) ; InitialContext context=new InitialContext(env) ; Context jbossContext=( Context )context.lookup( "java:/jbosskey" ) ; BeanHome home=( BeanHome )jbossContext.lookup( "BindingName" ) ; BeanRemote remote=home.create() ; I don't have the code that I used in the client side at this desk, so I've tried to do the above Java code from memory. Whether or not the above is the proper way to do it or not, I don't really know. I got some help from someone else on here, and unwound the jndi stack to figure the code above out, as I couldn't seem to find any information that explained how to do what I needed to do. Tomcat 4 added in a snafu to older code; older code made use of the jndi.properties file to keep things simple. However, the new jndi provider that comes with Tomcat breaks any code that used that method and just did a simple lookup. Using the undocumented -nonaming switch doesn't seem to work for me, either. I'll try to grab the code next time I'm at my other desk, to give you the complete solution. I think I might be forgetting one hashtable entry. ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] XADataSource
If I use transaction-type of 'Bean' in the ejb-jar xml descriptor for a stateless session bean, and I obtain a DataSource object from an XADataSource pool, do I need to do explicit commits? What about the same for stateful session beans? Thanks in advance. ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Memory Leak on Lunix!!!
On March 9, 2002 04:23 pm, Nicolai P Guba wrote: > Makes you wonder. All these years and still no decent java implementation > and far too many issues for it to become a serious contender of any sort. > Garbage collecting garbage. Give me a real lisp os anytime! It's just the garbage vm from Sun. Blackdown and IBM are both fine. > The fact that j2 runs 2x faster on Windows than on Linux and that there > have never been any real BSD vm's speaks tomes! I don't find that at all. I find Forte runs considerably faster under Linux (2.2 kernel) than it does under Windows (2000 Server). Now that I'm running a 2.4 kernel, it should be even faster. > SUN -- Open Source your bleedin VM or else follow the old motto: > > WRITE ONCE DEBUG EVERYWHERE > > Get your act together ;) I'd rather see Blackdown's opensourced...Sun's sucks :) But, due to proprietary library restrictions, and restrictions from Sun's NDA with them when they developed the Linux port (it's a port of Sun's Solaris SDK), they can't opensource it, even if they wanted to. Anyways...all this doesn't matter...what matters is that JBoss is a great EJB container :) ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Memory Leak on Lunix!!!
On March 8, 2002 01:15 am, Christian Riege wrote: > this is fixed in the forthcoming 2.4.5 release; alternatively you can > also grab the lates Branch_2_4 CVS code. > > An OutOfMemoryException on Linux also occurs because of some issues > Linux has with threading; this is also dependent upon the JVM you're > using. We've been getting better results by using IBM's implementation > rather than the one Sun provides. Win2k and the respective JVM's on > Win2k doesn't show this problem. I haven't been using Sun's JDK 1.2.x/1.3.x under Linux because it's such a buggy piece of garbage. However, Blackdown's seems to work just fine, and doesn't seem to suffer from this memory leak you're referring to. But Sun's JVM isn't just buggy as hell under Linux...the same is also true of their Windows JVM. The Hotspot JPDA debugger doesn't work properly in either...have to run it in the classic VM all the time. JDK 1.4 doesn't seem to have any issues from Sun so far, however. ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] JBoss under Windows
I was just wondering why it is that JBoss 2.4.4 running under Windows behaves completely different to JBoss 2.4.4 running under Linux, where logging is concerned? With the default logging levels, under Linux on the deployment of a jar file, I get about 2-1/2 screens worth of information; under Windows I only get about 3 or 4 lines. All of my log4j logging is output under Linux as well...not one bit of it is output under Windows. Full Javamail debugging is also output under Linux; with the same mail.properties file under Windowsnotta. Is there something major I'm missing here? This is all with exactly the same binaries, exactly the same versions of the jar files, exactly the same configuration files. Under Linux, I'm using Blackdown JDK 1.3.0FCS; under Windows I'm using Sun JDK 1.3.1_02...just using Blackdown under Linux because it's not as painfully slow as Sun's JDK, but Sun's JDK produced the same results as far as logging goes under Linux. Thanks in advance. ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Re: Streaming to EJBs
Just thought I'd say thanks again for the help I got in streaming data to an EJB. Realized for the uploading of data to LOBs I'm going to have to use a stateful bean (probably more efficient for downloading of data as well), because I need to maintain the database connection, and then do a commit after I'm finished. In the process, I ended up finding out a few more useful things about LOBs, including copying :) ttfn ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] Streams
Sorry for the late reply everyone...I thought I was resubscribed (my @Home account was discontinued, and I kept procrastinating about updating my email addresses)...as it turned out, I missed the request for confirmation I had to reply to :( Peter Levart wrote the following excerpt on Feb 13, 2002: > There is a java.sql.Blob type that allows you to read/write binary data > from/to a BLOB field via InputStream/OutputStream without buffering the > whole > chunk and to read/write parts of the BLOB field. Yes, exactly the reason I want to use streams. > Daniel probably wants to solve the problem of transporting a big chunk of > data from the client to the server and store this into a BLOB field in the > database. Yes, because allocating memory for 20MB's of data would be processing prohibitive. > What I would probably do in this case is something like that: > 1. Open a transaction on the client side > 2. Organize big data into byte[] packets of some length and send them to > the > server via multiple calls to EJB. On the server side write each packet into > the appropriate offset of the BLOB field via java.sql.Blob type. > 3. Commit transaction on the client side. Aha! Thanks, very much. I didn't know you could update the LOBs via offsets. Can you also do this for CLOBs and NCLOBs? > Peter Guy Rouillier wrote the following excerpt on Feb 12, 2002: > Are you attempting to put a 20 MB file into a BLOB column in a database Yes. > table? If so, I'd suggest you consider just leaving the file in the file > system and putting a reference to it in a small character column. What > benefit are you deriving from putting a file into the database? I'm not. The specification requires it. Dain Sundstrom wrote the following excerpt on Feb 12, 2002: > Two things come to mind here. First, values passed over local > interfaces don't have to be serializable. Second, EJBs are forbidden Nothing is passing over a local interface here. JBoss is on one machine; Tomcat is on another. > from performing IO, because IO can block forever (you can cheat of If this is the case, why does it allow me to perform LOB input/output within the context of a database statement? I'm not doing any kind of a special hack to do it, but I'm certainly not using CMP, either. I have to use Oracle's BLOB and CLOB datatypes. > course). How are you planning on getting this into the database? You > can't create a CMP field of type Stream. I'm not using CMP. I'm accessing the datasource directly. Paul Cody wrote the following excerpt on Feb 12, 2002: > The notion of a serializable stream is not trivial. At first glance, it > suggests that your design may need reconsideration. Can you expand on your > overall requirements and the properties you expect from a serializable > stream? The project specification states that the information be stored in the database, not as a local file; this is supposedly to ensure that the data is not easily modifiable (I'm guessing here). The servlet engine may or may not be on the same machine as the ejb engine. The servlet engine will more than likely rest inside of a DMZ, and the ejb engine (as well as the database) will reside on an internal LAN or intranet, inside of a second firewall. The operating system employed may be Solaris, Windows, HP/UX, or Linux (depends on user's requirements). A user may choose to upload a file (as large as 20 or 30 megabytes) to the servlet engine. Another user may choose to download one of these uploaded files. On the backend this is also done for new mail, using Javamail (I might decide to use something else...Javamail is turning out to be painfully slow...especially using the Sun JVM.) The properties I expect to be able to receive from serialization is that the the port to the database remain secured from the DMZ; i.e. no access to the database from the DMZ. ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Streams
I'm curious if there's any way I can get streams to work as a parameter to an EJB call. I've looked through the java.io package, to no avail, trying to find a serializable stream. Is there perhaps a third party source of serializable streams (open source, preferably)? Or, is the only way I'm going to be able to stream data to the database, is through the use of a servlet communicating directly with the database? This is for files that might be as large as 20 megabytes for receiving from Tomcat, and sending back to Tomcat. Thanks in advance. ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] JBoss Evaluation Questions
JBoss Questions: >>Learning curve? I am relatively new to JBoss and was very pleasantly surprised to find out that it's very easy to use and configure. I was able to quickly develop and deploy some of the sample apps to the server with only minimal configuration (which was easy to do). That's not to say that there's nothing to it. Just look at the JBoss Web Site. > It is probably much easier to get answers to questions like this from > commercial vendors, but I decided that I would at least try for these > products. I had some initial problems with tuning JBoss for production and got some great help quickly at odd hours(we're talking 2:00 am). That's the beauty of open source... You just have to watch the mailing list and someone will answer. Cheers, Dan ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] mysql and jboss
try without the default comp/env/ in the call lookup the datasourse so use: "java:ipdomainMySQL" . This worked for me. Dan -Original Message- From: Mir S Islam [mailto:[EMAIL PROTECTED]] Sent: Friday, September 28, 2001 6:41 PM To: [EMAIL PROTECTED] Subject: [JBoss-user] mysql and jboss I am trying to use mysql with jboss as described in the documentation but ran into some problem. During the initialization I see the following messages on console/server log. [Configuration] DataSourceClass set to org.jboss.pool.jdbc.xa.wrapper.XADataSour ceImpl in DefaultDomain:service=XADataSource,name=ipdomainMySQL^M [Configuration] PoolName set to ipdomainMySQL in DefaultDomain:service=XADataSou rce,name=ipdomainMySQL^M [Configuration] URL set to jdbc:mysql://jupiter:3306/ipdomain in DefaultDomain:s ervice=XADataSource,name=ipdomainMySQL^M [Configuration] JDBCUser set to mislam in DefaultDomain:service=XADataSource,nam e=ipdomainMySQL^M [Configuration] Password set to mir in DefaultDomain:service=XADataSource,name=i pdomainMySQL^M So it seems like the driver was loaded properly and a datasource called ipdomainMySQL was setup. Later on the server log following message confirms (?) that ipdomainMySQL was bound to the server. [XADataSourceLoader] Starting^M [ipdomainMySQL] XA Connection pool ipdomainMySQL bound to java:/ipdomainMySQL^M [XADataSourceLoader] Started^M [ServerDataCollector] Starting^M [ServerDataCollector] JBoss Management Service 'servercollector' bound to server collector^M But when I invoke my ejb I get an error message on the server that: [Default] Entering TestMysql.ejbCreate() [Default] Error: javax.naming.NameNotFoundException: ipdomainMySQL not bound [Default] Leaving TestMysql.ejbCreate() Here is relevant code from my EJB class file. Any pointer/examples will be appreciated. Thanks public void ejbCreate() { System.out.println("Entering TestMysql.ejbCreate()"); Context c = null; if (this.jdbcFactory == null) { try { c = new InitialContext(); this.jdbcFactory = (javax.sql.DataSource)c.lookup("java:comp/env/ipdomainMySQL"); } catch (Exception e){ System.out.println("Error: " + e); } } System.out.println("Leaving TestMysql.ejbCreate()"); } ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] JBoss and MySql Problems
I have narrowed down part of the problem to the following exception being thrown java.util.ConcurrentModificationException [dbPool] at java.util.HashMap$HashIterator.next(HashMap.java:736) [dbPool] at java.util.AbstractCollection.addAll(AbstractCollection.java:317) [dbPool] at java.util.HashSet.(HashSet.java:86) [dbPool] at org.opentools.minerva.pool.ObjectPool.runGCandShrink(ObjectPool.java:749 ) [dbPool] at org.opentools.minerva.pool.PoolGCThread.runGC(PoolGCThread.java:66) [dbPool] at org.opentools.minerva.pool.PoolGCThread.run(PoolGCThread.java:37) Can anyone give me a hint as to where to begin debugging this. The app is under moderate load. Dan -Original Message- From: Fred Loney [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 25, 2001 1:50 PM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] JBoss and MySql Problems I agree that low pool size is useful for development; I set it to 2 for that reason. Perhaps a simpler solution than intelligent self-tuning algorithms is documentation: a prescriptive appendix that complements the excellent descriptive documentation. E.g. a section of the HOWTO chapter: How to Tune JBoss --- For development ... For testing ... For production ... I don't know enough about jboss to do this myself, but I would be willing to collect the insights of others and write something up if that would be of value. Fred Loney Spirited Software, Inc. www.spiritedsw.com - Original Message - From: "David Jencks" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, September 25, 2001 5:20 AM Subject: Re: [JBoss-user] JBoss and MySql Problems > On 2001.09.24 23:04:00 -0400 marc fleury wrote: > > |Let me say it again, louder: PUT A REASONABLE MAXSIZE IN YOUR POOL! > > > > can't we increase the max value in the default jcml? > > > > marcf > > Sure, but why? I'd rather eliminate the possibility of unlimited size. I > don't know hsql's max capabilities, but possibly 10 connections is about > all you'd want for a db running in the same vm as the server... with a > bigger db, you can set for more. > > Right now, I kind of like a small default: many people are finding ways to > break connections/pooling, and I think it's good to make this show up > soon.. so their app won't work, quickly, under very mild stress. Once they > fix it, they can adjust the pooling to match their load. What would be > great would be an estimator for x concurrent clients in a typical web > app w/ y db requests/ web page try z max connections...sigh, I fear that's > a long way off... maybe we could collect time/db call and average blocking > wait times to help... so much to do. Does something like this relate in > any way to the stuff Andy was working on? > > david jencks > > > > |If your app doesn't work well with a fairly small value proportional to > > |the > > |load on your app, there is something wrong that you need to fix. > > | > > |david jencks > > | > > |> Thanks, > > |> Dan > > |> > > |> -Original Message- > > |> From: David Jencks [mailto:[EMAIL PROTECTED]] > > |> Sent: Monday, September 24, 2001 6:37 PM > > |> To: [EMAIL PROTECTED] > > |> Subject: Re: [JBoss-user] JBoss and MySql Problems > > |> > > |> > > |> Well, setting maxsize to 0 means no limit. Some db/driver > > |combinations > > |> have a limit on the number of concurrent connections, at least from > > |one > > |> ip > > |> address. Try setting maxsize rather small -- say 5 or 10 -- and > > |verify > > |> you > > |> really are releasing connections. > > |> > > |> david jencks > > |> > > |> On 2001.09.24 18:00:22 -0400 Daniel Ferrante wrote: > > |> > Hi - > > |> > Below is my setup for a connection pool with mysql. I am using CMP > > |> with > > |> > JBoss and MySQL > > |> > > > |> > > |> > name="DefaultDomain:service=XADataSource,name=dbPool"> > > |> > dbPool > > |> > > |> > > > |> > > |name="DataSourceClass">org.opentools.minerva.jdbc.xa.wrapper.XADataSour c > > |> > eImpl > > |> > jdbc:mysql:url > > |> > user > > |> > true > > |> > 0 > > |> > pass > > |> > true > > |> > > > |> > > > |> > I am trying to debug why my application constantly dies (or hangs) > > |> after > > |> > 100 connections are created. I have made sure that I am closing all > >
RE: [JBoss-user] JBoss and MySql Problems
Thanks Nicolai - I've strongly debated dropping the Entity Bean stuff entirely. I believe I've found a work around to buy me some time by setting GCEnabled to true and GCMxIdleTime to 1. It cleans all the loose connections up. This definitely is only a hack to buy me time though. Do you know of any problems with doing this, or does it seem like a viable short term solution. I tested it and it appears to work for my needs. Best, Dan -Original Message- From: Nicolai P Guba [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 25, 2001 5:45 AM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] JBoss and MySql Problems "Daniel Ferrante" <[EMAIL PROTECTED]> writes: > I am trying to debug why my application constantly dies (or hangs) > after 100 connections are created. I have made sure that I am > closing all the connections to the database in my code (that is > anywhere I make a direct connection to the database not using the > entity beans). I am not sure what the limits of your mysql/jdbc-driver combo are wrt concurrent connections. There could be OS limitations as well. You can make a direct connection to the database by getting the DataSource via JNDI and then use it just like with BMP. There is an example of that in the JBoss docs IIRC. You could drop the entity bean stuff entirely and just access the DB from session beans. In some cases this is quite desirable, as I found out. > I understand since Blocking is set to true that it waits for a new > connection. Is this a problem with CMP, mySQL, or do you see > anything in the XADataSourceLoader. In the first place I'd check my OS limitations for concurrent network connections and then the database and make sure that the driver doesn't bomb out. It's quite unlikely that it's XADataSourceLoader. Try setting the max value to 200 and see whether the problem persists. Posting your OS info as well as your mysql and jdbc driver versions can help as well. -- Nicolai P Gubahttp://www.gnu.org http://www.frontwire.com mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] GSM: +44 (0)7909 960 751 DDI: +44 (0)20 7368 9708 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] JBoss and MySql Problems
Thanks David - I heard you loud and clear. I went back and set the MAXCONN variable to 10. Dan -Original Message- From: David Jencks [mailto:[EMAIL PROTECTED]] Sent: Monday, September 24, 2001 9:55 PM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] JBoss and MySql Problems On 2001.09.24 19:02:02 -0400 Daniel Ferrante wrote: > I assume that this means that I am creating and releasing a connection. > However, I am not sure that's what this > indicates. Can you verify that's what this indicates. > > [licensePool] Pool licensePool [46/46/Unlimited] gave out pooled object: > org.opentools.minerva.jdbc.xa.wrapper.XAConnectionImpl@21d02f > [licensePool] Pool licensePool [45/46/Unlimited] returned object > org.opentools.minerva.jdbc.xa.wrapper.XAConnectionImpl@21d02f to the > pool. this one ("returned") was returned > > [licensePool] Pool licensePool [46/46/Unlimited] gave out pooled object: > org.opentools.minerva.jdbc.xa.wrapper.XAConnectionImpl@21d02f > [licensePool] Pool licensePool [45/45/Unlimited] destroyed object > org.opentools.minerva.jdbc.xa.wrapper.XAConnectionImpl@21d02f. > this one ("destroyed") was not, something bad happened and the "physical" db connection was hopefully closed before it was discarded. What went wrong? Look in your server log -- as far as I know this shouldn't really happen. You might be crashing connections and permanently using up db server resources--just a guess. Let me say it again, louder: PUT A REASONABLE MAXSIZE IN YOUR POOL! If your app doesn't work well with a fairly small value proportional to the load on your app, there is something wrong that you need to fix. david jencks > Thanks, > Dan > > -Original Message- > From: David Jencks [mailto:[EMAIL PROTECTED]] > Sent: Monday, September 24, 2001 6:37 PM > To: [EMAIL PROTECTED] > Subject: Re: [JBoss-user] JBoss and MySql Problems > > > Well, setting maxsize to 0 means no limit. Some db/driver combinations > have a limit on the number of concurrent connections, at least from one > ip > address. Try setting maxsize rather small -- say 5 or 10 -- and verify > you > really are releasing connections. > > david jencks > > On 2001.09.24 18:00:22 -0400 Daniel Ferrante wrote: > > Hi - > > Below is my setup for a connection pool with mysql. I am using CMP > with > > JBoss and MySQL > > > > > name="DefaultDomain:service=XADataSource,name=dbPool"> > > dbPool > > > > name="DataSourceClass">org.opentools.minerva.jdbc.xa.wrapper.XADataSourc > > eImpl > > jdbc:mysql:url > > user > > true > > 0 > > pass > > true > > > > > > I am trying to debug why my application constantly dies (or hangs) > after > > 100 connections are created. I have made sure that I am closing all > the > > connections to the database in my code (that is anywhere I make a > direct > > connection to the database not using the entity beans). > > > > I understand since Blocking is set to true that it waits for a new > > connection. Is this a problem with CMP, mySQL, or do you see anything > > in the XADataSourceLoader. > > > > Thanks > > Dan > > > > ___ > > JBoss-user mailing list > > [EMAIL PROTECTED] > > https://lists.sourceforge.net/lists/listinfo/jboss-user > > > > > > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > > > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > > ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] JBoss and MySql Problems
I assume that this means that I am creating and releasing a connection. However, I am not sure that's what this indicates. Can you verify that's what this indicates. [licensePool] Pool licensePool [46/46/Unlimited] gave out pooled object: org.opentools.minerva.jdbc.xa.wrapper.XAConnectionImpl@21d02f [licensePool] Pool licensePool [45/46/Unlimited] returned object org.opentools.minerva.jdbc.xa.wrapper.XAConnectionImpl@21d02f to the pool. [licensePool] Pool licensePool [46/46/Unlimited] gave out pooled object: org.opentools.minerva.jdbc.xa.wrapper.XAConnectionImpl@21d02f [licensePool] Pool licensePool [45/45/Unlimited] destroyed object org.opentools.minerva.jdbc.xa.wrapper.XAConnectionImpl@21d02f. Thanks, Dan -Original Message- From: David Jencks [mailto:[EMAIL PROTECTED]] Sent: Monday, September 24, 2001 6:37 PM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] JBoss and MySql Problems Well, setting maxsize to 0 means no limit. Some db/driver combinations have a limit on the number of concurrent connections, at least from one ip address. Try setting maxsize rather small -- say 5 or 10 -- and verify you really are releasing connections. david jencks On 2001.09.24 18:00:22 -0400 Daniel Ferrante wrote: > Hi - > Below is my setup for a connection pool with mysql. I am using CMP with > JBoss and MySQL > > name="DefaultDomain:service=XADataSource,name=dbPool"> > dbPool > name="DataSourceClass">org.opentools.minerva.jdbc.xa.wrapper.XADataSourc > eImpl > jdbc:mysql:url > user > true > 0 > pass > true > > > I am trying to debug why my application constantly dies (or hangs) after > 100 connections are created. I have made sure that I am closing all the > connections to the database in my code (that is anywhere I make a direct > connection to the database not using the entity beans). > > I understand since Blocking is set to true that it waits for a new > connection. Is this a problem with CMP, mySQL, or do you see anything > in the XADataSourceLoader. > > Thanks > Dan > > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > > ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] JBoss and MySql Problems
Hi - Below is my setup for a connection pool with mysql. I am using CMP with JBoss and MySQL dbPool org.opentools.minerva.jdbc.xa.wrapper.XADataSourc eImpl jdbc:mysql:url user true 0 pass true I am trying to debug why my application constantly dies (or hangs) after 100 connections are created. I have made sure that I am closing all the connections to the database in my code (that is anywhere I make a direct connection to the database not using the entity beans). I understand since Blocking is set to true that it waits for a new connection. Is this a problem with CMP, mySQL, or do you see anything in the XADataSourceLoader. Thanks Dan ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] JBOSS AND SUN LICENSING
On Sunday 23 September 2001 13:17, Mark Fleury wrote: > JBoss and Sun Licensing {...text removed for brevity...} > JBoss long ago informed Sun that we were interested in obtaining the J2EE > certification suite so that we could apply Sun's certification mark to the > JBoss software. Sun quoted a price for that certification suite that is > beyond the current financial resources of the JBoss team. As a result, we > have chosen not to "certify" our software. Nevertheless, JBoss fully > complies with Sun's published standards. JBoss customers can be confident > that they are using a complete, J2EE-compliant server implementation > despite the absence of Sun's certification mark. Hrm...maybe someone could possibly ask a favor of someone on the Jakarta team to certify JBoss? I'm guessing they had to have the J2EE certification suite, considering Tomcat 4.0 (Catalina) is the JSP 1.2/Servlet 2.3 reference implementation. Perhaps JBoss could become the EJB 2.0 reference implementation. Although, the chance of that happening is probably pretty slim, considering Sun is trying to sell their IPlanet server. But, it's an idea... ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] Connection Pool Problems with JBoss
Thanks David- You're right, I am using the XADataSourceLoader...Below dbPool org.opentools.minerva.jdbc.xa.wrapper.XADataSourc eImpl jdbc:mysql:url user true 10 pass true I went back through my code and did find a connection leak after sending the previous message. Thanks again for the advice, Dan -Original Message- From: David Jencks [mailto:[EMAIL PROTECTED]] Sent: Friday, September 21, 2001 9:18 PM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] Connection Pool Problems with JBoss Are you sure you showed the right piece of configuration? what you show is from a ConnectionFactoryLoader configuration, which is extremely inconvenient to use in 2.2.2 - each time you start jboss, you have to deploy by hand or program a resource adapter (rar). Is it possible that you are actually using an XADatatSourceLoader with blocking = false? One popular way to use up all the connections and break the pool is to use BMP and hold onto a connection over a transaction boundary, for instance by caching the connection between activation and passivation. Proper use of connections in jboss is like this: (something starts the transaction, either the container or you) (get the DataSource ds) Connection c = ds.getConnection(); try { do something and close all the resources you use. } finally{ c.close(); } (transaction ends, either by container or by your code) sun has many examples of holding onto connections, well, forever, however this is inconsistent with their explanation of how pooling works. Hope this helps david jencks On 2001.09.21 17:41:23 -0400 Daniel Ferrante wrote: > Hi All - > I am using JBoss 2.2.2 with Tomcat. We are using minerva database > connection pools and are having problems with > connections returning null. The main problem is that once the null > connection object is returned and the exception is caught, we need > to restart JBoss, the connection pool dies and doesn't give out anymore > connections. I debated setting the MaxSize variable to 0 (constantly > growing the PoolSize). > > Any help you can give to me in understanding how to approach this > problem would be greatly appreciated. > > I used the default MaxSize of Connections to 10 (See Below), > > > # Pool type - uncomment to force, otherwise it is the default > #PoolConfiguration=per-factory > > # Connection pooling properties - see > # org.opentools.minerva.pool.PoolParameters > MinSize=0 > MaxSize=10 > Blocking=true > GCEnabled=false > IdleTimeoutEnabled=false > InvalidateOnError=false > TrackLastUsed=false > GCIntervalMillis=12 > GCMinIdleMillis=120 > IdleTimeoutMillis=180 > MaxIdleTimeoutPercent=1.0 > > > Thanks > Dan > > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > > ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Connection Pool Problems with JBoss
Hi All - I am using JBoss 2.2.2 with Tomcat. We are using minerva database connection pools and are having problems with connections returning null. The main problem is that once the null connection object is returned and the exception is caught, we need to restart JBoss, the connection pool dies and doesn't give out anymore connections. I debated setting the MaxSize variable to 0 (constantly growing the PoolSize). Any help you can give to me in understanding how to approach this problem would be greatly appreciated. I used the default MaxSize of Connections to 10 (See Below), # Pool type - uncomment to force, otherwise it is the default #PoolConfiguration=per-factory # Connection pooling properties - see # org.opentools.minerva.pool.PoolParameters MinSize=0 MaxSize=10 Blocking=true GCEnabled=false IdleTimeoutEnabled=false InvalidateOnError=false TrackLastUsed=false GCIntervalMillis=12 GCMinIdleMillis=120 IdleTimeoutMillis=180 MaxIdleTimeoutPercent=1.0 Thanks Dan ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Sacha's clustering support
Just wondering if the clustering support that Sacha Labourey has been working on will be in the JBoss 3.0 release? If so, any ideas on any ballpark figure on when 3.0 might be released? Thanks in advance. ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] HELP! error while getting reference to ejb
On Thursday 13 September 2001 04:34, you wrote: > second point - is there any reason you're not running embedded tomcat - > this would also remove the need to worry about it, as the properties are > already set for you. afaik there are no drawbacks to running > embeddedtomcat - you can still run apache in front of it, and use > whichever apache-tomcat connector you want. He could be wanting to do the same thing I'm doing. Running tomcat on a dedicated server, and running dedicated EJB servers. For me, tomcat is on a separate machine from JBoss. I also have Apache running on two machines; the tomcat machine and another machine, that handles redirections for my other servers. My ultimate aim is to have a fully distributed environment so that I can add or remove servers at will without causing much of a ripple. I can't see any practical purpose to running JBoss and Tomcat on the same machine, other than to make things simpler. However, perhaps I'm totally off-base, too. ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] RE: Problem Connecting to Oracle v8.1.7
> If possible, can u pls me mail me > classes12.zip file on my mail id > Hmmm... I'm afraid you receive some megas on your email box, don't you?! ;o) You can find the Oracle JDBC driver at: (1). http://otn.oracle.com/software/content.html (2). Combo box "Select a Utility or Driver", click "Oracle JDBC Drivers" (you must register before, but it's free) (3). click on the URL "Oracle8i 8.1.7 JDBC Drivers for use with JDK 1.2.x for NT", and follow the line... I also can send you this driver, if you ask me for it at my personal email address. Regards, Daniel On Tuesday 07 August 2001 05:23, Prashant Sarode wrote: > Hi Tim/John, > I've changed the line to > > > jdbc:oracle:thin:@sameer:1521:samora > > Also, added classes111.zip in classpath by placing it in > jboss/lib/ext directory. > I've also uncommented the line > > > jboss.xa.xidclass=oracle.jdbc.xa.OracleXid > > in jboss.properties and change > > java:/DefaultDS > > Hypersonic SQL > > in standardjaws.xml to > > java:/OracleDB > > Oracle8 > > But now I m getting the following error: > > [OracleDB] Starting > [OracleDB] Stopped > [OracleDB] java.lang.InstantiationException: oracle.jdbc.xa.OracleXid > [OracleDB]at java.lang.Class.newInstance0(Native Method) > [OracleDB]at java.lang.Class.newInstance(Class.java:237) > [OracleDB]at > org.jboss.jdbc.XADataSourceLoader.startService(XADataSourceLoader.java:271) > > Can u pls help me If possible, can u pls me mail me > classes12.zip file on my mail id > > Thanks & Regards, > - Prashant > > > From: "John Bruce" <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > Subject: Re: [JBoss-user] Problem Connecting to Oracle v8.1.7 > > Date: Mon, 6 Aug 2001 22:28:59 +1200 > > Reply-To: [EMAIL PROTECTED] > > > > Hi yeah you don't want > > > > jdbc:oracle:thin:@sameer:1521:samora","scott","tiger" > > > > but > > > > jdbc:oracle:thin:@sameer:1521:samora > > > > an uncomment the line > > > > jboss.xa.xidclass=oracle.jdbc.xa.OracleXid > > > > in jboss.properties > > > > and change > > > > java:/DefaultDS > > Hypersonic SQL > > > > in standardjaws.xml to > > > > java:/OracleDB > > Oracle8 > > > > and again make sure you have classes12.zip in lib/ext > > > > hope this helps > > > > > > - Original Message - > > From: "Prashant Sarode" <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > Sent: Monday, August 06, 2001 8:43 PM > > Subject: [JBoss-user] Problem Connecting to Oracle v8.1.7 > > > > > Hi all, > > > I want to use Oracle 8 as a backend instead of Hypersonic. > > > I've changed the jboss.jcml file as shown below: > > >> > name="DefaultDomain:service=JdbcProvider"> > > > > > > name="Drivers">oracle.jdbc.driver.OracleDriver > > > > > > > > > > >> > name="DefaultDomain:service=XADataSource,name=OracleDB"> > > > OracleDB > > > > > > name="DataSourceClass">org.opentools.minerva.jdbc.xa.wrapper.XADataSource > >I mp > > > > > l > > > > > > name="URL">jdbc:oracle:thin:@sameer:1521:samora","scott","tiger" >t e> > > > > > scott > > > tiger > > > > > > > > > I m using Win NT OS with JBoss v2.2.2. & embedded Tomcat v3.2.2 & my > > > > Oracle > > > > > version is v8.1.7 > > > Is the DataSourceClass specified above is right ? > > > Coz I m getting following error : > > > > > > [OracleDB] XA Connection pool OracleDB bound to java:/OracleDB > > > [OracleDB] Stopped > > > [OracleDB] java.lang.NullPointerException > > > [OracleDB] at > > > > org.opentools.minerva.jdbc.xa.XAPoolDataSource.getConnection(XAPoolDataSo > >u rc > > > > > e.java:165) > > > [OracleDB] at > > > > org.jboss.jdbc.XADataSourceLoader.startService(XADataSourceLoader.java:33 > >0 ) > > > > > [OracleDB] at > > > org.jboss.util.ServiceMBeanSupport.start(ServiceMBeanSupport.java:93) > > > > > > Pls pls help me ! > > > > > > Thanks & Regards, > > > - Prashant > > ___ > 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
[JBoss-user] HELP: Strange JDBC problem.
Hi, I encounter a strange behaviour with JBoss while I try to move the cursor to the last row in this ResultSet object. PreparedStatement ps = dc.prepareStatement("SELECT * FROM Foo", ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_UPDATABLE); ResultSet rs = ps.executeQuery(); rs.last(); java.sql.SQLException: "Invalid operation on a result of type forward-only : last" [### translated from french ###] at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:168) at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:210) at oracle.jdbc.driver.BaseResultSet.last(BaseResultSet.java:90) at org.opentools.minerva.jdbc.ResultSetInPool.last(ResultSetInPool.java:846) Strange... I didn't use the ResultSet.TYPE_FORWARD_ONLY flag, but ResultSet.TYPE_SCROLL_INSENSITIVE. I can also ensure a similare code correctly runs on another J2EE server with the same JDBC driver (Oracle Thin driver). Does the problem come from the Minerva JDBC wrapper ? My jboss.jcml misses some additional parameters : OraclePool org.opentools.minerva.jdbc.xa.wrapper.XADataSourceImpl jdbc:oracle:thin:@xxx1521:xxx xxx xxx Thanks, Daniel ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] DataSource declaration. Help again!
Hi, I always have the problem of datasource declaration. I found a "solution" (from these mailing-list threads) but I don't understand how it can work! :o) jboss.xml: [...] http://www.jboss.org/doco_files/jboss.dtd";> ConnectionFactory ejb/ConnectionFactoryEJB jdbc/DbPool javax.sql.DataSource java:/DbPool Then my EJB can access to this pool, with lookup("java:comp/env/jbdc/DbPool"), as expected (I assume here the ejb-jar.xml respect the EJB 1.1 specification recommendation). First of all, why does JBoss accept this jboss.xml file that doesn't respect the DTD?... The element is supposed to accept only two elements, and . The correct datasource declaration may be this one: [...] [...] jdbc/DbPool DbPool DbPool java:/DbPool But, then my EJB can't access to this pool with a lookup("java:comp/env/jbdc/DbPool"), but with a lookup("java:/DbPool"). More than two days on this problem, but I still miss something... ;o) Any JBoss gurus there that can help the poor JBoss newbie I am ? Daniel "Rien n'est moins sûr que l'incertain..." [Pierre Dac] ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] jboss.xml DTD missing from jboss.org website
Bryan, You will find it at: http://www.jboss.org/doco_files/jboss.dtd I think this is a "bug" already declared (I think a saw a bug report on jboss-development these last few days). Daniel On Saturday 04 August 2001 17:54, Bryan Field-Elliot wrote: > The standard URL for the jboss.xml DTD, at: > > http://www.jboss.org/j2ee/dtd/jboss.dtd > > Appears to not be on the server -- has the "official" location been > changed? > > Thank you, > > Bryan > > > > ___ > 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] how to deploy jar file on JBOSS without ANT tool
Although I agree with Scott that it can be done manually, I would recommend you simply download Ant from the Apache website. http://jakarta.apache.org/ant/index.html It's a free tool, it's extremely useful, very easy to learn and use. Make yourself a favor. Go get it, I'm sure you won't regret it. The actual deploy process is a simple copy of your jar to the deploy directory. Nothing more. So it can always be done manually. But it's the building process that greatly benefits using ant. Cheers, Dan -Message d'origine- De : Scott M Stark [mailto:[EMAIL PROTECTED]] Envoyé : 3 août, 2001 02:51 À : [EMAIL PROTECTED] Objet : Re: [JBoss-user] how to deploy jar file on JBOSS without ANT tool Yes, take each step performed by the ant script and do the equivalent task at the command line. - Original Message - From: Krishna Prasad To: [EMAIL PROTECTED] Sent: Thursday, August 02, 2001 11:18 PM Subject: [JBoss-user] how to deploy jar file on JBOSS without ANT tool Hi, I installed JBoss-2.4.0.23_Tomcat-3.2.3 on WinNT. JBOSS and TOMCAT servers started properly. I'm trying to deploy Interest example on JBOSS. I created interest.jar file as per documentation. I put this jar file in /JBOSS/deploy. In the continuous documentation, they used ANT for deployment on JBOSS. What my question is, Can't I deploy jar file on JBOSS without ANT tool. Can any one please help me out... Thanx in advance, regards, krishna * Disclaimer This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message and are hereby notified that any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. * Visit us at http://www.mahindrabt.com ___ 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] HELP! EJB 1.1 specification compliance
Mmmh... I spoke too quiclky... In fact that doesn't work! On Wednesday 01 August 2001 15:32, you wrote: > OK, it works fine now! > > Thanks a lot! > > > Daniel > > On Tuesday 31 July 2001 17:54, you wrote: > > Daniel, > > > > try chaging the Application to > > Container in the ejb-jar.xml. Also in the jboss.xml > > the tag is not required. > > > > Paul > > > > -Original Message- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED]]On Behalf Of Daniel CAUNE > > Sent: 31 July 2001 15:03 > > To: [EMAIL PROTECTED]; Gregor Rayman > > Subject: Re: [JBoss-user] HELP! EJB 1.1 specification compliance > > > > > The problem is that you've declared your bean will access datasource > > > called "java:comp/env/jdbc/myDataSource", but you have not bound > > > "java:comp/env/jdbc/myDataSource" to "java:/myDataSource". > > > > > > > > > To do this, you have to specify the binding in jboss.xml. Try this: > > > > Yes, I forgot this point! So, I have modified the jboss.xml file, but the > > problem still persists... > > > > In fact, when I deploy myBean, JBoss warns: "[Container factory] No > > resource manager found for myDataSource". > > > > Can you take a look to these deployment and configuration files, and tell > > me where the problem comes from? I've tried to follow the linked > > references, but > > I didn't notice an incoherence there, perhaps between [jboss.xml] and > > [jboss]: > > > > [myEJB.java] initialContext.lookup("java:comp/env/jdbc/myDataSource"); > > -> [ejb-jar.xml] jdbc/myDataSource > > -> [jboss.xml] jdbc/myDataSource > > -> [jboss.xml] myDataSource > > -> [jboss.xml] myDataSource > > -> [jboss.xml] java:/myDataSource > > -> [jboss] myDataSource > > > > > > > > ejb-jar.xml: > > > > (...) > > > > > > myEJB > > com.infusio.gamezilla.ejb.bean.util.myEJBHome > > com.infusio.gamezilla.ejb.bean.util.myEJB > > > > com.infusio.gamezilla.ejb.bean.util.myEJBBean > > Stateless > > Container > > > > > > jdbc/myDataSource > > javax.sql.DataSource > > Application > > > > > > > > (...) > > > > > > jboss.xml: > > -- > > > > > > myEJB > > ejb/myEJB > > > > > > jdbc/myDataSource > > myDataSource > > Container > > > > > > > > > > > > myDataSource > > java:/myDataSource > > > > > > > > > > > > jboss.jcml: > > --- > > > name="DefaultDomain:service=XADataSource,name=myDataSource"> > > myDataSource > > (...) > > > > > > > > myEJB.java: > > > > DataSource dataSource = (DataSource) > > initialContext.lookup("java:comp/env/jdbc/myDataSource"); > > > > > > JBoss' log: > > -- > > (...) > > [myDataSource] XA Connection pool myDataSource bound to > > java:/myDataSource > > (...) > > > > > > > > Thank for your support! I hope this will be hepfull to other JBoss users. > > I feel the JBoss documentation is poor on this subject. > > > > Regards, > > > > > > Daniel > > > > ___ > > JBoss-user mailing list > > [EMAIL PROTECTED] > > http://lists.sourceforge.net/lists/listinfo/jboss-user > > > > > > _ > > Do You Yahoo!? > > Get your free @yahoo.com address at http://mail.yahoo.com > > > > > > ___ > > 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 ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] HELP! EJB 1.1 specification compliance
OK, it works fine now! Thanks a lot! Daniel On Tuesday 31 July 2001 17:54, you wrote: > Daniel, > > try chaging the Application to > Container in the ejb-jar.xml. Also in the jboss.xml > the tag is not required. > > Paul > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of Daniel CAUNE > Sent: 31 July 2001 15:03 > To: [EMAIL PROTECTED]; Gregor Rayman > Subject: Re: [JBoss-user] HELP! EJB 1.1 specification compliance > > > The problem is that you've declared your bean will access datasource > > called "java:comp/env/jdbc/myDataSource", but you have not bound > > "java:comp/env/jdbc/myDataSource" to "java:/myDataSource". > > > > > > To do this, you have to specify the binding in jboss.xml. Try this: > > Yes, I forgot this point! So, I have modified the jboss.xml file, but the > problem still persists... > > In fact, when I deploy myBean, JBoss warns: "[Container factory] No > resource manager found for myDataSource". > > Can you take a look to these deployment and configuration files, and tell > me where the problem comes from? I've tried to follow the linked > references, but > I didn't notice an incoherence there, perhaps between [jboss.xml] and > [jboss]: > > [myEJB.java] initialContext.lookup("java:comp/env/jdbc/myDataSource"); > -> [ejb-jar.xml] jdbc/myDataSource > -> [jboss.xml] jdbc/myDataSource > -> [jboss.xml] myDataSource > -> [jboss.xml] myDataSource > -> [jboss.xml] java:/myDataSource > -> [jboss] myDataSource > > > > ejb-jar.xml: > > (...) > > > myEJB > com.infusio.gamezilla.ejb.bean.util.myEJBHome > com.infusio.gamezilla.ejb.bean.util.myEJB > com.infusio.gamezilla.ejb.bean.util.myEJBBean > Stateless > Container > > > jdbc/myDataSource > javax.sql.DataSource > Application > > > > (...) > > > jboss.xml: > -- > > > myEJB > ejb/myEJB > > > jdbc/myDataSource > myDataSource > Container > > > > > > myDataSource > java:/myDataSource > > > > > > jboss.jcml: > --- > name="DefaultDomain:service=XADataSource,name=myDataSource"> > myDataSource > (...) > > > > myEJB.java: > > DataSource dataSource = (DataSource) > initialContext.lookup("java:comp/env/jdbc/myDataSource"); > > > JBoss' log: > -- > (...) > [myDataSource] XA Connection pool myDataSource bound to > java:/myDataSource > (...) > > > > Thank for your support! I hope this will be hepfull to other JBoss users. I > feel the JBoss documentation is poor on this subject. > > Regards, > > > Daniel > > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > http://lists.sourceforge.net/lists/listinfo/jboss-user > > > _ > Do You Yahoo!? > Get your free @yahoo.com address at http://mail.yahoo.com > > > ___ > 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] HELP! EJB 1.1 specification compliance
> The problem is that you've declared your bean will access datasource > called "java:comp/env/jdbc/myDataSource", but you have not bound > "java:comp/env/jdbc/myDataSource" to "java:/myDataSource". > > > To do this, you have to specify the binding in jboss.xml. Try this: > Yes, I forgot this point! So, I have modified the jboss.xml file, but the problem still persists... In fact, when I deploy myBean, JBoss warns: "[Container factory] No resource manager found for myDataSource". Can you take a look to these deployment and configuration files, and tell me where the problem comes from? I've tried to follow the linked references, but I didn't notice an incoherence there, perhaps between [jboss.xml] and [jboss]: [myEJB.java] initialContext.lookup("java:comp/env/jdbc/myDataSource"); -> [ejb-jar.xml] jdbc/myDataSource -> [jboss.xml] jdbc/myDataSource -> [jboss.xml] myDataSource -> [jboss.xml] myDataSource -> [jboss.xml] java:/myDataSource -> [jboss] myDataSource ejb-jar.xml: (...) myEJB com.infusio.gamezilla.ejb.bean.util.myEJBHome com.infusio.gamezilla.ejb.bean.util.myEJB com.infusio.gamezilla.ejb.bean.util.myEJBBean Stateless Container jdbc/myDataSource javax.sql.DataSource Application (...) jboss.xml: -- myEJB ejb/myEJB jdbc/myDataSource myDataSource Container myDataSource java:/myDataSource jboss.jcml: --- myDataSource (...) myEJB.java: DataSource dataSource = (DataSource) initialContext.lookup("java:comp/env/jdbc/myDataSource"); JBoss' log: -- (...) [myDataSource] XA Connection pool myDataSource bound to java:/myDataSource (...) Thank for your support! I hope this will be hepfull to other JBoss users. I feel the JBoss documentation is poor on this subject. Regards, Daniel ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] HELP! EJB 1.1 specification compliance
Hi, I don't succeed to declare a datasource and retrieve it from my bean as the EJB specification recommends. I read from the Enterprise JavaBeans v1.1, Final Release of the Sun specification: "The EJB specification recommends, but does not require, tat all resource manager connection factory references be organized in the subcontexts of the bean's environment, using a different subcontext for each resource manager type. For example, all JDBC DataSource references might be declared in the java:com/env/jdbc subcontext, (...)". ejb-jar.xml: (...) jdbc/myDataSource javax.sql.DataSource Container (...) myBean.java: -- (...) Context initialContext = new InitialContext(); javax.sql.DataSource dataSource = (javax.sql.DataSource) initialContext.lookup("java:comp/env/jdbc/myDataSource"); (...) I have declared my datasource as follows: jboss.jcml: --- (...) comp/env/jdbc/myDataSource org.opentools.minerva.jdbc.xa.wrapper.XADataSourceImpl (...) (...) (...) (...) Then when I run JBoss, my datasource seems to be correctly bound: jboss: - (...) [comp/env/jdbc/myDataSource] Starting [comp/env/jdbc/myDataSource] XA Connection pool comp/env/jdbc/myDataSource bound to java:/comp/env/jdbc/myDataSource (...) But then, when my bean tries to retrieve the declared datasource , the lookup fails (NamingException)! initialContext.lookup(java:comp/env/jdbc/myDataSource); (myBean.java) Everything work fine when I proceed as follows: (1). myDataSource (jboss.jcml) (2). javax.sql.DataSource dataSource = (javax.sql.DataSource) initialContext.lookup("java:/myDataSource"); (myBean.java) But I break the EJB recommendation... and so, my beans are not portable anymore... ;-(( Can someone tell me the way to configure JBoss so that I continue to follow the EJB recommendation ? Thanks ! Daniel ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] JBOSS TSHIRTS!!!!!! JBOSS MUGS!!!!!
AHHAHAH :))) Why not change the browser or the OS, while being there? :-))) I'm just saying that this is how it shows on my machine... and probably on other's... So it should be changed, because it's confusing. Or else, I'll ask for that special 10.99 price :)) Cheers, Dan -Message d'origine- De : Scott M Stark [mailto:[EMAIL PROTECTED]] Envoyé : 27 juillet, 2001 16:21 À : [EMAIL PROTECTED] Objet : Re: [JBoss-user] JBOSS TSHIRTS!! JBOSS MUGS! Pick a better font! - Original Message - From: "Daniel Cardin" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, July 27, 2001 12:37 PM Subject: RE: [JBoss-user] JBOSS TSHIRTS!! JBOSS MUGS! Please forgive the binary attachment ... but it's worth it :) ___ 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 TSHIRTS!!!!!! JBOSS MUGS!!!!!
Please forgive the binary attachment ... but it's worth it :) -Message d'origine- De : Scott M Stark [mailto:[EMAIL PROTECTED]] Envoyé : 27 juillet, 2001 15:53 À : [EMAIL PROTECTED] Objet : Re: [JBoss-user] JBOSS TSHIRTS!! JBOSS MUGS! That is a sale being run by cafepress, not us as we don't generate the page. I don't see any confusion in the listing though. - Original Message - From: "Daniel Cardin" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, July 27, 2001 12:13 PM Subject: RE: [JBoss-user] JBOSS TSHIRTS!! JBOSS MUGS! [from the web page] Microfiber Cap $18.99 Sale Price $16.99! JBoss Have a look at the rendering :) the 8 being --crossed-- it really LOOKS like the regular price is 10.99 and that it is being offered at the very special price of 16.99$ heheh I'd do something about this :) Dan ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user <>
RE: [JBoss-user] JBOSS TSHIRTS!!!!!! JBOSS MUGS!!!!!
[from the web page] Microfiber Cap $18.99 Sale Price $16.99! JBoss Have a look at the rendering :) the 8 being --crossed-- it really LOOKS like the regular price is 10.99 and that it is being offered at the very special price of 16.99$ heheh I'd do something about this :) Dan -Message d'origine- De : marc fleury [mailto:[EMAIL PROTECTED]] Envoyé : 27 juillet, 2001 15:17 À : [EMAIL PROTECTED]; Jboss-User@Lists. Sourceforge. Net Objet : [JBoss-user] JBOSS TSHIRTS!! JBOSS MUGS! you get it, we get money money money money, it is important and we need it to fight this war. it will be on the website soon but for those that can read cvs logs you can go there and order you t-shirt... man they are pretty :) http://www.cafepress.com/jbossstore marcf |-Original Message- |From: [EMAIL PROTECTED] |[mailto:[EMAIL PROTECTED]]On Behalf Of Scott |M Stark |Sent: Friday, July 27, 2001 2:27 PM |To: [EMAIL PROTECTED] |Subject: [JBoss-dev] CVS update: newsite navigation.jsp | | | User: starksm | Date: 01/07/27 11:26:50 | | Modified:.navigation.jsp | Log: | Added Merchandise link under JBossGroup | | Revision ChangesPath | 1.6 +3 -2 newsite/navigation.jsp | | Index: navigation.jsp | === | RCS file: /cvsroot/jboss/newsite/navigation.jsp,v | retrieving revision 1.5 | retrieving revision 1.6 | diff -u -r1.5 -r1.6 | --- navigation.jsp 2001/07/11 06:37:00 1.5 | +++ navigation.jsp 2001/07/27 18:26:50 1.6 | @@ -116,8 +116,9 @@ | | Training | Support | -Consulting | - | +Consulting | +http://www.cafepress.com/jbossstore";>Merchandise | + | | | | | | | |___ |Jboss-development mailing list |[EMAIL PROTECTED] |http://lists.sourceforge.net/lists/listinfo/jboss-development ___ 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
[JBoss-user] (no subject)
Hi, This may be a dumb question as I am kind of new to JBoss. The verifier can't seem to find a class used within an EJB, despite the fact that the ejb jar does contain this class. The jar is sitting in the deploy directory, and is packaged - com/seyes/casino/control/event/CasinoEvent The error message is below. Does this ring any bells with anyone or am I just being stupid. cheers Daniel [Auto deploy] Auto deploy of file:/E:/applications/JBoss-2.2.2_Tomcat-3.2.2/jboss/deploy/casino.jar [J2EE Deployer Default] Deploy J2EE application: file:/E:/applications/JBoss-2.2.2_Tomcat-3.2.2/jboss/deploy/ asino.jar [J2EE Deployer Default] Create application casino.jar [J2EE Deployer Default] install module casino.jar [Container factory] Deploying:file:/E:/applications/JBoss-2.2.2_Tomcat-3.2.2/jboss/tmp/deploy/De fault/casino. ar [Verifier] Verifying file:/E:/applications/JBoss-2.2.2_Tomcat-3.2.2/jboss/tmp/deploy/Default/casi no.jar/ejb10 2.jar [Verifier] java.lang.NoClassDefFoundError: com/seyes/casino/control/event/CasinoEvent [Verifier] at java.lang.Class.getMethods0(Native Method) [Verifier] at java.lang.Class.getMethods(Class.java:742) [Verifier] at org.jboss.verifier.strategy.AbstractVerifier.hasEJBCreateMethod(AbstractVeri fier.java:421) [Verifier] at org.jboss.verifier.strategy.EJBVerifier11.verifySessionBean(EJBVerifier11.ja va:562) [Verifier] at org.jboss.verifier.strategy.EJBVerifier11.checkSession(EJBVerifier11.java:92 ) [Verifier] at org.jboss.verifier.BeanVerifier.verify(BeanVerifier.java:134) [Verifier] at org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:417) [Verifier] at org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:334) [Verifier] at org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:275) [Verifier] at java.lang.reflect.Method.invoke(Native Method) [Verifier] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628) [Verifier] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523) [Verifier] at org.jboss.deployment.J2eeDeployer.startApplication(J2eeDeployer.java:415) [Verifier] at org.jboss.deployment.J2eeDeployer.deploy(J2eeDeployer.java:178) [Verifier] at java.lang.reflect.Method.invoke(Native Method) [Verifier] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628) [Verifier] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523) [Verifier] at org.jboss.ejb.AutoDeployer.deploy(AutoDeployer.java:358) [Verifier] at org.jboss.ejb.AutoDeployer.run(AutoDeployer.java:221) [Verifier] at org.jboss.ejb.AutoDeployer.startService(AutoDeployer.java:332) [Verifier] at org.jboss.util.ServiceMBeanSupport.start(ServiceMBeanSupport.java:93) [Verifier] at java.lang.reflect.Method.invoke(Native Method) [Verifier] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628) [Verifier] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523) [Verifier] at org.jboss.util.ServiceControl.start(ServiceControl.java:97) [Verifier] at java.lang.reflect.Method.invoke(Native Method) [Verifier] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628) [Verifier] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523) [Verifier] at org.jboss.Main.(Main.java:217) [Verifier] at org.jboss.Main$1.run(Main.java:121) [Verifier] at java.security.AccessController.doPrivileged(Native Method) [Verifier] at org.jboss.Main.main(Main.java:117) ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] EJB environment entry jndi naming
Hi, Sorry for this next stupid question! An environment entry, defined in a EJB deployment file, can be retrieved (from this EJB) by prefixing its name with "java:comp/env/", exact ? somePaths/myEntryName java.lang.String myValue => initialContext.lookup("java:comp/env/somePaths/myEntryName") ? I apologize, I try to change J2EE Server, from Weblogic to JBoss! Regards, Daniel ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Problem with EJB JNDI name
Hi, I get a "javax.naming.NameNotFoundException" while I try to retrieve the home of my EJB with the correct jndi name: InitialContext iniContext = new InitialContext(); PlayerAttributeClassHome home = (PlayerAttributeClassHome) iniContext.lookup("example1/PlayerAttributeClass"); => "javax.naming.NameNotFoundException: PlayerAttributeClass not" It works when I give the jndi name "PlayerAttributeClass"!!! InitialContext iniContext = new InitialContext(); PlayerAttributeClassHome home = (PlayerAttributeClassHome) iniContext.lookup("PlayerAttributeClass"); => OK! Where does my problem come from ? What can I check ? My jboss.xml and ejb-jar.xml files seems to be correct. Regards, Daniel jboss.xml ... ... PlayerAttributeClass example1/PlayerAttributeClass ejb-jar.xml PlayerAttributeClass ... ... ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] Application organized in different jars/ears
Will it be in an alpha state earlier ? -Message d'origine- De : Juha-P Lindfors [mailto:[EMAIL PROTECTED]] Envoyé : 24 juillet, 2001 11:01 À : [EMAIL PROTECTED] Objet : Re: [JBoss-user] Application organized in different jars/ears Hi, It will be in for 3.0. -- Juha On Tue, 24 Jul 2001, Daniel Cardin wrote: > I remember some time ago there was a discussion thread regarding the > possibility of partitionning applications in different jars/ears... > Is that idea dead? implemented ? in store for 3.0 ? > > Specifically what I mean is this: having different archives work > together as one, as if deployed in a single unit. This would allow > better > organization of functionality in functional units rather than have to > put everything in at once... or use JNDI lookups intra jars.. > > Thanks, > > Daniel ___ 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
[JBoss-user] Application organized in different jars/ears
I remember some time ago there was a discussion thread regarding the possibility of partitionning applications in different jars/ears... Is that idea dead? implemented ? in store for 3.0 ? Specifically what I mean is this: having different archives work together as one, as if deployed in a single unit. This would allow better organization of functionality in functional units rather than have to put everything in at once... or use JNDI lookups intra jars.. Thanks, Daniel ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] ....Jetty....
I d/l JBoss-2.2.2_Jetty-3.1.RC5 javac.jar not there. /usr/local/JBoss-2.2.2_Jetty-3.1.RC5/jboss/lib/ext: ls activation.jar jbosssx.jar awt.jar jetty-service.jar connector.jar jms.jar dynaserver.jar jmxtools.jar ejb.jar jndi.jar ejb2.0.jar jnpserver.jar ejxeditor.jar jpl-util-0_5b.jar ejxejb.jar jta-spec1_0_1.jar ejxjaws.jar log4j-old.jar ejxjboss.jarlog4j.jar exolabcore-0.1.jar mail.jar gnu-regexp-1.0.8.jar minerva-1_0b3.jar hsql.jar openjms-client-patched-0.5.1.jar idb.jar openjms-patched-0.5.1.jar jboss.jar openjms-pool.jar jbosscx-0.2.jar openjms-rmi-patched-0.5.1.jar jbossmq.jar tomcat-service.jar /usr/local/JBoss-2.2.2_Jetty-3.1.RC5/jboss/lib/ext: |-Original Message- |From: [EMAIL PROTECTED] |[mailto:[EMAIL PROTECTED]]On Behalf Of Julian |Gosnell |Sent: Thursday, July 05, 2001 6:32 PM |To: [EMAIL PROTECTED] |Subject: Re: [JBoss-user] Jetty | | |As part of my build procedure I now copy javac.jar into jboss/lib/ext... | |can you confirm whether the build you are using contains this jar ? Which |build are you using ? | |Thanks, | | |Jules = Dan O'Brien [EMAIL PROTECTED] Cell: 614-783-4859 Home: 740-927-2178 __ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail http://personal.mail.yahoo.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] ....Jetty....
Sorry, I sent this to Jules first by mistake. Note: forwarded message attached. = Dan O'Brien [EMAIL PROTECTED] Cell: 614-783-4859 Home: 740-927-2178 __ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail http://personal.mail.yahoo.com/ Jules, I ran into a problem with the recent JBoss/Jetty download. When I ran the Jetty JSP Demo (url http://localhost:8080/demo/jsp/hello.jsp) I got: HTTP ERROR: 503 Service Unavailable java.lang.NoClassDefFoundError: sun/tools/javac/Main RequestURI=/demo/jsp/hello.jsp This is on FreeBSD 4.3 with Linux JDK 1.3. I had to change the jboss/bin/run.sh to include the tools.jar in the CLASSPATH: JBOSS_CLASSPATH=$JBOSS_CLASSPATH:run.jar:$JAVA_HOME/lib/tools.jar Then it worked: The Famous JSP Hello Program The following line should contain the text "Hello Jesper World!". If thats not the case start debugging ... Hello Jesper World! Cheers, = Dan O'Brien [EMAIL PROTECTED] Cell: 614-783-4859 Home: 740-927-2178 __ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail http://personal.mail.yahoo.com/
RE: [JBoss-user] How to delete a table?
how about (in any form of interactive SQL session) : DROP TABLE ; COMMIT; Your dialect may vary :) Dan -Message d'origine- De : Jm Seigneur [mailto:[EMAIL PROTECTED]] Envoyé : 3 juillet, 2001 17:31 À : [EMAIL PROTECTED] Objet : [JBoss-user] How to delete a table? Hello, Could you tell me how to delete a table which was previously deployed? In fact, I missed to put a entity bean in a previous deployment and now there is a problem because the table has been created with less columns than expected. I would like to reset this one. Thanks, Jm ___ 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 2.2.2 - Linux kernel 2.4
me too on Windows 2000 with jdk1.3.1. I haven't tried it with jdk1.3. Thanks -- Dan -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 03, 2001 4:15 PM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] Re: JBoss 2.2.2 - Linux kernel 2.4 I've been experiencing frequent Segmentation Faults with jdk1.3.1 -- everything works fine with jdk1.3 (running on a stock Redhat 7.0 kernel -- 2.2.16) -Jason "danch (Dan Christopherson)" <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 07/03/2001 02:33 PM Please respond to jboss-user To: [EMAIL PROTECTED] cc: Subject:Re: [JBoss-user] Re: JBoss 2.2.2 - Linux kernel 2.4 People have reported problems with that JDK on some RedHat versions. Axel Muench wrote: > Devraj, > I'm using JDK 1.3.1 - Is that one not supported? I understand this is sort > of an official question, where would be the place to address this? > > Thanks, Axel. > > > >>Hi, >>I'm new to JBoss and try to start JBoss by executing run.sh >> >> >> >> >>This is the error message: >> >>JBOSS_CLASSPATH=:run.jar:../lib/crimson.jar >>Exception in thread "main" java.lang.NoclassDefFoundError: org/jboss/Main >> >>Any major thing I'm missing here? >> >>Thanks, Axel Muench. >> > > > > ___ > 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 ___ 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
[JBoss-user] jBoss 2.0 Final: Has anybody the original zip-file??
Hello, for some tests I need the original zip-file of jBoss 2.0 FINAL. Have anybody of you have that file? If you have it, please send it to me or send me a link where I can get it. The link on jboss.org is dead! Thank you a lot so long... Daniel Schaller ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] Can't start JBOSS
The problem is that Kaffe (another JVM) is available earlier on your PATH than Sun's JDK. Make sure you place /usr/java/jdk1.3.0_02/bin at the BEGINNING of the path, not at the end... Kaffe is in /usr/bin usually, and as you can see on your PATH, /usr/bin comes before your /usr/java/jdk1.3.0_02/bin. do this instead: export PATH=/usr/java/jdk1.3.0_02/bin:$PATH HTH, Daniel -Message d'origine- De : Scott Salisbury [mailto:[EMAIL PROTECTED]] Envoyé : 8 mai, 2001 10:23 À : '[EMAIL PROTECTED]' Objet : [JBoss-user] Can't start JBOSS Hello, I have just downloaded JBOSS, installed it and am trying to start it. This is the message that I am getting: /usr/local/sbin:/usr/sbin:/sbin:/usr/kerberos/sbin:/usr/kerberos/bin:/bi n:/s bin: /usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/usr/bin/X11:/usr/X11R 6/bi n:/r oot/bin JBOSS_CLASSPATH=:run.jar:../lib/crimson.jar Couldn't find or load essential class `java/lang/Object' java.lang.NoClassDefFou ndError java/lang/Object run.sh: line 20: 16173 Aborted (core dumped) java -server $JAXP -classpath $JBOSS_CLASSPATH org.jboss.Main $@ After I add my JDK to the path I get the same message "run.sh" 21L, 717C written [root@user-uinjspd bin]# sh run.sh /usr/local/sbin:/usr/sbin:/sbin:/usr/kerberos/sbin:/usr/kerberos/bin:/bi n:/s bin: /usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/usr/bin/X11:/usr/X11R 6/bi n:/r oot/bin:/usr/java/jdk1.3.0_02/bin JBOSS_CLASSPATH=:run.jar:../lib/crimson.jar Couldn't find or load essential class `java/lang/Object' java.lang.NoClassDefFou ndError java/lang/Object run.sh: line 20: 16179 Aborted (core dumped) java -server $JAXP -classpath $JBOSS_CLASSPATH org.jboss.Main $@ Here is what I get when I type java -version [root@user-uinjspd bin]# java -version Kaffe Virtual Machine Copyright (c) 1996-2000 Transvirtual Technologies, Inc. All rights reserved Engine: Just-in-time v3 Version: 1.0.6 Java Version: 1.1 [root@user-uinjspd bin]# Any suggestions? Thanks much! ___ 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] How to integrate JBuilder 4 with JBoss
In their infinite wisdom :) JBoss designers decided to use the automatic proxy mechanism provided with jdk1.3 and thus got rid of the need for stubs altogether. HTH, Daniel -Message d'origine- De : Adam Lipscombe [mailto:[EMAIL PROTECTED]] Envoyé : 3 mai, 2001 11:02 À : [EMAIL PROTECTED] Objet : RE: [JBoss-user] How to integrate JBuilder 4 with JBoss Forgive my lack of knowledge here Do you mean that jBoss does not need stubs? Why does the Inprise App server need them and not jBoss? Something to do with IIOP? Cheers - Adam -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Daniel Cardin Sent: Thursday, May 03, 2001 3:05 PM To: [EMAIL PROTECTED] Subject: RE: [JBoss-user] How to integrate JBuilder 4 with JBoss it does :) But it would not provide a lot of added value IMHO. As James mentioned, the integration allows an automated generation of stubs. You can still use JBuilder's integrated wizards to create EJBs. This would work for plain-vanilla beans that only need ejb-jar.xml. If you need to customize jboss.xml and/or jaws.xml you'll have to add them to your jar. Daniel -Message d'origine- De : danch [mailto:[EMAIL PROTECTED]] Envoyé : 3 mai, 2001 10:04 À : [EMAIL PROTECTED] Objet : Re: [JBoss-user] How to integrate JBuilder 4 with JBoss This is a multi-part message in MIME format. --InterScan_NT_MIME_Boundary Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit The Opentools API _does_ provide a way to support other app servers. James Cook wrote: > > You can't. JB4 only supports those app servers. > > On the bright side, you don't *need* to integrate jBoss. Thee integration with > these other servers provides a means of compiling stubs/skeletons. jBoss has > thankfully saved us from this step, so the integration point you are seeking is > moot with jBoss. > > jim > > - Original Message - > From: "Adam Lipscombe" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Thursday, May 03, 2001 5:57 AM > Subject: [JBoss-user] How to integrate JBuilder 4 with JBoss > > > Folks, > > > > Apologies if this a well-known question - I am a newbie to JBoss. > > > > I have JB4 enterprise and want to integrate with JBoss. > > Under the "Enterprise" tab in JB4 project properties the Inprise App server > > is currently selected. > > When I try to add a new app server the choices are Inprise, Weblogic or EJB > > 1.1 > > > > > > How do I set up JB4 so it sees JBoss? > > > > > > Thanks in advance... > > > > > > > > Cheers - Adam > > > > > > ___ > > 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 --InterScan_NT_MIME_Boundary Content-Type: text/plain; name="InterScan_Disclaimer.txt" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="InterScan_Disclaimer.txt" Confidential e-mail for addressee only. Access to this e-mail by anyone else is unauthorized. If you have received this message in error, please notify the sender immediately by reply e-mail and destroy the original communication. --InterScan_NT_MIME_Boundary-- ___ 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 ___ 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] How to integrate JBuilder 4 with JBoss
it does :) But it would not provide a lot of added value IMHO. As James mentioned, the integration allows an automated generation of stubs. You can still use JBuilder's integrated wizards to create EJBs. This would work for plain-vanilla beans that only need ejb-jar.xml. If you need to customize jboss.xml and/or jaws.xml you'll have to add them to your jar. Daniel -Message d'origine- De : danch [mailto:[EMAIL PROTECTED]] Envoyé : 3 mai, 2001 10:04 À : [EMAIL PROTECTED] Objet : Re: [JBoss-user] How to integrate JBuilder 4 with JBoss This is a multi-part message in MIME format. --InterScan_NT_MIME_Boundary Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit The Opentools API _does_ provide a way to support other app servers. James Cook wrote: > > You can't. JB4 only supports those app servers. > > On the bright side, you don't *need* to integrate jBoss. Thee integration with > these other servers provides a means of compiling stubs/skeletons. jBoss has > thankfully saved us from this step, so the integration point you are seeking is > moot with jBoss. > > jim > > - Original Message - > From: "Adam Lipscombe" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Thursday, May 03, 2001 5:57 AM > Subject: [JBoss-user] How to integrate JBuilder 4 with JBoss > > > Folks, > > > > Apologies if this a well-known question - I am a newbie to JBoss. > > > > I have JB4 enterprise and want to integrate with JBoss. > > Under the "Enterprise" tab in JB4 project properties the Inprise App server > > is currently selected. > > When I try to add a new app server the choices are Inprise, Weblogic or EJB > > 1.1 > > > > > > How do I set up JB4 so it sees JBoss? > > > > > > Thanks in advance... > > > > > > > > Cheers - Adam > > > > > > ___ > > 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 --InterScan_NT_MIME_Boundary Content-Type: text/plain; name="InterScan_Disclaimer.txt" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="InterScan_Disclaimer.txt" Confidential e-mail for addressee only. Access to this e-mail by anyone else is unauthorized. If you have received this message in error, please notify the sender immediately by reply e-mail and destroy the original communication. --InterScan_NT_MIME_Boundary-- ___ 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] SUPPORT OF JBOSS --IMPORTANT-- PLEASE READ
Marc, Quid du taux de reponses a ce message ?? Ce soir, on a touche notre complement de famille/amis et maintenant, nous avons une full house.( Nene + Cuqui, Javier + Mari Clara, Yvan + Chantal, nos amis belges). Comment va ton trianing chez les rosbifs?. Meme si tu es tres occupe, please send a couple of words. Elvira et Nathy vont splendidement bien. Te queremos, Dad >From: "marc fleury" <[EMAIL PROTECTED]> >Reply-To: [EMAIL PROTECTED] >To: "Jboss-Business@Yahoogroups. Com" <[EMAIL PROTECTED]>, "Jbosscmp@Kpi. Com. Au" <[EMAIL PROTECTED]>, "Jboss-Development@Lists. Sourceforge. Net" <[EMAIL PROTECTED]>, "Jboss-Docs@Yahoogroups. Com" <[EMAIL PROTECTED]>, "Jboss-User@Lists. Sourceforge. Net" <[EMAIL PROTECTED]> >CC: "Lawrence E. Rosen" <[EMAIL PROTECTED]>, "Fleury_D@Hotmail. Com" <[EMAIL PROTECTED]>, "Jboss-Board@Egroups. Com" <[EMAIL PROTECTED]>, "Support@Jbossgroup. Com" <[EMAIL PROTECTED]>, "Scott M Stark" <[EMAIL PROTECTED]> >Subject: [JBoss-user] SUPPORT OF JBOSS --IMPORTANT-- PLEASE READ >Date: Sat, 28 Apr 2001 15:58:02 -0400 > > >Folks, > >We have found out that there is an exploding demand for support on JBoss >technologies. > >Would you be ready, *on behalf of JBoss Group (JBG)* to provide some >support -- obviously on a retributed basis? > >At this point, this is not a final plan but simply a call for participants >to identify available and willing talent. > >If we embark in that activity as JBG, we'll have to streamline and >coordinate it. Hence your answer is *very important* to get started. > >More on the subject in the near future if indeed resources prove available. > >Regards > >_ >Marc Fleury, Ph.D >[EMAIL PROTECTED] >_ > > >___ >JBoss-user mailing list >[EMAIL PROTECTED] >http://lists.sourceforge.net/lists/listinfo/jboss-user Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] jboss compilation from cvs
Hi, I succeed to build the default target (Thanks Scott, I did not know that I had to add the option -d to cvs update) but next I tried ./build.sh dist and got the following: util: [javac] Compiling 1 source file to /home/src/jboss/build/util/classes [javac] /home/src/jboss/src/main/org/jboss/util/ServiceMBeanSupport.java:17: Class org.apache.log4j.Category not found in import. [javac] import org.apache.log4j.Category; [javac]^ [javac] /home/src/jboss/src/main/org/jboss/logging/LogToCategory.java:9: Class org.apache.log4j.Category not found in import. [javac] import org.apache.log4j.Category; [javac]^ [javac] 2 errors I added log4j.jar to the following line in build.xml old: which solve my problem. Daniel ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] jboss compilation from CVS
Hi, Sorry to bother you, I probably should be using a precompiled installation After doing: cvs update cd src/build ./build.sh clean ./build.sh I got BUILD FAILED /home/src/jboss/src/build/build.xml:235: /home/src/jboss/build/classes/org/jboss/jms/ra not found. Any clue? Daniel ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] EJB Question
I am definitely not an expert on that topic, but I'd like to add my comments :) For one, beans have the advantage of running in the context of the server. So you can assume that JBoss will manage security and transactions if you so desire. This by itself is already worth something, IMHO. You have also access to all internal ressources like DataSources (not available outside the context of the server). As well, if your session bean (implementing business code) needs to use Entity beans, they could run within the same JVM. This sort of intra-JVM type of communication is optimized in JBoss, so that calls that would go through RMI are handled as normal method calls. (This is how I understand it... hope it's correct :)) If you use stateless session beans, code can be pooled and reused by the server to serve many clients in succession. This is not very complete, but I see those points as good reasons to use SB vs. non EJB code. But as always, there is a good place for every bit of code. Session Beans (stateless) are normally used to implement business code. Hope it's a little bit informative :)) Daniel ps. If I was wrong on any of this, please tell me :) I'm still learning. Thanks! -Message d'origine- De : Michael Hustler [mailto:[EMAIL PROTECTED]] Envoyé : 26 avril, 2001 16:18 À : Jboss (E-mail) Objet : [JBoss-user] EJB Question I have a general (and likely simple) question about EJB's - session beans in particular. What are the advantages of a stateless session bean over a non EJB helper class provided to clients. Thanks, -mike. ___ 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] External Data Modification
Hi Wes :) There is a thread that we started not too long ago on the topic. The way we have handled it is by creating our own instance of a cache manager for JBoss that is able to mark beans as dirty (thus are reloaded through ejbLoad on the next call). We have JMS setup so that our "traditionnal" application posts messages to the cache manager when making changes. A similar approach could be taken using triggers in the tables concerned I think... As long as your database allows you to call on external functions in triggers (as MS SQL does). Feel free to ask more questions if you aren't sure what the heck I'm talking about :) HTH, Daniel -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Envoyé : 26 avril, 2001 14:03 À : [EMAIL PROTECTED] Objet : [JBoss-user] External Data Modification I know I've seen some discussion of this in the past, but it never affected me until today, and I am having no luck searching the archives. I would like to know the best way to handle non-EJB modifications to the underlying data of an Entity Bean. The bean is not reloaded until it is over aged. I would apprecate hearing from anyone else who has encountered this problem. Wes ___ 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] Why cloudscape DB for petstore?
The petstore application is an application written for Sun's J2EE reference implementation. It was not developped by or for JBoss :) BUT, it was adapted so it runs on the JBoss platform... Hope this answers your question :) Daniel -Message d'origine- De : Todd Chaffee [mailto:[EMAIL PROTECTED]] Envoyé : 25 avril, 2001 14:06 À : [EMAIL PROTECTED] Objet : [JBoss-user] Why cloudscape DB for petstore? I'm just curious why the jboss developers used the cloudscape db for the sample petstore app. Since it is not open source I was surprised that something like hypersonic wasn't the first choice. I'm assuming that one of the requirements for the db was that it run as a java app so you don't have to worry about platform specific issues. I searched the archives and couldn't find any comments on this. Thanks, Todd Chaffee ___ 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-bug or misunderstanding ? (Loosing reference to JBoss object)
Anyone successfully managed using a CachedRowSet of some kind? The way I understand it, it would be the vehicle of choice to pass data between the EJB and the client... CachedRowSet crs = new CachedRowSet(); crs.setDataSourceName("somedatasource"); crs.setCommand("Select * from sometable"); crs.execute(); return crs; I'd like your thoughts/experiences with that. Alternatively, if anyone of you uses Borland's DataExpress components, are TableDataSet serializable and transportable from EJB to client ? (This could actually prove more useful to me, albeit less "portable") Cheers, Daniel -Message d'origine- De : Guy Rouillier [mailto:[EMAIL PROTECTED]] Envoyé : 24 avril, 2001 11:07 À : [EMAIL PROTECTED] Objet : Re: [JBoss-user] Jboss-bug or misunderstanding ? (Loosing reference to JBoss object) >From reading your text below, it sounds like you are returning a ResultSet object to the client and letting the client next() through it. If I'm interpreting that properly, you should not do this. Only the EJB on JBoss should talk to the database. All within a single method, obtain the connection, execute the query, get the ResultSet, loop through the result set and do something with it, close the result set, statement and connection, and then return. As to what to do with the ResultSet, you can materialize it as a set of Java objects or (as we prefer to do) and XML string. - Original Message - From: "René Rolander Nygaard" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, April 24, 2001 3:57 AM Subject: RE: [JBoss-user] Jboss-bug or misunderstanding ? (Loosing reference to JBoss object) > René Rolander Nygaard wrote: > > > We are getting pretty desperate regarding this question, so I > have to ask > > again! > > Dude, try rephrasing the question. The following paragraph makes > no sense. Sorry - i will try once more. > > Through our speed-testing we are seeing more strange behaviors. > > It seems as JBoss looses the reference to an object if you speed-clicks. > > This can only mean that the problems occurs because the same session is > > trying to access the same object more than once. > > What is "speed-clicks"? What does "looses the reference to an > object" mean? This was actually from my originally mail where i wrote that we "speed-tested" the system by clicking on a menu-item, which caused a reload in another frame on the screen. The "looses a reference" is that we have a reference from our jsp page through a bean to a JBoss stateless session bean. We select data from a resultset, and after we cycled through all items, we try to close the connection, the statement etc. but these objects are null! We still have a reference to the JBoss stateless session bean, but we fear that it is either a different stateless bean than we started with, OR it has been re-initialized. > > > > If you from a jsp page force a reload before the last page-load was > > finished, it seems that the reference from the jsp page through > to the JBoss > > stateless bean is lost! > > > > Can we expect that in one work-cycle we get a reference to at different > > JBoss stateless bean, and if this is the case - we cannot clean > up after us > > self. > > > > The scenario again: > > A jsp page gets a reference to a stateless session bean > > The jsp page starts traverse a resultset > > > > The disconnect functions all fail because the objects == null! > > Sorry about this, but i cannot see this any other way than a > JBoss bug... > > Do you realise that the same JSP instance can service multiple requests > simultaneously. If you are storing things in instance variables then > the second request will overwrite them before the first completes. This > is basic JSP/servlet stuff. Hmm. Yes - but here we make a on a page object (and we also tried making the bean session). Then we cycle through all data finally we call the Close all function. When we are running in the same jsp page, can we expect that the data contained in one jsp page is overridden if the user click's to quickly ? I hope this is not the case. Thnx for the response dude! ;-) - René Rolander Nygaard > > Toby. > > > ___ > 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 ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] How to start JBossGUI.
Oh really? I didn't know Rickard was not updating the master source ;-)) I'll definitely have a look at it! Thanks for the pointer, Daniel -Message d'origine- De : jquest jquest [mailto:[EMAIL PROTECTED]] Envoyé : 24 avril, 2001 11:01 À : [EMAIL PROTECTED] Objet : RE: [JBoss-user] How to start JBossGUI. Thanks, I found the problem. I started the version from the JBoss distribution and it is very old v0.92. I just downloadet the latest version from www.dreambean.com and all is OK. Thanks for the help. >From: "Daniel Cardin" <[EMAIL PROTECTED]> >Reply-To: [EMAIL PROTECTED] >To: <[EMAIL PROTECTED]> >Subject: RE: [JBoss-user] How to start JBossGUI. >Date: Tue, 24 Apr 2001 10:45:34 -0400 > >a that's a tricky thing actually... >when you specify open, you can select the type (last combo box on the >bottom) > >EJB 1.1 XML >EJB 1.1 XML with JBoss XML >JAWS XML > >Select the type you wish to edit, and open your ejb-jar.xml > >it will load the ejb-jar.xml file PLUS : > >If you specify (with JBoss XML) it will load the jboss.xml file in the >same directory >if you specify JAWS XML it will load the jaws.xml in the same directory > >It's usable, but if there's an area I'd like a bit more >user-friendliness it's there :) >I guess it's time to start hacking at the code ;) > >HTH, > >Daniel > >ps. I think most of JBoss users simply edit the .xml files directly :) > >-Message d'origine- >De : jquest jquest [mailto:[EMAIL PROTECTED]] >Envoyé : 24 avril, 2001 10:41 >À : [EMAIL PROTECTED] >Objet : RE: [JBoss-user] How to start JBossGUI. > > >Thank you, >I make it. >The problem is that I can not not make my deployment description. >I think it is not working well or I need additional plugin. >I the menu I have only File (new,open,save as, save, exit) , edit ( >preferences) , window and help. >I can not find any other submenu. > >Can you help me? >Thanks in advance. > > > >From: "Daniel Cardin" <[EMAIL PROTECTED]> > >Reply-To: [EMAIL PROTECTED] > >To: <[EMAIL PROTECTED]> > >Subject: RE: [JBoss-user] How to start JBossGUI. > >Date: Tue, 24 Apr 2001 10:09:45 -0400 > > > >in the /bin directory : java -jar ejx.jar > > > >HTH, > > > >Daniel > > > >-Message d'origine- > >De : jquest jquest [mailto:[EMAIL PROTECTED]] > >Envoyé : 24 avril, 2001 09:56 > >À : [EMAIL PROTECTED] > >Objet : [JBoss-user] How to start JBossGUI. > > > > > >Hi, > >I can not find any information how to start JBossGUI. > >I only readet the information from : > >http://www.jboss.org/business/jboss-projects.html. > > > >Any help will be graet. > >Thank in advance. > >___ >_ > >_ > >Get Your Private, Free E-mail from MSN Hotmail at > >http://www.hotmail.com. > > > > > >___ > >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 > >___ _ >_ >Get Your Private, Free E-mail from MSN Hotmail at >http://www.hotmail.com. > > >___ >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 _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. ___ 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] How to start JBossGUI.
a that's a tricky thing actually... when you specify open, you can select the type (last combo box on the bottom) EJB 1.1 XML EJB 1.1 XML with JBoss XML JAWS XML Select the type you wish to edit, and open your ejb-jar.xml it will load the ejb-jar.xml file PLUS : If you specify (with JBoss XML) it will load the jboss.xml file in the same directory if you specify JAWS XML it will load the jaws.xml in the same directory It's usable, but if there's an area I'd like a bit more user-friendliness it's there :) I guess it's time to start hacking at the code ;) HTH, Daniel ps. I think most of JBoss users simply edit the .xml files directly :) -Message d'origine- De : jquest jquest [mailto:[EMAIL PROTECTED]] Envoyé : 24 avril, 2001 10:41 À : [EMAIL PROTECTED] Objet : RE: [JBoss-user] How to start JBossGUI. Thank you, I make it. The problem is that I can not not make my deployment description. I think it is not working well or I need additional plugin. I the menu I have only File (new,open,save as, save, exit) , edit ( preferences) , window and help. I can not find any other submenu. Can you help me? Thanks in advance. >From: "Daniel Cardin" <[EMAIL PROTECTED]> >Reply-To: [EMAIL PROTECTED] >To: <[EMAIL PROTECTED]> >Subject: RE: [JBoss-user] How to start JBossGUI. >Date: Tue, 24 Apr 2001 10:09:45 -0400 > >in the /bin directory : java -jar ejx.jar > >HTH, > >Daniel > >-Message d'origine- >De : jquest jquest [mailto:[EMAIL PROTECTED]] >Envoyé : 24 avril, 2001 09:56 >À : [EMAIL PROTECTED] >Objet : [JBoss-user] How to start JBossGUI. > > >Hi, >I can not find any information how to start JBossGUI. >I only readet the information from : >http://www.jboss.org/business/jboss-projects.html. > >Any help will be graet. >Thank in advance. >___ _ >_ >Get Your Private, Free E-mail from MSN Hotmail at >http://www.hotmail.com. > > >___ >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 _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. ___ 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] Driver for mssql?
You can try www.inetsoftware.de they have JDBC drivers (type 4) for MSSQL. You can go either with : Sprinta2000 - JDBC 2.0 core (Use Minerva for XDataSource) Opta2000- JDBC 2.0 includes optional packages or the upcoming Merlia - JDBC 3.0 - Only usable with jdk 1.4 I have tested Sprinta with Minerva with good success. I am still getting rid of the last wrinkles with Opta's own XDataSource (includes CachedRowSet for distributed RowSets) The best thing about those drivers is that they are being _actively_ developped and maintained. The code maintainers also use JBoss sources to help in specific debugging. ps. I am in no way affiliated with inetsoft :) Just think it's worth a look. HTH, Daniel -Message d'origine- De : Frank Thiemonge (NBK) [mailto:[EMAIL PROTECTED]] Envoyé : 24 avril, 2001 09:50 À : '[EMAIL PROTECTED]' Objet : RE: [JBoss-user] Driver for mssql? Check out the old working dogs archive, in particular http://www.mail-archive.com/jboss-user@list.working-dogs.com/msg10923.ht ml Don't know if this will do much good for v 6.5, but the industry.java.sun reference should point you in the right direction. Hope this helps, Frank -Original Message- From: Jim Cheesman [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 24, 2001 5:03 AM To: [EMAIL PROTECTED] Subject: [JBoss-user] Driver for mssql? Can anyone recommend a driver for MS SQL Server (v6.5)? The ones that I've tried so far don't seem to work with JBoss, although I freely admit that this may simply be due to my own incompetence... (And if you could include the relevant sections of standardjaws.xml and jboss.jcml I'd *really* appreciate it ;) Jim -- * Jim Cheesman * Trabajo: [EMAIL PROTECTED] - (34)(91) 724 9200 x 2360 Personal: [EMAIL PROTECTED] (34) 606 770 244 Always be on the lookout for conspicuousness. ___ 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 ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user