[JBoss-user] [Installation Configuration] - Jboss4.0 Exceptions during the run.bat execution
I've just installed jboss4.0 and even though the server starts, several exceptions has been thrown is that normal? I'm not a JBoss expert but those exceptions smells like Dynamic Proxies. Where can I find more about it?Is there any forum thread that already covers this issue?? Ignazio Rome Italy View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3867182#3867182 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3867182 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - RPM / Source RPM
hi, i wanted to know if you are going to create an rpm or a source rpm for jboss? this will make life easier, not because installing jboss is hard, but because in my organization we install programs only with rpm's and every time a new version of jboss released and we wish to use it, we need to create an rpm so it will be able to install it with yum. so? is it going to be an rpm for jboss? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3867183#3867183 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3867183 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets JSP] - War isolation
Hi Everybody, I wanted to enable war file isolation. I am having a lot of problems with that. I have been reading up lot of messages in these forums. I have tried various things like 'UseJBossWebLoader' and jboss-web.xml. I am not sure which is the best way to do it. jboss-web.xml solution did not work. 'UseJBossWebLoader' worked but it started giving me a problems like ClassCastExceptions, IllegalAccessError and sometimes even my ActionServlet fails to load. jboss-web.xml gave me problems with commons-logging.xml. I even tried removing it from my lib. Could somebody direct me and tell me which is the best way to enable war file isolation? I have 3 War files and a single EJB Jar with MDB, with a few files common to all. And a lot of mess when Iam looking up the common classes. Iam using JBoss 3.2.6/Solaris running on a clustered environment, Struts1.1. I have tried many things based on what I have read in this forum and other places. And Iam lost. Which is the best way to do it? Thanks in advance, K.B View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3867184#3867184 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3867184 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Javassist user questions] - Re: Copy-Method
Ok ... wrong question or better the Exception is caused by sth else than then a wrong copy operation. I am also redirecting internal method calls and there somehow is an error. So best remove this post ... thanx View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3867185#3867185 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3867185 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: Should WSDL2Java be used with JBossWS?
Hi! I believe you have to use wscompile if you want to create j2ee 1.4 compliant webservices for JBossWS. If you are not happy with the classes generated by wscompile for your schema, I suggest you create a webservice with wscompiles -nodatabinding option and then use (for example) XMLBeans to do the databinding. good luck! /Ole View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3867186#3867186 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3867186 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Re: is j_uri exist in jboss???
Facing the same problem here. Trying to forward all success login to a specific welcome page after successful form login. Can this be done in JBoss/tomcat? Thank you. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3867187#3867187 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3867187 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence CMP/JBoss] - Re: Cannot create index using jbossxmp-jdbc.xml
alter-table needs to be true (it is now commented in the excerpt you posted), otherwise the dbindex tag is only considered when creating the table. Joachim View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3867188#3867188 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3867188 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Nukes User] - Re: Frustrating! What IS JBoss/Nukes?
JBoss Nukes is a Java implementation of PHP Nukes. It provides a framework to host multiple applications/modules, with a common login, security, look and feel, deployment and other services. There are a number of standard JBoss Nukes modules - forums, news, wiki (based on JSPWiki) etc - that are available, or you can roll your own. The next full version of this idea is a full portal implementtion (JSR168), with a beta Real Soon Now. The Nukes framework will be left behind, but the transition for Nukes themes and modules is hopefully going to be relatively easy. Sherman View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3867189#3867189 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3867189 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: JBoss deploy tools
hi ittorontohi don't know a automatic tool to create a deployer but it's enought create a standard mbean that extends the class org.jboss.deployer.SubDeployerSupport and implements the interface org.jboss.deployer.SubDeployer. You can to create a .sar package with your deployer classes, un jboss-service.xml under the directory META-INF and then deploy it View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3867190#3867190 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3867190 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=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: media module can't be build under jdk5.0 1.5.0_1 at de
It look like a problem with your operating system charset. My last name includes an umlat, and your encoding (EUC_CN) does not support it. try this at your command prompt and then build it again: export LANG=en_US.UTF-8 I'll change the umlats to a normal u if this is a problem for more people. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3867191#3867191 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3867191 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - JBossWS: problem with custom exceptions
Hello Thomas, I use JBossWS and I defined in the web service interface for a bean, custom exceptions. Could you tell me please if there is a way to avoid getting RemoteException instead of the custom exception? Thank you. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3867192#3867192 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3867192 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Turkish Character Problem
Hello I am using JBoss 4.0.1 In my jsp pages turkish characters does not seem correct. could you please help me volkan iravul - %@ page contentType=text/html% META HTTP-EQUIV=Expires CONTENT=Mon, 06 Jan 1990 00:00:01 GMT / META HTTP-EQUIV=cache-control CONTENT=no-cache / META http-equiv=Pragma content=no-cache / META HTTP-EQUIV=Expires CONTENT=-1 / META HTTP-EQUIV=Cache-Control content=must-revalidate / meta http-equiv=Content-Language content=tr / meta http-equiv=Content-Type content=text/html; charset=windows-1254 / JSP Page ?iI? also %@ page contentType=text/html;charset=ISO-8859-9% is not working View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3867193#3867193 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3867193 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95alloc_id396op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: DTD to set Entity Bean's JNDI Name?
hi it's a firewall problem...you'ld to have to see the configuration of your firewall about the 3306 port. If you are under linux you can to do a netstat -an | grep 3306. If it is no there then it's a firewall problem View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3867194#3867194 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3867194 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Javassist user questions] - Howto instrument print(a.toString()) ?!?
Hi, it seems i have discovered my problem now correctly, not as mentioned in my last thread that the copy operation of methods seemed to fail. No ... the problem lies somewhere else and i have figured out which construct it caused. If i have sth like this within a methodbody: | | new Exception(b.getValue()); | ... | and i want to replace the call of b.getValue() by sth like this | if(){ |// get method with java reflection mechanism | }else{ |// call old method | } | But at the moment i have also no clue why this is the case. Does Javassist have trouble in translating sth like this ?!? | java.lang.reflect.Method method = $0.getClass().getMethod(say, null); | method.invoke($0, null); | Sincerely Sirrurg View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3867195#3867195 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3867195 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets JSP] - Turkish Character Problem
Hello I am using JBoss 4.0.1 In my jsp pages turkish characters does not seem correct. could you please help me volkan iravul - %@ page contentType=text/html% META HTTP-EQUIV=Expires CONTENT=Mon, 06 Jan 1990 00:00:01 GMT / META HTTP-EQUIV=cache-control CONTENT=no-cache / META http-equiv=Pragma content=no-cache / META HTTP-EQUIV=Expires CONTENT=-1 / META HTTP-EQUIV=Cache-Control content=must-revalidate / meta http-equiv=Content-Language content=tr / meta http-equiv=Content-Type content=text/html; charset=windows-1254 / ?iI? also %@ page contentType=text/html;charset=ISO-8859-9% is not working View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3867196#3867196 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3867196 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95alloc_id396op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - costum auth-method
Hello, I read a lot about custom LoginModules (at least I didn't do anything else within the last 2 weeks), but did not found anything about custom auth-method implementations. The 'FORM' and 'BASIC' modules are very limited and do not fit our needs. Is there a possiblity to write a custom FormAuthenticator that is not restricted to two parameters (j_username and j_password). How and where do we need to configure custom authentication modules? The result should set the User Principal in Session scope so we can access it by calling Session.getUserPrincipal. Thanks for any help! Rene View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3867197#3867197 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3867197 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: JBoss deploy tools
ittoronto wrote : HI, | | If anyone knows that if JBoss has a deploy tool to help writing the deploy descriptor XML files for web application and EJB, where is it, and how to use it please answer this topic. Thanks a lot in advance. | | Try Eclipse with JBossIDE pluggin... View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3867199#3867199 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3867199 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Re: MDB run-as and SessionContext.isCallerInRole inconsisten
Well, I have a workaround for anyone who encounters this problem. Its not the prettiest solution. Basically on another SLSB, I create a local method called checkCallerAdmin. Then in my code where I want to do a SessionContext.isCallerInRole(Administrator); I call otherSLSB.checkCallerAdmin() The checkCallerAdmin method is set up to only allow callers with the role of Administrator. Basically, it has a * @ejb.permission role-name = Administrator XDoclet tag. If my caller is not an Admin, I get a LocalAccessException which I can catch and use that fact to identify that the caller in the Administrator role. It works, but the biggest drawback is that you are calling another EJB method, so you need to go through the entire interceptor chain (in order to get the the Security Interceptor) in order to get the check to occur. This probably will perform poorer than a direct call to: sessionContext.isCallerInRole(Administrator); I'd still be interested in hearing from someone from JBoss as to wether this behavior is by design or is a bug. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3867200#3867200 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3867200 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: DTD to set Entity Bean's JNDI Name?
Thanks much. That was exactly it. I allowed Norton's to upgrade my anti-virus protection and it slipped in another fire wall I didn't need. Uninstalling it got me back to my original problem. I get no errors on deploy, but cannot see my enterprise beans in the JNDI list. If anyone is still willing to help, I cleaned up the question and posted it along with the JBoss log output at: http://www.jboss.org/index.html?module=bbop=viewtopict=60424 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3867201#3867201 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3867201 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence CMP/JBoss] - How do you handle CMR with non-nullable fields and not using
How do you handle CMR with non-nullable fields and not using cascade-delete? I have three beans A, B and C. A is 1:1 with B and 1:many with C. The foreign key in A that represents B is non-nullable (obviously, no fields exists in A that represents C). Now I create a record in A and C, then delete A (the record in C points to the record in A). For the A-C relationship, I use batch-cascade-delete. So from the logs, it says Scheduled for batch-cascade-delete. So there is no problem there. For the A-B relationship, the container is setting the relevent field to NULL - this causes a foreign key violation error. Is there any way to handle this generally? Can I postpone the NULL setting action (preferably never to be done, as the entity is about to disappear)? Or do I have to abandon CMR (I cannot change the database - besides, it makes no sense to)? Thanks, Ian View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3867203#3867203 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3867203 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - How to get login name in JSP
Hello Have you got any method to get login name of current user without access EJB? Thank you Wang View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3867205#3867205 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3867205 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Performance Tuning] - Re: Hypothesis: JBoss is slow compared to BEA
Sounds like you may not have understood all of the JBoss configuration and fine-tuning information. I suggest you get in touch with sales and get yourself expert help to ensure a smooth transition to production. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3867207#3867207 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3867207 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - how to tunneling jms to 80 port?
Does jboss supports http tunneling so I can s/r message by port 80? I am new to http tunneling, please help me, thanks View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3867208#3867208 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3867208 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: CORBA callback and EJB
In thi scnaria its a problem , By this we have bind the ejb object with corba but transaction. isolation problem will occor if two client one is corba one is ejb access same bean. Is there ant way to bind home interface to CORBA ORB so that we can maintain this transaction too View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3867209#3867209 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3867209 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - How to bind Home interface in JBOSS CORBAORB
Hi, I want to access simple stateless session bean via a corba client. I am trying to bind the Home interface in CORBA ORB , but unable to bind it . Can you tell me how can i bind Home interface to CORBA ORB. I used invoked binding tag but still unable to get the refrence of home interface by CORBA Please guide me its urgent. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3867210#3867210 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3867210 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - Log4j Hibernate debug messges
Hi, I'm using Jboss 4.0.0 and hibernate 2.1.8 deployed as a har archive. I used to managed hibernate session myself i.e closing and opening them. but now i'm using HibernateContext to do that. For transactions i'm using CMT as i'm using ejbs Before using HibernateContext, each time something goes wrong when updating the database (constraints violation ...) or the hibernate mapping was not properly used, i get an exception with an explicit message about the error. Now that i'm using HibernateContext, this does not happen anymore and the only message that i get each time i commit the transaction is: [TransactionSynch] Error fushing session. This becomes very difficult to debug. I went through jboss and hibernate forum/docs to find a solution on how to configure the log4j.xml file to display hibernate debug messages, i couldn't find a solution though. I configured the threshold of the console appender to DEBUG, appender name=CONSOLE class=org.apache.log4j.ConsoleAppender | errorHandler class=org.jboss.logging.util.OnlyOnceErrorHandler/ | param name=Target value=System.out/ | param name=Threshold value=DEBUG/ | layout class=org.apache.log4j.PatternLayout | param name=ConversionPattern value=%d %-5p [%c] %m%n/ | /layout |/appender | | root | appender-ref ref=CONSOLE/ |/root I added the following categories but still, nothing gets displayed. category name=net.sf.hibernate | priority value=DEBUG/ |/category | | | category name=org.jboss.hibernate | priority value=DEBUG/ |/category | | category name=org.jboss.resource | priority value=DEBUG/ |/category | | category name=org.jboss | priority value=DEBUG/ |/category I even tried to use the TRACE level for my categories, no luck though Is there a way to around this problem ? i really tried for days everything i could do. btw is there a way to for hibernate log.properties file ??? thx in advance View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3867211#3867211 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3867211 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Performance Tuning] - Re: Hypothesis: JBoss is slow compared to BEA
Thanks Joachim for your kind reply and suggestions and thanks Juha we are thinking of that. Our application is a big enterprise application where there can be upto 500 or more user transaction simultaneously. We have done the test using JMeter,Load Runner with 500 virtual users. Tuning We have done the best use of the wiki http://www.jboss.org/wiki/Wiki.jsp?page=JBossASTuningSliming But we are using JBoss 3.2.3. Do everybody think that JBoss 3.2.6 can be a best option. 32bit 64 bit At present we are using 32bit machines with Windows platform. How best it can be with 64 bit.Do anybody have some sample results. Trimming We have avoided unused configuration settings and war files. and other than default configuration we are using run -c all for clustering. VM We have tried jdk1.3,jdk1.4 and jrockit in which the performace of jrockit found faster, For weblogic 5.1 we have used jdk1.3 only. This is the vm configuration we applied for development purpose. -Xms386m -Xmx786m -XX:+UseParallelGC -XX:+UseAdaptiveSizePolicy The GC methods not found much useful. The same -Xms386m -Xmx786m we have applied for Weblogic 5.1 We are testing with -Xms786m -Xmx1024m and we will post the results of JBoss3.2.3 vs WL5.1 Class loader isolation Thanks for suggesting this option. We were yet to try optimisation here. to Joachim Juha :If you are having more suggestion regarding this please let us know, So lets this topic be an interesting one for all JBoss fans. Thanks Rasp View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3867212#3867212 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3867212 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - JBoss Custom Application loader
I dont know whether this is the right forum to post the question or not. My question is : Can I write a custom class loader in JBoss App server ? My basic requirement is to write a custom application loader with will first load some jar files from some remote machine and then will be loading the application. This jar files should not be made visible by any other application deployed in the JBoss server. The class loader should also be a component of the application itself. Say for example : The application name is App1. Ideal scenario 1) JBoss boots up 2) It tracks all the applications 3) Reads some conf (or xml file) to trace the class loader name from App1 4) Adds the class loader to the Loader Repo 5) When JBoss feels it should load the applications i.e application loading step comes, it should detect that there is a custom loader associated to the application App1 and transfers control to it.The loader will load accordingly. I really have no idea how this can be achieved. But if app servers provides extension to there class loader repo then each application can have their custom loaders if needed. Any suggestion would be highly appreciated. suggestion can also be fwd to : [EMAIL PROTECTED] View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3867213#3867213 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3867213 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - unable to deploy web service..null pointer
Hi, I am trying to deploy a java end point service. I am getting the following exception 12:12:57,921 ERROR [ServiceDeployer] Cannot startup webservice for: JBOSSWEB.war java.lang.NullPointerException at org.jboss.webservice.metadata.WebserviceDescriptionMetaData.replaceAddressLocations(WebserviceDescriptionMetaData. java:256) at org.jboss.webservice.metadata.WebserviceDescriptionMetaData.updateServiceAddress(WebserviceDescriptionMetaData.jav a:229) at org.jboss.webservice.ServiceDeployer.startWebservice(ServiceDeployer.java:181) at org.jboss.webservice.ServiceDeployer.handleNotification(ServiceDeployer.java:113) at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.notification.NotificationListenerProxy.invoke(NotificationListenerProxy.java:138) at $Proxy28.handleNotification(Unknown Source) at org.jboss.mx.util.JBossNotificationBroadcasterSupport.handleNotification(JBossNotificationBroadcasterSupport.java: 112) at org.jboss.mx.util.JBossNotificationBroadcasterSupport.sendNotification(JBossNotificationBroadcasterSupport.java:95 ) at org.jboss.deployment.SubDeployerSupport.start(SubDeployerSupport.java:178) at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:378) at org.jboss.deployment.MainDeployer.start(MainDeployer.java:944) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:755) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:718) at sun.reflect.GeneratedMethodAccessor31.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:122) at org.jboss.mx.server.Invocation.invoke(Invocation.java:74) at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:131) at org.jboss.mx.server.Invocation.invoke(Invocation.java:74) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:175) at $Proxy8.deploy(Unknown Source) at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:305) at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:481) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:204) at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:277) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:272) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:222) at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144) 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:249) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:891) at $Proxy0.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:416) at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144) 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:249) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:175) at $Proxy4.start(Unknown Source) at
[JBoss-user] [Messaging, JMS JBossMQ] - Re: MDB Stops processing messages
Hi, I examined concurrent.jar from both JBoss 4.0.0 and JBoss 3.2.5. Both of these have the same version of concurrent.jar (ie: 1.3.3) but with different file sizes - JBoss 4.0.0 - 165 KB JBoss 3.2.5 - 168KB For the same MDB issue as reported by Karthik in earlier posts, I want to replace my concurrent.jar in JBoss 3.2.1. Could anybody let me know, which jar should i use...one with JBoss 4.0 or the one with JBoss 3.2.5..? Also, I could not find ver 1.3.4 for the same. Is it advisable to use that with my JBoss 3.2.1...? Thanks View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3867215#3867215 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3867215 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - Re: MDB Stops processing messages
you can get 1.3.4 from the source http://gee.cs.oswego.edu/dl/classes/EDU/oswego/cs/dl/util/concurrent/intro.html and apply it. That is what i did. regards Karthik View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3867216#3867216 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3867216 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user