[JBoss-user] [Security & JAAS/JBoss] - Re:
Roles not in the 'Roles' group do not exist as far as the standard apis are concerned. You would have to get the Subject and uses the Application role group yourself. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844755#3844755 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844755 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - "Roles" and rolegroups
I'm writing a small web app to modify/maintain roles.properties and eventually have versions for database/ldap. How do roles that aren't in "Roles" work? Are they even visible to the web tier? I'm using this test JSP: <% out.println(request.isUserInRole("Role3")); %> <% out.println(request.isUserInRole("Role2")); %> And getting "false true" for the following roles.properties: steve=Role2 steve.Application=Role3 So the first line defaults to "Roles" rolegroup. How do I check if the user is in Role3 or not? Is it in the Subject somewhere? If I need to I can look at the JBossSX source. Thanks, View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844754#3844754 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844754 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Re: Connection failure during managed transaction
We've had a similar problem for a long running bean. We're running JBoss 3.2.1 against an Interbase database. The exception (javax.resource.ResourceException: "Interrupted while requesting permit!") is thrown in the following piece of JBoss code: | class org.jboss.resource.connectionmanager.InternalManagedConnectionPool | ... |private final FIFOSemaphore permits; | ... |public ManagedConnection getConnection(Subject subject, ConnectionRequestInfo cri) | throws ResourceException |{ | subject = (subject == null)? defaultSubject: subject; | cri = (cri == null)? defaultCri: cri; | try | { | log.trace("jadigby: attempting get of permit with blockingTimout=" + poolParams.blockingTimeout + ",permits available=" + permits.permits() + ", Thread.isInterrupted()=" + Thread.currentThread().isInterrupted() ); | if (permits.attempt(poolParams.blockingTimeout))// < THROWS InterruptedException (jadigby) | { | ... | } catch (InterruptedException ie) | { | ResourceException re = new ResourceException("Interrupted while requesting permit!"); | re.initCause(ie); | throw re; | } // end of try-catch | (We've added the log.trace line ourselves). The problem is that permits.attempt(...) fails immediately, where we really expected it to timeout after blockingTimeout milliseconds. It fails because of the following code: | class EDU.oswego.cs.dl.util.concurrent.FIFOSemaphore extends QueuedSemaphore | class EDU.oswego.cs.dl.util.concurrent.QueuedSemaphore:attempt | public boolean attempt(long msecs) throws InterruptedException { | if (Thread.interrupted()) throw new InterruptedException();// < FAILS IMMEDIATELY HERE (jadigby) | if (precheck()) return true; | if (msecs <= 0) return false; | | WaitQueue.WaitNode w = new WaitQueue.WaitNode(); | return w.doTimedWait(this, msecs); | } | SO, somewhere, sometime, previously in this Thread's execution, this thread has been doing something (maybe Object.wait()?), that has been interrupted, but hasn't cleared the thread's interrupted status. We've seen this explicitly as our inserted log.trace method shows that Thread.currentThread().isInterrupted() is TRUE. Hence permits.attempt(...) fails immediately. Our quickfix hack has been to call Thread.currentThread().interrupted() immediately before requesting any database connections. (See Thread Javadoc extracts below for why this works) Problem disappeared (or at least is papered over for now). When we get time, we'll try to find out where previously this Thread.interrupted has been set (unless any other brave souls wish to volunteer?) JavaDoc for java.lang.Thread: public static boolean interrupted() Tests whether the current thread has been interrupted. The interrupted status of the thread is cleared by this method... public boolean isInterrupted() Tests whether this thread has been interrupted. The interrupted status of the thread is unaffected by this method. Our hack in our application code: | if (Thread.currentThread().isInterrupted()) | { | l4jLogger.debug("clearing thread interrupted flag"); | Thread.interrupted(); | } | javax.sql.DataSource ds = ServiceLocator.getInstance().getDataSource("java:comp/env/jdbc/AppDataSource"); | Whew! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844753#3844753 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844753 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Re: Disabling all messages show in console window
thanx genman wht i have done so far is that in log4j.xml i have given the 'Threshold' to FATAL for appender 'Console'. So i am not recieveing any messages as of now. but i didt find anything which which turns it off. Thanx again. Murali View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844752#3844752 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844752 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets & JSP] - Re: conf/web.xml gets truncated
Yes, create a bug report to track it. I don't see how putting the directory on the classpath can cause this behavior though. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844751#3844751 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844751 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - JBoss does not find query tags in ejb-jar.xml
I am trying to add custom finder methods to a CMP entity bean using xdoclet. When I deploy I get the following errors Bean : Player Method : public abstract Collection findByValues(String, String, String, String) throws FinderException, RemoteException Section: 10.5.6 Warning: Every finder method except findByPrimaryKey(key) must be associated with a query element in the deployment descriptor. 20:21:42,553 WARN [verifier] EJB spec violation: Bean : Player Method : public abstract Collection findByPosition(String) throws FinderException, RemoteException Section: 10.5.6 Warning: Every finder method except findByPrimaryKey(key) must be associated with a query element in the deployment descriptor. FOLLOWED BY : 20:21:42,933 ERROR [MainDeployer] could not create deployment: file:/K:/jboss-3.2.5/server/default/deploy/FBDraftEJB.jar org.jboss.deployment.DeploymentException: Verification of Enterprise Beans failed, see above for error messages. at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:517) These lines appear in ejb-jar.xml within the Entity tag findAll findByValues java.lang.String java.lang.String java.lang.String java.lang.String findByPosition java.lang.String As far as I can tell everything looks right and the query tags that the deployer is complaining about are there - Any bright ideas what is wrong View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844750#3844750 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844750 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: After Jboss crushed, will not start
I removed the tmp and work directory of the server, and it fixed the problem. Everything is working now. (8-] View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844749#3844749 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844749 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - SSL and Redirection
Hi, We are using JBoss 3.2.1,Struts1.1,stxx. Whenever the user logs in, we need to do it on https and after login it should be back to http protocol. For SSL communication the url needs to be a different one(different server, different context root etc.) My question is, is such a thing possible and is it advisable? How can this be achieved? Appreciate your comments View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844748#3844748 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844748 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: JBoss 3.2.5 distributable and form login does not work t
Ok, I created a bug report for it. http://sourceforge.net/tracker/index.php?func=detail&aid=1006976&group_id=22866&atid=376685 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844744#3844744 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844744 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Nukes User] - Re: Integrating web application
the code you are using is more or less directly out of the examples included w/ the jboss admin book. (at least w/ the paid subscription) if you're in a hurry to get this done, there's nothing wrong w/ deploying the code yourself and then migrating once > 3.2.4 is supported. you're still going to need a deployment descriptor in order to hook up the secuirty configuration. i already have this code written and more or less readily at hand. if you want it, pls let me know and i'll send it to you. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844743#3844743 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844743 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Re: Connection failure during managed transaction
I still don't know what the problem is, but it happens when requesting a connection, so I immediately request another and continue. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844742#3844742 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844742 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: javax.naming.CommunicationException - help
The default win32 socket configurations are notorious for not being able to deal with a large number of sockets. See the http://www.winguides.com/registry/category.php?310 for the tcp/ip registry parameters. More reasonable defaults for testing are: | Windows Registry Editor Version 5.00 | | [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters] | "MaxUserPort"=dword:fffe | "TcpTimedWaitDelay"=dword:001e | "MaxFreeTcbs"=dword:3e80 | "MaxHashTableSize"=dword:4000 | "TcpNumConnections"=dword:00fe | "MaxFreeTwTcbs"=dword:00061a80 | "TcpWindowSize"=dword:0006 | "NumTcbTablePartitions"=dword:0020 | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844741#3844741 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844741 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Re: Inst. Per Tx with Cache Invalidation?
Sorry, one more thing... For #2, how do you configure optimistic+pessimistic at the same time if only one locking policy is available per container? -I View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844740#3844740 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844740 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Re: Inst. Per Tx with Cache Invalidation?
Thanks Alex- Read through the documentation(including paid docs) and have a few more clarifications: 1)AdminDevel_323.Page 302 anonymous wrote : The JBoss developers are currently exploring ways to allow commit-option ÃÂÃÂAÃÂÃÂ as well (which would allow the use of caching for this option). Referring to IPT. Any updates on this progress for the 3.2 branch? 2)From CMP Wiki, anonymous wrote : Therefore, such verbal nonsense like 'container with pessimistic locking policy configured with CMP optimistic locking' might make sense in some clustered deployments. For Entity with Cache Invalidation, when 2 transactions in seperate nodes modify the same row, to make sure you have data integrity, optimistic locking would be required. But this container is defaulted to QueuedPessimistic. For a clustered environment(not clustered entities), this nonsense makes sense... right? Which leads me to: 3)What happens if CMP with Cache invalid is deployed without pessimistic locking(ie nolock or optim). Since there is only one instance, this would imply that all transactions would have complete reign over the entity and any one of them can read/modify the ejb, randomly commiting and rolling back.(sounds like a tragedy to me). Thanks a bunch! -Ivan View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844739#3844739 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844739 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Throwing javax.ejb.CreateException from ejbCreate() of a
You can throw EJBException, which is unchecked. CreateException is checked, which is not allowed. It's also for home interfaces, not JMS. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844738#3844738 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844738 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: javax.naming.CommunicationException - help
I have tested the Converter ejb in two other testing envronments. Both still generate errors (see below) but with many more threads. It seems that this is a system/network issue. The first environment is win2003/dual zeon processor servers and errors started occuring with two clients running 300 threads each. See previous post for client. The second is win2k server and errors started showing at 200 threads each. Can the timeout period be set? javax.naming.CommunicationException: Receive timed out [Root exception is java.net.SocketTimeoutException: Receive timed out] at org.jnp.interfaces.NamingContext.discoverServer(NamingContext.java:1115) at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1192) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:514) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:507) at javax.naming.InitialContext.lookup(InitialContext.java:347) at ejb.stateless.ConverterClient.run(Unknown Source) at java.lang.Thread.run(Thread.java:534) Caused by: java.net.SocketTimeoutException: Receive timed out at java.net.PlainDatagramSocketImpl.peekData(Native Method) at java.net.DatagramSocket.receive(DatagramSocket.java:661) at org.jnp.interfaces.NamingContext.discoverServer(NamingContext.java:1093) ... 6 more View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844737#3844737 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844737 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Re: Trouble Using OracleConnection
Problem has been fixed by replacing classes12.zip wih ojdbc14.jar file. Thanx, Sanjeev View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844734#3844734 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844734 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Re: Composite key -CMP Bean
Hi anil, Did you find the solution to your composite key problem. I am also having the same problem. I however can write records to table, but it crashes on me whenever I try to read the record. I struggled with it for a while before I realized it's the composite key problem. I was for a long time looking for datetime part of my composite key. I have the Composite Key class defined (it also implements Serializable interface) and overwrites hashCode and equals methods. regards vss View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844733#3844733 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844733 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss.NET] - Re: JBoss Axis deployment question
Check out http://www.csd.abdn.ac.uk/~bscharla/teaching/mtp_software/jboss/jboss-net-HelloWorld.shtml which talks about how to tweak simple Axis webservices to work with JBOSS.NET. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844731#3844731 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844731 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss.NET] - Re: WSRs Inside EARs Do Not Deploy
try: phoneappend.wsr /org in your application.xml. The context-root may be incorrect View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844730#3844730 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844730 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss.NET] - Re: Large message - Streaming?
See post "Performance with large SOAP messages" in this forum. You could try switching from an ejb exposed as a webservice to a simple webservice described in that post. This may or may not help with the response time. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844729#3844729 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844729 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: Please help: Problem with Timestamp datatype in CMP key
Hi, I changed the timestamp column to BIGINT and still get the same error. So I think there must be some other problem with my code. 16:26:50,399 ERROR [LogInterceptor] TransactionRolledbackLocalException in method: public abstract java.lang.Long optinel.iface.CardHistoryLocal.getPollTime(), causedBy: javax.ejb.NoSuchObjectLocalException: Entity not found: primaryKey=Time: 1092126316034 Param:4 SN:026003 at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:158) at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:315) at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:148) at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:120) at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191) at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122) at org.jboss.ejb.EntityContainer.internalInvoke(EntityContainer.java:484) at org.jboss.ejb.Container.invoke(Container.java:723) at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:359) at org.jboss.ejb.plugins.local.EntityProxy.invoke(EntityProxy.java:44) at $Proxy340.getPollTime(Unknown Source) at optinel.ejb.StatsEngineBean.getHistoryByParamAndCard(StatsEngineBean.java:170) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:683) at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:185) at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:72) at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:84) at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:315) at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:148) at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:120) at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191) at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122) at org.jboss.ejb.StatelessSessionContainer.internalInvoke(StatelessSessionContainer.java:331) at org.jboss.ejb.Container.invoke(Container.java:723) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53) at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473) at org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:360) at sun.reflect.GeneratedMethodAccessor90.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261) at sun.rmi.transport.Transport$1.run(Transport.java:148) at java.security.AccessController.doPrivileged(Native Method) at sun.rmi.transport.Transport.serviceCall(Transport.java:144) at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701) at java.lang.Thread.run(Thread.java:534) 16:26:50,415 INFO [STDOUT] Exception getting card history: Entity not found: primaryKey=Time: 1092126316034 Param:4 SN:026003; CausedByException is: Entity not found: primaryKey=Time: 1092126316034 Param:4 SN:026003 16:26:50,415 ERROR [LogInterceptor] TransactionRolledbackException in method: public abstract optinel.iface.CardHistoryValue[] optinel.remote.StatsEngine.getHistoryByParamAndCard(java.lang.Integer,java.lang.String) throws java.lang.Exception,java.rmi.RemoteException, causedBy: javax.ejb.NoSuchObjectLocalExc
[JBoss-user] [JBoss.NET] - Re: Web Services over JMS?
See the posting in "Is it possible to use JMS instead of HTTP with Web Services?" The Axis download has a sample. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844727#3844727 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844727 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss.NET] - Re: Is it possible to use JMS instead of HTTP with Web Servi
JBOSS.NET is actually the Apache Axis engine and there is a JMS example in the Axis download (http://ws.apache.org/axis/releases.html). If you want a stable non alpha release, try 1.1rc2. After downloading, look in the \samples\jms directory. There is a AxisJMSSample.pdf file that describes what you are looking for. You may have to tweak it slightly to work within JBOSS. I am not that familiar with JBOSS JMS but I know the simple Axis webservices need to be tweaked slightly in order to run in JBOSS. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844726#3844726 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844726 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: After Jboss crushed, will not start
I saw a couple word like: locked, wait Does that mean anything? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844725#3844725 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844725 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: After Jboss crushed, will not start
Thansk, Genman, here is the stack: Full thread dump Java HotSpot(TM) Server VM (1.4.2-p6-root_06_may_2004_20_11 mixed mode): "TP-Monitor" daemon prio=5 tid=0x09c5da00 nid=0x9c35800 in Object.wait() [9eff000..9effcdc] at java.lang.Object.wait(Native Method) - waiting on <0x2d174f18> (a org.apache.tomcat.util.threads.ThreadPool$MonitorRunnable) at org.apache.tomcat.util.threads.ThreadPool$MonitorRunnable.run(ThreadPool.java:560) - locked <0x2d174f18> (a org.apache.tomcat.util.threads.ThreadPool$MonitorRunnable) at java.lang.Thread.run(Thread.java:534) "TP-Processor4" daemon prio=5 tid=0x09c5d800 nid=0x9c1cc00 runnable [9ebf000..9ebfcdc] at java.net.PlainSocketImpl.socketAccept(Native Method) at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:353) - locked <0x2d174f40> (a java.net.PlainSocketImpl) at java.net.ServerSocket.implAccept(ServerSocket.java:448) at java.net.ServerSocket.accept(ServerSocket.java:419) at org.apache.jk.common.ChannelSocket.accept(ChannelSocket.java:287) at org.apache.jk.common.ChannelSocket.acceptConnections(ChannelSocket.java:581) at org.apache.jk.common.SocketAcceptor.runIt(ChannelSocket.java:767) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:677) at java.lang.Thread.run(Thread.java:534) "TP-Processor3" daemon prio=5 tid=0x09c5d600 nid=0x9c1c000 in Object.wait() [9e7f000..9e7fcdc] at java.lang.Object.wait(Native Method) - waiting on <0x2d174fd8> (a org.apache.tomcat.util.threads.ThreadPool$ControlRunnable) at java.lang.Object.wait(Object.java:429) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:653) - locked <0x2d174fd8> (a org.apache.tomcat.util.threads.ThreadPool$ControlRunnable) at java.lang.Thread.run(Thread.java:534) "TP-Processor2" daemon prio=5 tid=0x09c5d400 nid=0x9c37800 in Object.wait() [9e3f000..9e3fcdc] at java.lang.Object.wait(Native Method) - waiting on <0x2d174ff8> (a org.apache.tomcat.util.threads.ThreadPool$ControlRunnable) at java.lang.Object.wait(Object.java:429) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:653) - locked <0x2d174ff8> (a org.apache.tomcat.util.threads.ThreadPool$ControlRunnable) at java.lang.Thread.run(Thread.java:534) "TP-Processor1" daemon prio=5 tid=0x09c5d200 nid=0x9c1b800 in Object.wait() [9dff000..9dffcdc] at java.lang.Object.wait(Native Method) - waiting on <0x2d175018> (a org.apache.tomcat.util.threads.ThreadPool$ControlRunnable) at java.lang.Object.wait(Object.java:429) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:653) - locked <0x2d175018> (a org.apache.tomcat.util.threads.ThreadPool$ControlRunnable) at java.lang.Thread.run(Thread.java:534) "TP-Monitor" daemon prio=5 tid=0x097bae00 nid=0x9bcdc00 in Object.wait() [9da1000..9da1cdc] at java.lang.Object.wait(Native Method) - waiting on <0x2d1169d8> (a org.apache.tomcat.util.threads.ThreadPool$MonitorRunnable) at org.apache.tomcat.util.threads.ThreadPool$MonitorRunnable.run(ThreadPool.java:560) - locked <0x2d1169d8> (a org.apache.tomcat.util.threads.ThreadPool$MonitorRunnable) at java.lang.Thread.run(Thread.java:534) "TP-Processor4" daemon prio=5 tid=0x097bac00 nid=0x9bcd400 runnable [9d61000..9d61cdc] at java.net.PlainSocketImpl.socketAccept(Native Method) at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:353) - locked <0x2d117ea0> (a java.net.PlainSocketImpl) at java.net.ServerSocket.implAccept(ServerSocket.java:448) at java.net.ServerSocket.accept(ServerSocket.java:419) at org.apache.tomcat.util.net.DefaultServerSocketFactory.acceptSocket(DefaultServerSocketFactory.java:107) at org.apache.tomcat.util.net.PoolTcpEndpoint.acceptSocket(PoolTcpEndpoint.java:387) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:569) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:677) at java.lang.Thread.run(Thread.java:534) "TP-Processor3" daemon prio=5 tid=0x097baa00 nid=0x9bcd000 in Object.wait() [9d21000..9d21cdc] at java.lang.Object.wait(Native Method) - waiting on <0x2d116a30> (a org.apache.tomcat.util.threads.ThreadPool$ControlRunnable) at java.lang.Object.wait(Object.java:429) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:653) - locked <0x2d116a30> (a org.apache.tomcat.util.threads.ThreadPool$ControlRunnable) at java.lang.Thread.run(Thread.java:534) "TP-Processor2" daemon prio=5 tid=0x097ba800 nid=0x9bccc00 in Object.wait() [9ce1000..9ce1cdc] at java.lang.Object.wait(Native Method) - wait
[JBoss-user] [JBoss.NET] - Re: Exception:: Cannot invoke Call with null namespace URI f
xmlns:Axis="http://localhost:8080/axis/services/Axis"; after targetNamespace (line 5) maybe. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844722#3844722 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844722 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss.NET] - Re: My wsdl has no messages defined!
Sorry, half my message seems to get truncated: "parameter name="beanJndiName" value="UserManagerLocal"" in your web-service.xml may be incorrect. Are you using jndi-name="" in your @ejb:bean tag?(I am assuming you are using XDoclets to generate the home and remote ejb interface). Also check your @jboss-net:web-service urn= tag. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844719#3844719 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844719 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: After Jboss crushed, will not start
Get a stack trace, do ctrl-\ or kill -3 pid View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844720#3844720 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844720 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Loading an imagem from a war file
Hi, all... I did it! In a servlet I put: | public void init() throws ServletException { | String path = null; | path = this.getServletContext().getRealPath("/image/"); | Tools.IMAGEM_URL = "file:/" + path + "/"; | super.init(); | } | Thanks! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844721#3844721 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844721 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss.NET] - Re: My wsdl has no messages defined!
in your web-service.xml may be incorrect. Are you using jndi-name="" in your @ejb:bean tag?(I am assuming you are using XDoclets to generate the home and remote ejb interface). Also check your @jboss-net:web-service urn= tag. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844718#3844718 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844718 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss.NET] - Re: Excel 2002 calling JBoss.NET Web Service
Since I've got authentication working with the help of a former post (http://www.jboss.org/index.html?module=bb&op=viewtopic&t=51898) and the "JBossNET with XDoclet" tutorial from the WIKI , I'd like to put my findings here: 1. I've followed the steps described in the tutorial on setting up authentication with XDoclet tags. 2. I've put the tag to the request-flow section as described in the post mentioned above. Does anyone know what this is exactly implies? 3. I had to tell the SoapClient30 object that I'm using BASIC authentication on the server side, because it didn't found this out itself and to set username and password: sc_HelloService.ConnectorProperty("WinHTTPAuthScheme") = 1 sc_HelloService.ConnectorProperty("AuthUser") = "test" sc_HelloService.ConnectorProperty("AuthPassword") = "test" View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844717#3844717 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844717 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: JBoss 3.2.5 distributable and form login does not work t
This is the change I had made that exposes the problem: in server\all\deploy\jbossweb-tomcat50.sar\META-INF\jboss-service.xml | | false View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844715#3844715 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844715 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss.NET] - Re: What SOAP version does JBoss 3.2.5 Server Supports ?
#1 The current jboss-3.2.x release and jboss-4.x are both build on a axis-1.1 derivative. They support SOAP-1.1 #2 http://www.jboss.org/wiki/Wiki.jsp?page=JBoss.NET View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844716#3844716 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844716 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: Please help: Problem with Timestamp datatype in CMP key
Another thing I noticed. When I have just one record, I am able to use the CMP bean to read the data. however it throws this exception as soon as there are more than 1 record. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844714#3844714 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844714 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss.NET] - Re: jboss-4.0-rc1 and ws4ee
Please use the JBossWS forum, for ws4ee related questions. http://www.jboss.org/index.html?module=bb&op=viewforum&f=200 JBossWS does not generate a wsdl. It simply feeds back the wsdl from the ws4ee deployment, with a corrected service endpoint address. What are the differences you are seeing? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844713#3844713 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844713 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Is there is News Server for JBoss Forum?
Can I setup a NNTP client like outlook express or Netscape to read the forums listed here? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844712#3844712 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844712 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Re: Problem moving oracle related code from 3.2.3 to 3.2.5?
The ResultSet is wrapped. You'll have to find the actual class name and look up how to get its underlying result set. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844711#3844711 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844711 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss.NET] - JBoss Axis deployment question
Hi everybody: I am new to web services. I am trying to learn to create web service using Jboss 3.2.4 on Winddows XP box. I am trying to deploy the example3 from Axis User Guide's examples. This essentially exposes a simple Java class as a web service. I have everything compiling. What I am not sure about is where does everything go. I copied the Myservice.class into the \deploy\jboss-net.sar\jboss-net.war\WEB-INF\classes directory. I am presuming that is where it needs to go. Also I altered the all\deploy\jboss-net.sar\jmx-net.wsr\META-INF\web-service.xml to expose my class. So my final web-service.xml looks like this | | | http://net.jboss.org/jmx"; | xmlns="http://xml.apache.org/axis/wsdd/"; | xmlns:jmx="http://net.jboss.org/jmx"; | xmlns:java="http://xml.apache.org/axis/wsdd/providers/java";> | | An example JMX-based Web Service | | | | | | | | | | | | | | | | | http://schemas.xmlsoap.org/soap/encoding/"/> | | http://schemas.xmlsoap.org/soap/encoding/"/> | | | Is that all there is deploy a web service to JBoss? Now I have a client that tries to call this web-service. But I am not having any luck. So I don't know where the problem is. My client code is as follows package samples.userguide.example3; | | import org.apache.axis.client.Call; | import org.apache.axis.client.Service; | import org.apache.axis.encoding.XMLType; | import org.apache.axis.utils.Options; | | import javax.xml.namespace.QName; | import javax.xml.rpc.ParameterMode; | | public class Client | { | public static void main(String [] args) | { | try { | Options options = new Options(args); | | String endpointURL = options.getURL(); | String textToSend; | | args = options.getRemainingArgs(); | if ((args == null) || (args.length < 1)) { | textToSend = ""; | } else { | textToSend = args[0]; | } | | Service service = new Service(); | Call call= (Call) service.createCall(); | | call.setTargetEndpointAddress( new java.net.URL(endpointURL) ); | call.setOperationName( new QName("http://localhost:8080";, "serviceMethod") ); | call.addParameter( "arg1", XMLType.XSD_STRING, ParameterMode.IN); | call.setReturnType( org.apache.axis.encoding.XMLType.XSD_STRING ); | | String ret = (String) call.invoke( new Object[] { textToSend } ); | | System.out.println("You typed : " + ret); | } catch (Exception e) { | System.err.println(e.toString()); | } | } | } | When I run this code I keep getting an error as follows (404)/axis/servlet/AxisServlet Since I was not having much luck, I tried to run tcpmon and route my request thru that. And here is the request that gets sent out | POST /axis/servlet/AxisServlet HTTP/1.0 | | Content-Type: text/xml; charset=utf-8 | | Accept: application/soap+xml, application/dime, multipart/related, text/* | | User-Agent: Axis/1.1 | | Host: 127.0.0.1 | | Cache-Control: no-cache | | Pragma: no-cache | | SOAPAction: "" | | Content-Length: 466 | | | | | http://schemas.xmlsoap.org/soap/envelope/"; xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";> | | http://schemas.xmlsoap.org/soap/encoding/"; xmlns:ns1="http://localhost:8080";> | | | | | Could somebody give me some pointers on what I need to do to get this working? Thank you. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844710#3844710 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844710 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Nukes User] - Re: Integrating web application
Ok. I had found the DynamicLoginConfig, but I'm not able to use the supported versions of JBoss yet, so needed something more immediate. If the work to make Nukes run on a late model JBoss will take considerable effort, the 1 or 2 hours of effort to implement my code would probably be worth it. It can always be deprecated and may get the project to support JAAS that much sooner. Just my thoughts. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844709#3844709 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844709 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: Please help: Problem with Timestamp datatype in CMP key
Oops! Following is my EJB finder definitions for CardHistory CMP: * @ejb.finder * signature = "java.util.Collection findAllByParamAndCard(java.lang.Integer cardHistoryParamID, java.lang.String serialNo)" * query = "SELECT OBJECT(p) FROM CardHistory as p WHERE p.cardHistoryParamID = ?1 AND p.serialNo = ?2 ORDER BY p.cardHistoryParamID, p.pollTime" * unchecked = "true" * * @ejb.finder * signature = "java.util.Collection findByParamCardAndRecentThan(java.lang.Integer cardHistoryParamID, java.lang.String serialNo, java.util.Date d)" * query = "SELECT OBJECT(p) FROM CardHistory as p WHERE p.cardHistoryParamID = ?1 AND p.serialNo = ?2 AND p.pollTime > ?3 ORDER BY p.cardHistoryParamID, p.pollTime" * unchecked = "true" * * @ejb.finder * signature = "java.util.Collection findByOlderThanDate(java.sql.Timestamp ts)" * query = "SELECT OBJECT(p) FROM CardHistory as p WHERE p.pollTime < ?1 ORDER BY p.serialNo, p.cardHistoryParamID, p.pollTime" * unchecked = "true" View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844708#3844708 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844708 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Re: Disabling all messages show in console window
You can modify the log4j configuration, look for it in jboss/conf directory. There should be a cooresponding category and you can turn it off. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844707#3844707 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844707 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Please help: Problem with Timestamp datatype in CMP key
Hi All, I am stuck up with a desparate problem. I can write data using my bean but can't read data back (Please see the exception attached). My CMP has a java.sql.Timestamp data in the composit primary key. I think I am doing something wrong with the jdbc-type sql-type mapping, but even after using different combination of these type I am unable to get it to work. Following is the definition of the CMP: - Entity definition from jbosscmp-jdbc.xml file - CardHistory true false CardHistory pollTime pollTime TIMESTAMP DATETIME serialNo serialNo VARCHAR VARCHAR(12) cardHistoryParamID cardHistoryParamID SMALLINT SMALLINT value value isOnTrap isOnTrap optinel.ejb.HistoryKey Table definition CREATE TABLE [CardHistory] ( [pollTime] [datetime] NOT NULL , [serialNo] [varchar] (12) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL , [cardHistoryParamID] [smallint] NOT NULL , [value] [bigint] NULL , [isOnTrap] [bit] NULL , CONSTRAINT [pk_CardHistory] PRIMARY KEY CLUSTERED ( [pollTime], [serialNo], [cardHistoryParamID] ) ON [PRIMARY] ) ON [PRIMARY] GO I am using MSSQL 2000 database. Exception - 14:11:06,761 ERROR [LogInterceptor] TransactionRolledbackLocalException in method: public abstract java.sql.Timestamp optinel.iface.CardHistoryLocal.getPollTime(), causedBy: javax.ejb.NoSuchObjectLocalException: Entity not found: primaryKey=Time: 2004-08-10 01:58:00.0 Param:4 SN:026003 at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:158) at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:315) at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:148) at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:120) at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191) at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122) at org.jboss.ejb.EntityContainer.internalInvoke(EntityContainer.java:484) at org.jboss.ejb.Container.invoke(Container.java:723) at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:359) at org.jboss.ejb.plugins.local.EntityProxy.invoke(EntityProxy.java:44) at $Proxy216.getPollTime(Unknown Source) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844706#3844706 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844706 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Bug: MdbEjb.jsp Still 404 in JBoss Web Console
Anybody have any idea when this will be fixed? As of 3.3.5 this problem still exists. Just wondering. There's a bug in the console that displays a 404 when you select an MDB in a deployed ejb-jar. See: SourceForge Bug Tracker for the bug entry. You'll see: HTTP Status 404 - /MdbEjb.jsp type Status report message /MdbEjb.jsp description The requested resource (/MdbEjb.jsp) is not available. Apache Tomcat/5.0.26 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844705#3844705 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844705 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - After Jboss crushed, will not start
I am using FreeBSD, Jboss instance crushed today, and then I can not get it startup. Says: web-tomcat41.sar/tomcat-jk2.jar 11:25:23,053 INFO [STDOUT] Apache Tomcat/4.1.29 11:25:23,263 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on port 8080 11:25:23,264 INFO [Engine] CoyoteConnector Coyote can't register jmx for protocol 11:25:23,280 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on port 8080 11:25:23,499 INFO [Engine] CoyoteConnector Coyote can't register jmx for protocol 11:25:23,558 INFO [ChannelSocket] JK2: ajp13 listening on /0.0.0.0:8009 11:25:23,565 INFO [JkMain] Jk running ID=0 time=5/66 config=null And Then not doing anything more. All the application and war ear files are not deployed by JBoss. Please let me know if you have any suggestions. Appreciated. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844704#3844704 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844704 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss.NET] - Re: EJB as webservice - client authentication
Any possibility of moving to a more recent level of JBOSS (3.2.6 perhaps). It supports a newer level of Tomcat (5 I beleive) as well as using Axis 1.1 (JBoss.NET). I am not sure what 3.2.1 used. You might have better luck with suggestions in the forum using the newer levels. I have seen atleast one posted in this forum having to do with authentication. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844703#3844703 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844703 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss.NET] - Re: Example of Jboss.net/.NET interop/WSDL generation?
1 -yes 2 - yes (3.2.4) 3 - yes 4 - no but I have taken wsdl from a webservice (not deployed in JBOSS) and used it to generate a .NET client AWHILE ago. Can you use the WSDL to generate a .NET client? I don't think your issue is the local vs remote interface. Since you are exposing your ejb as a webservice, you want to specify remote interface (local is used if the client and app reside in the same app server). It may be an issue of what Axis refers to as "Message Service Style" (http://ws.apache.org/axis/java/user-guide.html). By exposing an ejb as a webservice in JBOSS you are using the RPC Service style. Previous levels of .NET used the Wrapped Service style. Check out "Specifying encoding/style in jboss.net" in this forum. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844702#3844702 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844702 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets & JSP] - Re: SSL tomcat/jboss error during startup and when hit the s
We have the same problem. Basicly we want the data encrypted but don't care (for the moment) about the certificate being verified. So basicly we would like to just get rid of the warning that prints on every single connection. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844701#3844701 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844701 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss.NET] - Re: Can't deploy wsdd file to Axis on JBoss
JBOSS does not understand deploy.wsdd files even though it use Axis as it's soap engine. It understands web-service.xml. This link describes how to tweak a simple axis webservice to deploy in JBOSS: http://www.csd.abdn.ac.uk/~bscharla/teaching/mtp_software/jboss/jboss-net-HelloWorld.shtml View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844700#3844700 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844700 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss.NET] - Re: wsr do not redeploy without a jboss restart ?
Your correct, there is no hot deploy for simple webservices (.wsr archives). I have been searching to discover whether this will be supported soon. JBOSS uses the Apache Axis Soap implementation and from what I had last seen, it does not support hot deployment. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844699#3844699 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844699 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Nukes User] - Re: Integrating web application
I still want to stick with DynamicLoginConfig as it's fully integrated with JBoss: http://www.jboss.org/wiki/Wiki.jsp?page=DynamicLoginConfig I understand the drawback is that Nukes won't be compatible with JBoss 3.2.3 and lower. Julien the project leader will decide. If there is more to say about design we should use the dev forum. Thanks for sharing your code. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844698#3844698 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844698 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss.NET] - Re: Webservice runtime configuration
http://www.csd.abdn.ac.uk/~bscharla/teaching/mtp_software/jboss/jboss-net-HelloWorld.shtml describes the changes needed to deploy a simple Axis webservice in JBOSS (a non ejb implementation). Most JBOSS examples illustrate exposing an ejb as a webservice (which I assume is what you refer to as the "'standard' way"). View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844697#3844697 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844697 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss.NET] - Re: What SOAP version does JBoss 3.2.5 Server Supports ?
1. How can I find out what version of SOAP v1.1 or v1.2 does JBoss support ? Search the forum for Jboss.net or read thru the messages in the section you posted. JBOSS 4.0 according to this forum now uses Axis 1.2 which supports SOAP v1.2. 2. How to deploy web services in to JBoss 3.2.5 Server ? Google for JBoss.NET, otherwise here are some links: for non ejb webservice: http://www.csd.abdn.ac.uk/~bscharla/teaching/mtp_software/jboss/jboss-net-HelloWorld.shtml ejb exposed as a webservice using XDoclet: http://www.nsdev.org/jboss/stories/jboss-net.html JbossBook_323.zip which you can purchase from Jboss (http://www.jboss.org/docs/index) 3. Where can I find this file named JBossBook_323.zip in www.jboss.org website ? (http://www.jboss.org/docs/index) for purchase under the annual subscription. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844696#3844696 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844696 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Performance Tuning] - Re: StackOverflow Error while making EJB Calls - JBOSS 3.0.0
JBOSS 3.0.0 is a little crusty, can you test on a newer version? Likely, there's an infinite loop, but who knows? Turn on trace logging (org.jboss) and see... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844695#3844695 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844695 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: CreateQueue: This destination does not exist
RTFM anonymous wrote : | public Queue createQueue(String queueName) | throws JMSException | | Creates a queue identity given a Queue name. | | This facility is provided for the rare cases where clients need to dynamically manipulate queue identity. It allows the creation of a queue identity with a provider-specific name. Clients that depend on this ability are not portable. | | Note that this method is not for creating the physical queue. The physical creation of queues is an administrative task and is not to be initiated by the JMS API. The one exception is the creation of temporary queues, which is accomplished with the createTemporaryQueue method. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844694#3844694 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844694 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Nukes User] - Re: Integrating web application
I can't take full credit for all of the code because I found the concept and most of the code via google. But, I can't locate the original source it seems. I've tried some searches but no luck so far. If I can find the URL for where I found the original code, I will post it to give credit to the author. Here are the files that make up my service... MBean interface: import org.jboss.system.ServiceMBean; | | /** | * An mbean interface for a config service that pushes an xml based | * javax.security.auth.login.Configuration onto the config stack managed by | * the mbean whose name is given by the SecurityConfigName attribute. | * | **/ | public interface SecurityConfigMBean extends ServiceMBean | { |/** | * Get the classpath resource name of the security configuration file | **/ |public String getAuthConfig(); | |/** | * Set the classpath resource name of the security configuration file | **/ |public void setAuthConfig(String configURL); | |/** | * Get the name of the SecurityConfig mbean whose pushLoginConfig and | * popLoginConfig ops will be used to install and remove the xml login | * config | **/ |public String getSecurityConfigName(); | |/** | * Set the name of the SecurityConfig mbean whose pushLoginConfig and | * popLoginConfig ops will be used to install and remove the xml login | * config | **/ |public void setSecurityConfigName(String objectName); | MBean implementation: import java.net.URL; | import java.util.Hashtable; | import javax.management.MBeanServer; | import javax.management.ObjectName; | import org.jboss.security.auth.login.XMLLoginConfig; | import org.jboss.system.ServiceMBeanSupport; | import org.apache.log4j.Logger; | | /** | * A security config mbean that loads an xml login configuration and | * pushes a XMLLoginConfig instance onto the the config stack managed by | * the SecurityConfigName mbean(default=jboss.security:name=SecurityConfig). | * | **/ | public class SecurityConfig extends ServiceMBeanSupport |implements SecurityConfigMBean | { |// Constants - | |// Attributes |private String authConf = "login-config.xml"; |private XMLLoginConfig config = null; |private ObjectName mainSecurityConfig; |protected Logger log = Logger.getLogger(SecurityConfig.class); | |// Static | |// Constructors -- |public SecurityConfig() |{ | setSecurityConfigName("jboss.security:service=SecurityConfig"); |} | |// Public |/** | * Get the name | **/ |public String getName() |{ | return "JAAS Login Config"; |} | |/** | * Get securityConfigName | **/ |public String getSecurityConfigName() |{ | return mainSecurityConfig.toString(); |} | |/** | * Set securityConfigName | **/ |public void setSecurityConfigName(String objectName) |{ | try | { | mainSecurityConfig =
[JBoss-user] [JBoss.NET] - Re: Performance with large SOAP messages
Can you share your SOAP message sizes: average size vs large size? Also what platform you are running JBOSS on? I am interested in the performance impact of JBOSS.NET on large soap messages. I think you may be correct in that the parsing is not scaling well on the larger messages. I'm assuming you are using the RPC style message format which is the default when you follow the JBOSS example for exposing an EJB as a webservice. In this case, org.apache.axis.providers.java.RPCProvider is what is used to deserialize the SOAP request message to the ejb and serialize the ejb to the SOAP response message. You can deploy a simple webservice in JBOSS and handle the soap message yourself. http://ws.apache.org/axis/java/user-guide.html "Message Services" section talks about how to do this. (http://www.csd.abdn.ac.uk/~bscharla/teaching/mtp_software/jboss/jboss-net-HelloWorld.shtml talks about how to tweak it to work with JBOSS.NET.) In this instance the service handler is org.apache.axis.providers.java.MsgProvider. Rather than deserializing the soap request to an ejb, it deserializes the soap request based on the method signature you implemented. For example implementing public void method(SOAPEnvelope req, SOAPEnvelope resp); MsgProvider will deserialize the SOAP request to, and serialize the response from: org.apache.axis.message.SOAPEnvelope. This way you can deal with the xml parsing yourself (most of it anyway, there is minimal parsing done by MsgProvider to deserialize into SoapEnvelope). This method also allows you access to the SOAPHeaders. There are third party tools available such as xmlbooster (www.xmlbooster.com) which generate xml parsers which claim to be faster than geneneric xml parsers like Xerces. This is because it generates an xml parser specific to the xml message you want to process. Of course if the xml is fairly simple and rarely changes you can just extract out what you need in the SOAP request and build the response message yourself. There are several apis to do so, sun SAAJ is the one I use. E Roush View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844692#3844692 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844692 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: What is good anatomy of a JBoss EAR?
pack all these files (ear, sar, etc.) in a single JAR and deploy it. This is called the russian dolls packaging View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844691#3844691 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844691 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - What is good anatomy of a JBoss EAR?
I am deploying my ears, however my ears have several dependencies: 1) a datasource 2) a hibernate sar I would like my ear to be a completely independent "thing." How would I would package my ear to internally include the datasource and sar, so that I don' t have to seperately manage the other resources upon deployment? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844690#3844690 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844690 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Can't Find class PropertyEditors
I am trying to view the JNDI list in the JMX-CONSOLE. But I keep getting this error. I uncommentd a section in the jboss-service.xml that referenced not being able to find the propertyeditors but this did not help. org.apache.jasper.JasperException: Unable to compile class for JSP Generated servlet error: E:\jboss-3.2.5\server\default\work\jboss.web\localhost\jmx-console\org\apache\jsp\displayOpResult_jsp.java:8: package org.jboss.util.propertyeditor does not exist import org.jboss.util.propertyeditor.PropertyEditors; ^ View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844689#3844689 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844689 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Nukes User] - Re: Integrating web application
I am interested, please tell me more on how you did here on the forum or you can email me if you want to add some code at users.sourceforge.net preceded by theute@ View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844688#3844688 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844688 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Nukes User] - Re: Another live JBoss/Nukes site
Thanks! and good idea. I added our info. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844687#3844687 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844687 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: javax.naming.CommunicationException - help
I removed: home.remove(currencyConverter.getHandle()); initial.close(); and the errors from the remote client in the second post are not thrown. The intermittant error in the first post are still an issue. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844686#3844686 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844686 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Nukes User] - Re: Integrating web application
I created a .sar file for one of my applications that dynamically adds it's security domain to JBoss without mucking with login-config.xml. It was extremely easy to do and took about an hour. If you are interested, I can post further info. I'd love to see this feature implemented earlier rather than later. FYI, my solution works on 3.2.1. I've not tried it on newer versions, but I'd think it should work. gary. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844685#3844685 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844685 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Nukes User] - Re: Another live JBoss/Nukes site
Nice and fast ! You could put it in the Wiki page: http://www.jboss.org/wiki/Wiki.jsp?page=NukesReferences with your system specifications and OS. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844684#3844684 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844684 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Re: Single call commits a dozen times.
I probably should have mentioned it's a CMR table, and using hsqldb. But it seems that JBoss commits a bazillion times after any entity activity. /k1 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844681#3844681 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844681 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Loading an imagem from a war file
Hi all! I need to render an image to put in a report and the image is in the war file. The structure: app.ear > web.war -> /img/image.gif How can I know the path to access the file? Greeting, Zuvirandu View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844680#3844680 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844680 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Single call commits a dozen times.
Just curiosity... why is this? INSERT INTO GROUP_USERS_USER_GROUPS VALUES('494bfb331884f2a40083b18f57a669e9','494a1d3f1884f2a401ab3cda8947512c') | COMMIT | COMMIT | COMMIT | COMMIT | COMMIT | COMMIT | COMMIT | COMMIT | COMMIT | COMMIT | COMMIT | COMMIT | COMMIT | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844679#3844679 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844679 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Nukes User] - Re: Integrating web application
I looked at it and decided to wait for the port of Nukes to a more recent JBoss to use a class of JBossSX that doesn't exist in the JBoss version we support. That new class will offer more flexibility. The problem is that we want an easy install process for default behavior. We don't want users to mess with: $JBOSS_HOME/server/default/conf/login-config.xml Instead JAAS configuration should be setup at deployment, it will be an easy fix as soon as we support JBoss 3.2.4 and above. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844678#3844678 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844678 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Nukes User] - Re: Integrating web application
No takers on this? Somebody, somewhere has to have done this before. It's a pretty critical subject IMO. The last thing I want is to have a site that is like every other PHP/Perl site out there where you have to login to all the cobbled together applications because there is no common authentication system. Last I knew, Nukes did not use JAAS. Is that still the case? If not, any plans to make Nukes use JAAS? gary. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844677#3844677 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844677 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Nukes User] - Another live JBoss/Nukes site
I finished porting our open-source user group site to JBoss/Nukes. Check it out: www.scosug.org It's running on a fairly low-end system (AMD K6-2 300) and uses Debian GNU/Linux, PostgreSQL, and is fronted by Apache and jk connector. Cheers, gary. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844676#3844676 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844676 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets & JSP] - Re: Struts unload() causes NPE
hi randahl yes, some ideas ;) be ABSOLUT sure that all your apps use the SAME struts version you can try to use the tomcat specific class loader.. (that may help !?) edit: /deploy/jbossweb-tomcat50.sar/META-INF/jboss-service.xml false I/we had several problems with several struts/jboss versions i use jboss3.2.5 and struts 1.2.1 and struts-layout-latest and Tomcat Webloader. everything works fine now. cheers L View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844675#3844675 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844675 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - Re: What's the point?
Which is why the server does its own authentication using the JAAS configuration established by the server admin. Clients are untrusted. Read the JAAS howto in this forum to get started. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844668#3844668 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844668 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Jboss 4.0 RC1, jmx-console
Mac I'm not sure about the conflict of other ports You can try to change the port number of JBOSS I have experienced the problem with the conflict of the oracle jserver(8080) and i have changed the JBOSS port number to any numbers like (89,77,808) etc and i have run the jboss server and i m able to see both the web-console and jmx-console at the port numbers that i have given for my jboss-server try changing the port number of jboss before you conclude on other conflicts Regards and best wishes Achan View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844667#3844667 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844667 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Getting Started Documentation] - Re: startup problems
I solved the first two. They we're related to the postgres database. The last one I still can't figure it out. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844666#3844666 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844666 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Accessing external files from EJBs
EJBs are not allowed to access the filesystem in this way. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844665#3844665 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844665 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Accessing external files from EJBs
Hi all, I have the following problem: suppose I upload a file via FTP to a directory somewhere (exactly where I don't know) inside the all deloyment. How can an EJB read the contents of this file? Thanks, Alex View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844663#3844663 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844663 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - JBoss 3.23 CMP and ant ejbjar task
I am getting a Nullpointer exception when I try to use the ant ejbjar task on a CMP 2.0 bean. I've included the relevant parts of the code. I've never used the ejb-jar task before, I've always used the jar task. It seems that the jbosscmp-jdbc.xml is getting linked in just fine, but it is dying on the parsing due to the DTD. It is well-formed XML, I included it but snipped the cmp fields for clarity. I'm trying to use the generic task that builds all our session EJBs. Thanks for any help, -P Ant build script | | | | | | | | | jbosscmp-jdbc.xml | | | | | | | OpenDS | Oracle | false | false | true | foreign-key | | | | | | | TestConfiguration | false | false | config_table | | | | | | | | Exception generated using ant -debug [ejbjar] Mapped publicId -//JBoss//DTD JBOSSCMP-JDBC 3.0//EN to file src\conf | ig\jbosscmp-jdbc_3_0.dtd |[ejbjar] Mapped publicId -//Sun Microsystems, Inc.//DTD Enterprise JavaBeans | 2.0//EN to file src\config\ejb-jar_2_0.dtd |[ejbjar] Resolved -//JBoss//DTD JBOSSCMP-JDBC 3.0//EN to local file src\confi | g\jbosscmp-jdbc_3_0.dtd | | BUILD FAILED | W:\Projects\ADIMSS\cm\psl\iw\java\build.xml:610: java.lang.NullPointerException | at org.apache.tools.ant.Task.perform(Task.java:373) | at org.apache.tools.ant.Target.execute(Target.java:341) | at org.apache.tools.ant.Target.performTasks(Target.java:369) | at org.apache.tools.ant.Project.executeTarget(Project.java:1214) | at org.apache.tools.ant.Project.executeTargets(Project.java:1062) | at org.apache.tools.ant.Main.runBuild(Main.java:673) | at org.apache.tools.ant.Main.startAnt(Main.java:188) | at org.apache.tools.ant.launch.Launcher.run(Launcher.java:196) | at org.apache.tools.ant.launch.Launcher.main(Launcher.java:55) | Caused by: java.lang.NullPointerException | at org.apache.tools.ant.taskdefs.optional.ejb.GenericDeploymentTool.proc | essDescriptor(GenericDeploymentTool.java:416) | at org.apache.tools.ant.taskdefs.optional.ejb.EjbJar.execute(EjbJar.java | :600) | at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275) | at org.apache.tools.ant.Task.perform(Task.java:364) | ... 8 more | --- Nested Exception --- | java.lang.NullPointerException | at org.apache.tools.ant.taskdefs.optional.ejb.GenericDeploymentTool.proc | essDescriptor(GenericDeploymentTool.java:416) | at org.apache.tools.ant.taskdefs.optional.ejb.EjbJar.execute(EjbJar.java | :600) | at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275) | at org.apache.tools.ant.Task.perform(Task.java:364) | at org.apache.tools.ant.Target.execute(Target.java:341) | at org.apache.tools.ant.Target.performTasks(Target.java:369) | at org.apache.tools.ant.Project.executeTarget(Project.java:1214) | at org.apache.tools.ant.Project.executeTargets(Project.java:1062) | at org.apache.tools.ant.Main.runBuild(Main.java:673) | at org.apache.tools.ant.Main.startAnt(Main.java:188) | at org.apache.tools.ant.launch.Launcher.run(Launcher.java:196) | at org.apache.tools.ant.launch.Launcher.main(Launcher.java:55) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844662#3844662 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844662 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets & JSP] - Re: CookieDoamin
Can you eloberate a little bit, why u need this feature do u use apche in front of tomcat and use the rewriting rules .. regards Janardhan View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844661#3844661 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844661 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss.NET] - jboss-4.0-rc1 and ws4ee
Hi all, I'm working on trying to get some simple jaxrpc examples going using the integrated axis-1.1 under jboss-ws4ee.sar, and find that my generated wsdl files don't match the one generated by axis from the http://localhost:8080/ws4ee/services wsdl link. Nor does it seem that the jaxrpc servlet is set up to run. Is there any chance that this will be fixed for the next release? cheers, Bruce View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844660#3844660 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844660 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Re: ebjQl, ho do I get COUNT while using LIMIT/OFFSET
I think there is no alternative but using count(*). If Jboss needs to count the number of records in the DB, then the resultset will need to be traversed, causing an even bigger bottleneck. Joachim View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844657#3844657 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844657 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: Farming documentation
What don't you understand? The document contained everything that I needed to know to get farming working. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844656#3844656 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844656 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - EJB Container Managed Persistance Not Rolling Back Transacti
Help - I have an ejb session bean (A), with a transaction attribute set to required. This invokes ejb session bean (B) which also has a transaction attribute set to required. Session bean (B) persists data to the database via Hibernate v2.1.3. Session bean (A) then persist data to the database via Hibernate. Session bean (A) then throws an EJBException. The data persisted within session bean (A) is rolled back. However - the persisted data from session bean (B) is committed to the database. Session bean (B) with a transaction attrbiute of required should support the transaction created by session bean (A), and therefore, should roll back its persisted data. Any suggestions greatly appreciated? Chris View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844655#3844655 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844655 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Farming documentation
Where can I find farming documentation ? The farming documentation on the payed PDF is very poor . View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844653#3844653 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844653 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets & JSP] - CookieDoamin
Hi, Can any one pls help me out reg..how can I set my cookieDomain name in JBoss Thanks and Regards Preeti123 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844652#3844652 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844652 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Disabling all messages show in console window
Hi All, As i am a new to JBoss, any help on how to disable all the exceptions shown in the console window, but still all the exceptions that may occure should be logged in server.log Thanx in Advance Murali View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844651#3844651 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844651 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Performance Tuning] - Re: PreCompilation of JSP Pages
And how long have you spent looking for this information in these forums? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844650#3844650 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844650 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Re: Connection failure during managed transaction
PS: I'm using JBoss 3.2.5 and mysql 3.18 on linux View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844648#3844648 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844648 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Re: Connection failure during managed transaction
I do not have a solution for that, but same trouble. I tried to import a hughe number of records coming from a byte[] within a session bean. My trace is: Caused by: org.jboss.util.NestedSQLException: Interrupted while requesting permit! Waited 0 ms, invocation time: 1092136290623; - nested throwable: (javax.resource.ResourceException: Interrupted while requesting permit! Waited 0 ms, invocation time: 1092136290623) at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:106) at ch.myserver.data.ConnectionFactory.getNonTransactionalConnection(ConnectionFactory.java:122) ... 44 more Caused by: javax.resource.ResourceException: Interrupted while requesting permit! Waited 0 ms, invocation time: 1092136290623 at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnection(InternalManagedConnectionPool.java:261) at org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePool.getConnection(JBossManagedConnectionPool.java:534) at org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(BaseConnectionManager2.java:444) at org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(BaseConnectionManager2.java:429) at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:496) at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:887) at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:102) ... 45 more Is anyone having a solution out there? Thx for the reply Per View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844647#3844647 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844647 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Performance Tuning] - PreCompilation of JSP Pages
Hi.. I needed some urgent information on this. Does JBoss support PreCompilation of JSP Pages when the App Server starts up. I guess this feature is provided by SunOne. Kindly let me know if this is possible. Regards, Rajesh View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844645#3844645 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844645 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Configuring MySQL with JBoss 4
Firstly, the error im getting is: [STDOUT] java.sql.SQLException: Table not found: USERS_TBL in statement [SELECT * FROM users_tbl] Im executing this using the code: | try { | Context ctx = new InitialContext(); | Object ob = ctx.lookup("java:comp/env/jdbc/MySqlDS"); | connectionPool = (DataSource) ob; | | conn = connectionPool.getConnection(); | Statement s = conn.createStatement(); | res = s.executeQuery("SELECT * FROM users_tbl"); | | | } catch (Exception e) { | System.err.println(e.toString()); | } | If i use the code below everything works fine: | try{ | Class.forName("com.mysql.jdbc.Driver"); | String url = "jdbc:mysql://localhost:3306/davidjc2_jspforums"; | conn = DriverManager.getConnection(url, "davidjc2_webuser","123qwe"); | | Statement s = conn.createStatement(); | res = s.executeQuery("SELECT * FROM users_tbl"); | | }catch(Exception e){ | System.err.println(e.toString()); | } | In ejb-jar.xml i have: | | The MySQL Database | jdbc/MySqlDS | javax.sql.DataSource | Container | | Which leads me to believe its something to do with my configuration. In standardjaws.xml i have: | java:/MySqlDS | mySQL | In login-config.xml i have: | | | | myusername | myusername | mypassword | | jboss.jca:service=LocalTxCM,name=MySqlDS | | | | | In mysql-ds.xml in deploy directory i have: | | | jdbc/MySqlDS | jdbc:mysql://localhost:3306/davidjc2_jspforums | com.mysql.jdbc.Driver | myusername | mypassword | | | | Can anyone help with this please? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844644#3844644 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844644 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Running JMS results Shut downing the JBOSS
HI i run the following JMS application in Jboss. URL : http://www.jboss.org/wiki/Wiki.jsp?page=QueueExample Then the Jboss server is automatically shutdown with following error. 16:35:27,781 INFO [STDOUT] Queue name is testQueue 16:35:27,781 INFO [STDOUT] JNDI API lookup failed: javax.naming.NameNotFoundExc eption: QueueConnectionFactory not bound 16:35:27,781 INFO [STDOUT] javax.naming.NameNotFoundException: QueueConnectionF actory not bound 16:35:27,781 INFO [STDOUT] at org.jnp.server.NamingServer.getBinding(Naming Server.java:495) 16:35:27,781 INFO [STDOUT] at org.jnp.server.NamingServer.getBinding(Naming Server.java:503) 16:35:27,781 INFO [STDOUT] at org.jnp.server.NamingServer.getObject(NamingS erver.java:509) 16:35:27,781 INFO [STDOUT] at org.jnp.server.NamingServer.lookup(NamingServ er.java:282) 16:35:27,781 INFO [STDOUT] at org.jnp.interfaces.NamingContext.lookup(Namin gContext.java:530) 16:35:27,781 INFO [STDOUT] at org.jnp.interfaces.NamingContext.lookup(Namin gContext.java:509) 16:35:27,781 INFO [STDOUT] at javax.naming.InitialContext.lookup(InitialCon text.java:345) 16:35:27,781 INFO [STDOUT] at jmstest.JmsMethodCallBean.getName(JmsMethodCa llBean.java:59) 16:35:27,781 INFO [STDOUT] at org.apache.jsp.JmsMethodCall_jsp._jspService( JmsMethodCall_jsp.java:69) 16:35:27,781 INFO [STDOUT] at org.apache.jasper.runtime.HttpJspBase.service (HttpJspBase.java:94) 16:35:27,781 INFO [STDOUT] at javax.servlet.http.HttpServlet.service(HttpSe rvlet.java:810) 16:35:27,781 INFO [STDOUT] at org.apache.jasper.servlet.JspServletWrapper.s ervice(JspServletWrapper.java:324) 16:35:27,781 INFO [STDOUT] at org.apache.jasper.servlet.JspServlet.serviceJ spFile(JspServlet.java:292) 16:35:27,796 INFO [STDOUT] at org.apache.jasper.servlet.JspServlet.service( JspServlet.java:236) 16:35:27,796 INFO [STDOUT] at javax.servlet.http.HttpServlet.service(HttpSe rvlet.java:810) 16:35:27,796 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterCha in.internalDoFilter(ApplicationFilterChain.java:237) 16:35:27,796 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterCha in.doFilter(ApplicationFilterChain.java:157) 16:35:27,796 INFO [STDOUT] at org.apache.catalina.core.StandardWrapperValve .invoke(StandardWrapperValve.java:214) 16:35:27,796 INFO [STDOUT] at org.apache.catalina.core.StandardValveContext .invokeNext(StandardValveContext.java:104) 16:35:27,796 INFO [STDOUT] at org.apache.catalina.core.StandardPipeline.inv oke(StandardPipeline.java:520) 16:35:27,796 INFO [STDOUT] at org.apache.catalina.core.StandardContextValve .invokeInternal(StandardContextValve.java:198) 16:35:27,796 INFO [STDOUT] at org.apache.catalina.core.StandardContextValve .invoke(StandardContextValve.java:152) 16:35:27,796 INFO [STDOUT] at org.apache.catalina.core.StandardValveContext .invokeNext(StandardValveContext.java:104) 16:35:27,796 INFO [STDOUT] at org.jboss.web.tomcat.security.SecurityAssocia tionValve.invoke(SecurityAssociationValve.java:72) 16:35:27,796 INFO [STDOUT] at org.apache.catalina.core.StandardValveContext .invokeNext(StandardValveContext.java:102) 16:35:27,796 INFO [STDOUT] at org.jboss.web.tomcat.security.JBossSecurityMg rRealm.invoke(JBossSecurityMgrRealm.java:275) 16:35:27,796 INFO [STDOUT] at org.apache.catalina.core.StandardValveContext .invokeNext(StandardValveContext.java:102) 16:35:27,796 INFO [STDOUT] at org.apache.catalina.core.StandardPipeline.inv oke(StandardPipeline.java:520) 16:35:27,796 INFO [STDOUT] at org.apache.catalina.core.StandardHostValve.in voke(StandardHostValve.java:137) 16:35:27,796 INFO [STDOUT] at org.apache.catalina.core.StandardValveContext .invokeNext(StandardValveContext.java:104) 16:35:27,796 INFO [STDOUT] at org.apache.catalina.valves.ErrorReportValve.i nvoke(ErrorReportValve.java:117) 16:35:27,796 INFO [STDOUT] at org.apache.catalina.core.StandardValveContext .invokeNext(StandardValveContext.java:102) 16:35:27,796 INFO [STDOUT] at org.apache.catalina.core.StandardPipeline.inv oke(StandardPipeline.java:520) 16:35:27,796 INFO [STDOUT] at org.apache.catalina.core.StandardEngineValve. invoke(StandardEngineValve.java:109) 16:35:27,796 INFO [STDOUT] at org.apache.catalina.core.StandardValveContext .invokeNext(StandardValveContext.java:104) 16:35:27,796 INFO [STDOUT] at org.apache.catalina.core.StandardPipeline.inv oke(StandardPipeline.java:520) 16:35:27,796 INFO [STDOUT] at org.apache.catalina.core.ContainerBase.invoke (ContainerBase.java:929) 16:35:27,796 INFO [STDOUT] at org.apache.coyote.tomcat5.CoyoteAdapter.servi ce(CoyoteAdapter.java:160) 16:35:27,796 INFO [STDOUT] at org.apache.coyote.http11.Http11Processor.proc ess(Http11Processor.java:799) 16:35:27,796 INFO [STDOUT] at org.apache.coyote.http11.Http11Protocol$Http1 1ConnectionHandler.processConnection(Http11Protocol.java:705) 16:35:27,796 INFO
[JBoss-user] [Persistence & CMP/JBoss] - ebjQl, ho do I get COUNT while using LIMIT/OFFSET
Hi all, We're using LIMIT/OFFSET with DynamicQL in our JBoss-application for a complex query. That works fine. Now I want to know how many rows are in the full result. I know that JBoss does not send the LIMIT/OFFSET-clause to the database but handles this itself. So, JBoss should know how many rows are in this resultset. Is there ANY way to get this rowcount after executing the query? I know I could use COUNT with the query to get the desired value, but that would mean more load on the database, which is already the bottleneck. Versions used: JBoss 3.2.5 PostgresQL 7.3.4 The ejbQL-Query used: "SELECT OBJECT(d) FROM Document d ORDER BY d.archivierungAm DESC LIMIT ?1 OFFSET ?2" any help would be highly appreciated, Kind Regards, Silvio View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844642#3844642 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844642 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - exporting statistics from web-console
Looking for an easy way for exporting statistics from web-console. (on a daily basis for example) JBoss 3.2.3 Anyone can help??? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844640#3844640 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844640 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - CreateQueue: This destination does not exist
Hi, i get the following Errormessage: rg.jboss.mq.SpyJMSException: Cannot get the Queue from the provider; - nested throwable: (javax.jms.JMSException: This destination does not exist !) | | at org.jboss.mq.SpyConnection.createQueue(SpyConnection.java:258) | | at org.jboss.mq.SpySession.createQueue(SpySession.java:783) | | at jms.Client1.setLogEntry(Client1.java:48) | | at jms.start.main(start.java:17) | | Caused by: javax.jms.JMSException: This destination does not exist ! | | at org.jboss.mq.server.JMSDestinationManager.createQueue(JMSDestinationManager.java:678) | | at org.jboss.mq.server.JMSServerInterceptorSupport.createQueue(JMSServerInterceptorSupport.java:149) | | at org.jboss.mq.server.TracingInterceptor.createQueue(TracingInterceptor.java:314) | | at org.jboss.mq.server.JMSServerInvoker.createQueue(JMSServerInvoker.java:149) | | at org.jboss.mq.il.uil2.ServerSocketManagerHandler.handleMsg(ServerSocketManagerHandler.java:111) | | at org.jboss.mq.il.uil2.SocketManager$ReadTask.handleMsg(SocketManager.java:356) | | at org.jboss.mq.il.uil2.msgs.BaseMsg.run(BaseMsg.java:377) | | at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:748) | | at java.lang.Thread.run(Thread.java:534) | | Exception in thread "main" after i hava run this code: | package jms; | | import java.util.Properties; | | import javax.jms.Message; | import javax.jms.Queue; | import javax.jms.QueueConnection; | import javax.jms.QueueConnectionFactory; | import javax.jms.QueueReceiver; | import javax.jms.QueueSender; | import javax.jms.QueueSession; | import javax.jms.Session; | import javax.jms.TextMessage; | import javax.naming.Context; | import javax.naming.InitialContext; | | public class Client1 | | { |private static final String QUEUE_CONNECTION_FACTORY="ConnectionFactory"; |private static Queue queue = null; | |public static void main(String[] args) throws Exception |{ |} | public void setLogEntry(String msg, String name) throws Exception | { | |log.info("Creating jndi context - alternatively use a jndi.properties"); |Properties properties = new Properties(); |properties.put(Context.INITIAL_CONTEXT_FACTORY, "org.jnp.interfaces.NamingContextFactory"); |properties.put(Context.URL_PKG_PREFIXES, "org.jnp.interfaces"); |properties.put(Context.PROVIDER_URL, "localhost"); |InitialContext ctx = new InitialContext(properties); | |log.info("Looking up connection factory"); |QueueConnectionFactory qcf = (QueueConnectionFactory) ctx.lookup("UIL2ConnectionFactory"); | | |log.info("Creating connection"); |QueueConnection qc = qcf.createQueueConnection(); |try |{ | log.info("Creating session"); | QueueSession qs = qc.createQueueSession(false, Session.AUTO_ACKNOWLEDGE); | | log.info("Creating Queue"); | this.queue = qs.createQueue(name); | | log.info("Creating sender with Queue: "+name); | QueueSender sender = qs.createSender(queue); | | | log.info("Creating message"); | TextMessage message = qs.createTextMessage(msg); | | log.info("Sending message"); | sender.send(message); |} | finally |{ | qc.close(); |} | } | |public String getLogEntry(String name) throws Exception |{ | |log.info("Creating jndi context - alternatively use a jndi.properties"); |Properties properties = new Properties(); |properties.put(Context.INITIAL_CONTEXT_FACTORY, | "org.jnp.interfaces.NamingContextFactory"); |properties.put(Context.URL_PKG_PREFIXES, "org.jnp.interfaces"); |properties.put(Context.PROVIDER_URL, "localhost"); |InitialContext ctx = new InitialContext(properties); | | | |log.info("Looking up connection factory"); |QueueConnectionFactory qcf = (QueueConnectionFactory) ctx.lookup( |"UIL2ConnectionFactory"); | |log.info("Creating connection"); |QueueConnection qc = qcf.createQueueConnection(); |try |{ | | log.info("Creating session"); | QueueSession qs = qc.createQueueSession(false, Session.AUTO_ACKNOWLEDGE); | | | | log.info("Creating receiver"); | QueueReceiver receiver = qs.createReceiver(this.queue); | | log.info("Try to receive message, it will not work"); | Message received = receiver.receiveNoWait(); | if (received != null) |
[JBoss-user] [EJB/JBoss] - Re: Transaction timeout configuration for a specific Statele
Thanx Collin, I will try that, even though I can't understand why this feature isn't possible with Container Managed Transactions !? ... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844638#3844638 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844638 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: [ChannelSocket] connection timeout reached messages
If you don't need a connectionTimeout, You can discard those messages by setting connectionTimeout to "0" in jbossweb-tomcat41.sar/META-INF/jboss-service.xml. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844637#3844637 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844637 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - What's the point?
Hi, I suppose I'm missing a point somewhere, so please tell me. I just don't see in what way JAAS authentication can guarantee knowledge of a client stand alone application user. Example: I'm writing a client application which connects to EJBs. I've used JAAS authentication to authenticate the user (lets say with NTLoginModule). This is on Windows XP. Now my point is, basically anyone who has access to a computer with this application (with their own account of course) can use the application simply by editing and changing the login-configuration file and the JAAS security policy file. Am I right? I must be missing a point here, or is JAAS authentication totally useless? Thanks Harvey View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844636#3844636 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844636 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets & JSP] - Re: Struts unload() causes NPE
Sure it is related to Struts. Look: "Servlet action threw unload()" And in my system the servlet name "action" refers to the Struts action servlet. This is confirmed by the fact that if I disable struts, the problem goes away. As soon as struts is enabled, the error occurs - even if I disable all my own struts stuff and run a clean, fresh struts install the error occurs... Anyone got any ideas? Randahl View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844635#3844635 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844635 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] jbossMQ configuration problem
Hi all, i'm refering the following link for writing simple JMS application. http://www.jboss.org/wiki/Wiki.jsp?page=QueueExample But i still not be able to configure the JbossMQ server. Can you tell me what configuration files and entries I need to change while running a JMS application. such as jboss.xml ejb-jar.xml jbossMQ-destination-service.xml etc.. Also the above sample says that sample can run as follows: To run it: java -classpath .:JBOSS_HOME/client/jbossall-client.jar Client or windows java -classpath .;JBOSS_HOME\client\jbossall-client.jar Client but with my knowledge to run a application in jboss, the above procedure is not acceptable, because executing a main method in the jboss is not posible. can somebody help me to solve this problem and send me all the required steps to creat, deploy and running a JMS application in JbossMQ. Thanks in advanced regards Thilina. __ Do you Yahoo!? Yahoo! Mail - You care about security. So do we. http://promotions.yahoo.com/new_mail --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user