[JBoss-user] [Tomcat, HTTPD, Servlets JSP] - Re: jaas jndi UseJBossWebLoader Java2ClassLoadingCompl
nobody to answer/advice me on this isolation problem? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3896229#3896229 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3896229 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - URGENT - Problem with Transaction attribute 'RequiesNew' on
HI I have 2 ejbs, First ejb all methods has transaction attribute as Requires, second ejb all the methods has transaction attribute of RequiredNew. For one scenario, I had a call to method of first ejb, which does some db udpates and then delegate call to second ejb for some db updates. once the control comes back to first ejb after serving second ejb db udpates, suppose further down in first ejb if there are any db calls it gives the following error.. I..e. entire transaction is getting closed, after RequiredNew ejb method call. Caused by: java.sql.SQLException: Connection handle has been closed and is unusable. Ideally it suppose to take new transaction, new connection while calling second ejb method. But I guess it is using same db connection and also closing that after method execution completed. Any insights on this issue. Thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3896247#3896247 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3896247 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Transactional state accross nodes
I have a general question about transactional state replication accross nodes in a cluster. We have two nodes setup in a jboss cluster that are load balanced using MLB. We also have a remote ejb that communicates with these nodes using HTTP tunnelling (both for JNDI and invocation). If we had a transaction that began with the remote client and the client then invoked a SSB on node A in the cluster and returned, then some time later the transaction ends (either with a commit or a rollback), if when the client attempted to notify node A the load balancer actually sent the request to node B what would happen? Is the transaction data transperantly synchronized accross nodes or would node B be unaware of the transaction? Any information here would be greatly appreciated Thanks Rob View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3896251#3896251 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3896251 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - multiple directories to .war creation queries
The current application has multiple directories under webapps, with each directory having its own WEB-INF(with web.xml) and related jsp,html,image files. Current setup: Tomcat_home | |- shared/lib | | - (.jars) | |- webapps | |-dir1 | |-dir2 | |-dir3 | | each directory | | dir1 | |-WEB-INF | | - (web.xml) | |- html/jsp/images This needs to be converted to a .war (or .ear) to be deployed into JBoss. I want to know what my options are: If I try to combine under a single .war, that would that mean having to combine the contents of each individual web.xml into a common one (in a single WEB-INF), and dumping all jsps into a common location. This effectively breaks the logical grouping for all the jsp and related files (since they have been grouped by function in the current Tomcat setup) 1) Do I have to make seperate .wars for each of the dir1, dir2, dir3 and dump them into a single .ear? I'm not sure if breaking the application into seperate .wars is a correct option. If this approach is used: in the current setup, there are no classes sub-directories under WEB-INF. All the class files are combined into seperate .jars and these are dumped into tomcat_home/shared/lib/. Is there a way to retain all these .jars in a common location (maybe at the .ear level), so that they are accessable to all the .wars? 2) Are there any other options? 3) Anything I need to keep in mind when combining all these? Thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3896253#3896253 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3896253 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - Re: Why System.exit in MBean can not halt the JVM??
If I should have to write an application server, I would install a SecurityManager with an overwritten checkExit method, so nobody can halt the system just by calling System.exit() within deployed code ;-) Read this regarding threads (daemon threads) and the system exit. http://java.sun.com/j2se/1.3/docs/api/java/lang/Thread.html View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3896255#3896255 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3896255 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - Re: Test Production Environment on the Same Server?
I would start another JBoss instance on the server using different ports for all the services. This can be accomplished by using the ServiceBindingManager. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3896256#3896256 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3896256 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - Re: Test Production Environment on the Same Server?
Hi, thanks for your response. Could you please give me a detailed explanation on how to accomplish this result? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3896258#3896258 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3896258 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: segmented persistence
[EMAIL PROTECTED] wrote : Okay, how about not using a CacheLoader at all for clients ? | Or using a ClusteredCacheLoader once 1.3 comes around ? I tried making seperate xml-configurations for the clients and the servers... the ones for the clients did not have any data regarding persistence. The servers should each have their own local copy of the cache. It seemed to me though that the persistence-configuration got overwritten once I started a client, since there can be only one cacheloader per TreeCache. Is that possible? In any case, the other servers simply refused to load the cache and persit it themselves.. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3896260#3896260 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3896260 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - Re: Why System.exit in MBean can not halt the JVM??
THX. But my purpose is to stop JBoss via calling System.exit(), not to prevent others to halt the JVM. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3896263#3896263 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3896263 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: URGENT - Problem with Transaction attribute 'RequiesNew'
I have changed below configuration from true to false. !-- Enable connection close debug monitoring -- false Now I have received the following error. Caused by: java.sql.SQLException: Not in a transaction View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3896265#3896265 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3896265 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Performance Tuning] - Re: Thread queue limitation when server capacity reached
Hi , Did you already found a solution to this issue? if yes can you share it. thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3896266#3896266 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3896266 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: URGENT - Problem with Transaction attribute 'RequiesNew'
Configuration changes done in jbossjca-service.xml. !-- Enable connection close debug monitoring -- false View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3896267#3896267 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3896267 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: segmented persistence
Okay, all members have a copy of their state. But what I meant was that only *clients* would have *no* CacheLoader configured, so their data would not be persisted View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3896268#3896268 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3896268 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: Lost in the Charset (utf-8) configuration
Hi all, I continue looking around my problem... The problem came when I use the response.getWriter().write(é).In java all is unicode, so the problem came when the writer try to write the text. Instead of writting the two bytes of the utf8 caracter é the ouput of this method is only one byte. This is probably a configuration problem. If some one know were to configure the output charset that must use the writer, please thanks to advise me. Have a good day View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3896269#3896269 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3896269 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - StackOverflow in Stateless bean : 4.0.2
Hi all I have two stateless session beans. //Stateless bean A public class A implements SessionBean { public void setSessionContext(SessionContext sc){ InitialContext in = new InitialContext(); BHome bhome = in.lookup(B); B b = bhome.create(); } . } //Stateless bean B public class B implements SessionBean { public void setSessionContext(SessionContext sc){ InitialContext in = new InitialContext(); AHome ahome = in.lookup(A); A a = ahome.create(); } . } As per abovecode , i am creating bean B in setSession context of A and bean A in setSessionContext of B. This code is working fine in JBOSS 4.0.1 . But in JBOSS 4.0.2 , it is throwing : Caused by: java.lang.StackOverflowError 2005-09-22 13:25:27,187 INFO [STDOUT] javax.transaction.TransactionRolledbackException: Could not instantiate bean; CausedByException is: null; nested exception is: javax.ejb.EJBException: Could not instantiate bean; CausedByException is: null 2005-09-22 13:25:27,187 INFO [STDOUT] at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:244) 2005-09-22 13:25:27,187 INFO [STDOUT] at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:335) 2005-09-22 13:25:27,187 INFO [STDOUT] at org.jboss.ejb.plugins.TxInterceptorCMT.invokeHome(TxInterceptorCMT.java:146) 2005-09-22 13:25:27,187 INFO [STDOUT] at org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:116) 2005-09-22 13:25:27,187 INFO [STDOUT] at org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:121) 2005-09-22 13:25:27,187 INFO [STDOUT] at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invokeHome(ProxyFactoryFinderInterceptor.java:93) 2005-09-22 13:25:27,187 INFO [STDOUT] at org.jboss.ejb.SessionContainer.internalInvokeHome(SessionContainer.java:613) 2005-09-22 13:25:27,187 INFO [STDOUT] at org.jboss.ejb.Container.invoke(Container.java:894) 2005-09-22 13:25:27,187 INFO [STDOUT] at sun.reflect.GeneratedMethodAccessor67.invoke(Unknown Source) 2005-09-22 13:25:27,187 INFO [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 2005-09-22 13:25:27,187 INFO [STDOUT] at java.lang.reflect.Method.invoke(Method.java:324) 2005-09-22 13:25:27,187 INFO [STDOUT] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141) 2005-09-22 13:25:27,187 INFO [STDOUT] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) 2005-09-22 13:25:27,187 INFO [STDOUT] at org.jboss.mx.server.Invocation.invoke(Invocation.java:72) 2005-09-22 13:25:27,187 INFO [STDOUT] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249) 2005-09-22 13:25:27,187 INFO [STDOUT] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644) 2005-09-22 13:25:27,187 INFO [STDOUT] at org.jboss.invocation.local.LocalInvoker$MBeanServerAction.invoke(LocalInvoker.java:155) 2005-09-22 13:25:27,187 INFO [STDOUT] at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:104) 2005-09-22 13:25:27,187 INFO [STDOUT] at org.jboss.invocation.InvokerInterceptor.invokeLocal(InvokerInterceptor.java:179) 2005-09-22 13:25:27,187 INFO [STDOUT] at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:165) 2005-09-22 13:25:27,187 INFO [STDOUT] at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:46) 2005-09-22 13:25:27,187 INFO [STDOUT] at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:55) 2005-09-22 13:25:27,187 INFO [STDOUT] at org.jboss.proxy.ejb.HomeInterceptor.invoke(HomeInterceptor.java:169) 2005-09-22 13:25:27,187 INFO [STDOUT] at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:86) 2005-09-22 13:25:27,187 INFO [STDOUT] at $Proxy56.create(Unknown Source) 2005-09-22 13:25:27,187 INFO [STDOUT] at beansproject.Stateless2.setSessionContext(Stateless2.java:40) 2005-09-22 13:25:27,187 INFO [STDOUT] at org.jboss.ejb.StatelessSessionEnterpriseContext.(StatelessSessionEnterpriseContext.java:52) 2005-09-22 13:25:27,187 INFO [STDOUT] at org.jboss.ejb.plugins.StatelessSessionInstancePool.create(StatelessSessionInstancePool.java:35) 2005-09-22 13:25:27,187 INFO [STDOUT] at org.jboss.ejb.plugins.AbstractInstancePool.get(AbstractInstancePool.java:161) 2005-09-22 13:25:27,187 INFO [STDOUT] at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invokeHome(StatelessSessionInstanceInterceptor.java:78) 2005-09-22 13:25:27,187 INFO [STDOUT] at org.jboss.ejb.plugins.AbstractInterceptor.invokeHome(AbstractInterceptor.java:90) 2005-09-22 13:25:27,187 INFO [STDOUT] at org.jboss.ejb.plugins.CallValidationInterceptor.invokeHome(CallValidationInterceptor.java:41) 2005-09-22 13:25:27,187 INFO [STDOUT] at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:109)
[JBoss-user] [Security JAAS/JBoss] - Cannot authenticate against OpenLDAP
In our company we are planning to switch to a jBoss 4.0.3 based application server array, but we need to authenticate the users against our OpenLDAP service. I've been trying in many ways but I can't seem to get the right configuration. Our ldap structure is: dc=comune,dc=grosseto,dc=it | |_ | | ou=people | | |_ | | |_uid=user1 | | |_uid=user2 | | uid=user3 | |_ | ou=groups | |_ | |_ cn=admin | |_ cn=manager | |_ cn=dipendenti | ... The user's group is specified as a group property: dn cn=admin,ou=groups,dc=comune,dc=grosseto,dc=it | cn admin | objectClass groupOfUniqueNames | uniqueMemberuid=user2,ou=people,dc=comune,dc=grosseto,dc=it | uniqueMemberuid=user3,ou=people,dc=comune,dc=grosseto,dc=it Our webapp has this jboss-web.xml: ?xml version=1.0 encoding=UTF-8? | jboss-web | security-domainjava:/jaas/comunegr/security-domain | /jboss-web while web.xml includes this constraint: security-constraint | web-resource-collection | web-resource-namecertificati/web-resource-name | url-pattern/browse/*/url-pattern | /web-resource-collection | auth-constraint | role-nameutenti/role-name | /auth-constraint | /security-constraint | login-config | auth-methodFORM/auth-method | realm-namecomunegr/realm-name | form-login-config | form-login-page/login/login.jsp/form-login-page | form-error-page/login/error.jsp/form-error-page | /form-login-config | /login-config | security-role | role-nameutenti/role-name | /security-role Finally, I added these lines to the jBoss' login-config.xml: application-policy name = comunegr | authentication | login-module code=org.jboss.security.auth.spi.LdapExtLoginModule flag=required | module-option name=java.naming.factory.initial | com.sun.jndi.ldap.LdapCtxFactory | /module-option | module-option name=java.naming.provider.url | ldap://ldap01.comune.grosseto.it:389/ | /module-option | module-option name=java.naming.security.authentication | simple | /module-option | module-option name=java.naming.security.protocol | * | /module-option | module-option name=bindDN | cn=admin,dc=comune,dc=grosseto,dc=it | /module-option | module-option name=bindCredential | [password] | /module-option | module-option name=baseCtxDN | ou=people,dc=comune,dc=grosseto,dc=it | /module-option | module-option name=baseFilter | (uid={0}) | /module-option | module-option name=rolesCtxDN | ou=groups,dc=comune,dc=grosseto,dc=it | /module-option | module-option name=roleFilter | (uniqueMember={0}) | /module-option | module-option name=roleAttributeIsDNtrue/module-option | module-option name=roleNameAttributeIDcn/module-option | /login-module | /authentication | /application-policy (I also tried to connect with LdapLoginModule (and jBoss 4.0.2) which has slightly different options, but still I could not authenticate) As I call the webapp from the browser I get this error: anonymous wrote : java.lang.NullPointerException | at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:966) | at org.apache.jsp.index_jsp._jspService(org.apache.jsp.index_jsp:53) | at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) | at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322) | at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314) | at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) |
[JBoss-user] [JBoss Portal] - Re: restrictions in user login
no, this is something you have to do by yourself like maintaining a global table. it can be integrated in the login module stack and be part of the vote that rule the login process. you should look at the JBossSX documentation (http://wiki.jboss.org/wiki/Wiki.jsp?page=CreatingACustomLoginModule) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3896276#3896276 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3896276 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - JMS Persistence with Sybase causing SQLExceptions
I'm trying to change our JMS persistence from Hypersonic to Sybase (in JBoss 3.2.5), but haven't been able to do that. After fighting enough with Sybase I tried also mySQL and that worked perfectly :-) The problem with Sybase is that the message can not be stored to the database. With JConnect driver it gives: Caused by: com.sybase.jdbc2.jdbc.SybSQLException: Class org.jboss.mq.SpyObjectMessage not found. Check and make sure that the class has been installed, and an entry exists in Sysxtypes. and with JTDS I get: Caused by: java.sql.SQLException: Unable to convert between org.jboss.mq.SpyObjectMessage and JAVA_OBJECT. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3896279#3896279 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3896279 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - Re: JMS Persistence with Sybase causing SQLExceptions
(The end of the message dissappeared...) I have tried changing the BLOB_TYPE and MESSAGEBLOB -fields type and the mapping in standardjaws.xml (CMP1.1 used), but nothing seems to help. I quess somebody has solved the problem and would appreciate some help how to solve the problem. If necessary I can provide more information. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3896280#3896280 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3896280 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - tutorial help
hi guys, this whole cache thing is new to me. i cant understand a thing on the tutorial. i think the rundemoshell is not running properly. what should i see in the sh build.sh run.aop.demo gui window after running sourceRelative(plain.bsh); on the beanshell? please help thanks richard View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3896281#3896281 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3896281 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: 2 session beans having a reference to each other can not
Hi frank, I tried even the same thing (Creating beans in ejbCreate() ). I am getting same problem. Actual problem is StackOverFlow exception is coming which is being printed as UndeclarableException in logs. I am not able to find any solution. Please let me know if you know some workaround. Thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3896282#3896282 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3896282 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Re: Connection error occured with TxConnectionManager
I seem to have exactly the same problem but can't solve it. I also use the exact same configuration as well. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3896287#3896287 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3896287 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: JAX-RPC Mapping DD, what metadata is used by JBoss?
Just reported another bug report for a similar problem: http://jira.jboss.com/jira/browse/JBWS-424. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3896290#3896290 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3896290 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - Installing Sun's JBI SDK with JBoss
Hello, Can someone give me or point me to detailled instructions on how to install Sun's JBI SDK on top of Jboss??? Thanks in advance, Julien. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3896293#3896293 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3896293 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - What happened to stopDelivery()?
I am using JBoss 4.0.3-RC2 + EJB3-RC2. There is no stopDelivery() method on the MDB MBeans. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3896294#3896294 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3896294 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: portal navigation
Could you elaborate more on the API in JP2.2? I'm just curious what's there. Jacek View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3896295#3896295 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3896295 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - Re: Why System.exit in MBean can not halt the JVM??
So why don't you call shutdown() on the MBean jboss.system.Server? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3896296#3896296 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3896296 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - Re: Test Production Environment on the Same Server?
I am using JBoss 3.2.7 . This version comes with an example. Watch out for the configuration of the ServiceBindingManager within your conf/jboss-service.xml . View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3896298#3896298 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3896298 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: StackOverflow in Stateless bean : 4.0.2
Initialisation of your bean should be done in ejbCreate. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3896300#3896300 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3896300 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: 2 session beans having a reference to each other can not
This is a known problem, I am just trying to find the issue in Jira - I can't remember when it was fixed. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3896302#3896302 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3896302 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: StackOverflow in Stateless bean : 4.0.2
I have tried even that. I tried creating bean B in ejbCreate() of A and vice versa , still same error . Regards Chetan View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3896304#3896304 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3896304 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: StackOverflow in Stateless bean : 4.0.2
See: - http://www.jboss.com/index.html?module=bbop=viewtopict=68731 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3896305#3896305 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3896305 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: portal navigation
to access the current node being used (a window node) : | org.jboss.portlet.PortalNode node = org.jboss.portlet.Navigation.getCurrentNode(); | then you can navigate around that node with methods like | // get the page | node.getParent(); | | // get sibbling windows | node.getParent().getChildren(); | | // get a specific window | node.resolve(../anotherwindow); | you can test the node type : | if (node.getType() == PortalNode.TYPE_WINDOW) | { |// | } | and you can create links to a node : | PortalNodeURL url = ((JBossRenderResponse)req).createRenderURL(node); | writer.write(a href=' + url.toString + 'link/a); | You can see it in action in the CatalogPortlet in 2.2 which displays the pages relative to the target page or can display a sitemap in maximized window state. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3896306#3896306 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3896306 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Multiple databases
You can use the same jboss server to connect to differnet database server. You can add the two database configurations in the same oracle-ds.xml. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3896310#3896310 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3896310 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - Re: Why System.exit in MBean can not halt the JVM??
Because I must shutdown the JBoss when the my application server's initializaion is not complete. So far I don't know any other way to stop JBoss except calling System.exit(). But now, I will take your advice to try to use shutdown() method in org.jboss.system.Server. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3896311#3896311 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3896311 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - Is hot swap possible in JBoss4?
Hi, Can JBoss be configured to 'hot swap' classes? My apologies if this question is already answered in some obvious place. 30 minutes searching the forum, wiki and Google didn't turn up a definitive answer but maybe its just me. :) Cheers, Kevin View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3896312#3896312 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3896312 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: Singleton MBean lookup fails after failover ( using sing
Take a look at http://koolkat.hopto.org/blojsom/blog/default/development/?permalink=HA-singleton-on-JBoss.html which shows that you need to continue retrying the connection until the HA singleton starts up and the HAJNDI proxy actually connects. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3896318#3896318 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3896318 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: MDB's, DataSource in a cluster
Hi, nobody can help me ? Nobody with similar problems ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3896319#3896319 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3896319 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - Re: Deployment order of .ear file
How did you solve the id attribute dependency? We've got a similar problem. In the jboss.monitor:service=CiwebMonitor mbean deployment file, we must define a mbean dependency as it follows: | server | mbean code=org.jboss.monitor.LoggingMonitor name=jboss.monitor:service=CiwebMonitor | classpath codebase=lib archives=loggingmonitor.jar/ | attribute name=Filename${jboss.server.home.dir}/log/ciweb.log/attribute | attribute name=AppendToFiletrue/attribute | attribute name=RolloverPeriodDAY/attribute | ... | dependsjboss.web.deployment:war=web-console.war,id=-703441128/depends | ... | /server | After each JBoss restart, a new id is generated for the mbean jboss.web.deployment:war=web-console.war, and it crashes the deploy of jboss.monitor:service=CiwebMonitor mbean service. How am I supposed to define this random id? Any idea would be very helpful. Thanks in advance. Fernando View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3896324#3896324 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3896324 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - TreeCache and State Transfert status
Hi, I have a simple need with JBossCache (aop version): 2 clients share a treecache, but the first started needs to completly init the cache in memory (from a special backend). I've read many information (Tutorial,forum ..., CacheLoader) but all is not completly clear for me. I have already use JGroups standalone and i was able to solve this pb in set fetchState method. i can see that in TreeCache (around line 2337 in methode _setState), tou detect this situation, but it should be fine if at same time the cache could notify listeners that any cache was found ? Maybe there is another solution for this pb. Thx Christophe View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3896325#3896325 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3896325 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - Re: Why System.exit in MBean can not halt the JVM??
yeah. Done. Thanks to all people who have give me a hand. When use shutdown() in MBean, the JBoss can't really shutdown. When use exit(int) in MBean, the JBoss will shutdown after deploying all deployment,. When use halt(int) in MBean, the JBoss immediately shutdown. Thus, I use halt(int) to shutdown JBoss. PS, all the three mehod list above is member method of org.jboss.system.server.ServerImplMBean, whose instance make out a JBoss. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3896323#3896323 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3896323 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Multiple databases
Thanks for your replay! What about the entity pool can JBoss separate entities from the different customer databases? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3896326#3896326 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3896326 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Fail-over when loosing TCP/IP connection.
Hi All, We're running jboss tree cache 1.2.3 in a 2 computers cluster environment. We configured jgroups in order to have a TCP/IP link between the two machines, Group management behing handelg by TCPPING. When the TCP/IP connection is stoped (for example by a firewall timeout), two subgroups are created and then merged later thanks to MERGE2. Everything is fine here (at least since 2.2.8). My concerned is that when the two subgroups are merged, their cache is not synchronized (as it would if one computer crashed and restarted). Could Tree Cache listen to the groups modification and synchronize the cache of all node joining the group? I don't really know what criteria could be used to choose the cache reference that would overide others caches, but I would say (without thinking too much): - If groups have the same node numbers = random - If group A node number group B node number = B get cache state form A. Thanks, Pierre View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3896329#3896329 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3896329 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: Lost in the Charset (utf-8) configuration
Your web pages need a good doc type: !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN | http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd; and a good encoding in the Head: meta http-equiv=Content-Type content=text/html;charset=utf-8 / IE is not going to understand entities the way you hope unless your are using standards - otherwise it's all hit and miss. Here is an enourmously useful presentation on the whole topic: http://www.w3.org/International/tutorials/tutorial-char-enc/ View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3896330#3896330 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3896330 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - CommunicationException when stopping jboss
I am receiving the following error when trying to stop the jboss server. I am running Fedora 4 with jboss 4.0.2 and using the default, very basic init.d script found at this link http://wiki.jboss.org/wiki/Wiki.jsp...OnBootWithLinux /etc/init.d/jboss stop Stopping jboss... Exception in thread main javax.naming.CommunicationException: Could not obtain connection to any of these urls: localhost:1099 [Root exception is javax.naming.CommunicationException: Failed to connect to server localhost:1099 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server localhost:1099 [Root exception is java.net.SocketException: Invalid argument or cannot assign requested address]]] at org.jnp.interfaces.NamingContext.checkRef(NamingCo ntext.java:1385) at org.jnp.interfaces.NamingContext.lookup(NamingCont ext.java:579) at org.jnp.interfaces.NamingContext.lookup(NamingCont ext.java:572) at javax.naming.InitialContext.lookup(InitialContext. java:347) at org.jboss.Shutdown.main(Shutdown.java:202) Caused by: javax.naming.CommunicationException: Failed to connect to server localhost:1099 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server localhost:1099 [Root exception is java.net.SocketException: Invalid argument or cannot assign requested address]] at org.jnp.interfaces.NamingContext.getServer(NamingC ontext.java:254) at org.jnp.interfaces.NamingContext.checkRef(NamingCo ntext.java:1370) ... 4 more Caused by: javax.naming.ServiceUnavailableException: Failed to connect to server localhost:1099 [Root exception is java.net.SocketException: Invalid argument or cannot assign requested address] at org.jnp.interfaces.NamingContext.getServer(NamingC ontext.java:228) ... 5 more Caused by: java.net.SocketException: Invalid argument or cannot assign requested address at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl .java:305) at java.net.PlainSocketImpl.connectToAddress(PlainSoc ketImpl.java:171) at java.net.PlainSocketImpl.connect(PlainSocketImpl.j ava:158) at java.net.Socket.connect(Socket.java:452) at java.net.Socket.connect(Socket.java:402) at java.net.Socket.(Socket.java:309) at java.net.Socket.(Socket.java:211) at org.jnp.interfaces.TimedSocketFactory.createSocket (TimedSocketFactory.java:69) at org.jnp.interfaces.TimedSocketFactory.createSocket (TimedSocketFactory.java:62) at org.jnp.interfaces.NamingContext.getServer(NamingC ontext.java:224) ... 5 more It appears that the JNDI server is up and running/listing on port 1099. netstat -an |grep 1099 tcp 0 0 :::1099 :::* LISTEN Does anyone have any idea what I am doing wrong? Could it be something with my Fedora hostname setup? I have to kill the processes each time I want to shutdown/restart which isn't optimal. Not being able to fix the problem is bugging me probably more than the inconvenience... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3896332#3896332 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3896332 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Authentication
Hi I have following contents in my login-config.xml. Can anyone tell me when these quesries actulally run ? ?xml version='1.0'? !DOCTYPE policy PUBLIC -//JBoss//DTD JBOSS Security Config 3.0//EN http://www.jboss.org/j2ee/dtd/security_config.dtd; application-policy name=r911-SecureRealm login-module code=com.r911.security.R911LoginModule flag=required module-option name=dsJndiNamejava:/R911DB/module-option module-option name=principalsQuerySELECT R911User.Password, R911User.userId 'PrincipalID' FROM R911User WHERE UserName=?/module-option module-option name=rolesQuery SELECT UserGroup.UserGroupName, 'Roles' FROM R911User LEFT JOIN UserMapping ON R911User.UserId = UserMapping.UserId LEFT JOIN UserGroup ON UserMapping.UserGroupId = UserGroup.UserGroupId WHERE R911User.Username =? /module-option /login-module /application-policy Thanks Imad View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3896331#3896331 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3896331 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - jboss+lomboz
I downlaoded build 3.1 RC2 OF lomboz that includes lomboz+eclipse.Now i created a project and tried to delete file from it But it is taking more than half an hour.the message comes like this the user operation is waiting for background work to complete building workspace performing tasks j2ee a.html-ObjectWeb Lomboz View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3896335#3896335 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3896335 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: java.io.StreamCorruptedException under clustering
The properties that I use to set up the InitialContext are: p.put(Context.INITIAL_CONTEXT_FACTORY, org.jnp.interfaces.NamingContextFactory); | p.put(Context.URL_PKG_PREFIXES, jboss.naming:org.jnp.interfaces) | p.put(Context.PROVIDER_URL, nvarma-lap:1100); | Another curious thing that I have noticed is that the exception stack references port 1200 whereas I specify port 1100 in the PROVIDER_URL. javax.naming.CommunicationException: Failed to retrieve stub from server 10.180.0.34:1200 [Root exception is java.io.StreamCorruptedException: unexpected block data] I haven't been able to overcome this problem. Any help will be much appreciated. Regards, Nitesh View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3896336#3896336 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3896336 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: Fail-over when loosing TCP/IP connection.
This is not as simple as suggested, state merging is largely an application responsibility. I have a JIRA issue (http://jira.jboss.com/jira/browse/JBCACHE-8) which tackles this, but it will come down to policy-based state merging. So we call the application, which then needs to handle the state merge. JGroups merges the partitioned subgroups back into a single group, but state merging cannot be done by JGroups because we don't know your state. What you suggested will probably *one* merge policy that JBossCache ships with, but there will be are others, and application programmers concerned about partitions/merging will be able to provide their own policies. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3896337#3896337 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3896337 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: java.io.StreamCorruptedException under clustering - not
Found the problem. I was using jboss-client.jar on the client's classpath. On replacing this with jbossall-client.jar, the problem disappears. This needs to go into JBoss Wiki! Regards, Nitesh View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3896339#3896339 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3896339 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: java.io.StreamCorruptedException under clustering - not
If you google for this string (in double quotes), the first hit is a page to the FAQ: http://wiki.jboss.org/wiki/Wiki.jsp?page=ClusteringFAQ It is at the bottom of the page View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3896340#3896340 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3896340 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - call to JSP allways returns an html page with empty body
Hi, I have a web application which I have deployed to jboss as a packaged war. The webapplications contains several JSPs. If I try to request the JSP with a browser (e.g.: http://localhost:8080/MQWFClient35T/Logon.jsp), JBoss allways returns this HTML with an empty body: !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.0 Transitional//EN | HTMLHEAD | META http-equiv=Content-Type content=text/html; charset=windows-1252/HEAD | BODY/BODY/HTML If I try to access an URL which does not exist (e.g.: http://localhost:8080/MQWFClient35T/LogonNotExist.jsp) I get an HTTP Status 404 - /LogonNotExist.jsp. This is the right behaviour. But why does JBoss deliver the same empty HTML page all times I try to access one of my jsps without writing an error to the logs? Any help would be greatly appreciated! Regards, Jochen View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3896348#3896348 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3896348 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Getting Started Documentation] - Web Service with VB6
I also posted this on gotdot.net, where the utility (below) can be downloaded. I am up and running with JBoss 4.0.1 and have the example apps working thru the browser and also the (Ant target) run-ws client interface is operable. I need to know what type of request would be built by VB to invoke this WS. So I started with a free utility WS Studio, and giving it an endpoint, it retrieves the WS details including the methods available from the service. All is well, except I do not see the methods, and therefore, cannot invoke. WS Studio gets me almost there and I should be able to see the entire request/response generated by this client. Has anyone else attempted this with WS Studio? http://www.gotdotnet.com/Community/UserSamples/Details.aspx?SampleGuid=65a1d4ea-0f7a-41bd-8494-e916ebc4159c Also, if anyone has info on a how-to regarding VB and WebServices, that would also be greatly helpful and appreciated. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3896350#3896350 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3896350 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Remote call performance - EJB vs. RMI
My application uses a remoting proxy for remoting all server-side business objects. Thus, it is very easy for us to swap out which remoting technology we use. In the past we have been EJB-based (all remote invocations were done via a Stateless Session EJB), but have recently switched to RMI for performance reasons. The difference in performance between RMI and EJB invocations is astounding, and I feel sure that there is something we could have done to make the EJB calls more performant. I have been using a profiler to run numerous tests and observe how long remote invocations take. On a particular remote method call: RMI Using RMI, each remote method call took roughly 1.5-2ms. If I invoked the method 200 times, it would take roughly 300-350ms. EJB Our framework cached the EJB Home interface, but for each method invocation, it 1) invoked create on the EJB Home interface 2) invoked the method on the EJB object 3) called remove on the EJB. Is this correct or should we also cache the EJB object? If we cache the EJB object, is there any effect on instance pooling, clustering, etc? (we are not currently using clustering, but may in the future) Calling the above 3 methods looks like it results in 3 separate remote calls to the application server. Obviously if we cached the EJB object, it would improve performance tremendously. For the three remote invocations: create() - The create method took an average of 10 ms per invocation (6ms with PooledInvoker). The majority of this time was consistently spent in ClientContainer.readExternal (An average of about 6ms per create was spent in readExternal) Why is this? method invocation - The method invocation itself took an average of 4 ms (3ms with PooledInvoker). This is still almost 3 times the amount of time a plain RMI call took, but may be normal considering the added complexity of an EJB invocation. remove() - The remove method took an average of around 3 ms per call (1.5ms with PooledInvoker). This is still double what the entire invocation took using RMI. Summary Since we primarily only used EJB as a remoting infrastructure, we have now switched to plain RMI. However, I would like to understand if we were doing anything wrong with EJBs or if there is additional tuning we could have done to improve EJB performance. Summary of my questions: * Should we call create and remove on each invocation, or should we cache the stateless session EJB object in our remoting infrastructure? What effect does this have on server-side instance pooling, clustering, etc.? | * Why does the create() method take so long? Is it normal for readExternal() to take up so much time? | * Is there additional tuning we can do to speed up EJB performance? | * Another problem we saw was that every now and then a create() call would take 2+ seconds. From the profiler, it appeared that this was caused by the MarshalledInputStream.resolveProxyClass() method called when the MarshalledObject.get() method is called by the ClientContainer.readExternal() method. Has anyone seen this problem or does anyone have any ideas why this could happen? | Environment JBoss 4.0.2 JDK 1.5.0_04 JProfiler 4 All testing was done on a local LAN - obviously the performance would be different over a slower network. JRMPInvoker was used, except where it was noted that PooledInvoker. Thanks! Jeremy Haile View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3896351#3896351 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3896351 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Getting Started Documentation] - Re: dukebank with HSQL
Part of the example app tutorial is how to set up encryption in the security API. If you have properly configured the encryption, then you MUST also have updated the db to reflect the encrypted password. On the flip side, you can skip the configuration of encryption(or undo it), and leave the DB table alone. Do a select on the user table and if the password reads j2ee, you know the security must NOT be using encryption. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3896352#3896352 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3896352 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Getting Started Documentation] - Re: Duke bank on Jboss-4.0.2
I recall seeing a post yesterday that a fix was forthcoming for 4.0.2 and that many changes have taken place since 4.0.1. From limited experience with 4.0.1, I can see that the java source file names have apparently changed. e.g. - in the src directory, my com\sun\ebank\ejb\tx directory has file TxBean which resulted in files generated in the build: LocalTx.java, LocalTxHome.java, TxBean.java,. As you can see, none of these names correspond exactly to what your error messages are reporting. I would look at your own src directory to see if the files were created correctly. If the files named in your error message actually do exist, then the package target failed in some way, which has the deploy 'not ready'. You have a couple options: wait for the fix, redownload and start from scratch. Download 4.0.1 and (still) start from scratch. You could try to fix the build and/or classnames manually, but this is no guarantee that problems won't bite you downstream. I can attest that 4.0.1 works, but I skipped the section of 'getting started guide' pertaining to encryption/security. This duke's bank is an example app and I'll worry about security when I deploy the real thing. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3896360#3896360 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3896360 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - JSR-181 - beehive/jbossWS on JbossAS4.0.X?
Does anyone have any good information/tutorial/example on enabling webservice annotation support with Jboss AS 4.0.X? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3896361#3896361 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3896361 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - Installing OCI for JBoss 4.0.2 in RH AS 3.1
Hi all! I'm trying to install the OCI drivers from oracle, because the thin ones doesn't support fail-over or load-balancing. The platform is a Jboss 4.0.2 as MQ server, running on RedHat AS 3.1 (64-bit). I've installed the oci drivers (*so) in /lib64/oci, added this path to ld.so.conf and ran ldconfig. Defining some environement variables like LD_LIBRARY_PATH, SQLPATH, and TNS_ADMIN, I've got a succesful conection to a RAC using sqlplus with a tnsnames.ora file. So I think that the oci drivers are correctly installed in the RedHat OS, but when trying to use this OCI connection with Jboss on a datasource, I get: -- Error handling message : Unexpected throwable while trying to create a connection: null; - nested throwable: (java.lang.reflect.UndeclaredThrowableException); -- It seems that JBoss doesn't find the *so files, but when I call the JVM (1.5.0_04 from sun) with this parameters: -Djava.library.path=/lib64/oci/: and all the other default paths Someone knows how oci drivers need to be installed to work with jboss ? Thanks! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3896362#3896362 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3896362 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - Does log4j QuietMode need to be false?
The Log4jService (mbean org.jboss.logging.Log4jService in conf/jboss-service.xml) has an attribute named Log4jQuietMode set to true. The comment indicates 'this needs to be set to avoid a possible deadlock on exception', and references bug#696819. Please help me find further information about this. I wasn't able to find the specified bug on either the log4j or jboss trackers, and searching those trackers and their respective forums haven't unearthed anything. We've had some errors with the smtp appender and would like to log any errors encountered within the appender. Turning the QuietMode to true would achieve this, but the purported 'deadlock' sounds ominous. Any help or alternatives would be appreciated. Thanks, lasitha ranatunga. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3896364#3896364 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3896364 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - No support for @ejb.pk XDoclet Tag??
It appears that the DTD for the jbosscmp-jdbc.xml document does not support the use of the @ejb.pk XDoclet tag. Specifically, I cannot get the element prim-key-class to appear in the document because the DTD doesn't mention it. Please correct me if I am wrong. If I'm right, I'd like to know why prim-key-class is not supported. In my case, use of an unknown primary key is pretty heavy handed when all I want to do is assure type safety by using a primary key class. If using an unknown primary key is my only option, I would very much appreciate finding out how I am supposed to write my XDoclet finder methods and how I'm supposed to handle finding an entity bean by its primary key when using an unknown primary key. I've tried finding some resource that gives me code examples but I've failed to find any. What I do find is lots of xml examples. Thanks. Environment: Windows XP Professional, JBoss 4.0.2, Hypersonic DB View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3896368#3896368 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3896368 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - Re: hibernate 2.1.8 and CacheProvider
Hello, I have the same problem. Do you fin the solution to install hibernate 2.1.8 whith jboss (my version is 3.2.6) Thks for your help Franck View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3896377#3896377 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3896377 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Developing Web services Using jboss-eclipse ide 3.0 and
bump View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3896379#3896379 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3896379 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ 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: No support for @ejb.pk XDoclet Tag??
The prim-key-class is specified in the ejb-jar.xml in the definition of the entity. ELEMENT entity (description?, display-name?, small-icon?, | large-icon?, ejb-name, home?, remote?, local-home?, | local?, ejb-class, persistence-type, prim-key-class, | reentrant, cmp-version?, abstract-schema-name?, | cmp-field*, primkey-field?, env-entry*, ejb-ref*, | ejb-local-ref*, security-role-ref*, security-identity?, | resource-ref*, resource-env-ref*, query*) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3896380#3896380 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3896380 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Developing Web services Using jboss-eclipse ide 3.0 and
DO NOT BUMP POSTS Also upgrade your version of JBoss, you will get little to no help using such an old release candidate. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3896382#3896382 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3896382 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - MBeans, proper use case?
I'm trying to insturment a web service using a request handler and an MBean. Currently, I create and register, upon initialization of the handler a custom MBean. Is it more correct to have the MBean contain a reference to my handler to pull the statistics it needs or to have the handler update the MBEan with statistics when it determines it is necessary? More importantly, is it proper form to have the MBean created and registered by the object it is managing? Most of the examples show independent services deployed with dependcies on the services they monitor..I don't think that works in this case. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3896384#3896384 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3896384 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Increasing EJB pool (newbie)
Hi, i'm using httperf to test a site of e-commerce on Jboss/Tomcat 4.0.2. The problem is that i tried to increase the maxThread in server.xml, $JAVA_OPT to 512M and the result is the same. The server can't serve more than 10 req/sec Which is the problem??? I hope i've been clear with my problem. Thank's all!!! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3896385#3896385 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3896385 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: Fail-over when loosing TCP/IP connection.
Thanks a lot for your prompt answer ! I guess we will handle this case at the application level then :) Thanks, Pierre PS: TreeCache and jgroups are really great products ! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3896399#3896399 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3896399 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - how could I integrate helloworld portlet into the default po
I'm sorry I'm a newbie with jboss portal, I still don't know how to integrate helloworld portlet into the default portal.. Could somebody help me please?? I have helloworld.war, but I don't know in which path I have to save it, and which .xml files I have to modify in the portal core Do I have to modify some .xml files in \jboss-portal-2.0-jboss-4.0.2\server\default\deploy\jboss-portal.sar\portal-core.war\?? Which ones?? How could I see the helloworld portlet when I access to http://localhost:8080/portal?? I know It's a stupid question but please I need your help guys is so important.. Regards... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3896406#3896406 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3896406 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Developing Web services Using jboss-eclipse ide 3.0 and
Why can't I bump posts? I wanted to know more about an answer to this guy's question. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3896407#3896407 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3896407 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Re: MBeans, proper use case?
Both are possible, although I think more common is the case of the mbean acting as a wrapper over the real resource (i.e. the resource doesn't know about mbeans). View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3896409#3896409 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3896409 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Send mails from MBean
Hi All, Can someone post a sample as to how to call/send mail from am MBean. I know how to write an MBean. Bascially I struggling with the Mail lookup. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3896412#3896412 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3896412 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - two portles using myfaces and navigation
Hello, I enhanced the cardemo portlet using myfaces and added two porlets on the left side. In this additional portles I use the jsf navigation with commandLink and commandButton. Using the commandLink only the first portlet follows the link. The second does not work. Using the the commandButton navigation works fine. here the sample code for the first portlet: userHome.jsp: f:view |h:form | h:outputText value=This is userHome.jsp / | br/br/ | h:commandButton id=userHomeToForward action=goForward value=Go forward / | /h:form | h:commandLink id=userHomeToForward action=goForward value=Go forward / | /f:view | | navigates to userForward.jsp: | f:view |h:form | h:outputText value=This is userForward.jsp / | br/br/ | h:commandButton id=userForwardToHome action=goBack value=Go back / |/h:form |h:commandLink id=userForwardToHome action=goBack value=Go back / | /f:view | | faces-config.xml: | navigation-rule | from-view-id/userHome.jsp/from-view-id | navigation-case | descriptionGo Forward/description | from-outcomegoForward/from-outcome | to-view-id/userForward.jsp/to-view-id | /navigation-case | /navigation-rule | navigation-rule | from-view-id/userForward.jsp/from-view-id | navigation-case | descriptiongo Back/description | from-outcomegoBack/from-outcome | to-view-id/userHome.jsp/to-view-id | /navigation-case | /navigation-rule | The second portlet looks the same except the naming and ids differ. additionally the window is confiured like this: | window | window-nameCarDemoWindow/window-name | instance-refcardemo.CarDemoPortlet.CarDemoPortletInstance/instance-ref | defaulttrue/default | regioncenter/region | height0/height | /window | window | window-nameCarDemoWindow3/window-name | instance-refcardemo.CarDemoPortlet3.CarDemoPortletInstance3/instance-ref | defaulttrue/default | regionleft/region | height0/height | /window | window | window-nameCarDemoWindow2/window-name | instance-refcardemo.CarDemoPortlet2.CarDemoPortletInstance2/instance-ref | defaulttrue/default | regionleft/region | height0/height | /window | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3896413#3896413 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3896413 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Creating a WS with Eclipse - JBossIDE in J2EE
First of all, my JBoss installation works great, and my default Tomcat installation works as well, since I have no problems runnings servlets and JSPs in a J2EE deployment. So, I would like to create a web service in J2EE using my JBoss IDE. I would like to use the default Tomcat server as the container for my web service. So this is what I did: Create a new J2EE project. Create a java class with functionality for the web service. (Controller.java) Create a new web service. (New-Other-Web Services-Web Service) Then I create a bottom-up ws with proxy and click Next. Then I select the java class implementing the web service.(Controller.java) Then I get an error message that says: No suitable server can be found for the Apache Axis Web service runtime. Go to Window Preferences. Select Server Installed Runtimes and configure one of the following: Tomcat v4.0 Server, Tomcat v4.1 Server, Tomcat v5.0 Server, Tomcat v5.5 Server, Geronimo v1.0 Server So then I try to configure the default Tomcat 5.5 which comes standard with my JBoss 4.0.2. (Windows-Preferences-Server-Installed Runtimes-Add-Apache-Tomcat 5.5-Next) Now I run into more trouble. Because my Tomcat server is deployed and not installed, I can't direct JBoss to the installation directory. I've tried just about every directory that I can think of, but no luck. What should I do next? Thanks so much for any and all help. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3896417#3896417 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3896417 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [J2EE Design Patterns] - Re: Multithreading using MDB
If it's a matter of sending a signal to terminate the MDB - why not get each single-threaded MDB to check periodically another app-wide queue filtered against a pre--agreed ID sent from the original client (normal JMS consumption as opposed to through the OnMessage() interface) to see if it should terminate early ? That way your clients can simply send termination signals to one queue for a specific consumer. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3896421#3896421 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3896421 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - ADD: two portles using myfaces and navigation
Sorry I forgot to mention: I tried it on the jboss-Portal-4.0.2 and jboss-portal-2.0.1RC1-jboss-4.0.2. Also I downloaded the new myfaces-1.1. In each combination the commandlink of the second portlet does not work. The MyFacesGenericPorlet.VIEW_ID in the url always shows the ID of the first portlet. Could you please help? Thanks Stefan View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3896422#3896422 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3896422 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - EAR DEPLOY
Hi! I have deployed and ear application by putting my ear file in the eg.: jboss/server/default/deploy, the deploy was a sucess. But every time I restarted the server, JBoss (4.02) re-deploy the application in a diferent folder. I would like to know how can I do to that every time JBoss re-deploy my ear application it does in the same folder. I hope I made myself clear. Any tips are welcome :-) Best regards, André. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3896427#3896427 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3896427 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: how could I integrate helloworld portlet into the defaul
Have a look at http://www.jboss.com/products/jbossportal/docs where you can find all the answers. Jacek View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3896428#3896428 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3896428 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Tomcat, HTTPD, Servlets JSP] - Re: Reading image outside webapp contextpath??
Try the following link, it helped me with a similar problem: http://wiki.jboss.org/wiki/Wiki.jsp?page=ExternalDirectories View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3896432#3896432 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3896432 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Portal deployment alternatives
Hi, I can't figure out what deployment options are available in JBoss Portal. I work with the sources, so its version is JBoss Portal 2.2.0-ALPHA and JBoss AS is 4.0.3RC2. According to the chapter 2 of JBoss Portal reference guide - http://docs.jboss.com/jbportal/v2.0Final/reference-guide/en/html/xmldescriptors.html#d0e557 it should be possible to deploy *-portal.xml files without having them to be bundled in a war. I can't get this to work, thought - /portal/myportal keeps showing me the default portal. Am I missing something? Is there a way to list all of the deployed portals? BTW: I have really been amazed by the new layout scheme - phalanx. It's a nice-looking layout. Jacek View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3896433#3896433 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3896433 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Failed to create configuration directory for workspace defau
Hi, What's that? It happens with the latest JBoss Portal 2.2.0-ALPHA build from the sources and deployed onto JBoss AS 4.0.3RC2. 20:26:04,481 INFO [JCRCMS] Starting JCR CMS. 20:26:04,531 INFO [LocalFileSystem] LocalFileSystem initialized at path C:\apps\jboss\server\portal\data\portal\jcr\repository 20:26:04,531 INFO [LocalFileSystem] LocalFileSystem initialized at path C:\apps\jboss\server\portal\data\portal\jcr\versions 20:26:04,541 WARN [ServiceController] Problem starting service portal:service=CMS org.apache.jackrabbit.core.config.ConfigurationException: Failed to create configuration directory for workspace default. at org.apache.jackrabbit.core.config.RepositoryConfig.createWorkspaceConfig(RepositoryConfig.java:299) at org.apache.jackrabbit.core.config.RepositoryConfig.init(RepositoryConfig.java:218) at org.apache.jackrabbit.core.config.RepositoryConfig.create(RepositoryConfig.java:97) at org.apache.jackrabbit.core.config.RepositoryConfig.create(RepositoryConfig.java:71) at org.apache.jackrabbit.core.jndi.BindableRepository.init(BindableRepository.java:114) at org.apache.jackrabbit.core.jndi.BindableRepository.create(BindableRepository.java:104) at org.apache.jackrabbit.core.jndi.RegistryHelper.registerRepository(RegistryHelper.java:57) at org.jboss.portal.cms.util.RepositoryUtil.registerRepository(RepositoryUtil.java:58) at org.jboss.portal.cms.impl.jcr.JCRCMS.startService(JCRCMS.java:172) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:287) at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:187) ... Jacek View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3896434#3896434 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3896434 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - page to go after login?
The current form based login model is to access a protected page, then a login form cut in to authenticate user, and then redirect to that page. I found this is not flexible enough. There is anyway to instruct Security model which page to go after login in. What does it takes to implement Servlet security model like this? Thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3896435#3896435 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3896435 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: tutorial help
I am seeing the same problem. I run the plain.bsh script and nothing happens in the gui view. Thanks! Eric View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3896439#3896439 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3896439 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Advanced Documentation] - Force war deployment to specific tmp folder
Hello, I was wondering if there is a way to get JBoss to unpack a WAR application in the same tmp folder. The default behavior is to auto-create a tmp folder under the tmp directory with the naming convention tmpsome_numberapplication_name-exp.war. This is fine, but a bit difficult for debugging in a development environment. Sometimes, it makes sense to make some changes directly into the exploded war directory for quick testing without needed to re-deploy the app. Knowing where the app will be deployed beforehand can ease this process. The exploded war directory can be bookmarked and easily found. If this is not feasible, please let me know. Regards. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3896448#3896448 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3896448 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Advanced Documentation] - Re: Force war deployment to specific tmp folder
I think I found it: http://www.jboss.org/wiki/Wiki.jsp?page=ExplodedDeployment Is this it? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3896450#3896450 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3896450 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - EJB's looking at hypersonic database instead of mysql
This is a very strange problem...I have worked with JBOSS and Oracle many times without problem. However, now I am trying my hand at JBOSS and mySQL with some puzzling results. I have successfully created a Datasource that connects to mySQL and I have a class that performs JDBC queries (this class connects to this mySQL datasource -- see code below). | System.out.println(Loading underlying JDBC driver.); | try { |Class.forName(com.mysql.jdbc.Driver); | } catch (ClassNotFoundException e) { |e.printStackTrace(); | } | System.out.println(Done.); | final InitialContext context = new InitialContext(); | dataSource = (DataSource)context.lookup (java:/BBIMDB) However the EJB's seem to be pointing at a different database (I guess hypersonic) because when I call a findByPrimaryKey() method on a bean with a row I know exists, it can't find it (NotFoundException). And when I create an entity bean - it works without error, however it is nowhere to be seen in the mySQL database! I have created a mySQL datasource (mysql-ds.xml) as follows: ?xml version=1.0 encoding=UTF-8? | datasources | local-tx-datasource | jndi-nameBBIMDB/jndi-name | connection-urljdbc:mysql://localhost:3306/bbimdb/connection-url | driver-classcom.mysql.jdbc.Driver/driver-class | user-namebbimdb/user-name | passwordpassword/password | metadata | type-mappingmySQL/type-mapping | /metadata | /local-tx-datasource | /datasources With my EJB's, I deploy the following jbosscmp-jdbc.xml file: ?xml version='1.0' encoding='windows-1252'? | jbosscmp-jdbc |defaults | datasourcejava:/BBIMDB/datasource | datasource-mappingmySQL/datasource-mapping | create-tablefalse/create-table | remove-tablefalse/remove-table |/defaults | enterprise-beans | ... and the following jboss.xml file ?xml version = '1.0' encoding = 'windows-1252'? | !DOCTYPE jboss PUBLIC -//JBoss//DTD JBOSS 3.0//EN http://www.jboss.org/j2ee/dtd/jboss_3_0.dtd; | jboss | resource-ref | res-ref-namejdbc/BBIMDB/res-ref-name | jndi-nameBBIMDB/jndi-name | /resource-ref | ... | Please can somebody help? I am at a loss :( I am using jboss-4.0.1sp1 on winXP with mySQL 4.1 and connectorj 3.1.10 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3896451#3896451 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3896451 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ 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: No support for @ejb.pk XDoclet Tag??
Thanks for straightening me out on that. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3896454#3896454 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3896454 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - Re: Hypersonic localDB.data file size limit
Thanks for the detailed and meaningful answer. Yaron G. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3896455#3896455 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3896455 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - cant connect to mysql
Hi all one of our java beans connects to a mysql db. I can connect with the user from commandline mysql, and can verify the permissions in tne mysql.user table. I get this excetpion when our mdb tries to connect: | 08:23:13,622 WARN [JBossManagedConnectionPool] Throwable while attempting to get a new connection: null | org.jboss.resource.JBossResourceException: Could not create connection; - nested throwable: (java.sql.SQLException: Access denied for user: '[EMAIL PROTECTED]' (Using password: YES)) | Ive checked the jboss config files and user/password/port are all correct. from my mysql | mysql select host, user from user where user='hashuser'; | +---+--+ | | host | user | | +---+--+ | | | hashuser | | | localhost.localdomain | hashuser | | +---+--+ | 2 rows in set (0.01 sec) | any idea why jboss cannot connect? Thanx. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3896460#3896460 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3896460 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - Re: oracle with different useres
You can put all your datasources into one oracle-ds.xml. The root tag datasources can have an unlimited number of local-tx-datasource children. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3896462#3896462 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3896462 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - 3.2.7 Touching sar produces not found in the NonSerializable
If I simply touch a deployed sar, I receive an exception like the following: 2005-09-22 20:40:54,218 ERROR [ActivationServer] javax.naming.NameNotFoundException: com/masergy/nems/activation/ActivationServer was not found in the NonSerializableFactory map I've tried this on muliple platforms, always get the same result. JDK is 1.5.0_04. This seems to only happen with sars, not with jars. I searched before posting and found this issue reported back in 2002. The sar is subsequently deployed successfully, so this appears to be a non-fatal error. Should I report as a bug? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3896464#3896464 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3896464 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - War Classloader Issue
I have been around the block about ten thousand times, and my classloader issues just won't go away. (JBoss 4.0.2) I have some common classes that I use, so I put myCommon.jar inside server/lib. I put my webapp classes in webapp/WEB-INF/lib/myApp.jar The classes from my webapp access those common classes. I have tried to turn on ClassLoaderIsolation, (using the instructions on the Wiki) so I can get log4j to work correctly. Now when I try to start my app, my webapp says that it can't find the classes that are in myApp.jar From what I can tell, I have a Listener defined in my web.xml, say Listener1. The Listener1 file is located in myCommon.jar file. When started, Listener1 will call classes in myApp.jar. Is this causing the problem of the Class not found? Since one file is located on the server level and another at the webapp level, do they have different classloaders? Is there a way around this? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3896465#3896465 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3896465 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Notification types for join cluster and leave cluster
Hi, I need to setup SNMP agent to file join cluster and leave cluster traps. What's their JMX notification types? How do I find other JMX notification types for existed mBeans in JBoss. Thanks, Showlong View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3896474#3896474 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3896474 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: Treecache Lock Error
Hi, We are using Hibernate 3.0.3 with Synchronous replication cache (TreeCache) !-- | Valid modes are LOCAL | REPL_ASYNC | REPL_SYNC | -- | attribute name=CacheModeREPL_SYNC/attribute | we have 2 Servers, in each server, I have a lot of message similar at | 12:03:28,788 ERROR [IdentityLock] write lock for //com/cubika/app/domain/operators/Operator | ee/31 could not be acquired after 15000 ms. Locks: Read lock owners: [] | Write lock owner: null:48 | (caller=null:47, lock info: write owner=null:48 (activeReaders=0, activeWri | ter=Thread[http-0.0.0.0-8080-3,5,jboss], waitingReaders=0, waitingWriters=0, wai | tingUpgrader=0)) | 12:03:28,788 ERROR [BookingDAO] org.jboss.cache.lock.TimeoutException: write loc | k for ///com/cubika/app/domain/operators/Adherent/5 could not be acquired after 15000 ms. | Locks: Read lock owners: [] | Write lock owner: null:48 | (caller=null:47, lock info: write owner=null:48 (activeReaders=0, activeWri | ter=Thread[http-0.0.0.0-8080-3,5,jboss], waitingReaders=0, waitingWriters=0, wai | tingUpgrader=0)) | 12:03:44,913 ERROR [IdentityLock] write lock for com/cubika/app/domain/bank/Bank | ies/71 could not be acquired after 15000 ms. Locks: Read lock owners: [null:49 | ] | Write lock owner: null | (caller=null:50, lock info: read owners=[null:49] (activeReaders=1, activeW | riter=null, waitingReaders=0, waitingWriters=0, waitingUpgrader=0) | When the servers are started the application is fast, after 2 hours the appliacion begin to become so slowly. Realy I don'd why happed that. Somebody can say something to me on those errors? Alexis E. Quirós Buenos Aires - Argentina [EMAIL PROTECTED] View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3896475#3896475 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3896475 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: Getting the HttpSession of a SOAP service?
You are not forced to use SLSB. If you cllient maintains the session you can get it from the ServletEndpointContext Generally you want to look into the advantages of maintaining client state in SFSB over HttpSession. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3896478#3896478 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3896478 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: Notification types for join cluster and leave cluster
Doesn't exist yet, planned for 1.3: http://jira.jboss.com/jira/browse/JGRP-134. However, you could easily implement this yourself by implementing the callback (viewAccepted()). View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3896479#3896479 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3896479 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: SOAPConnection Problem
Jonny, you could create a JIRA issue and attach your sample application to it. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3896480#3896480 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3896480 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: ignoring invalid namespace mapping?
You need to show us the stacktrace and (if applicable) the abstract contract (wsdl + schema) and the soap message. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3896482#3896482 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3896482 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: Server did not recognize the value of HTTP Header SOAPAc
This has been assigned to http://jira.jboss.org/jira/browse/JBWS-425 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3896484#3896484 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3896484 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Re: Class Cast Exception using Oracle CLOB
That didn't work either. I did get it working, but I had to use a java.sql.Clob instead of a Oracle CLOB. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3896483#3896483 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3896483 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: org.xml.sax.SAXException: Invalid element
You can turn on debug level logging on the categories org.jboss.axis org.jboss.webservice then you see the incomming and outgoing SOAP messages. Do they conform to the abstract contract defined in wsdl + schema? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3896485#3896485 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3896485 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user