[JBoss-user] [JBoss jBPM] - Re: How to suspend and resume a process
Add a wait state in your workflow and signal the token later on. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913724#3913724 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913724 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: Add/List/Edit/Remove example in Seam
You guys should try out the reverse engineering tool: http://www.jboss.com/index.html?module=bbop=viewtopict=74318 It will create such an example for you, from your database schema. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913725#3913725 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913725 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: Client call Stateless problem, Bug??
Hi, just close the IntitialContext after you have finished your call. This will prevent the TimeOutException. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913726#3913726 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913726 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: CacheLoader: exists() before get() inefficient - solutio
We're talking about 2 get() methods in CacheLoader: #1 Object get(Fqn name, Object key) throws Exception; #2 Map get(Fqn name) throws Exception; You're only referring to the 2nd case. #1 If you return null, this could mean: - key not associated with a value or - node doesn't exist #2 (same as above) I think the cleanest way is to add an exception to the get() methods, e.g. NodeNotExistsException. I'm thinking about whether it would make sense to make this a runtime exception, so we don't have to change the signature, but then again, we should make this clear on the API level. Of course this would break existing CacheLoader implementations, so we'd have to communicate this clearly. Thoughts ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913727#3913727 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913727 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Advanced Documentation] - Re: Extending JBoss
Woops, my question seems to be posted twice... My mistake ;-) Anyway, since there are no replies at all, this doesn't matter, but it seems to confirm my statement concerning open source in general... nice products, no or poor documentation... Greetings, Kurt View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913729#3913729 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913729 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Tomcat, HTTPD, Servlets JSP] - Tomcat logs processCallbacks status 2 and tcp connection s
Hi all, We are using two identical machines to host JBoss 4.0.3 with a mod_jk apache server on front. On one node (and only one...) the number of connections opened to the mod_jk increase dramatically (~100 per day). Those connections seems to be dead because they are not opened on the apache server. After enabling the tomcat logging, we can see : WARN [org.apache.jk.common.ChannelSocket] processCallbacks status 2 This problem can occurs when serving anything... Does anybody have an idea ? Thomas View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913730#3913730 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913730 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - Creation of a JBoss Hosting Service
Hello all, I run a small ASBL (non-profit organization in belgium) and we provide cheap hosting services for individuals and other non-profit organizations. I know JBoss enough to run a single server instance for relatively isolated applications but does not figure out all constraints that can occurs when hosting potentially hostile applications. For example, how to provide an individual datasource for a client, whithout allowing other clients to access it? Do you have any pointers or ideas on how to setup a JBoss server to host client applications without the hasle of running multiple, completely isolated and independant JBoss instances (that could cause a real performance hit)? Thanks for reading me. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913731#3913731 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913731 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - Re: JBoss Application Server 4.0.3 SP1
want kind of error message do y get ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913732#3913732 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913732 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Tomcat, HTTPD, Servlets JSP] - Re: how to get the number of bytes sent by the servlet respo
There's lots of ways. If you want every servlet counted, you can write a javax.servlet.Filter (You can filter depending on URL pattern so you can be selective if you want) which passes an HttpServletResponseWrapper which you would write along the filter chain. This wrapper's getOutputStream() method would return an OutputStream subclass of your own making which counts bytes written. getWriter() would use getOutputStream(). You would then declare your filter in your web.xml descriptor. If it's just one servlet that you are fully in control of, then don't call out.write() directly, call it through a method which counts the bytes. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913733#3913733 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913733 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Tomcat, HTTPD, Servlets JSP] - Re: How to display value in B combobox with change in combob
I got the point but only wording mistake took place. My question is In my jsp page I have 2 combo boxes--data of 2nd comboBox is dependent on the 1st. The data for 2nd is previously obtained from a database. Regards sanu View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913734#3913734 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913734 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Tomcat, HTTPD, Servlets JSP] - Re: How to display value in B combobox with change in combob
I got the point ,but the mistake was of wording i used. My question is -- In my jsp page I have 2 combo boxes--data of 2nd comboBox is dependent on the 1st. The data for both is previously obtained from a database. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913735#3913735 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913735 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: CacheLoader: exists() before get() inefficient - solutio
Manik and I just had a phone call, and here's the outcome (comments welcome!): - we will remove the get(node, key) method from the CacheLoader interface. It is not used and I don't think it ever will be used, because maintaining which keys have been loaded, and which not, is too complex - For the Map get(node) method, either #1 return null if node not found and an empty hashmap if no attributes are present or #2 throw a NodeNotExists exception #1 will silently change semantics, and all CacheLoader impls have to change to conform to the new semantics #2 will force existing CacheLoader implementations to be changed I'm open for suggestions on which solution people like more. I'm slightly leaning towards #2 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913737#3913737 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913737 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: CacheLoader: exists() before get() inefficient - solutio
Hi, Method #1 - loader.get(fqn, key) - is not used in the cache loader interceptors and should be removed from the CacheLoader interface as it just adds unnecessary complexity. I like having loader.get(fqn) to throw a NodeNotExistsException - forces implementations to be revisited rather than 'silently' failing because of changed semantics. The other option - changing the semantics of loader.get() so it returns a null only if the node doesn't exist and an empty Map if the load does but with no attribs - may result in 'silent' bugs because people haven't updated their cacheloader impl's. The downside of using an exception is the relative overhead of using an exception for a fairly common situation (trying to load a node that doesn't exist) so it isn't really an exceptional circumstance... Naturally such changes will be clearly documented (Javadocs, user guides and FAQs, wikis, even a blog about it). Preferences? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913738#3913738 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913738 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Tomcat, HTTPD, Servlets JSP] - Re: how to get the number of bytes sent by the servlet respo
Thanks for the response NigelWhite, Sorry, I forgot to mention the following: 1. I have just one servlet 2. I do not want to go byte by byte in the stream, this will slow down my response I see in the status page of the tomcat, the number of bytes in request and response. Not sure how that is calculated. I want to know if there is an api in tomcat that can help me get the bytes. Thanks again View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913739#3913739 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913739 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - how do i start jboss-4.0.0RC1 through windows
hai jboss Gurus If i want to start/stop jboss-4.0.0RC1 on windows service how to do it could any one help me on this issue i am struggling on this issue from 1 week View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913740#3913740 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913740 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - JP and ADS
Hello, is there a way to use JBossPortal 2.2 together with ADS? Is the login module in login-config.xml replacable by the extended LDAP login module of JBoss 4.0.3SP1? Are there some module options required by JBossPortal? Best wishes Werner Greßhoff View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913741#3913741 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913741 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37alloc_id865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - Re: how do i start jboss-4.0.0RC1 through windows
callpraveenin wrote : hai jboss Gurus | If i want to start/stop jboss-4.0.0RC1 on windows service how to do it could any one help me on this issue i am struggling on this issue from 1 week View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913742#3913742 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913742 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - Re: how do i start jboss-4.0.0RC1 through windows
Try this: http://www.weiqigao.com/articles/jboss/foil08.html View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913743#3913743 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913743 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Exception with INOUT-Mode in a document\literal-Webservice
I'm getting a strange exception when I try to return a SOAPElement in a document\literal webservice: | 11:00:52,564 INFO [AxisServlet] java.lang.IllegalArgumentException: Illegal argument passed to ParameterDesc.setJavaType. The java type javax.xml.soap.SOAPElement does not match the mode inout | We are using the wscompile with the nodatabinding-option, so the signature of the generated port-implementation looks like this: | public SOAPElement signup(SOAPElement orderElement) throws RemoteException; | The Webservice runs flawless, as long as we don't return anything (public void signup(SOAPElement orderElement) ) - we only get the exception when we switch to inout. Here is the relevant part of the wsdl: | message name=OrderRequest | part name=request element=orderTypes:ullOrder / | /message | | message name=OrderResponse | part name=request element=orderTypes:returnCode / | /message | | portType name=SignupPort | operation name=signup | input message=tns:OrderRequest / | output message=tns:OrderResponse / | /operation | /portType | | binding type=tns:SignupPort name=SignupBinding | soap:binding style=document | transport=http://schemas.xmlsoap.org/soap/http; / | | operation name=signup | soap:operation soapAction= / | input | soap:body use=literal / | /input | output | soap:body use=literal/ | /output | /operation | /binding | | service name=SignupServices | port name=SignupPort binding=tns:SignupBinding | soap:address location=REPLACE_WITH_ACTUAL_URL/ | /port | /service | | /definitions | I found an entry in jira that looks vaguely related: http://jira.jboss.com/jira/browse/JBWS-381 but I'm still wondering about the consequences: Does this mean we won't be able to use document\literal on return-types before 4.0.4 is out? Cheers stf View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913744#3913744 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913744 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - different portlets to different users
In the jboss portal, is it possible to define the menu list to show different portlets to differents users. For example, suppose that i've two portlets. Portlet A, and Portlet B, and i've a userA with role A, a userB with role B and a user C with Role C. I want that, in the menu list of the jboss portal, to user A, only shows Portlet A, in the list. And for user B, i want to show only portlet B. And for user C, i want to show portlet A and B. The menu that i'm talking about, is the one that is on the leftside of the portal. Ex: ___ |Menu | | Page Menu | | default| | forums| | carris | | admin | | test | - View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913745#3913745 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913745 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: CacheLoader: exists() before get() inefficient - solutio
I don't think there is any overhead when throwing an exception compared to returning a value. Hmm, this could easily be microbenched though... Volunteers ? :-) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913746#3913746 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913746 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: Client call Stateless problem, Bug??
hi, don't think about this any furhter. It is wrong. My fault. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913747#3913747 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913747 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Tomcat, HTTPD, Servlets JSP] - Re: how to get the number of bytes sent by the servlet respo
Just send all output through a method! | private int responseLength = 0; // zero it at the start of your code!!! | | private void write(OutputStream out, String data) | { | responseLength += data.length; | out.write(data); | } | What's wrong with that? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913748#3913748 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913748 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: Token reflects old node after a successful signal
enazareno wrote : Anyway, I had noticed in your code you issued a commit only and did not use a commit and close the transaction as ff: That's right. In my real code, I'm closing the session, too, but this is *only* a workaround. Should this whole thing work without closing the session? That seems weird to me. enazareno wrote : set the hibernate.show_sql=true in jbpm.hibernate.properties so you can see the sql statements, at least I found that very useful. I'm using it. enazareno wrote : Use one JbpmSession per thread/request but the JbpmSessionFactory/configurations must be loaded only once. Yep, I'm using the session-per-request pattern. It's a bit modified, as sometimes I need to reopen the session when this syncing problem is detected. enazareno wrote : BTW, what database are you using? We're running with MySQL 4. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913749#3913749 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913749 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Tomcat, HTTPD, Servlets JSP] - Re: How to display value in B combobox with change in combob
OK, your onchange code is going to have to use an XMLHttpRequest: http://developer.apple.com/internet/webcontent/xmlhttpreq.html and http://www.google.co.uk/search?hl=enq=XMLHttpRequestbtnG=Google+Searchmeta= It will use one of these objects to send a request with whatever parameters are needed to producde the new combobox data back to a servlet which will send back a response. The way I do this is I have the servlet send back a response of type text/javascript, and send the javascript code to call those DOM methods and update the second combobox. (You did read those DOM documents didn't you?) Back in the browser, in your javascript onreadystatechange handler which processes the response when the readyState == 4, you can eval() the responseText, and it will be executes. NB: Put a try{}catch{} round it so that you can highlight bugs in your returned javascript... takes a while to write bug-free javascript, especially when you have to compile your servlet and run your app to get the javascript out into the browser. Don't forget to do a setTimeout() to call a failure method after a certain time - which is cancelled by the onreadystatechange handler on success - to handle server non-response! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913750#3913750 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913750 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - EJBException in Servlet (EJB3 Trailblazer)
Hi I followed the EJB3 Tutorial on Authors and Articles and Deployed my application. Calling the Servlet under http://localhost:8080/authors/authors results in the following Exception. Any idea? My guess is that I need to start the Hypersonic database and/or configure JBoss/EJB3 to work with a persistance layer but the trailblazer doesn't contain any information on that. But maybe its a completely different problem here Greetings, Nima type Exception report | | message | | description The server encountered an internal error () that prevented it from fulfilling this request. | | exception | | javax.ejb.EJBException: null; CausedByException is: | null | org.jboss.ejb3.tx.Ejb3TxPolicy.handleExceptionInOurTx(Ejb3TxPolicy.java:46) | org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:70) | org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:134) | org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98) | org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:61) | org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98) | org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:39) | org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98) | org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:63) | org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98) | org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:32) | org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98) | org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:91) | org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98) | org.jboss.ejb3.stateless.StatelessContainer.dynamicInvoke(StatelessContainer.java:189) | org.jboss.aop.Dispatcher.invoke(Dispatcher.java:107) | org.jboss.ejb3.remoting.IsLocalInterceptor.invoke(IsLocalInterceptor.java:37) | org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98) | org.jboss.ejb3.stateless.StatelessRemoteProxy.invoke(StatelessRemoteProxy.java:88) | $Proxy69.getAllAuthors(Unknown Source) | articles.web.AuthorServlet.showArticles(AuthorServlet.java:61) | articles.web.AuthorServlet.doPost(AuthorServlet.java:43) | articles.web.AuthorServlet.doGet(AuthorServlet.java:33) | javax.servlet.http.HttpServlet.service(HttpServlet.java:697) | javax.servlet.http.HttpServlet.service(HttpServlet.java:810) | org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81) | | | note The full stack trace of the root cause is available in the Apache Tomcat/5.5 logs. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913751#3913751 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913751 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: Token reflects old node after a successful signal
Hi Aron, it would be interesting to know in what transaction context you try to load the processInstance. You didn't mention that in your original post. Greetings Rainer View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913752#3913752 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913752 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: loadbalancing without ha-failover
you could also try to make your own clustering configuration, name it the way you want, and simply use a non-clustered cache/store, like for the default SFSB configuration. Cheers, sacha View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913753#3913753 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913753 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Files Uploaded in CMS
Hello all, I am trying out the CMS now, I uploaded a .doc file to the CMS, 1) How can I open to view the file? (In V2.0, clicking on the eye icon would open the file, in V2.2.0 click on the eye just redirects to the file and shows you information about it. How can I open th efile to view the contents?) 2) How can I download the file? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913754#3913754 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913754 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - help, ejb clsutering JBoss
hi, am giving the code also and explained in detail... i have 4 nodes in a cluster, when i deploy my webservice in one of the nodes and the EJB's in the other 3 nodes it seems to be working fine, the load is balanced(i.e when i send 50 requests they are split to the 3 nodes etc) , failover happens fine.. but when i have the EJB in all 4 nodes (including the one with the webservice) and then clustering doesnt happen. all requests are routed to the ejb present in the same node as the webservice ??? first case: node 1 - web service(wsr) node 2 - ejb node 3 - ejb clustering,failover working fine, all requests are sent to node2 and node 3 second case: node 1 - web service(wsr) ejb node 2 - ejb node 3 - ejb all requests sent to ejb in node1 itself, nothing sent to node 2 and 3 there shud be some configuration i shud add in jboss.xml or somewhere to forbid this??? i have around 6 services like this and it wud require lot of machines if webservice and ejb cant be deployed in the same node.. lookup code: if ( !isValidUser ){ _responseString = User Not Authenticated; return _responseString; } Context context = new InitialContext( _jndiProperties ); Object objref = context.lookup( UserObjectsEJB ); NBUserObjectServiceHome userObjectHome = ( NBUserObjectServiceHome )PortableRemoteObject.narrow( objref, NBUserObjectServiceHome.class ); NBUserObjectServiceRemote userObjectRemoteInterface = userObjectHome.create(); _responseString = userObjectRemoteInterface.serviceRequest( userId_, requestString_ ); System.out.println ( NBWUserObjectService.serviceRequestEJB() The Response is :: + _responseString ); return _responseString; jboss.xml ?xml version=1.0 encoding=UTF-8? !DOCTYPE jboss PUBLIC -//JBoss//DTD JBOSS//EN http://www.jboss.org/j2ee/dtd/jboss.dtd; enterprise-beans ejb-nameUserObjectServiceEJB/ejb-name jndi-nameUserObjectsEJB/jndi-name true /enterprise-beans this method is called just be4 the context is created... method: try{ Hashtable _jndiProperties = new hashtable(); _ _jndiProperties.put( Context.INITIAL_CONTEXT_FACTORY,org.jnp.interfaces.NamingContextFactory ); _jndiProperties.put( Context.PROVIDER_URL, 10.1.30.57:7070 ); _jndiProperties.put( Context.URL_PKG_PREFIXES,org.jboss.naming:org.jnp.interfaces ); }catch( Exception exc_ ){ exc_.printStackTrace(); } View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913755#3913755 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913755 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: Stuck configuring TreeCacheAOP - am I missing something?
I finally managed to do the load-time weaving. Everything else was OK, but in jboss-service.xml in jboss-aop-jdk50.deployer I hadn't changed mbean code=org.jboss.aop.deployment.AspectManagerService ... to mbean code=org.jboss.aop.deployment.AspectManagerServiceJDK5 ... as I was using the -javaagent:pluggable-instrumentor.jar. This should have been obvious thing to do (if you read the comment in the beginning of jboss-service.xml), but somehow I managed to miss it when changing the LoadtimeWeaving to true. One reason for missing might be the fact that instructions are fragmented around your web-site quite badly (some are in AOP documentation, some in JBossCache documentation etc.). So when I changed the LoadtimeWeaving to true, I just did that, nothing else (so I actually missed the comment in the beginning of the 'jboss-service.xml'). When I later found out that the command line switch '-javaagent:pluggable-instrumentor.jar' should be added, there was no explicit mentioning about the MBean settings at that place (see http://docs.jboss.com/aop/1.3/aspect-framework/reference/en/html/running.html, 10.3.3). If you just copy the 'jboss-aop-jdk50.deployer' to deploy and change the LoadtimeWeaving to true, ofcourse nothing happens... So, I suggest you add to the documentation in http://docs.jboss.com/aop/1.3/aspect-framework/reference/en/html/running.html;, section 10.3.3. JBoss 4.x and JDK 5 an explicit mentioning that AspectManagerService must be also changed to AspectManagerServiceJDK5 (it is already in the example XML snippet, but it's extremely easy to miss that). I know, this is more like an AOP-issue, but I just have to unburden my mind somewhere, as I spent tens of hours on this issue... :) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913756#3913756 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913756 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Seam with ANO UIF???
I'm interested in anyone using SEAM with anything other than a web based UIF. Whilst I don't one anyone to do my job for me, I need to put together an architecture using EJB and Web, SOA etc but have concerns about a generic MVC capbility in the front end. I have a vision of being able to re-use both model and controller elements and tie these in with Workflow. JSF pertains to be flexible enough - but a quick search of seam with swing gives rise to reams on the fineries of bowling in cricket. Is anyone looking to build non-browser based GUI on top of seam, or is it a case of pushing browser based apps to approximate a gui using the kind of forced feeback from ajax/dwr and the like? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913757#3913757 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913757 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: Seam with ANO UIF???
Many of the concepts of Seam, for example the contexts and bidirectional dependency management, would also apply to a different client. I think this is a natural direction for Seam to grow, but there are no plans at this time. Right now Seam 1.0 is very much tied into the JSF processing phases. I think this phase model makes sense for a rich client. However, I'm not sure it makes much sense for a desktop application (two tier). View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913758#3913758 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913758 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: Seam with ANO UIF???
When you say desktop - I wouldn't assume its two-tier. What I have in mind is still multi-tier, just using a different means of getting data to and from. It could be a voice activated front end, could be xml, could be UI, could be web. What I'm looking to re-use is the controller and model elements of my MVC app. Workflow would push along the controller(s) where needed. I hear what you saying about where Seam is now, and will proceed with expectations set to the appropriate level. Thanks admin. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913759#3913759 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913759 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: Exception with INOUT-Mode in a document\literal-Webservi
ok, sorry guys: The problem had another root in an exception that was catched but not rethrown - the method therefore returned NULL instead of an initialised SOAP-Element, which resulted in the above strange exception. My fault and the fault of the misleading exception... cheers stf View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913760#3913760 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913760 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: CacheLoader: exists() before get() inefficient - solutio
Throwing an exception will NOT force people to revisit their cache loader impls - just checked the codebase, CacheLoader.get() throws Exception. So it will be a 'silent' semantic change either way, which is a shame. I could log warnings when this semantic change could be a potential problem, alerting the user to ensure that the cache loader has been updated accordingly... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913761#3913761 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913761 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Clean finished process instances
We currently have about 35000 process instances (JBPM 3.0) in our database (Oracle 10G) and observe the tablespace growing and growing in a very fast pace. The tables that grow fastest by far are JBPM_LOG, JBPM_VARIABLEINSTANCE and JBPM_BYTEBLOCK (all 3 together need about 60% of the total tablespace). As we are not really interested in the old values of the variables and log, but still want to keep the process instance, we want to establish a database job that regularly cleans those tables. Therefore I wonder if there is a risk deleting all values from those tables that belong to a process instance that is already finished (END_ is not null). I'm pretty sure that deleting JBPM_LOG does not have any affect, but I'm not sure whether deleting values from the other tables will affect running parent-processes altough the sub process is already finished. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913762#3913762 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913762 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - Setting SystemProperties through the SystemPropertiesService
I have a datasource which relies on system properties (Derby embedded db, properties are used to set where the db files reside). Is there any guarantee that the SystemPropertiesService is run before the datasource are defined? Or should I set some dependencies somehow? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913764#3913764 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913764 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: Token reflects old node after a successful signal
Rainer, RAlfoeldi wrote : it would be interesting to know in what transaction context you try to load the processInstance. I'm not sure what you meant by transaction context, but I actually start a new jBPM session, so the full seq is something like this: - session open ... - tx begin - processIntance.signal() - saveProcessInstance(processInstance) - tx commit ... - tx begin - session.getGraphSession().loadProcessInstance(processInstanceId); - tx commit ... - session close Was this what you meant? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913765#3913765 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913765 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Re: Multi Credential Authentication
Well, thanks a bunch JBoss gurus! (Not you elponderador, the developers who should know this, and should have helped!) After much searching, I randomly stumbled across the correct incantation: in jboss-web.xml | jboss-web |!-- Specify the security domain for authentication/authorization and |require that the domain's cache be flushed when the session invalidates. |-- |security-domain flushOnSessionInvalidation=true |java:/jaas/jbossweb-form-auth | /security-domain | /jboss-web | So now, I can log out when they click the logout link. Great. Next up, how to programatically determine whether a URL is available to the current user. I'm of course using container-managed authorization, but it's no good outputting a link only to have the user click on it, and be tipped into the error page by JBoss. I want to have a custom tag for links which does not output any HTML if the URL is not accessible to the current user. Any ideas? No doubt, I'll find the incantation at some random site given enough searching... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913766#3913766 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913766 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: Seam with ANO UIF???
Well, I use the term desktop app to differentiate two tiers from a three tier architecture. Yes, it was me who posted as the wrong guy. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913767#3913767 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913767 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: CacheLoader: exists() before get() inefficient - solutio
Yes, but the exception was designed to be thrown when the cache loader implementation encountered a problem, e.g. if it was not able to connect to a DB in the case of JDBCCacheLoader. I think we should differentiate between an exception caused by an internal failure (a 'real' exception), and an exception thrown when a node is not found. If we go for reuse of the existing Exception in the signature, then I'd rather use the proposed null return value scheme. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913768#3913768 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913768 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - jar in webapp lib(iBatis related) is log to conf/server.log
I use JBoss4 delpoy a XXX.war and the webapp has it own log4j.xml all my self-developed class can successfully write to the log file through my log4j.xml but the log in the WEB-INF/lib/.jar file of iBatis is written to the server.log I search in web and find that this is related to the class loading issue. anyone can tell me how to config the jboss so that the *.jar in my webapp lib can use my self log4j.xml as logging config. Thanks in advance View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913769#3913769 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913769 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Layout in JBossPortal-2.2
Whit JBossPortal 2.0 and 2.0.1 I was able to create a my layout. At this proposal there were 2 samples (MyLayout and demoLayout) available for download. Are these samples also valid for JBoss-Portal-2.2.0? If not, are there some new layout samples to install e/o modify as MyLayout and demoLayout? Many thanks for the help. Bye, Giordano View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913770#3913770 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913770 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Advanced Documentation] - Re: Extending JBoss
http://www.jboss.com/products/jbossas/docs View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913771#3913771 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913771 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: CacheLoader: exists() before get() inefficient - solutio
Precisely. So having NodeNotFoundException may cause problems (as it is a subclass of Exception) unless CacheLoader authors are careful about what they throw. I still think not finding a node is not exceptional and shouldn't be treated as an Exception. Null value return then? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913772#3913772 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913772 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - Error under heavy load: Unable to convert between org.jboss.
HI, I create a (temporary) queue and an object to store message data to my database. This usually works well. However, whent I subject it to heavy(?) load, I get errors like this: | 2005-12-21 09:31:42,477 INFO [STDOUT] [ JMSLogger:: sendMessage: Exception while sending the LogMessage Could not store message: 456 msg=455 hard NOT_STORED NON_PERSISTENT queue=QUEUE.AsynchronousLogQueue priority=9 lateClone=false hashCode=22529898; - nested throwable: (java.sql.SQLException: Unable to convert between org.jboss.mq.SpyObjectMessage and JAVA_OBJECT.)] | 2005-12-21 09:31:42,477 INFO [STDOUT] org.jboss.mq.SpyJMSException: Could not store message: 456 msg=455 hard NOT_STORED NON_PERSISTENT queue=QUEUE.AsynchronousLogQueue priority=9 lateClone=false hashCode=22529898; - nested throwable: (java.sql.SQLException: Unable to convert between org.jboss.mq.SpyObjectMessage and JAVA_OBJECT.) | 2005-12-21 09:31:42,477 INFO [STDOUT] at org.jboss.mq.pm.jdbc2.PersistenceManager.saveToStorage(PersistenceManager.java:1225) | 2005-12-21 09:31:42,477 INFO [STDOUT] at org.jboss.mq.server.MessageCache.saveToStorage(MessageCache.java:385) | 2005-12-21 09:31:42,477 INFO [STDOUT] at org.jboss.mq.server.MessageReference.makeSoft(MessageReference.java:311) | 2005-12-21 09:31:42,477 INFO [STDOUT] at org.jboss.mq.server.MessageCache.validateSoftReferenceDepth(MessageCache.java:332) | 2005-12-21 09:31:42,477 INFO [STDOUT] at org.jboss.mq.server.MessageCache.addInternal(MessageCache.java:142) | 2005-12-21 09:31:42,477 INFO [STDOUT] at org.jboss.mq.server.MessageCache.add(MessageCache.java:112) | 2005-12-21 09:31:42,477 INFO [STDOUT] at org.jboss.mq.server.JMSQueue.addMessage(JMSQueue.java:130) | 2005-12-21 09:31:42,477 INFO [STDOUT] at org.jboss.mq.server.JMSDestinationManager.addMessage(JMSDestinationManager.java:402) | 2005-12-21 09:31:42,477 INFO [STDOUT] at org.jboss.mq.server.JMSDestinationManager.addMessage(JMSDestinationManager.java:378) | 2005-12-21 09:31:42,477 INFO [STDOUT] at org.jboss.mq.server.JMSServerInterceptorSupport.addMessage(JMSServerInterceptorSupport.java:136) | 2005-12-21 09:31:42,477 INFO [STDOUT] at org.jboss.mq.security.ServerSecurityInterceptor.addMessage(ServerSecurityInterceptor.java:153) | 2005-12-21 09:31:42,477 INFO [STDOUT] at org.jboss.mq.server.TracingInterceptor.addMessage(TracingInterceptor.java:270) | 2005-12-21 09:31:42,477 INFO [STDOUT] at org.jboss.mq.server.JMSServerInvoker.addMessage(JMSServerInvoker.java:136) | 2005-12-21 09:31:42,477 INFO [STDOUT] at org.jboss.mq.il.uil2.ServerSocketManagerHandler.handleMsg(ServerSocketManagerHandler.java:86) | 2005-12-21 09:31:42,477 INFO [STDOUT] at org.jboss.mq.il.uil2.SocketManager$ReadTask.handleMsg(SocketManager.java:356) | 2005-12-21 09:31:42,477 INFO [STDOUT] at org.jboss.mq.il.uil2.msgs.BaseMsg.run(BaseMsg.java:377) | 2005-12-21 09:31:42,477 INFO [STDOUT] at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:748) | 2005-12-21 09:31:42,477 INFO [STDOUT] at java.lang.Thread.run(Thread.java:534) | 2005-12-21 09:31:42,477 INFO [STDOUT] Caused by: java.sql.SQLException: Unable to convert between org.jboss.mq.SpyObjectMessage and JAVA_OBJECT. | 2005-12-21 09:31:42,477 INFO [STDOUT] at net.sourceforge.jtds.jdbc.Support.convert(Support.java:449) | 2005-12-21 09:31:42,477 INFO [STDOUT] at net.sourceforge.jtds.jdbc.JtdsPreparedStatement.setObjectBase(JtdsPreparedStatement.java:275) | 2005-12-21 09:31:42,477 INFO [STDOUT] at net.sourceforge.jtds.jdbc.JtdsPreparedStatement.setObject(JtdsPreparedStatement.java:529) | 2005-12-21 09:31:42,477 INFO [STDOUT] at org.jboss.resource.adapter.jdbc.WrappedPreparedStatement.setObject(WrappedPreparedStatement.java:652) | 2005-12-21 09:31:42,477 INFO [STDOUT] at org.jboss.mq.pm.jdbc2.PersistenceManager.setBlob(PersistenceManager.java:837) | 2005-12-21 09:31:42,477 INFO [STDOUT] at org.jboss.mq.pm.jdbc2.PersistenceManager.add(PersistenceManager.java:775) | 2005-12-21 09:31:42,477 INFO [STDOUT] at org.jboss.mq.pm.jdbc2.PersistenceManager.saveToStorage(PersistenceManager.java:1211) | 2005-12-21 09:31:42,477 INFO [STDOUT] ... 17 more | 2005-12-21 09:31:42,477 INFO [STDOUT] [ LogService::sendMessage: The message successfully sent ] | The only way to fix this seems to be to restart JBoss. Does anyone know what is happening? This is the code I use to test my queue: | int repeat = Integer.parseInt(request.getParameter(repeat)); | String logType = request.getParameter(logtype); | if (logType != null logType.length() != 0) { | for (int i = 0; i repeat; i++) { | Class c = Logger.class; | Class[] parameterTypes = new Class[] { String.class, String.class };
[JBoss-user] [Beginners Corner] - Re: EJB Behind Firewall
See http://www.jboss.com/products/jbossas/docs View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913774#3913774 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913774 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - Re: Error under heavy load: Unable to convert between org.jb
Oh, I forgot: I am using JBoss 3.2.5 and I can't change versions for a while. Thanks, L View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913775#3913775 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913775 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: Warning Messages
I've runned JBoss under debugger and here's what my investigation shows: I'm calling instance per transaction BMP entity bean without a transaction context, by default it has a commit option C. Right after bean method invocation JBoss tries to passivate the instance, but fails because enterprise context is still locked, thus a perfectly valid(?) code generates lots of warnings. My code looks like this (schematically): | MyInstancePerTransactionBean bean = home.findByPrimaryKey(...); | bean.method1(); //here we get passivation failure warning | bean.method2(); //and another one here | Call trace: | at org.jboss.ejb.plugins.PerTxEntityInstanceCache.canPassivate(PerTxEntityInstanceCache.java:181) | at org.jboss.ejb.plugins.PerTxEntityInstanceCache.tryToPassivate(PerTxEntityInstanceCache.java:152) | at org.jboss.ejb.plugins.PerTxEntityInstanceCache.release(PerTxEntityInstanceCache.java:94) | at org.jboss.ejb.plugins.EntitySynchronizationInterceptor.invoke(EntitySynchronizationInterceptor.java:364) | at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:149) | at org.jboss.ejb.plugins.EntityReentranceInterceptor.invoke(EntityReentranceInterceptor.java:111) | at org.jboss.ejb.plugins.EntityInstanceInterceptor.invoke(EntityInstanceInterceptor.java:261) | at org.jboss.ejb.plugins.EntityLockInterceptor.invoke(EntityLockInterceptor.java:89) | at org.jboss.ejb.plugins.EntityCreationInterceptor.invoke(EntityCreationInterceptor.java:53) | at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:48) | at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:106) | at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:363) | at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:166) | at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:153) | at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:192) | at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122) | at org.jboss.ejb.EntityContainer.internalInvoke(EntityContainer.java:514) | at org.jboss.ejb.Container.invoke(Container.java:873) | at sun.reflect.GeneratedMethodAccessor104.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:72) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644) | at org.jboss.invocation.local.LocalInvoker$MBeanServerAction.invoke(LocalInvoker.java:155) | at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:104) | at org.jboss.invocation.InvokerInterceptor.invokeLocal(InvokerInterceptor.java:179) | at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:165) | at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:46) | at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:55) | at org.jboss.proxy.ejb.EntityInterceptor.invoke(EntityInterceptor.java:97) | at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:86) | at $Proxy1264.getHierarchyName(Unknown Source) | at com.supportwizard.swgroups.SWGroupsBean.ejbFindByName(SWGroupsBean.java:915)me(SWGroupsBean.java:915) | (JBoss 4.0.3sp1) Here SWGroupsBean is an ordinary BMP bean, it's ejbFindByName method contains the code snippet shown above (method1 being getHierarchyName). As I said ctx is locked, so PerTxEntityInstanceCache.canPassivate returns false and we get a warning. Is it a bug or this warning is valid and I'm doing something wrong? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913776#3913776 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913776 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - JBossCache AOP and JDK 5.0 annotations
I've been playing with TreeCacheAop a little bit, trying to use JDK 5.0 annotations with it. Here's what I've done 1. downloaded JBossCache 1.2.4 2. downloaded JBoss AOP 1.3.4 3. replaced JBossCache/lib/jboss-aop.jar with jboss-aop_1.3.4/lib-50/jboss-aop-jdk50.jar 4. created a simple annotation package demo.cache.aop; | | import ...; | | @Target({ElementType.TYPE}) | public @interface Cacheable { } 5. created a jboss-aop.xml aop | prepare expr=field(* [EMAIL PROTECTED]*)/ | /aop 6. marked my POJOs as Cacheable, precompiled them with aopc and ran some tests and everything seem to work just fine. Tested loadtime weaving as well. But I read that JBossCache will support JDK 5.0 only from version 1.3, so I'd like to know if there's anything I'm missing? Any reasons why I shouldn't be using JDK 5.0 features with JBossCache right now? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913777#3913777 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913777 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - Re: jar in webapp lib(iBatis related) is log to conf/server.
remind that I use the latest version JBoss 4.0.3 SP1 it use tomcat for delpoy webapp is it valid to use the below method that I find from http://wiki.jboss.org/wiki/Wiki.jsp?page=Logging Drop log4j.jar in your myapp.war/WEB-INF. Make the change in jboss-web.xml for class-loading, as shown in the section above. In this case, myapp.war/WEB-INF/jboss-web.xml looks like this: jboss-web class-loading java2ClassLoadingCompliance=false loader-repository myapp:loader=myapp.war loader-repository-configjava2ParentDelegation=false/loader-repository-config /loader-repository /class-loading /jboss-web View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913778#3913778 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913778 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Tomcat, HTTPD, Servlets JSP] - My jsp always return null
Hello!! I need urgent help. I have a stateless session bean and i'm trying use a servlet+jsp as client. The method of the bean is: public Place getPlace(){ Connection c = null; PreparedStatement ps = null; ResultSet rs = null; Place ret = null; try { // getConnection() c = getDataSource().getConnection(); // prepareStatement(sql statement) ps = c.prepareStatement(Statement.GET_PLACES_STATEMENT); // executeQuery() rs = ps.executeQuery(); while (rs.next()){ ret = new Place(rs.getInt(1) , rs.getString(2)); //System.out.println(Id = + ret.getId() + Name = + ret.getName()); } rs.close(); ps.close(); c.close(); } catch (SQLException se) { se.printStackTrace(); } return ret; } //End of method getPlace() And the class Place is like this: public class Place implements java.io.Serializable{ // Attributes private int Id; // Primary Key private String Name;// Place Name // My constructor public Place(int id, String name){ this.Id = id; this.Name = name; } /** * Constructor with no arguments */ public Place() { super(); // TODO Auto-generated constructor stub } public int getId() { return Id; } public String getName() { return Name; } } As result of the invocation of method getPlace() i want in my jsp the list of all places in the table. My servlet: public class TestServlet extends javax.servlet.http.HttpServlet implements javax.servlet.Servlet { /* (non-Java-doc) * @see javax.servlet.http.HttpServlet#HttpServlet() */ public TestServlet() { super(); } /* (non-Java-doc) * @see javax.servlet.http.HttpServlet#doGet(HttpServletRequest request, HttpServletResponse response) */ protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { // TODO Auto-generated method stub // Calls EJB com.samples.TestDataSource test = null; try{ com.samples.TestDataSourceHome home = com.samples.TestDataSourceUtil.getHome(); test = home.create(); }catch(javax.ejb.CreateException createException) { System.out.println(CreateException - Couldn't create TestDataSource bean.+ createException.getMessage()); }catch(Exception e) { e.printStackTrace(); }// test is an EJBObject // Invoca o método disponivél na interface remota do EJB //com.samples.model.Place result = test.getPlace(); com.samples.model.Place result = test.getPlace(); request.setAttribute(nameAtt, result); try{ request.getRequestDispatcher(/testServ.jsp).forward(request, response); }catch(ServletException se){ System.out.println(Erro no Dispatcher); } } /* (non-Java-doc) * @see javax.servlet.http.HttpServlet#doPost(HttpServletRequest request, HttpServletResponse response) */ protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { // TODO Auto-generated method stub doGet(request, response); } } my jsp: meta http-equiv=Content-Type content=text/html; charset=ISO-8859-1 Insert title here % //com.samples.model.Place tmp = (com.samples.model.Place)request.getAttribute(nameAtt); com.samples.model.Place tmp = (com.samples.model.Place) request.getAttribute(nameAtt); % %=tmp.getName() % The problem is that in servlet always appears the
[JBoss-user] [JBossCache] - Re: CacheLoader: exists() before get() inefficient - solutio
Looks like it. Yuk ... :-) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913780#3913780 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913780 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: CacheLoader: exists() before get() inefficient - solutio
Tell me about it. Will have to be heavily documented and support will need to be educated on it so they can filter cases that will inevitably come in ... :S View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913781#3913781 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913781 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - EntityManager tuning to get only a few Items from a nested c
Hi, today i ran into a new problem. I have a n2m relation between to tables. class DrugCategory -- n2m -- class Drug if i obtain one DrugCategory with the EntityManager and want to load the nested Drug objects to that Category JBoss has a lot of work to do, because there are nealry 1 of the nested Drug-Objects. I do Lazy-Loading and want only to get about the first 20 of the nested Drug-Objects. How can i get this way? I built a loop like | DrugCategory cat = em.find(DrugCategory.class, catId); | | Collection Drugdc = cat.getDrugs(); | Collection Drug newDc = new ArrayListDrug(); | int i = 0; | for (Iterator iter = dc.iterator(); iter.hasNext() (i 10);i++) { | newDc.add((Drug) iter.next()); | } | the loop should end after 10 cyles. It might do that, but Jboss is still reading _all_ the nested objects from the database. How can i achieve this? thanks for your help martin View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913782#3913782 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913782 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - JBoss 4.0.3SP1 - Cannot find type mapping meta data for: nul
I'm getting an exception thrown when I try to pass an String Array to a webservice. Cannot find type mapping meta data for: null I can see that wscompile does may not auto generate the type mapping automatically, but that is for custom data types, not String[] The code I have worked in JBoss 4.0.2, but not since I installed JBoss 4.0.3SP1 Does anyone have any ideas? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913806#3913806 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913806 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Re: JBoss 4.0.2 OpenLDAP- memberOf ?
Thanks for the reply. I've just got it working. I'd not edited the sldap.conf file to include the extra schemas required. :-) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913807#3913807 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913807 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Re: AccessControlExceptionaccess denied (java.lang.RuntimePe
Presumably you control the content in which your client is running and can choose to not run with a security manager. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913808#3913808 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913808 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Re: EventListener for authentication
There are only the standard session listener that is used to notify about session creation. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913800#3913800 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913800 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Getting Started Documentation] - same problem deploying the duke's bank app
If you find the answer please let me know I have the same problem here HELP hasek wrote : bad lucky~! | i didn't konw what happen when i deploy it at last~~! the erros message | outputed from console: | | 23:16:08,905 INFO [EARDeployer] Init J2EE application: file:/D:/Program Files/j | | boss-4.0.3SP1/server/default/deploy/JBossDukesBank.ear | | 23:16:12,389 WARN [verifier] EJB spec violation: | | Bean : CustomerBean | | Section: 12.2.2 | | Warning: The class must be defined as public and must not be abstract. | | | | 23:16:12,498 WARN [verifier] EJB spec violation: | | Bean : CustomerBean | | Section: 12.2.5 | | Warning: Every entity bean must define the ejbFindByPrimaryKey method. | | | | 23:16:12,530 WARN [verifier] EJB spec violation: | | Bean : CustomerBean | | Section: 22.2 | | Warning: The bean provider must specify the fully-qualified name of the enterpri | | se bean's local home interface, if any, in the local-home element. | | Info : Class not found on 'com.sun.ebank.ejb.customer.CustomerHome': No ClassL | | oaders found for: com.sun.ebank.ejb.customer.CustomerHome | | | | 23:16:12,545 WARN [verifier] EJB spec violation: | | Bean : CustomerBean | | Section: 22.2 | | Warning: The bean provider must specify the fully-qualified name of the enterpri | | se bean's local interface, if any, in the local element. | | Info : Class not found on 'com.sun.ebank.ejb.customer.Customer': No ClassLoade | | rs found for: com.sun.ebank.ejb.customer.Customer | | | | 23:16:12,545 WARN [verifier] EJB spec violation: | | Bean : CustomerBean | | Section: 12.2.1 | | Warning: The Bean Provider must provide a remote interface and a remote home int | | erface or a local interface and a local home interface for the bean. | | | | 23:16:12,545 WARN [verifier] EJB spec violation: | | Bean : AccountBean | | Section: 12.2.2 | | Warning: The class must be defined as public and must not be abstract. | | | | 23:16:12,623 WARN [verifier] EJB spec violation: | | Bean : AccountBean | | Section: 12.2.5 | | Warning: Every entity bean must define the ejbFindByPrimaryKey method. | | | | 23:16:12,623 WARN [verifier] EJB spec violation: | | Bean : AccountBean | | Section: 22.2 | | Warning: The bean provider must specify the fully-qualified name of the enterpri | | se bean's local home interface, if any, in the local-home element. | | Info : Class not found on 'com.sun.ebank.ejb.account.AccountHome': No ClassLoa | | ders found for: com.sun.ebank.ejb.account.AccountHome | | | | 23:16:12,639 WARN [verifier] EJB spec violation: | | Bean : AccountBean | | Section: 22.2 | | Warning: The bean provider must specify the fully-qualified name of the enterpri | | se bean's local interface, if any, in the local element. | | Info : Class not found on 'com.sun.ebank.ejb.account.Account': No ClassLoaders | | found for: com.sun.ebank.ejb.account.Account | | | | 23:16:12,639 WARN [verifier] EJB spec violation: | | Bean : AccountBean | | Section: 12.2.1 | | Warning: The Bean Provider must provide a remote interface and a remote home int | | erface or a local interface and a local home interface for the bean. | | | | 23:16:12,655 WARN [verifier] EJB spec violation: | | Bean : TxBean | | Section: 12.2.2 | | Warning: The class must be defined as public and must not be abstract. | | | | 23:16:12,670 WARN [verifier] EJB spec violation: | | Bean : TxBean | | Section: 12.2.5 | | Warning: Every entity bean must define the ejbFindByPrimaryKey method. | | | | 23:16:12,670 WARN [verifier] EJB spec violation: | | Bean : TxBean | | Section: 22.2 | | Warning: The bean provider must specify the fully-qualified name of the enterpri | | se bean's local home interface, if any, in the local-home element. | | Info : Class not found on 'com.sun.ebank.ejb.tx.TxHome': No ClassLoaders found | | for: com.sun.ebank.ejb.tx.TxHome | | | | 23:16:12,686 WARN [verifier] EJB spec violation: | | Bean : TxBean | | Section: 22.2 | | Warning: The bean provider must specify the fully-qualified name of the enterpri | | se bean's local interface, if any, in the local element. | | Info : Class not found on 'com.sun.ebank.ejb.tx.Tx': No ClassLoaders found for | | : com.sun.ebank.ejb.tx.Tx | | | | 23:16:12,686 WARN [verifier] EJB spec violation: | | Bean : TxBean | | Section: 12.2.1 | | Warning: The Bean Provider must provide a remote interface and a remote home int | | erface or a local interface and a local home interface for the bean. | | | | 23:16:13,295 ERROR [MainDeployer] Could not create deployment:
[JBoss-user] [Beginners Corner] - Re: JAAS Login Module and User Principal best practices
The Subject is the more general representation of the authenticated user, but different j2ee layers use different representations. There is no guarentee that you can control the prinipcal available from the ejb/web tiers. You do have more control over the Subject, but really authentication is not standardized in terms of how you do this either. Whatever works currently is the bottom line. When jsr196 is included this should be standardized. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913802#3913802 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913802 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Getting Started Documentation] - Deploying the Application
Hi I am new to Jboss and trying out the examples !!! I have problems to deploy the JBossDukesBank.ear I am getting following error : 15:01:37,015 INFO [EARDeployer] Init J2EE application: file:/C:/Program Files/j boss-4.0.3SP1/server/default/deploy/JBossDukesBank.ear 15:01:38,390 WARN [verifier] EJB spec violation: Bean : CustomerBean Section: 12.2.2 Warning: The class must be defined as public and must not be abstract. 15:01:38,406 WARN [verifier] EJB spec violation: Bean : CustomerBean Section: 12.2.5 Warning: Every entity bean must define the ejbFindByPrimaryKey method. 15:01:38,406 WARN [verifier] EJB spec violation: Bean : CustomerBean Section: 22.2 Warning: The bean provider must specify the fully-qualified name of the enterpri se bean's local home interface, if any, in the local-home element. Info : Class not found on 'com.sun.ebank.ejb.customer.CustomerHome': No ClassL oaders found for: com.sun.ebank.ejb.customer.CustomerHome 15:01:38,406 WARN [verifier] EJB spec violation: Bean : CustomerBean Section: 22.2 Warning: The bean provider must specify the fully-qualified name of the enterpri se bean's local interface, if any, in the element. Info : Class not found on 'com.sun.ebank.ejb.customer.Customer': No ClassLoade rs found for: com.sun.ebank.ejb.customer.Customer 15:01:38,406 WARN [verifier] EJB spec violation: Bean : CustomerBean Section: 12.2.1 Warning: The Bean Provider must provide a remote interface and a remote home int erface or a local interface and a local home interface for the bean. 15:01:38,406 WARN [verifier] EJB spec violation: Bean : AccountBean Section: 12.2.2 Warning: The class must be defined as public and must not be abstract. 15:01:38,421 WARN [verifier] EJB spec violation: Bean : AccountBean Section: 12.2.5 Warning: Every entity bean must define the ejbFindByPrimaryKey method. 15:01:38,578 WARN [verifier] EJB spec violation: Bean : AccountBean Section: 22.2 Warning: The bean provider must specify the fully-qualified name of the enterpri se bean's local home interface, if any, in the local-home element. Info : Class not found on 'com.sun.ebank.ejb.account.AccountHome': No ClassLoa ders found for: com.sun.ebank.ejb.account.AccountHome 15:01:38,578 WARN [verifier] EJB spec violation: Bean : AccountBean Section: 22.2 Warning: The bean provider must specify the fully-qualified name of the enterpri se bean's local interface, if any, in the element. Info : Class not found on 'com.sun.ebank.ejb.account.Account': No ClassLoaders found for: com.sun.ebank.ejb.account.Account 15:01:38,578 WARN [verifier] EJB spec violation: Bean : AccountBean Section: 12.2.1 Warning: The Bean Provider must provide a remote interface and a remote home int erface or a local interface and a local home interface for the bean. 15:01:38,578 WARN [verifier] EJB spec violation: Bean : TxBean Section: 12.2.2 Warning: The class must be defined as public and must not be abstract. 15:01:38,578 WARN [verifier] EJB spec violation: Bean : TxBean Section: 12.2.5 Warning: Every entity bean must define the ejbFindByPrimaryKey method. 15:01:38,578 WARN [verifier] EJB spec violation: Bean : TxBean Section: 22.2 Warning: The bean provider must specify the fully-qualified name of the enterpri se bean's local home interface, if any, in the local-home element. Info : Class not found on 'com.sun.ebank.ejb.tx.TxHome': No ClassLoaders found for: com.sun.ebank.ejb.tx.TxHome 15:01:38,593 WARN [verifier] EJB spec violation: Bean : TxBean Section: 22.2 Warning: The bean provider must specify the fully-qualified name of the enterpri se bean's local interface, if any, in the element. Info : Class not found on 'com.sun.ebank.ejb.tx.Tx': No ClassLoaders found for : com.sun.ebank.ejb.tx.Tx 15:01:38,593 WARN [verifier] EJB spec violation: Bean : TxBean Section: 12.2.1 Warning: The Bean Provider must provide a remote interface and a remote home int erface or a local interface and a local home interface for the bean. 15:01:38,734 ERROR [MainDeployer] Could not create deployment: file:/C:/Program Files/jboss-4.0.3SP1/server/default/tmp/deploy/tmp22027JBossDukesBank.ear-conten ts/bank-ejb.jar org.jboss.deployment.DeploymentException: Verification of Enterprise Beans faile d, see above for error messages. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913786#3913786 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913786 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net
[JBoss-user] [JBoss Seam] - Re: Add/List/Edit/Remove example in Seam
[EMAIL PROTECTED] wrote : You guys should try out the reverse engineering tool: | | http://www.jboss.com/index.html?module=bbop=viewtopict=74318 | | It will create such an example for you, from your database schema. I would love to, but I'm using IntelliJ. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913787#3913787 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913787 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Re: JBoss 4.0.2 OpenLDAP- memberOf ?
All of the examples on http://wiki.jboss.org/wiki/Wiki.jsp?page=LdapExtLoginModule were teted on open ldap. In some cases additional attributes needed to be defined. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913799#3913799 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913799 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Getting Started Documentation] - Re: Unable to build Bank application
Hi I am new to Jboss and trying out the examples !!! I have problems to deploy the JBossDukesBank.ear I am getting following error : 15:01:37,015 INFO [EARDeployer] Init J2EE application: file:/C:/Program Files/j boss-4.0.3SP1/server/default/deploy/JBossDukesBank.ear 15:01:38,390 WARN [verifier] EJB spec violation: Bean : CustomerBean Section: 12.2.2 Warning: The class must be defined as public and must not be abstract. 15:01:38,406 WARN [verifier] EJB spec violation: Bean : CustomerBean Section: 12.2.5 Warning: Every entity bean must define the ejbFindByPrimaryKey method. 15:01:38,406 WARN [verifier] EJB spec violation: Bean : CustomerBean Section: 22.2 Warning: The bean provider must specify the fully-qualified name of the enterpri se bean's local home interface, if any, in the local-home element. Info : Class not found on 'com.sun.ebank.ejb.customer.CustomerHome': No ClassL oaders found for: com.sun.ebank.ejb.customer.CustomerHome 15:01:38,406 WARN [verifier] EJB spec violation: Bean : CustomerBean Section: 22.2 Warning: The bean provider must specify the fully-qualified name of the enterpri se bean's local interface, if any, in the element. Info : Class not found on 'com.sun.ebank.ejb.customer.Customer': No ClassLoade rs found for: com.sun.ebank.ejb.customer.Customer 15:01:38,406 WARN [verifier] EJB spec violation: Bean : CustomerBean Section: 12.2.1 Warning: The Bean Provider must provide a remote interface and a remote home int erface or a local interface and a local home interface for the bean. 15:01:38,406 WARN [verifier] EJB spec violation: Bean : AccountBean Section: 12.2.2 Warning: The class must be defined as public and must not be abstract. 15:01:38,421 WARN [verifier] EJB spec violation: Bean : AccountBean Section: 12.2.5 Warning: Every entity bean must define the ejbFindByPrimaryKey method. 15:01:38,578 WARN [verifier] EJB spec violation: Bean : AccountBean Section: 22.2 Warning: The bean provider must specify the fully-qualified name of the enterpri se bean's local home interface, if any, in the local-home element. Info : Class not found on 'com.sun.ebank.ejb.account.AccountHome': No ClassLoa ders found for: com.sun.ebank.ejb.account.AccountHome 15:01:38,578 WARN [verifier] EJB spec violation: Bean : AccountBean Section: 22.2 Warning: The bean provider must specify the fully-qualified name of the enterpri se bean's local interface, if any, in the element. Info : Class not found on 'com.sun.ebank.ejb.account.Account': No ClassLoaders found for: com.sun.ebank.ejb.account.Account 15:01:38,578 WARN [verifier] EJB spec violation: Bean : AccountBean Section: 12.2.1 Warning: The Bean Provider must provide a remote interface and a remote home int erface or a local interface and a local home interface for the bean. 15:01:38,578 WARN [verifier] EJB spec violation: Bean : TxBean Section: 12.2.2 Warning: The class must be defined as public and must not be abstract. 15:01:38,578 WARN [verifier] EJB spec violation: Bean : TxBean Section: 12.2.5 Warning: Every entity bean must define the ejbFindByPrimaryKey method. 15:01:38,578 WARN [verifier] EJB spec violation: Bean : TxBean Section: 22.2 Warning: The bean provider must specify the fully-qualified name of the enterpri se bean's local home interface, if any, in the local-home element. Info : Class not found on 'com.sun.ebank.ejb.tx.TxHome': No ClassLoaders found for: com.sun.ebank.ejb.tx.TxHome 15:01:38,593 WARN [verifier] EJB spec violation: Bean : TxBean Section: 22.2 Warning: The bean provider must specify the fully-qualified name of the enterpri se bean's local interface, if any, in the element. Info : Class not found on 'com.sun.ebank.ejb.tx.Tx': No ClassLoaders found for : com.sun.ebank.ejb.tx.Tx 15:01:38,593 WARN [verifier] EJB spec violation: Bean : TxBean Section: 12.2.1 Warning: The Bean Provider must provide a remote interface and a remote home int erface or a local interface and a local home interface for the bean. 15:01:38,734 ERROR [MainDeployer] Could not create deployment: file:/C:/Program Files/jboss-4.0.3SP1/server/default/tmp/deploy/tmp22027JBossDukesBank.ear-conten ts/bank-ejb.jar org.jboss.deployment.DeploymentException: Verification of Enterprise Beans faile d, see above for error messages. CAN YOU HELP ME PLEASE View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913789#3913789 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913789 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Need to programatically check access to a URL.
I have a custom JAAS login module worknig fine in JBoss. I have container-managed access control to my various web URIs, and that works fine. Now, I need to be able to, in code, determine whether the current user has access to a certain URL. This is obviously to decide whether or not to display certain links. It's no good offering them /restricted/management.jsp if they don't have the manager role. I could check isUserInRole(manager), but that's too much hardcoding, I just want to ask the container whether the user can access /restricted/management.jsp. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913803#3913803 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913803 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Re: Please help -- 'Failed to create sec mgr'
You likely have jboss classes in your deployment that you should not. There should never be any jboss jars in a deployment. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913801#3913801 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913801 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: Add/List/Edit/Remove example in Seam
I'm pretty sure it also works with the Ant tools, but nobody documented the procedure step by step yet. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913788#3913788 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913788 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Re: Security error after migrating to 4.0.3
Hi scott, Can you clarify this a little more, i am getting the same error but i am actually trying to port my application from JBoss 3.2.3 to JBoss 4.0.2. Please tell me what all changes i need to make in the config to get the JASS security to work. Thanks in advance, Jobby View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913804#3913804 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913804 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Re: LdapLoginModule to ActiveDirectory, could it be a bug?
I've the same problem and I think is a bug. With JBoss 4.0.2 work's fine. Thank's. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913810#3913810 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913810 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: Stuck configuring TreeCacheAOP - am I missing something?
Ok, thanks for the suggestion. I will let Kabir know about it. -Ben View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913811#3913811 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913811 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Re: Security Provider for Client
See the jdk documentation on setting up security providers. The server is using the same jdk as the client? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913812#3913812 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913812 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Negotiate Kerberos
hi all, I'm trying to configure my jboss to use kerberos to authenticate the user. The confiration files I use are... | web.xml | | web-app | display-nameHello World/display-name | | security-constraint | web-resource-collection | web-resource-nameHelloWorldSec/web-resource-name | description | An example security config that only allows users with the | role JBossAdmin to access the HTML JMX console web application | /description | url-pattern/*/url-pattern | http-methodGET/http-method | http-methodPOST/http-method | /web-resource-collection | auth-constraint | role-namePP/role-name | /auth-constraint | /security-constraint | login-config | auth-methodNegotiate/auth-method | realm-nameTest Realm/realm-name | /login-config | security-role | descriptionThe single application role/description | role-namePP/role-name | /security-role | security-role-ref | role-namePP/role-name | role-linkuser/role-link | /security-role-ref | /web-app | | login-config.xml | | . | application-policy name=KRB |authentication | login-module code=com.sun.security.auth.module.Krb5LoginModule | flag = required | module-option name=useTicketCachetrue/module-option | module-option name=debugtrue/module-option | /login-module |/authentication | /application-policy | ... | | context.xml | | Context | Valve className= org.jboss.web.tomcat.security.HttpServletRequestResponseValve / | /Context | | jboss-web.xml | | jboss-web | security-domainjava:/jaas/KRB/security-domain | /jboss-web | And the log gives me this info | JBoss_4_0_3 date=200510042324)] Started in 23s:530ms | 2005-12-21 17:35:44,258 DEBUG [org.jboss.security.plugins.JaasSecurityManager.KRB] CallbackHandler: [EMAIL PROTECTED] | 2005-12-21 17:35:44,258 DEBUG [org.jboss.security.plugins.JaasSecurityManagerService] Created [EMAIL PROTECTED] | 2005-12-21 17:35:44,258 DEBUG [org.jboss.security.plugins.JaasSecurityManager.KRB] CachePolicy set to: [EMAIL PROTECTED] | 2005-12-21 17:35:44,258 DEBUG [org.jboss.security.plugins.JaasSecurityManagerService] setCachePolicy, [EMAIL PROTECTED] | 2005-12-21 17:35:44,258 DEBUG [org.jboss.security.plugins.JaasSecurityManagerService] Added KRB, [EMAIL PROTECTED] to map | 2005-12-21 17:35:44,289 INFO [STDOUT] Debug is true storeKey false useTicketCache true useKeyTab false doNotPrompt false ticketCache is null KeyTab is null refreshKrb5Config is false principal is null tryFirstPass is false useFirstPass is false storePass is false clearPass is false | 2005-12-21 17:35:44,289 INFO [STDOUT] Acquire TGT from Cache | 2005-12-21 17:35:44,414 INFO [STDOUT] Principal is [EMAIL PROTECTED] | 2005-12-21 17:35:44,445 INFO [STDOUT] Commit Succeeded | 2005-12-21 17:35:44,445 DEBUG [org.jboss.web.tomcat.security.HttpServletRequestResponseValve] Realm returned: GenericPrincipal[()] | I have a lot of doubts about web.xml... Is Negotiate a correct auth-method? What does realm-name work for? Thanks in advance! iván View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913814#3913814 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913814 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37alloc_id865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: debugging class loading issues
Use the displayClassInfo operation on the JMImplementation:name=Default,service=LoaderRepository mbean in the jmx-console to get this. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913816#3913816 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913816 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: JBossCache AOP and JDK 5.0 annotations
Yes, you can do that. But we need to support oth JDK 1.4 and JDK 1.5. So it needs some extra work. Besides, I want to hide the xml from the user totally. -Ben View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913817#3913817 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913817 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: clustering database
I'm working with jboss 3.2.5 for windows (with the 'all' config) and, if possibile, I would prefer to use no external software (like an external database). I'm a newbie to jboss (in particolar, with clustering) I've tried with: -HAJNDI I modified the InitialContext() method in the servlet, changing the port (1100 instead of 1099). I deployed the entire application (ejbs+servlet) on node1, and only the servlet on node2. But, using the servlet on node2, when it tries to connect to the session bean, it stops with this error: exception javax.servlet.ServletException: Servlet execution threw an exception root cause java.lang.NoClassDefFoundError: No ClassLoaders found for: myejbapplication.ejb.SessionBeanHome myejbapplication.web.ApplicationServlet.doPost(ApplicationServlet.java:79) javax.servlet.http.HttpServlet.service(HttpServlet.java:717) javax.servlet.http.HttpServlet.service(HttpServlet.java:810) Why didn't it find the ejbs on node1 using HA-JNDI? :( -HTTP Clustering Following the instructions found here: http://docs.jboss.org/jbossas/jboss4guide/r4/html/cluster.chapt.html#clustering-http, I tried to install Apache with the mod-jk.so module, but I'm not sure about its configuration... Do I have to put Apache on both nodes, or only on one? Also, I can't configurate Jboss because, when I insert the line true in the server/all/deploy/jbossweb-tomcat50.sar/META-INF/jboss-service.xml file, Jboss says it doesn't know the attribute UseJK... I think it's all very difficult for me... :( Which is the easiest method to mantain a session state between the two nodes for my application? Can you please explain me how to use and configure it in plain words? Thanks a lot. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913818#3913818 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913818 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - Re: MBean being registered twice
There is not sufficient info here to tell what is going on. The lower case meta-inf name is not valid generally, but can be used for your own resources paths. That is the only anomoloy in this info. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913792#3913792 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913792 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Blob storage of JMS Messages
Hi, We are putting a XML file in the message queue,which is persisted using Oracle Database. Some XML messages are not persisted , they get Broken Pipe errors on the server logs. On the Oracle server I get internal error codes .. ORA-00600: internal error code, arguments: [12333], [32], [49], [50], [], [], [] To isolate the case, I wrote a small program to insert into the JMS_MESSAGES tables. The data went in smooth. Here is a sample of the XML file. pre | MessagePayload![CDATA[M162D CB_SEARCH_RESULTS ~0 | D CB_ADDRESS ~0 | U CB_SEARCH_CRITERIA ~0 12/08/2005 21:40 10 10 A | I CB_SEARCH_RESULTS 0 641817 PR 0999NEW 01/01/2004 12/09/2005 00:00B1245 ICEMAKER / DISPENSER ISSU | ES ICE MAKER DOESN'T MAKE VERY MUCH ICE AN PROMISED TIME = 12/09 1245-1745 11 MR571208TBX25PRYARW | W 12/25/1996 00:00N N N A 01/01/1950 01/01/1950 C 01/01/1900 00:00CALL BEFORE COMING CALL ALT | ERNATE PHONE NUMBER PRIOR TO ARRIVAL. 125 12 | I CB_ADDRESS 0 641817 BRENDA PAREL R 6520 TRAILRIDE WAY CITRUS HGTS CA 95621 9166221537 916728 | 5804A | I CB_SEARCH_RESULTS 0 641858 PI 0999ACK 01/01/2004 12/09/2005 00:00B0700 LIGHTS ON CONTROL PANEL C | ONTROL PANEL LIGHTS ARE OFF-KEEPS CHIRPING 30 0700-1200 41 GG758272PDW9280JSS 01/01/1900 00:0 | 0 Y N N A 01/01/1950 01/01/1950 C 01/01/1900 00:00SENT:U 087747 BURRISS MICHAEL 12512155 1 | 1/21 19:02 MIKE...PLZ REVIEW BELOW CALL - MJ FEELS THIS MIGHT NEED A CONTROL OR TOUCH PAD...WOULD LIKE IT ORDERED BEFORE SERVICE DATE...THX, K | FS12Z 125 12125 12 | I CB_ADDRESS 0 641858 MICHELLEMUSSO R 1016 AUDREY WAY ROSEVILLE CA 95661 9167897068 916789706 | 8 A | I CB_REQUIRED_PARTS 0 WD12X10190 641858 1 0 | I CB_REQUIRED_PARTS 0 WD21X10187 641858 1 0 | I CB_REQUIRED_PARTS 0 WD34X10915 641858 2 0 | I CB_SEARCH_RESULTS 0 642238 PP 0999NEW 01/01/2004 12/09/2005 00:00B1300 KEY FAILED PAD FAILED | 41 GH767926B ZBD6880K03SS11/18/2005 00:00Y N N A 01/01/1950 01/01/1950 C 01/01/1900 00:00**T | PTP 11/26/2005 16:45 **IVR CALL AHEAD **TECH - 0155 **GO CASEID 5170955 BY L609189125 12 | I CB_ADDRESS 0 642238 RITTER FRANK R 7644 ROBERTS DR CITRUS HEIGHTS CA 95610 99 916722 | 3727A | I CB_REQUIRED_PARTS 0 WD21X10216 642238 1 0 | I CB_REQUIRED_PARTS 0 WD34X11074 642238 1 0 | I CB_SEARCH_RESULTS 0 642591 PP 0999NEW 01/01/2004 12/09/2005 00:00B1300 28 F3 ERROR E CTM | PROMISED TIME = 11/2 28 FD362216Q JGRS15GEL3BG05/15/1990 00:00Y N N | A 01/01/1950 01/01/1950 C 01/01/1900 00:00**TPTP 11/29/2005 18:05 **IVR CALL AHEAD **TECH - 0 | 155 **CALL ALT # 9162085352 125 12 | I CB_ADDRESS 0 642591 AILEEN GRIZARD R 4945 3RD ST ROCKLIN CA 95677 9162085352 9166245339 A | I CB_REQUIRED_PARTS 0 WB19X266642591 1 0 | I CB_REQUIRED_PARTS 0 WB21X5301 642591 1 0 | I CB_SEARCH_RESULTS 0 642792 PR 0999NEW 01/01/2004 12/09/2005 00:00B0800 CONTROL PANEL NOT WKING |PROMISED TIME = 12/09 0800-1200 41 RG707315B ZBD6880K00SS0 | 8/30/2004 00:00 N N N A 01/01/1950 01/01/1950 C 01/01/1900 00:00125 12 | I CB_ADDRESS 0 642792 ALEXANDER MALICK R 6025 POPLAR CT GRANITE BAY CA 95746 9167686583 916787 | 5988A | I CB_SEARCH_RESULTS 0 642850 PP 0999NEW 01/01/2004 12/09/2005 00:00B0800 VOICE RECORDING - PLEASE | TRANSCRIBE PROMISED TIME = 12/0 21 ZT615810JKP18BA 06/22/ | 1999 00:00 Y N N A
[JBoss-user] [Security JAAS/JBoss] - Re: Please help -- 'Failed to create sec mgr'
Is there nobody in this group who can assist me this issue ? Jobby View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913796#3913796 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913796 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [J2EE Design Patterns] - Spawning threads in server process
Hi folks, I have a few design questions about creating threads in the main JBoss server process. I know the J2EE spec prohibits spawning new threads from EJBs but what about from normal business layer classes running in the servlet container? For example, I have seen it recommended that sending emails can be done in a separate thread. But I have also seen arguments against spawning threads in the main server process. I want to do some time-intensive processing that doesn't require feedback to the user so it would make sense to spawn a new thread. Are there any reasons from a design perspective why this would be a bad idea? What happens if an uncaught Throwable propagates to the top of the call stack? My understanding is that it will kill the thread it is runnig in but won't kill the main JBoss thread as well. Thanks in advance. Kevin View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913793#3913793 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913793 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Repeated Transaction Timeouts
Has anybody found the solution to this problem? Even after increasing the timeout and the resetting the SpecCompliant attribute, I am not being able to solve the problem. Jboss version is 3.2.3. Please help. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913794#3913794 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913794 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Re: My LoginModule needs more than just j_username and j_pas
http://wiki.jboss.org/wiki/Wiki.jsp?page=CustomizingSecurityUsingValves View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913819#3913819 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913819 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: JBoss 4.0.3SP1 - Cannot find type mapping meta data for:
The problem occurs from line 290 of InvokerProvider.java I'm 90% sure its an Array of Strings issue. The code in InvokerProvider.java says... BeanXMLMetaData tmMetaData = metaDataRegistry.getTypeMappingMetaData(typeQName); | if (tmMetaData == null) | throw new IllegalStateException(Cannot obtain type mapping meta data for: + typeQName); | | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913820#3913820 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913820 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: Transaction does not rollback
application defined exceptions to not rollback the current transaction. You need to use the context setRollbackOnly to achieve this effect. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913798#3913798 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913798 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Re: Question regarding SecureIdentityModule
See http://wiki.jboss.org/wiki/Wiki.jsp?page=EncryptingDataSourcePasswords and the more generic JaasSecurityDomainIdentityLoginModule. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913795#3913795 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913795 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: clustering database
1. http session repl is the easiest one. 2. Use 3.2.7 and later View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913821#3913821 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913821 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Re: Custom callback handler
The page is http://wiki.jboss.org/wiki/Wiki.jsp?page=JaasSecurityManagerService and you need to search for CallbackHandlerClassName View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913822#3913822 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913822 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: Transaction does not rollback
You could throw an exception that is marked with @ApplicationException(rollback=true) instead of just throwing a generic Exception. The container will mark the tx for rollback without you needing to inject SessionContext. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913823#3913823 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913823 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Re: I am getting this error.....when trying to access a simp
Which says the debjanid user was not authenticated, either a bad password or an incorrect security configuration. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913824#3913824 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913824 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: Persisting enums...
OK, problem solved, enums persist fine my problem was realted to tomcats classloader not dealing with enums but now i have set the web magic to use Jboss' classloader instead :p View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913826#3913826 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913826 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Re: Where to create a new user object in web session?
Adding the user to the session when its does not exist and getUserPrincipal returns non-null would be one way. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913827#3913827 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913827 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Problems with JNP: Class not Found Exception
Use the jbossall-client.jar to simplify things. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913828#3913828 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913828 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Entity beans deployment - database data erased on following
when I deploy an application containing entity beans and then deploy it again, all database data inserted is erased. What am I doing wrong? Thanks rodrigo lopes View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913829#3913829 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913829 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Re: Question about client login module
See the security chapter in http://www.jboss.com/products/jbossas/docs View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913790#3913790 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913790 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - Re: conf directory
Other than conf/log4.xml which is reread on change, these are static files. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913791#3913791 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913791 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: if i use log4j.xml file how to write for rootCategory??
The category name this.getClass() View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913830#3913830 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913830 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: Entity beans deployment - database data erased on follow
http://www.jboss.com/index.html?module=bbop=viewtopict=73750 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913831#3913831 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913831 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: Entity beans deployment - database data erased on follow
Look in ejb3.deployer/META-INF/persistence.properties and you'll see the default table creation strategy. On my 4.0.3 install it is: | hibernate.hbm2ddl.auto=create-drop | I don't seem to recall that always being the default, but in any event you'll find you want to override the table creation strategy by setting this property in your persistence.xml file. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913832#3913832 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913832 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Re: JACC provider under JBoss 4.0.3
Create a jira issue with the details of the deployment configuration. http://jira.jboss.com/jira/browse/JBAS View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3913833#3913833 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913833 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user