[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Incomplete Deployment Listing
Hi I am using Jboss 4.0 with hibernate 3.0. I am getting following error when i start the server. I appreciate if some one helps me.It's Important for me. ERROR [URLDeploymentScanner] Incomplete Deployment listing: Packages waiting for a deployer: [EMAIL PROTECTED] { url=file:/C:/jboss-4.0.1sp1/server/default/deploy/sos-ds1.xml } deployer: null status: null state: INIT_WAITING_DEPLOYER watch: file:/C:/jboss-4.0.1sp1/server/default/deploy/sos-ds1.xml altDD: null lastDeployed: 1128579765718 lastModified: 1128579765718 mbeans: with regards, venkat View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899505#3899505 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899505 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [News Announcements] - JBoss Remoting 1.4.0 beta
JBossRemoting 1.4.0 beta has been released. Some of the new features include: * Support for pluggable serialization implementations * Includes JBoss Serialization (which allows to send non-serializable payloads) * Multiplex transport * Compression marshaller/unmarshaller * Better HTTP 1.1. support o GET, POST, HEAD, OPTIONS, and PUT method types o Keep-alive supported o Handler setting of response headers and response codes o Return of error stream upon 400 response codes to client More info at project page (http://www.jboss.com/products/remoting). View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899506#3899506 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899506 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - JSP/JAAS custom login form
Hi, i would like to provide a custom login form via a jsp page using the jaas security implementation of jboss. This means i have a login form on every page additional to the cofigured form-login-page which should redirect the user to the same page after successful login. The question is, how to tell j_security_check the page to redirect to after login. Currently i'm getting a HTTP Status 400 page and Redirecting to original 'null' apache log entry. Any ideas? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899509#3899509 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899509 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: Simple BMP method throws TransactionRolledbackException
Now I am updating what I said I discovered in the previous post. The ejbLoad method also returns ok, but when the transaction is committed No Transaction exception is thrown. I guess the container cannot find a Transaction associated with the executing thread. I dont know why...I mark all the methods of the BMP bean Transaction-Required and I am using UserTransaction enclosing the method calls on the bean. What am I doing wrong here? Here is the code: anonymous wrote : | User beanRemote = null; | | transaction = (UserTransaction) ctx.lookup(java:comp/UserTransaction); | transaction.begin(); | | beanRemote = userHome.findByPrimaryKey(erbora00); | | String str = beanRemote.getPassword(); | | System.out.println(Got the password); | | | // every thing is ok until this line | transaction.commit(); | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899511#3899511 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899511 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: Simple BMP method throws TransactionRolledbackException
Here is the most up-to-date stack trace: 2005-10-06 10:49:33,125 INFO [STDOUT] Got the password 2005-10-06 10:49:33,125 INFO [STDOUT] java.lang.IllegalStateException: No transaction. 2005-10-06 10:49:33,125 INFO [STDOUT] at org.jboss.tm.TxManager.rollback(TxManager.java:331) 2005-10-06 10:49:33,125 INFO [STDOUT] at org.jboss.tm.usertx.client.ServerVMClientUserTransaction.rollback(ServerVMClientUserTransaction.java:134) 2005-10-06 10:49:33,125 INFO [STDOUT] at com.client.BmpEntityTestServlet.doGet(BmpEntityTestServlet.java:82) 2005-10-06 10:49:33,125 INFO [STDOUT] at javax.servlet.http.HttpServlet.service(HttpServlet.java:697) 2005-10-06 10:49:33,125 INFO [STDOUT] at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) 2005-10-06 10:49:33,125 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) 2005-10-06 10:49:33,125 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) 2005-10-06 10:49:33,125 INFO [STDOUT] at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81) 2005-10-06 10:49:33,125 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) 2005-10-06 10:49:33,125 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) 2005-10-06 10:49:33,125 INFO [STDOUT] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) 2005-10-06 10:49:33,125 DEBUG [org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory] Using properties: {user=root, password=--hidden--} 2005-10-06 10:49:33,125 INFO [STDOUT] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) 2005-10-06 10:49:33,125 INFO [STDOUT] at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39) 2005-10-06 10:49:33,125 INFO [STDOUT] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:153) 2005-10-06 10:49:33,140 INFO [STDOUT] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59) 2005-10-06 10:49:33,140 INFO [STDOUT] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) 2005-10-06 10:49:33,140 INFO [STDOUT] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) 2005-10-06 10:49:33,140 INFO [STDOUT] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) 2005-10-06 10:49:33,140 INFO [STDOUT] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) 2005-10-06 10:49:33,140 INFO [STDOUT] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856) 2005-10-06 10:49:33,140 INFO [STDOUT] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744) 2005-10-06 10:49:33,140 INFO [STDOUT] at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) 2005-10-06 10:49:33,140 INFO [STDOUT] at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) 2005-10-06 10:49:33,140 INFO [STDOUT] at java.lang.Thread.run(Thread.java:595) 2005-10-06 10:49:33,140 DEBUG [org.jboss.util.NestedThrowable] org.jboss.util.NestedThrowable.parentTraceEnabled=true 2005-10-06 10:49:33,140 DEBUG [org.jboss.util.NestedThrowable] org.jboss.util.NestedThrowable.nestedTraceEnabled=false 2005-10-06 10:49:33,140 DEBUG [org.jboss.util.NestedThrowable] org.jboss.util.NestedThrowable.detectDuplicateNesting=true 2005-10-06 10:49:33,140 INFO [STDOUT] org.jboss.tm.JBossRollbackException: Unable to commit, tx=TransactionImpl:XidImpl[FormatId=257, GlobalId=spider/14, BranchQual=, localId=14] status=STATUS_NO_TRANSACTION; - nested throwable: (javax.ejb.EJBException: null; CausedByException is: null) 2005-10-06 10:49:33,140 INFO [STDOUT] at org.jboss.tm.TransactionImpl.commit(TransactionImpl.java:344) 2005-10-06 10:49:33,140 INFO [STDOUT] at org.jboss.tm.TxManager.commit(TxManager.java:200) 2005-10-06 10:49:33,140 INFO [STDOUT] at org.jboss.tm.usertx.client.ServerVMClientUserTransaction.commit(ServerVMClientUserTransaction.java:126) 2005-10-06 10:49:33,140 INFO [STDOUT] at com.client.BmpEntityTestServlet.doGet(BmpEntityTestServlet.java:78) 2005-10-06 10:49:33,140 INFO [STDOUT] at javax.servlet.http.HttpServlet.service(HttpServlet.java:697) 2005-10-06 10:49:33,140 INFO [STDOUT] at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) 2005-10-06 10:49:33,140 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) 2005-10-06 10:49:33,140 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) 2005-10-06 10:49:33,140 INFO [STDOUT] at
[JBoss-user] [Beginners Corner] - Linkage error: migrating from 4.0.2 to 4.0.3
Hi, I'm interesting to use the jboss4.0.3 because of the new bugfix. So i download the zip archive, extract on my server and launch jboss with jdk1.4. The same ear archive works on jboss4.0.2 but not on jboss4.0.3. On jboss4.0.2, i just remove the UseJbossClassLoader attribute on the jboss-service.xml but this attribute is not on the 4.0.3 version I have the following error when i execute a method on a session bean: | javax.servlet.ServletException: Servlet execution threw an exception | org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81) | | root cause | | java.lang.LinkageError: loader constraints violated when linking Could anyone can explain me what can i do to run my application ? or what i'm doing wrong in my configuration that work in 4.0.2 but not in 4.0.3 ? Thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899513#3899513 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899513 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Unique constraint violation
Shouldn't there be an order by messageid in this select statement? Thanks Celine SELECT_MESSAGE = SELECT MESSAGEID, MESSAGEBLOB FROM JMS_MESSAGES WHERE MESSAGEID=? AND DESTINATION=? public SpyMessage loadFromStorage(MessageReference messageRef) throws JMSException { if (log.isTraceEnabled()) log.trace(Loading message from storage + messageRef); TransactionManagerStrategy tms = new TransactionManagerStrategy(); tms.startTX(); Connection c = null; PreparedStatement stmt = null; ResultSet rs = null; boolean threadWasInterrupted = Thread.interrupted(); try { c = this.getConnection(); stmt = c.prepareStatement(SELECT_MESSAGE); stmt.setLong(1, messageRef.messageId); stmt.setString(2, messageRef.getPersistentKey()); rs = stmt.executeQuery(); if (rs.next()) return extractMessage(rs, 2); return null; } catch (IOException e) { tms.setRollbackOnly(); throw new SpyJMSException(Could not load message : + messageRef, e); } catch (SQLException e) { tms.setRollbackOnly(); throw new SpyJMSException(Could not load message : + messageRef, e); } finally { try { rs.close(); } catch (Throwable ignore) { } try { stmt.close(); } catch (Throwable ignore) { } try { c.close(); } catch (Throwable ignore) { } tms.endTX(); // Restore the interrupted state of the thread if( threadWasInterrupted ) Thread.currentThread().interrupt(); } } protected SpyMessage extractMessage(ResultSet rs, int column) throws SQLException, IOException { long messageid = rs.getLong(1); SpyMessage message = null; if (blobType == OBJECT_BLOB) { message = (SpyMessage) rs.getObject(column); } else if (blobType == BYTES_BLOB) { byte[] st = rs.getBytes(column); ByteArrayInputStream baip = new ByteArrayInputStream(st); ObjectInputStream ois = new ObjectInputStream(baip); message = SpyMessage.readMessage(ois); } else if (blobType == BINARYSTREAM_BLOB) { ObjectInputStream ois = new ObjectInputStream(rs.getBinaryStream(column)); message = SpyMessage.readMessage(ois); } else if (blobType == BLOB_BLOB) { ObjectInputStream ois = new ObjectInputStream(rs.getBlob(column).getBinaryStream()); message = SpyMessage.readMessage(ois); } message.header.messageId = messageid; return message; } View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899522#3899522 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899522 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ 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: Unique constraint violation
sorry. scrap that View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899523#3899523 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899523 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: How to use seperate tomcat and jboss
Just deploy your ear... ;-) Since you are not providing much information, I will try to become a clairvoyant. I think your ear contains a war and some other resources, perhaps EJBs. Split you deployment to a web-deployment for tomcat (war, all needed libs and probably jboss-client stuff) and the rest goes to jboss (EJBs, libs, ...). Your war (servlet?) is client to the bean stuff... that's it. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899525#3899525 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899525 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [O'Reilly JBoss 3.0/4.0 Workbook] - Alternative class for the LocalTxConnectionManager in Jboss
i am getting an error, when i am migrating from the jboss 3.0.2 to jboss 4.0.2 . It is showing me the error as LocalTxConnectionManager is not found org.jboss.deployment.DeploymentException: No ClassLoaders found for: org.jboss.resource.connectionma nager.LocalTxConnectionManager; - nested throwable: (java.lang.ClassNotFoundException: No ClassLoade rs found for: org.jboss.resource.connectionmanager.LocalTxConnectionManager) at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:143) at org.jboss.system.ServiceController.install(ServiceController.java:202) at sun.reflect.GeneratedMethodAccessor23.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) at org.jboss.mx.server.Invocation.invoke(Invocation.java:72) so plz reply anyone who can help in this. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899527#3899527 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899527 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - Re: Installing JBoss AS 4.0.3
Created new issues: http://jira.jboss.com/jira/browse/JBAS-2334 http://jira.jboss.com/jira/browse/JBAS-2333 appended czech translation to http://jira.jboss.com/jira/browse/JBAS-2258 Jan View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899526#3899526 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899526 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: HTTPSession replication = serializable
Thanks for your answer. If possible I would like to refine my knowedge about JBoss's HTTPSession replication. Will Replication just not work if there is non-serializable content or it works just for the serializable part ? Thank you View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899534#3899534 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899534 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ 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: Unique constraint violation
I am just trying to get to the bottom of this error. Has anyone encountered it before? The JMS is configured to be non - persistent - the messages are only transferred if the memory starts to get scarce. But it seems like there is a bug somewhere - in jboss version 4.0.0 where it is trying to insert a duplicate primary key. But I cannot find it. 08:13:49: ln6p2034app: IOIEditor: ERR: IOIBrokerBean::sendMessage() - JMS Exception caught sending message : org.jboss.mq.SpyJMSException: Could not store message: 16641774 msg=369111 hard NOT_STORED NON_PERSISTENT queue=TOPIC.jms.topic.IOITopic.ioiEditorAppLogin1123805403413.-2147483648 priority=9 lateClone=false hashCode=22079513; - nested throwable: (java.sql.SQLException: Unique constraint violation: in statement [INSERT INTO JMS_MESSAGES (MESSAGEID, DESTINATION, MESSAGEBLOB, TXID, TXOP) VALUES(?,?,?,?,?)] Since I cant find anywhere that does select max(messageid) from the database i presume that the message id and its incrementation is all done in memory. protected long nextMessageId() { if (parameters.lateClone) return nextSharedMessageId(); synchronized (nextMessageIdLock) { return nextMessageIdCounter++; } } protected void updateNextMessageId(SpyMessage message) { if (parameters.lateClone) { updateSharedNextMessageId(message); return; } synchronized (nextMessageIdLock) { nextMessageIdCounter = Math.max(nextMessageIdCounter, message.header.messageId+1); } } Maybe it has been fixed in a later version of jboss? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899535#3899535 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899535 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ 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: HARDeployer
I?m unable to consistently reproduce the bug, I have 2 applications using the old deployment method, one works, and the other does not. I can therefore not provide a good bug description, but I have posted what I have and maybe you can look into it. The new method works fine for me anyways. http://jira.jboss.com/jira/browse/JBAS-2335 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899536#3899536 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899536 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - Re: How to change Context.PROVIDER_URL ?
I copy default config to default1. I modify default1/conf the jboss-service.xml to put service binding to ports-01. in conf, i modify jndi.properties to put localhost:1199. I modify mysql-ds.xml to mapping to another database (on the same SGBD mysql). I modify jbosswebtomcat to put in jboss-service another http port (like 81). When i launch jboss with default1 config, it works fine (launching 1199 port). But, when i execute my first request (first call to an EJB), jboss explains that it failed to connect to localhost:1099. thanx for help View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899540#3899540 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899540 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Concurrent rendering
Is there a concurrent thread rendering version of MainDispatcherInterceptor? Any guidelines on how to write this? Since now all the information is held in single Invocation instance, which is changed for different windows. Rgds, Ales View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899543#3899543 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899543 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - Re: Read server log
There is maybe some opensource mbean (plug in) that allow it? Thank You View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899544#3899544 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899544 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: When deploy mdb,durable attribute is failure,,,
Did anyoe manage to come up with a solution to this. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899547#3899547 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899547 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - Re: How to change Context.PROVIDER_URL ?
Which jndi.properties are you editing? If it is the one in the conf folder you should not be changing the contents, the default settings allow the local JNDI server to be found by default. [I can't remember what comment is in the jndi.properties from 3.2.3 but the only people that should edit it are experienced JBoss developers, everyone else should leave it alone]. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899548#3899548 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899548 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - Re: change JBoss start page
I have found the solution on my own by reading more carefully this forum. So who wants to know: The index.html file can be found on \deploy\jbossweb-tomcat55.sar\ROOT.war of your jboss directory. And you can change it to redirect to your application pages by inserting a meta tag: meta http-equiv=Refresh content=0; URL=/myApp/login/ View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899550#3899550 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899550 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: Concurrent rendering
I had some thoughts about that in JBoss Portal 2.2 which has a better architecture to implement that (get the code from the cvs with cvs co jboss-portal-2.2) here : http://www.jboss.com/index.html?module=bbop=viewtopict=67852 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899551#3899551 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899551 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Problem with JBoss Portlet and JavaServer Faces
Hi, I developed some little demo applications using JBoss Portlet and JavaServer Faces. I followed the CarDemo and all is working fine. Now I developed a more complicated application with 3 Portlets using JSF. Each portlet has a Button that perform an action. Each Action is associated with different Beans. So I have 3 portlets, 3 buttons, 3 beans and 3 actions. All these action perform a simple output on the standard output using System.out.println. Further each bean has a simple Constructor where it write a message so I can see if the bean is created. Unfortunately only 1 bean is created, so only 1 Portlet is active. I can see the other 2 Portlet but when I click on the button no actions is performed. Where is the problem?? Can I use more portlets in a single JSF web application? many thanks for the Help, Giordano View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899552#3899552 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899552 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - Re: Read server log
I would not recommend this approach but if you really want the log file to be accessible remotely you could make it available for download from a web application. http://wiki.jboss.org/wiki/Wiki.jsp?page=ExternalDirectories View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899553#3899553 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899553 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: Problem with JBoss Portlet and JavaServer Faces
what version of portal do you use ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899554#3899554 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899554 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Tomcat, HTTPD, Servlets JSP] - track pageContext
Hi everyone, I need help: How can I get the URL of the previous pages? I want to know from where the request is coming. I'm guessing by using the pageContext object but I did'nt find a solution. Thank you. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899555#3899555 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899555 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: Problem with JBoss Portlet and JavaServer Faces
I use jboss-portal-2.0-jboss-4.0.2. Thanks Giordano View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899556#3899556 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899556 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: Problem with JBoss Portlet and JavaServer Faces
could you try 2.0.1RC2 ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899558#3899558 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899558 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ 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: Mysql query cache
Hi again, The query cache finally works after I've reverted to mm.mysql-2.0.12-bin.jar. The problem was that the query cache somehow wouldn't work within transactions with mysql-connector-java-3.1.10-bin.jar. Anyone care to dig further? Here is one working combination: Jboss 3.2.2 with transactions JDBC: mm.mysql-2.0.12-bin.jar (3.1.10 doesn't work for me) MySQL: 4.1.14 (Haven't tried 5.0) Extract from http://dev.mysql.com/doc/mysql/en/query-cache-how.html ' In MySQL 4.0, the query cache is disabled within transactions (it does not return results). Beginning with MySQL 4.1.1, the query cache also works within transactions when using InnoDB tables (it uses the table version number to detect whether or not its contents are still current).' Regards, Al View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899564#3899564 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899564 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: JBoss4.0.1 Clustering
Hi, I am able to run two copies of the server on my m/c, but when i run my application it runs fine on using localhost:8080, but its not identifying with my machine name. I am connecting Jboss with Apache, its working fine with machine name when i deploy the application in default. But its not able to connect to Apache when the application is deployed on different node. Please advise. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899565#3899565 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899565 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: Simple BMP method throws TransactionRolledbackException
By the way the above stack trace occurs when the transaction.commit() line throws an Unable to commit exception and then transaction.rollBack() is executed. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899566#3899566 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899566 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: JBossRollbackException: Unable to commit
Hi there, See the thread I have opened, no solution yet anyway... Simple BMP method throws TransactionRolledbackException I tried it with and without a session bean, not solved yet... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899567#3899567 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899567 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Setting locale for a session
Is there a way to setup a locale for a single web session? By following a Sun JSF tutorial, I have been able to set the locale for a single JSF page. However, after changing the page, the locale no longer applies and the default locale is used instead. This was found on the net: http://forum.java.sun.com/thread.jspa?threadID=643181messageID=3790390 but it seems like a hack. Is there nothing simpler? Is it really true that such a thing is not supported by J2EE infrastructure or Jboss? A typical scenario would be where a user selects a language upon entering a web site and the language is then used for all pages viewed during that visit. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899569#3899569 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899569 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: Error: could not find deserializer for type
Thomas, I have looked *.wsdd and mapping.xml. It looks like everything is fine. I used wscompile to generate wsdl and mapping.xml. And a strange thing: when string array is as the return value - everything works fine! What can it be? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899572#3899572 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899572 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: Problem with JBoss Portlet and JavaServer Faces
I tried with 4.0.1RC1 and now it works! During the startup of the portal server I have an exception but I was not able to identify it. Another question. Can I arrange portlet by myself? Is there a configuration file? Which is this file? Thanks and bye, Giordano View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899574#3899574 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899574 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - Re: MDB deployment failure with HAJMS and clustering
I'm running on Windows 2000 sp4. I was finally able to work past the problem, but I'm still not entirely sure what was causing it. I stopped using the ports-01 and ports-02 configurations and went with the ports-02 and ports-03. When I changed the configurations, there was no error. I haven't had time to go back and look at exactly what was going on, but I will try and take time to do this and get back with you. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899576#3899576 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899576 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: Problem with JBoss Portlet and JavaServer Faces
look at the documentation View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899579#3899579 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899579 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - TransactionException: Could not find UserTransaction in JNDI
Hi, i developed with 4.0.3RC1+RC2 and all works fine. Today i tried to deploy my application to 4.0.3 release and i get an exception. In some way Hibernate TransactionFactory cannot create a Transaction because the Factory doesn´t find something via JNDI... My service.xml looks like this: | server | mbean code=org.jboss.hibernate.jmx.Hibernate | name=jboss.har:service=Hibernate | dependsjboss:service=Naming/depends | dependsjboss:service=TransactionManager/depends | dependsjboss.jca:service=DataSourceBinding,name=documentarchiv/depends | attribute name=DatasourceNamejava:/documentarchiv/attribute | attribute name=Dialectorg.hibernate.dialect.MySQLDialect/attribute | attribute name=SessionFactoryNamejava:/hibernate/DocumentArchivSessionFactory/attribute | attribute name=CacheProviderClassorg.hibernate.cache.NoCacheProvider/attribute | attribute name=ShowSqlEnabledtrue/attribute | /mbean | /server | | Perhaps someone has the same problem and can give me some hints. Thx very much.. Regards Peter The Exception Stacktrace looks like this: | 2005-10-06 14:10:04,015 DEBUG [org.hibernate.impl.SessionFactoryObjectFactory] JNDI lookup: hibernate/DocumentArchivSessionFactory | 2005-10-06 14:10:04,015 DEBUG [org.hibernate.impl.SessionFactoryObjectFactory] lookup: uid=013bb34806c5d6350106c5d682d1 | 2005-10-06 14:10:04,062 DEBUG [org.hibernate.jdbc.JDBCContext] successfully registered Synchronization | 2005-10-06 14:10:04,062 DEBUG [org.hibernate.impl.SessionImpl] opened session at timestamp: 11286006040 | 2005-10-06 14:10:04,062 DEBUG [org.hibernate.transaction.JTATransaction] Looking for UserTransaction under: java:comp/UserTransaction | 2005-10-06 14:10:04,062 ERROR [org.hibernate.transaction.JTATransaction] Could not find UserTransaction in JNDI | javax.naming.NameNotFoundException: UserTransaction not bound | at org.jnp.server.NamingServer.getBinding(NamingServer.java:514) | at org.jnp.server.NamingServer.getBinding(NamingServer.java:522) | at org.jnp.server.NamingServer.getObject(NamingServer.java:528) | at org.jnp.server.NamingServer.lookup(NamingServer.java:281) | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:610) | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:701) | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:572) | at javax.naming.InitialContext.lookup(InitialContext.java:351) | at org.hibernate.transaction.JTATransaction.init(JTATransaction.java:60) | at org.hibernate.transaction.JTATransactionFactory.createTransaction(JTATransactionFactory.java:53) | at org.hibernate.jdbc.JDBCContext.getTransaction(JDBCContext.java:190) | at org.hibernate.impl.SessionImpl.getTransaction(SessionImpl.java:1197) | at org.hibernate.impl.SessionImpl.beginTransaction(SessionImpl.java:1204) | at de.absoft.documentarchiv.ejb.LoginManager.login(LoginManager.java:217) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.invocation.Invocation.performCall(Invocation.java:345) | at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:214) | at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:149) | at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:154) | at org.jboss.webservice.server.ServiceEndpointInterceptor.invoke(ServiceEndpointInterceptor.java:54) | at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:48) | at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:106) | at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:335) | at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:166) | at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:153) | at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:192) | at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122) | at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:624) | at org.jboss.ejb.Container.invoke(Container.java:873) | at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:415) | at
[JBoss-user] [Clustering/JBoss] - Re: JBoss4.0.1 Clustering
Are you sure you've configured mod_jk correctly with JBoss? You can check the wiki page for guidance at http://wiki.jboss.org/wiki/Wiki.jsp?page=UsingMod_jk1.2WithJBoss If you've configured everything correctly, your application will be accessible on whatever port you've specified for Apache. So if node1 uses port 8080, node2 uses port 8180, and Apache uses port 8000, your application will be accessible at http:/your_server:8000/your_app. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899585#3899585 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899585 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - CLIENT acknowledge not working as expected
Hi, I am using JBoss 3.2.3. I have an class which writes to a queue which is listened by a MDB. I am using : queueSession = queueConnection.createQueueSession(false,Session.CLIENT_ACKNOWLEDGE); to create a queue session. When i write out a message to the queue, it is picked by the MDB and control reaches the onMessage method. Here's the code in my onMessage: public void onMessage(Message message) { | System.out.println(Hello in onMessage); | | | try { | message.acknowledge(); | System.out.println(Acknowledged msg); | } catch (JMSException e) { | System.out.println(exception acknowleding msg); | e.printStackTrace(); | } | | System.out.println(Sleeping); | try { | Thread.sleep(2); | System.out.println(Woke up);} catch (InterruptedException e1) { | System.out.println(Could not sleep); | e1.printStackTrace(); | } | | | } I have acknowledged the message by invoking message.acknowledge(). What i am trying to do here is whenever the control reaches the onMessage(i.e. the message is delivered) i want to acknowledge the same so that it WONT be REDELIVERED even if some exception occurs later. What i tried out was: Once the control reached onMessage and the Sleeping message was displayed on the console, i SHUTDOWN jboss(Note: The onMessage wasnt yet finished since it had gone into sleep). Later i started jboss again. What i found was the message WAS REDELIVERED and the control reached onMessage again. What i was expecting was once i acknowledged the message, it should NOT be redelivered irrespective of what happens later in onMessage method. Can anyone please tell me whether i am doing this right? Thank you View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899588#3899588 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899588 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - Re: Installing JBoss AS 4.0.3
running jboss installer here an exception gived: No custom langpack available. com.izforge.izpack.installer.ResourceNotFoundException: Can not find Resource packsLang.xml for language chncom.izforge.izpack.installer.ResourceNotFoundException: Can not find Resource packsLang.xml for language chn View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899591#3899591 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899591 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Getting Started Documentation] - Missing jboss-build.xml for simplemessage (not in j2eetutori
Hello, I have gotten to chapter 6 in the jboss tutorial. I had a lot of problems with previous chapters but was able to google my way forward and keep moving. Now I am stuck at Chapter 6 without a jboss-build.xml file for SimpleMessage. This build file does not exist in the j2eetutorial14 or any of the older versions. I have not been able to find a post on the web from anyone who has a solution. I am currently in the process of writing my own build file through trial and error, which isn't a good use of my limited time. Seems that the only JBoss build file that was supplied was for the bank example. Does anyone know whats up with this and where I can get the build files for the rest of the JBoss tutorial chapters - getting started with JBoss 4.0 to be exact? Thanks in advance View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899594#3899594 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899594 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: Error: could not find deserializer for type
And one more question! I think it is stupid question: jaxrpc-mapping.xml it's the same as mapping.xml? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899597#3899597 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899597 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: Secure Webservice client - axis-ws4ee.jar does not suppo
Ok, I got a workaround but it is not a real solution: By default the soap:address in the wsdl file(s) is set to: soap:address location=REPLACE_WITH_ACTUAL_URL/ | | If you want to use Webservice over https and only over https you can not let JBoss replace the address for you. You have to set it manually to the fqdns-name including protocol scheme: | | soap:address location=https://myserver.sit.fraunhofer.de/ | | Jan View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899606#3899606 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899606 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - NPE on EJB QL execution
It seems it is a bug... Environment: JBoss 3.2.7, JDK 1.5.0_04 Query text: SELECT OBJECT(s) FROM story s WHERE s.category = ?1 Relationship between category and story is one-to-many. When trying to execute something like this: storyHome.findByCategory(null) the following NPE occurs: java.lang.NullPointerException | at org.jboss.ejb.plugins.cmp.jdbc.QueryParameter.set(QueryParameter.java:288) | at org.jboss.ejb.plugins.cmp.jdbc.JDBCAbstractQueryCommand.execute(JDBCAbstractQueryCommand.java:222) | at org.jboss.ejb.plugins.cmp.jdbc.JDBCAbstractQueryCommand.execute(JDBCAbstractQueryCommand.java:128) | at org.jboss.ejb.plugins.cmp.jdbc.JDBCFindEntityCommand.execute(JDBCFindEntityCommand.java:47) | at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.findEntity(JDBCStoreManager.java:589) | at org.jboss.ejb.plugins.CMPPersistenceManager.findEntity(CMPPersistenceManager.java:271) | at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.findEntity(CachedConnectionInterceptor.java:302) | at org.jboss.ejb.EntityContainer.findSingleObject(EntityContainer.java:1039) | at org.jboss.ejb.EntityContainer.findLocal(EntityContainer.java:623) Does anyone knows how to eliminate this? Thank you. PS. According to the EJB 2.0 Spec (section 11.2.9), null value as a query parameter value must be interpreteted as is null clause. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899608#3899608 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899608 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Losing authentication information during session
HI, I'm experiencing a bizarre issue. I have set up my application to support Web authentication. When I first start the application and I log on to my account, I display authentication information and I get this: 2005-10-06 10:03:46,296 ERROR [WebTier] FM: CreateAction 2005-10-06 10:03:46,296 ERROR [WebTier] FM: Auth type: FORM 2005-10-06 10:03:46,296 ERROR [WebTier] FM: Principal: power 2005-10-06 10:03:46,296 ERROR [WebTier] FM: Remote User: power 2005-10-06 10:03:50,968 ERROR [WebTier] FM: UpdateAction 2005-10-06 10:03:50,968 ERROR [WebTier] FM: Auth type: null 2005-10-06 10:03:50,968 ERROR [WebTier] FM: Principal: null 2005-10-06 10:03:50,968 ERROR [WebTier] FM: Remote User: null 2005-10-06 10:03:51,109 ERROR [WebTier] FM: RetrieveAction 2005-10-06 10:03:51,109 ERROR [WebTier] FM: Auth type: null 2005-10-06 10:03:51,109 ERROR [WebTier] FM: Principal: null 2005-10-06 10:03:51,109 ERROR [WebTier] FM: Remote User: null As you can see, the authentication information is lost between the create and the update actions. I have no idea why this happens. Does anyone else know? This problem only seems to occur when I try to write data to my datastore. Thanks, L View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899609#3899609 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899609 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - different security domain for local and remote view of a bea
Hello, We are running Jboss 3.2.x with a custom login-module. We have a Bean which should have the following properties: - Remote view should be securised with a given role and should use our login-module - Local view does not need to be securised (actually it should not be because if we start processing from an MDB, we go a No security context set exception. Here is what I did: #1 Create a securised container extending standard with a reference to my security-domain: container-configuration extends=Standard Stateless SessionBean container-nameSecure Stateless SessionBean/container-name security-domainjava:/jaas/OurDatabaseSecurityDomain/security-domain /container-configuration #2 Map the Bean to this container configuration #3 Change the method permission: - Home and Remote should have the role - LocalHome and Local has the unchecked element When I invoke the local view of my Bean from an MDB, Jboss call the login method of my custom login module. Is there any way to get around this? I don't want any security on the local view of my bean. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899611#3899611 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899611 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - JBoss Deployed Directory
Hi, Iam using tomcat5.5 with jboss4.0.2 server. While deploying war to JBoss application server, 1. JBoss extracts the war file dropped in the ?#serverconfig#/deploy? directory to the #serverconfig#/tmp/deploy/tmpXwarfile directory. The problem is we don?t know what will be the destination directory of the application. The directory created is dynamic and contains some numbers () which is auto-generated. This makes some of the application configuration difficult. Like the application root directory and application classes directory are all unknown before deployment. There are some EOD programs which refers to the application class files which execution. Additionally some of those batches would to generate PDFs and Images in the application?s document root directory. For the above two cases, we need to know the application?s deployment directory upfront, which will be configured in a property file. Its cumbersome to change the configured deployment directory for every deployment if the directory changes. Q1. Can the created deployment directory be made constant? The m-bean used for war deployment is the default tomcat deployer jboss.web:service=WebServer Thanks in advance Agilan Palani View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899612#3899612 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899612 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - Re: org.jboss.mq.SpyJMSException: OutOfMemoryError
Did you already solved the problem? We get the same error, but in combination with an OutOfMemoryError: Caused by: org.jboss.mq.SpyJMSException: Cannot get a client ID; - nested throwable: (java.lang.reflect.UndeclaredThrowableException) at org.jboss.mq.Connection.askForAnID(Connection.java:1119) at org.jboss.mq.Connection.checkClientID(Connection.java:1092) at org.jboss.mq.SpyConnection.createQueueSession(SpyConnection.java:175) at at.sozvers.eweko.service.impl.DomeaJMSClientServiceImpl.createQueueSession(DomeaJMSClientServiceImpl.java:69) at at.sozvers.eweko.service.impl.DomeaJMSClientServiceImpl.forwardDoc(DomeaJMSClientServiceImpl.java:113) ... 73 more Caused by: java.lang.reflect.UndeclaredThrowableException at org.jboss.mq.il.uil2.msgs.BaseMsg.setError(BaseMsg.java:301) at org.jboss.mq.il.uil2.SocketManager$ReadTask.replyAll(SocketManager.java:445) at org.jboss.mq.il.uil2.SocketManager$ReadTask.handleStop(SocketManager.java:399) at org.jboss.mq.il.uil2.SocketManager$ReadTask.run(SocketManager.java:344) ... 1 more Caused by: java.lang.OutOfMemoryError: unable to create new native thread at java.lang.Thread.start(Native Method) at EDU.oswego.cs.dl.util.concurrent.PooledExecutor.addThread(PooledExecutor.java:520) at EDU.oswego.cs.dl.util.concurrent.PooledExecutor.execute(PooledExecutor.java:880) at org.jboss.mq.il.uil2.SocketManager$ReadTask.run(SocketManager.java:298) ... 1 more Any Idea? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899615#3899615 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899615 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - Re: org.jboss.mq.SpyJMSException: OutOfMemoryError
Check this out: http://wiki.jboss.org/wiki/Wiki.jsp?page=OutOfMemoryExceptionWhenCannotCreateThread View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899616#3899616 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899616 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Portlet and init-param
Which are the init-param of the portlet-xml file I have to write to declare the help page and the edit page? Please, suggest me an example. Many thanks and bye, Giordano View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899617#3899617 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899617 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: SMTPAppender working example?
Ok, it seems that I must not have checked the sendmail logs well enough, but the emails were being generated, but since the from address wasn't valid (the user [EMAIL PROTECTED] didn't exist) the emails bounced. Also it seems to only send out error logs even if the threshold is set to debug or info - which isn't a big deal since that's what I want, but for testing would be nice. I'm still getting my feet wet with JBoss logging (and log4j) but so far it is really nice. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899618#3899618 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899618 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Problem: MBeans waiting for other MBeans
I am having this problem ! What should I do ? I have all these mbeans configured (MFTSPartition, WebServer and MainDeployer)... :( --- MBeans waiting for other MBeans --- ObjectName: jboss:service=FarmMember,partition=MFTSPartition State: CONFIGURED I Depend On: jboss:service=MFTSPartition jboss.web:service=WebServer jboss.system:service=MainDeployer --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM --- ObjectName: jboss:service=MFTSPartition State: NOTYETINSTALLED Depends On Me: jboss:service=FarmMember,partition=MFTSPartition View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899619#3899619 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899619 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: EJBException:Invalid invokation Exception while accessin
jasoncao wrote : By my testing , I found the last step should set value to true to solve this problem, because the orgin value is false in jboss. | | true | true | | Is this right? Documentation (http://docs.jboss.org/jbossas/jboss4guide/r3/html/pr05.html#conf) proposes to set them false... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899620#3899620 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899620 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - ClassNotFoundException on recieving end of replication
Hi, I've defined an MBean as a TreeCache and deployed to 5 servers in the same cluster. The find each other and I can see from the log that everything seems fine. Inserting Strings in the cache works fine, they are replicated to all servers. However, when inserting a class of my own type I get this in the receiving ends: 16:07:58,834 ERROR [RpcDispatcher] | exception=java.lang.IllegalArgumentException: | java.lang.ClassNotFoundException: No ClassLoaders found for: | se.bonnier.bis.applications.testapp.SimplePojo And the object is not placed in the recievers cache. It can still be found in the cache from where it was placed though. It was my understanding that replicated objects are serialized pre sending them and then deserialized to Object by the reciever. Am I wrong or should this not cause a ClassNotFoundException? The application from which the MBean is deployed may not have access to all classes available to other deployed applications on the server, and therefore I find it strange that a distributed caching system cannot handle classes of unknown types to the current classloader. Is there a workaround I can use, have I missunderstood the whole concept of the cache or can someone point me in the right direction towards a solution? Thanks in advance /Emil Here is my MBean def: | mbean code=org.jboss.cache.TreeCache |name=jboss.cache:service=BisinfraCache | | dependsjboss:service=Naming/depends | dependsjboss:service=TransactionManager/depends | | | !-- Configure the TransactionManager | attribute name=TransactionManagerLookupClassorg.jboss.cache.DummyTransactionManagerLookup/attribute | -- | !-- | Node locking level : SERIALIZABLE | REPEATABLE_READ (default) | READ_COMMITTED | READ_UNCOMMITTED | NONE | -- | attribute name=IsolationLevelREPEATABLE_READ/attribute | | !-- Valid modes are LOCAL | REPL_ASYNC | REPL_SYNC | -- | attribute name=CacheModeREPL_ASYNC/attribute | | !-- Name of cluster. Needs to be the same for all clusters, in order | to find each other -- | attribute name=ClusterNamebisinfra-application-cache-cluster/attribute | | attribute name=ClusterConfig | config | !-- UDP: if you have a multihomed machine, | set the bind_addr attribute to the appropriate NIC IP address | -- | !-- UDP: On Windows machines, because of the media sense feature | being broken with multicast (even after disabling media sense) | set the loopback attribute to true | -- | UDP mcast_addr=228.1.2.3 mcast_port=45566 ip_ttl=64 ip_mcast=true |mcast_send_buf_size=15 mcast_recv_buf_size=8 ucast_send_buf_size=15 |ucast_recv_buf_size=8 loopback=true / | PING timeout=2000 num_initial_members=3 up_thread=false down_thread=false / | MERGE2 min_interval=1 max_interval=2 / | FD shun=true up_thread=true down_thread=true / | VERIFY_SUSPECT timeout=1500 up_thread=false down_thread=false / | pbcast.NAKACK gc_lag=50 max_xmit_size=8192 retransmit_timeout=600,1200,2400,4800 up_thread=false |down_thread=false / | UNICAST timeout=600,1200,2400 window_size=100 min_threshold=10 down_thread=false / | pbcast.STABLE desired_avg_gossip=2 up_thread=false down_thread=false / | FRAG frag_size=8192 down_thread=false up_thread=false / | pbcast.GMS join_timeout=5000 join_retry_timeout=2000 shun=true print_local_addr=true / | pbcast.STATE_TRANSFER up_thread=false down_thread=false / | /config | /attribute | | !--The max amount of time (in milliseconds) we wait until the | initial state (ie. the contents of the cache) are retrieved from | existing members in a clustered environment | -- | attribute name=InitialStateRetrievalTimeout5000/attribute | | !--Number of milliseconds to wait until all responses for a | synchronous call have been received. | -- | attribute name=SyncReplTimeout1/attribute | | !-- Max number of milliseconds to wait for a lock acquisition -- | attribute name=LockAcquisitionTimeout15000/attribute | | !-- Name of the eviction policy class. -- | attribute name=EvictionPolicyClassorg.jboss.cache.eviction.LRUPolicy/attribute | | !-- Specific eviction policy configurations. This is LRU -- | attribute name=EvictionPolicyConfig | config | attribute
[JBoss-user] [Tomcat, HTTPD, Servlets JSP] - Re: track pageContext
request.getHeader( referer ) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899625#3899625 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899625 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - howto specify application specific config properties in JBos
Hi All, I am looking for a way in JBoss to config my application specific properties. I was hoping that there would be a way to specify them in web.xml or some other xml file which is read when application is deployed and available to the application. I could not find much on this. If you know howto do it, let me know. e.g In .NET there is a way to specify appsettings in web.config like I am looking for a way to do above in Jboss View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899629#3899629 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899629 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: Error: could not find deserializer for type
Depends on what you call it in webservices.xml. That is where the WS layer looks for the file name. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899631#3899631 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899631 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - howto specify application specific config properties in JBos
Hi All, I am looking for a way in JBoss to config my application specific properties. I was hoping that there would be a way to specify them in web.xml or some other xml file which is read when application is deployed and available to the application. I could not find much on this. If you know howto do it, let me know. e.g In .NET there is a way to specify appsettings in web.config like I am looking for a way to do above in Jboss View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899633#3899633 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899633 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: Error: could not find deserializer for type
Typical webservices.xml file | ?xml version=1.0 encoding=UTF-8? | | webservices xmlns=http://java.sun.com/xml/ns/j2ee; | xmlns:impl=http://org.jboss.ws/jaxrpc; | xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; | xsi:schemaLocation=http://java.sun.com/xml/ns/j2ee http://www.ibm.com/webservices/xsd/j2ee_web_services_1_1.xsd; | version=1.1 | | webservice-description | webservice-description-nameTestService/webservice-description-name | wsdl-fileWEB-INF/wsdl/TestService.wsdl/wsdl-file | jaxrpc-mapping-fileWEB-INF/jaxrpc-mapping.xml/jaxrpc-mapping-file | port-component | port-component-nameTestServicePort/port-component-name | wsdl-portimpl:JaxRpcTestServicePort/wsdl-port | service-endpoint-interfaceorg.jboss.test.ws.jaxrpc.JaxRpcTestService/service-endpoint-interface | service-impl-bean | servlet-linkTestService/servlet-link | /service-impl-bean | /port-component | /webservice-description | /webservices | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899635#3899635 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899635 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - howto specify application specific config properties in JBos
Hi All, I am looking for a way in JBoss to config my application specific properties. I was hoping that there would be a way to specify them in web.xml or some other xml file which is read when application is deployed and available to the application. I could not find much on this. If you know howto do it, let me know. e.g In .NET there is a way to specify appsettings in web.config like appsettings add key=something value=something appsettings I am looking for a way to do above in Jboss View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899634#3899634 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899634 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: Hypersonic:Manual Database Table Creation:CreateExceptio
Hi Guys, I solved this problem so thought I'd round off in case anyone ever has the same issue. In the hypersonic documentation, it states that you need to create a table with the text attribute in order to make it persistant and not a memory-only table: [CODE] create [B]text[/B] table person ( pid varchar not null primary key, name varchar, age integer ); [/CODE] However, this seems to cause Jboss to not recognize the table. Removing the 'text' solved the problem. So either the documentation is incorrect (or I dont understand it) or Jboss does something under the covers to make the table permanent when accessing it. Clive View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899636#3899636 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899636 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - Re: Installing JBoss AS 4.0.3
Ok, thanks Jan. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899637#3899637 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899637 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: EJB Client Classpath
Hi Kaylan, My understanding is that the client must have copies of the home and component interfaces. You do not need the bean class (and would not provide that as it contains your business logic). Cheers, Clive View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899640#3899640 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899640 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: Error: could not find deserializer for type
And what about this, please? What do you think? Christy wrote : Thomas, I have looked *.wsdd and mapping.xml. It looks like everything is fine. I used wscompile to generate wsdl and mapping.xml. And a strange thing: when string array is as the return value - everything works fine! What can it be? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899641#3899641 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899641 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: JBoss4.0.1 Clustering
Jerry, I am able to run two instances on different port, I am testing fail-over. I open an application on the browser and stoping one server instance and trying to continue accesing the application, i feel the other server should take over my application, but it is not happening so. E.g. - I m running my application on 8080, and my 2 instances are on 8080 8180, when i stop 8080 instance, the 8180 should keep the server running, but its giving me error. Please advise. Sajid View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899642#3899642 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899642 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: JBossCache 1.2.4 beta is available
http://jira.jboss.com/jira/browse/JBCACHE-320 Thanks, DashV View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899644#3899644 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899644 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: JBoss4.0.1 Clustering
Can you provide the configuration you have performed with Apache and mod_jk View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899647#3899647 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899647 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Performance Tuning] - JBoss AS 4.0.3 EJB performance problem
Hello, just installe JBoss 4.0.3 over 4.0.2. Compiled from source with the same options as 4.0.2. Configuration is the same. In a pure EJB 2.x environment using both remote and local interfaces, accessing some thousend EJB's in 4.0.2 is done in 11 seconds, the 4.0.3 release needs 33 seconds. This means 3 times slower. Any idea on what is changed or how to return to the good performance of 4.0.2 ? Thanks in advance. Franco View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899648#3899648 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899648 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Performance Tuning] - Re: JBoss AS 4.0.3 EJB performance problem
Not without details of the configuration. Create a jira issue with the deployment descriptors. http://jira.jboss.com/jira/browse/JBAS View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899651#3899651 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899651 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: JBP 2.2 Alpha - Jackrabbit configuration exception on st
Yep. Got it. I am looking at a similar issue with startup on 4.0.3 Final. The initial repo config is going to be changed soon, so I'm hoping that clears the issue up. I'll post when theres a fix. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899652#3899652 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899652 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Re: DIGEST Authentication
I spent a little time looking at this and we should be able to add support for this in 4.0.4. http://jira.jboss.com/jira/browse/JBAS-2338 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899655#3899655 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899655 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Performance Tuning] - Re: JBoss AS 4.0.3 EJB performance problem
Sorry, wrong commit option..., the effective time is now 9 seconds. Thanks for the improved performance. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899656#3899656 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899656 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: EJB Client Classpath
Thanks. I'm aware of the fact that bean class is not needed on the client side. One doesn't have to always have the remote and home interface classes on the client side. For example, the following code works pretty well without those interfaces on the client side (since there is no direct reference for the interface in the code): Object obj = context.lookup(server.Server); | Method m = obj.getClass().getDeclaredMethod(create,null); | Object remote = m.invoke(obj,null); | Method rm = remote.getClass().getDeclaredMethod(getInformation,null); | Object result = rm.invoke(remote,new Object[]{queueName}); | System.out.println(Information the other way: +result); In this case the proxy's instance representing the ServerHome (and I believe it implements this interface as well) gets downloaded to the client and along with its codebase annotation pointing to the codebase of the Jboss server. Once it gets that, since it doesn't have the ServerHome interface's class definition, it downloads the definition from the server. Someone from JBoss or who knows the internals of it, please correct me if I'm wrong in my interpretation. I also believe that the RMIClassLoader is used to download the class definition from the codebase. When it was able to download the definition for a proxy, why was it not able to download it when I type cast the interface? (I have also tried setting the RMIClassLoader as the context class loader, with the appropriate code base, but still I get the NoClassDefFoundError. Thread.currentThread().setContextClassLoader(RMIClassLoader.getClassLoader(http://mymachine:8083/;)); I hope this makes my question clear now. Thanks, Kalyan. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899658#3899658 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899658 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: JBoss4.0.1 Clustering
Are you sure you've configured Apache correctly? If Apache is running on port 8080, how can one of your nodes be running on 8080 on the same machine? Are you using multiple IP addresses? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899659#3899659 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899659 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - starting JBoss
Hi, I have a problem: I start the JBoss server on a computer(p1) and I want to access it from onother computer(p2) but the page cannot be found. I have tried like this: http://p1 The server runs on port 80 so I have tried also http://p1:80, but still no result. Thank you View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899662#3899662 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899662 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - Re: starting JBoss
By default Tomcat bundled with JBoss is configured to listen on port 8080 no port 80 so your URL will need to be http://p1:8080 Alternatively you can change the port in {jboss.home}/server/default/deploy/jbossweb-tomcat55.sar/server.xml View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899665#3899665 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899665 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JNDI/Naming/Network] - configure arbitrary jndi tree
we'd like to use jndi to store heirarchictal (sp) information that can be configured per server insatance (or really per target environment: dev, prod, qa, etc). the tree would be something like: /orange/three/FOO = orange3foo /blue/four/BAR = blue4bar etc. basically a few levels of nesting with arbitrary values. we're using jndi to lookup datasources, URL resource references, and mail resource references. i can't seem to find any information on how to put artibrary values in the jndi tree? can anyone help me out? thanks! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899666#3899666 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899666 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Storing Timestamps using jBoss
I want to store my timestamps in Oracle/MySQL as GMT times. Using JDBC I would pass a calander object to do this. How can I tell jBoss CMP that I want to store these timestamps as GMT? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899675#3899675 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899675 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JNDI/Naming/Network] - Re: Port 1098 is taken
Often Outlook will take this port prior to starting jboss. Shutdown Outlook, or reboot your computer without Outlook running on startup, start your jboss server first then start Outlook. If you are not running outlook on the same machine then I can't help you. But I have run into this issue with outlook View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899674#3899674 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899674 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JNDI/Naming/Network] - Re: Failing JNDI Lookup from Servlet to Stateless Session be
I am seeing something very similar to this, however it is while running JBoss as a cluster. If I run Jboss as a stand alone server I can connect to my EJBs, however if I Cluster Jboss 4.0.2 using jboss cache 1.2.3 I have a problem with jndi. [LogonAction] ERROR: javax.naming.CommunicationException: Receive timed out [Root exception is java.net.SocketTimeoutException: Receive timed out] javax.naming.CommunicationException: Receive timed out [Root exception is java.net.SocketTimeoutException: Receive timed out] at org.jnp.interfaces.NamingContext.discoverServer(NamingContext.java:1302) at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1382) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:579) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:572) at javax.naming.InitialContext.lookup(InitialContext.java:347) It is as though I cannot use my org.jboss.ha.jndi.HANamingService. Any ideas? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899679#3899679 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899679 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Getting Started Documentation] - Problem compiling Hello example in Chapter 12 of the
Dear friends, I am having some trouble compiling the Hello example of Chapter 12. I downloaded the WSDP package from sun in order to get the wscompile.sh tool as well as a tomcat 5 web container which i installed. (Is that ok? It seems Jboss is using Axis?) However, I haven't been able to use it to generate te required files for the hello example. I typed: wscompile.sh -classpath ./output/classes/org/jboss/chap12/hello/ -gen:server -f:rpcliteral -mapping ./src/main/org/jboss/chap12/example/mapping.xml ./src/main/org/jboss/chap12/hello/config.xml and got the following output: error: RmiModeler error: java.lang.ClassNotFoundException: org$jboss$chap12$hello$Hello I then tried to compile the Hello example: I typed: ant -Dchap=chap12 -Dex=1 run-example but it seems that the web service is deployed but cannot be invoked through tthe Hello interface. I got the following compilation errot: . run-example1: [echo] Waiting for 5 seconds for deploy... [java] Contacting webservice at http://localhost:8080/hello-servlet/Hello?wsdl [java] hello.hello(JBoss user) [java] argument:JBoss user [java] [ERROR,PortProxy] Port error [java] java.lang.NullPointerException [java] at java.util.Hashtable.put(Hashtable.java:396) [java] at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.setProperty(SAXParserImpl.java:395) [java] at org.jboss.axis.encoding.DeserializationContextImpl.parse(DeserializationContextImpl.java:262) [java] at org.jboss.axis.MessagePart.getAsSOAPEnvelope(MessagePart.java:684) [java] at org.jboss.axis.Message.getSOAPEnvelope(Message.java:428) [java] at org.jboss.axis.Message.getContentType(Message.java:494) [java] at org.jboss.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.java:386) [java] at org.jboss.axis.transport.http.HTTPSender.invoke(HTTPSender.java:126) [java] at org.jboss.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:73) [java] at org.jboss.axis.SimpleChain.doVisiting(SimpleChain.java:160) [java] at org.jboss.axis.SimpleChain.invoke(SimpleChain.java:123) [java] at org.jboss.webservice.client.ClientEngine.invoke(ClientEngine.java:128) [java] at org.jboss.axis.client.Call.invokeEngine(Call.java:3054) [java] at org.jboss.axis.client.Call.invoke(Call.java:3039) [java] at org.jboss.axis.client.Call.invoke(Call.java:2629) [java] at org.jboss.axis.client.Call.invoke(Call.java:2538) [java] at org.jboss.axis.client.Call.invokeInternal(Call.java:1976) [java] at org.jboss.axis.client.Call.invoke(Call.java:1914) [java] at org.jboss.webservice.client.CallImpl.invoke(CallImpl.java:265) [java] at org.jboss.axis.client.AxisClientProxy.invoke(AxisClientProxy.java:381) [java] at $Proxy0.hello(Unknown Source) [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [java] at java.lang.reflect.Method.invoke(Method.java:585) [java] at org.jboss.webservice.client.PortProxy.invoke(PortProxy.java:105) [java] at $Proxy1.hello(Unknown Source) [java] at org.jboss.chap12.client.HelloClient.main(HelloClient.java:35) [java] Exception in thread main java.rmi.RemoteException: null; nested exception is: My server console seems to be happy: 18:47:31,434 INFO [Server] JBoss (MX MicroKernel) [4.0.2 (build: CVSTag=JBoss_4 _0_2 date=200505022023)] Started in 42s:983ms 14:34:32,801 INFO [TomcatDeployer] deploy, ctxPath=/hello-servlet, warUrl=file: /vol/bitbucket/ek/jboss/jboss-4.0.2/server/default/tmp/deploy/tmp10543hello-serv let.war/ 14:34:33,272 INFO [WSDLFilePublisher] WSDL published to: file:/vol/bitbucket/ek /jboss/jboss-4.0.2/server/default/data/wsdl/hello-servlet.war/HelloService.wsdl 14:34:33,473 INFO [AxisService] WSDD published to: /vol/bitbucket/ek/jboss/jbos s-4.0.2/server/default/data/wsdl/hello-servlet.war/Hello.wsdd 14:34:34,110 INFO [AxisService] Web Service deployed: http://***:8080/hello-servlet/Hello 18:15:45,133 INFO [EjbModule] Deploying HelloBean 18:15:45,330 INFO [EJBDeployer] Deployed: file:/vol/bitbucket/ek/jboss/jboss-4.0.2/server/default/deploy/hello-ejb.jar 18:15:45,358 INFO [WSDLFilePublisher] WSDL published to: file:/vol/bitbucket/ek/jboss/jboss-4.0.2/server/default/data/wsdl/hello-ejb.jar/HelloService.wsdl 18:15:45,510 INFO [AxisService] WSDD published to: /vol/bitbucket/ek/jboss/jboss-4.0.2/server/default/data/wsdl/hello-ejb.jar/Hello.wsdd 18:15:45,513 INFO [AxisService] Web Service deployed: http://cresta.doc.ic.ac.uk:8080/hello-ejb/Hello 18:15:45,598 INFO [TomcatDeployer] deploy, ctxPath=/hello-ejb,
[JBoss-user] [Security JAAS/JBoss] - More flexible roles?
Our users are placed into groups similiar to the following: group-subgroup0-editor - joe - bill group-subgroup0-admin - mike group-subgroup1-editor - joe group-subgroup1-admin - paul I can't figure out how would you handle this type of grouping with declarative security. With declarative security, I can restrict a user from calling a method unless they are an admin or editor, but I need something more granular that takes into account the subgroups. I don't know the subgroup until the user makes a web request. Further, new subgroups are created on a regular basis. Can I use wildcards for roles, like group-*-editor? Or do I have to use aspects to provide more programmatic method call security? Thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899682#3899682 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899682 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Re: JAAS Security in JBOSS 4.0 ISSUES??
2 days and still no reply to my topic.. :( I am using the jboss 4.0.2 version.. well, i have done a lot of research on the exception insufficinet permissionsprincipal=[null]... and from what i found on the forums and the WIKI, my login.xml needs to be like that : login-config.xml*** application-policy name = megs login-module code = org.jboss.security.auth.spi.DatabaseServerLoginModule flag = required module-option name = unauthenticatedIdentityguest/module-option module-option name = dsJndiNamejava:/PostgresDS/module-option module-option name = principalsQuerySELECT passwd FROM users WHERE username=?/module-option module-option name = rolesQuerySELECT userrole, 'Roles' FROM userroles WHERE username=?/module-option /login-module login-module code = org.jboss.security.ClientLoginModule flag = required /login-module /application-policy *** However no use , it still fails , giving me the Insufficient permissions...principal=[null] exception... I also tried using the module-option name=password-stackinguseFirstPass/module-option in the login-config.xml file for Databaseserverloginmodule and/pr Clientloginmodule, no effect though...when used for the client login module only..it gives a ***No matching username found.exception*** I am sure the authentication info is not getting propogated , because the login is performed successfully and all my println statements are printed. There is a redirect code fragment in my code on successful login * HttpServletResponse response = ServletActionContext.getResponse(); response.sendRedirect(/megs/overview.action?view=overview); ** The call executes and the required class calls a function on ejb by the name region. This is where I get the exception. Is it because I am doing a redirect the authentication information is lost??/ or is it because I am missing something, somewhere in the configuration files, as a result of which I am unable to proceed??? Please do let me know View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899702#3899702 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899702 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - Re: AS 4.0.3 download size
I hadn't any time to unpack or check it. I just noticed that what I downloaded was over 200MB. I figured that there was something amiss and that's why I posted the question. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899705#3899705 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899705 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - DestinationManager not yet installed
I am using JBoss version 4.0.1 and trying to use JMS queues. I have my queues defined in a file under the deploy directory of my configuration called myqueue-service.xml, with entries like the following: mbean code=org.jboss.mq.server.jmx.Queue | name=jboss.mq.destination:service=Queue,name=testQueue | depends optional-attribute-name=DestinationManager | jboss.mq:service=DestinationManager/depends | /mbean I copied my configuration from the all configuration so that I would have everything including (hopefully) JMS. When I start my JBoss server, it lists all my queues and then this error message: MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM: ObjectName: jboss.mq:service=DestinationManager state: NOTYETINSTALLED Attempts to send a message to the queue fail. Also, I noticed that the Getting Started guide says to use the jmx-console and click on the DestinationManager under jms.mq, but I don't have a link for DestinationManager. How does the DestinationManager get installed/configured? Any suggestions would be most appreciated, Thanks! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899708#3899708 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899708 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - DeploymentException when i am trying to deploy my scedulable
i am getting this errororg.jboss.deployment.DeploymentException: com.vai.cms.ejb.message.SchedulableLIBean.(); - nested throwable: (java.lang.NoSuchMethodException: com.vai.cms. ejb.message.SchedulableLIBean.()) at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java :143) at org.jboss.system.ServiceController.install(ServiceController.java:202 ) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) at org.jboss.mx.server.Invocation.invoke(Invocation.java:72) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177) at $Proxy4.install(Unknown Source) at org.jboss.deployment.SARDeployer.create(SARDeployer.java:220) at org.jboss.deployment.MainDeployer.create(MainDeployer.java:918) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:774) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.jboss.mx.interceptor.ReflectedDispatcher.invokeeflectedDispatch er.java:141) this is my code in deployment descriptor true com.vai.cms.ejb.message.SchedulableLIBean SchedulabeTest,12345 java.lang.String,int NOW 2000 -1 jboss:service=Naming and this is my class public class SchedulableLIBean implements Schedulable { private String name; private long value; public SchedulableLIBean(String name, long value){ this.name = name; this.value= value; } public void perform(Date now, long remainingRepetitions){ System.out.println(time+now+remaining repetitions+remainingRepetitions); //loopbackMessage(); }} is there any thing that i have to add in my deployment descriptors or is there any thing wrong in thank you View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899711#3899711 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899711 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ 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: execption from OracleValidConnectionChecker
This problem is affecting me as well. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899718#3899718 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899718 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Re: problem w/ OracleValidConnectionChecker
I'm getting the same problem, any luck in fixing this without modifying source code? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899719#3899719 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899719 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - Re: Java 1.5 in JSP not working
I think I found the answer. I changed the 'fork' parameter to 'true', and I set the 'compiler' parameter to 'modern'. Don't know which one made it work, but it did. I can now use Java 1.5 in my jsp pages. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899721#3899721 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899721 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: TreeCacheAop, Maps and persistence
Okay, here comes: | java.lang.reflect.InvocationTargetException | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) | at java.lang.reflect.Method.invoke(Unknown Source) | at | org.jboss.cache.aop.CollectionInterceptorUtil.invoke(CollectionInterceptorUtil.java:100) | at | org.jboss.cache.aop.CachedMapInterceptor.invoke(CachedMapInterceptor.java:48) | at | org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:66) | at AOPClassProxy$0.put(AOPClassProxy$0.java) | at nl.mindef.c2sc.titaan.tbl.server.TblServerRmt.addCyrusMessage(Unknown | Source) | at | nl.mindef.c2sc.titaan.tbl.server.process.cyrusimport.CyrusImportProcess.distributeInternal(Unknown | Source) | at | nl.mindef.c2sc.titaan.tbl.server.process.cyrusimport.CyrusImportProcess.receivedMessage(Unknown | Source) | at | nl.mindef.c2sc.titaan.tbl.server.process.cyrusimport.CyrusImportProcess$CyrusListener.socketMessageReceived(Unknown | Source) | at nl.mindef.c2sc.titaan.tbl.server.communication.SocketHandler.run(Unknown | Source) | at java.lang.Thread.run(Unknown Source) | Caused by: org.jboss.util.NestedRuntimeException: TreeCacheAop.putObject(): ; - | nested throwable: (java.lang.RuntimeException: | InternalDelegate.incrementRefCount(): REF_COUNT for reference counting is null | at: /feeds/12346/missions/0/scs/0/units/0); - nested throwable: | (org.jboss.util.NestedRuntimeException: TreeCacheAop.putObject(): ; - nested | throwable: (java.lang.RuntimeException: InternalDelegate.incrementRefCount(): | REF_COUNT for reference counting is null at: | /feeds/12346/missions/0/scs/0/units/0)) | at org.jboss.cache.aop.CachedMapInterceptor.put(CachedMapInterceptor.java:79) | ... 14 moreCACHE: node removed: /feeds/12346/missions/0/scs/0/units/0 | Caused by: org.jboss.util.NestedRuntimeException: TreeCacheAop.putObject(): ; - | nested throwable: (java.lang.RuntimeException: | InternalDelegate.incrementRefCount(): REF_COUNT for reference counting is null | at: /feeds/12346/missions/0/scs/0/units/0) | at org.jboss.cache.aop.TreeCacheAop.putObject(TreeCacheAop.java:270) | at org.jboss.cache.aop.CachedMapInterceptor.put(CachedMapInterceptor.java:77) | ... 14 more | Caused by: java.lang.RuntimeException: InternalDelegate.incrementRefCount(): | REF_COUNT for reference counting is null at: | /feeds/12346/missions/0/scs/0/units/0 | at | org.jboss.cache.aop.InternalDelegate.incrementRefCount(InternalDelegate.java:73) | at | org.jboss.cache.aop.TreeCacheAopDelegate.addRefFqn(TreeCacheAopDelegate.java:592) | at | org.jboss.cache.aop.TreeCacheAopDelegate.handleCircularReference(TreeCacheAopDelegate.java:464) | at | org.jboss.cache.aop.TreeCacheAopDelegate._putObject(TreeCacheAopDelegate.java:168) | at | org.jboss.cache.aop.TreeCacheAopDelegate._regularPutObject(TreeCacheAopDelegate.java:229) | at | org.jboss.cache.aop.TreeCacheAopDelegate._putObject(TreeCacheAopDelegate.java:175) | at | org.jboss.cache.aop.TreeCacheAopDelegate._collectionPutObject(TreeCacheAopDelegate.java:311) | at | org.jboss.cache.aop.TreeCacheAopDelegate._putObject(TreeCacheAopDelegate.java:182) | at | org.jboss.cache.aop.TreeCacheAopDelegate._regularPutObject(TreeCacheAopDelegate.java:229) | at | org.jboss.cache.aop.TreeCacheAopDelegate._putObject(TreeCacheAopDelegate.java:175) | at | org.jboss.cache.aop.TreeCacheAopDelegate._collectionPutObject(TreeCacheAopDelegate.java:311) | at | org.jboss.cache.aop.TreeCacheAopDelegate._putObject(TreeCacheAopDelegate.java:182) | at | org.jboss.cache.aop.TreeCacheAopDelegate._regularPutObject(TreeCacheAopDelegate.java:229) | at | org.jboss.cache.aop.TreeCacheAopDelegate._putObject(TreeCacheAopDelegate.java:175) | at | org.jboss.cache.aop.TreeCacheAopDelegate._collectionPutObject(TreeCacheAopDelegate.java:311) | at | org.jboss.cache.aop.TreeCacheAopDelegate._putObject(TreeCacheAopDelegate.java:182) | at | org.jboss.cache.aop.TreeCacheAopDelegate._regularPutObject(TreeCacheAopDelegate.java:229) | at | org.jboss.cache.aop.TreeCacheAopDelegate._putObject(TreeCacheAopDelegate.java:175) | at | org.jboss.cache.aop.TreeCacheAopDelegate._collectionPutObject(TreeCacheAopDelegate.java:311) | at | org.jboss.cache.aop.TreeCacheAopDelegate._putObject(TreeCacheAopDelegate.java:182) | at | org.jboss.cache.aop.TreeCacheAopDelegate._regularPutObject(TreeCacheAopDelegate.java:229) | at
[JBoss-user] [JBossWS] - Re: Error: could not find deserializer for type
I really need some help here and some of this is starting to make sense. I'm assuming what I need to do is add something to a ws4ee-deployment.xml file to make the serializer work correctly. This would get merged by jboss into the wsdd file. Currently my wsdl is complexType name=PackageAuthorization | sequence | element name=packageLength type=int/ | element name=packageListType type=string/ | element name=packageNameList type=tns:ArrayOfstring//sequence/complexType | complexType name=ArrayOfstring and the wsdd for this section is: typeMapping | qname='ns2:PackageAuthorization' xmlns:ns2='http://www.qcommcorp.com/dncstypes' | type='java:com.qcommcorp.dncs.types.PackageAuthorization' | serializer='org.jboss.webservice.encoding.ser.MetaDataBeanSerializerFactory' | deserializer='org.jboss.webservice.encoding.ser.MetaDataBeanDeserializerFactory' | encodingStyle='http://schemas.xmlsoap.org/soap/encoding/' | typeDesc | elementDesc fieldName='packageLength' xmlName='packageLength'/ | elementDesc fieldName='packageListType' xmlName='packageListType'/ | elementDesc fieldName='packageNameList' xmlName='packageNameList'/ | elementOrder | element name='packageLength'/ | element name='packageListType'/ | element name='packageNameList'/ | /elementOrder | /typeDesc | /typeMapping Can anyone tell me what to put in the ws4ee-deployment.xml file to make this work? Thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899726#3899726 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899726 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: TreeCacheAop, Maps and persistence
Thanks! If someone else has a similar problem this may help them find the forum entry as well. BTW, what version of JBossCache are you using? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899727#3899727 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899727 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - NoSuch method error when deploying SchedularBean
16:51:46,288 ERROR [Scheduler] Could not find the constructor or create Schedulable instance java.lang.NoSuchMethodException: com.vai.cms.ejb.message.SchedulableLIBean.(java.lang.String, int) at java.lang.Class.getConstructor0(Unknown Source) at java.lang.Class.getConstructor(Unknown Source)at org.jboss.varia.scheduler.Scheduler.startSchedule(Scheduler.java:294) at org.jboss.varia.scheduler.Scheduler.startService(Scheduler.java:1157) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanS upport.java:272) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMB what is method i used schedulable interface and implemented perform method and here is my deployment service.xml true com.vai.cms.ejb.message.SchedulableLIBean SchedulabeTest,12345 java.lang.String,int NOW 2000 -1 jboss:service=Naming View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899728#3899728 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899728 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - Re: starting JBoss
Thank for your answer, but I want to get it running on port 80, so that's why I have changed myself the {jboss.home}/server/default/deploy/jbossweb-tomcat55.sar/server.xml and the jboss-service.xml files. I want to use the 80 port because I want that everyone can access my project and I think (I am not sure that when I will be using the 8080 port I will have problems with Windows Firewall) So..is there any posibility to have on port 80? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899730#3899730 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899730 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - inetd.conf and services file settings
Anyone have these? I'm asking because I don't know how my server would know to redirect requests connecting on port 8080 to jboss. Dave View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899731#3899731 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899731 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Re: JAAS Security in JBOSS 4.0 ISSUES??
What is the client that is trying to authenticate? It looks as if you have a web application, rather than using the ClientLoginModule you should be using the servlet authentication that you need to define in the web.xml How many calls does your web application make to the ejb tier in a single request, there is a known issue with JBoss 4.0.2 that can cause this to fail if you make more than one call. (There is a patch available from this but if will be better if I can see what you are doing to see if this is appropriate for you). View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899735#3899735 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899735 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - Re: DestinationManager not yet installed
Using the all configuration are you running as part of a cluster or is it an issolated node? JMS is only deployed on one of the nodes in a cluster so this could be a possible reason for the lack of the destination manager. When you copied the all configuration did you copy all of the folders or just some of them? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899737#3899737 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899737 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - Re: starting JBoss
Sorry I dont understand your last post. What changes have you actually made? If you look in the file I mentioned in my last post you will find ' Connector port=8080 ' it is this that will need changing to 80 instead of 8080. You shouldn't need to change other configuration files to get tomcat to listen on port 80. If you think you are having problems with Windows firewall it will be better to switch it off and make sure you can get JBoss working as required then enable the firewall and sort out the configuration. If you are new to this then trying to configure both at once is going to be difficult. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899738#3899738 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899738 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Re: problem w/ OracleValidConnectionChecker
Here's my stacktrace: 19:11:01,056 WARN [OracleValidConnectionChecker] Unexpected error in pingDatabase java.lang.IllegalArgumentException: object is not an instance of declaring class at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.resource.adapter.jdbc.vendor.OracleValidConnectionChecker.i sValidConnection(OracleValidConnectionChecker.java:54) at org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnectionFactory.i sValidConnection(BaseWrapperManagedConnectionFactory.java:377) at org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnection.checkVal id(BaseWrapperManagedConnection.java:212) at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.m atchManagedConnections(LocalManagedConnectionFactory.java:186) at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.ge tConnection(InternalManagedConnectionPool.java:167) at org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BaseP ool.getConnection(JBossManagedConnectionPool.java:529) at org.jboss.resource.connectionmanager.BaseConnectionManager2.getManage dConnection(BaseConnectionManager2.java:410) at org.jboss.resource.connectionmanager.TxConnectionManager.getManagedCo nnection(TxConnectionManager.java:342) at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateC onnection(BaseConnectionManager2.java:462) at org.jboss.resource.connectionmanager.BaseConnectionManager2$Connectio nManagerProxy.allocateConnection(BaseConnectionManager2.java:894) at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(Wrapp erDataSource.java:73) Here's my ds.xml to show it's configured correctly (this is working fine with JBoss 3.2.5, I'm now trying to move up to 4.0.2 or 4.0.3 both are giving this error): local-tx-datasource jndi-namejdbc/MyDS/jndi-name connection-urljdbc:oracle:thin:APP/APP@//mybox:1521/MYDB/connection-url driver-classoracle.jdbc.OracleDriver/driver-class min-pool-size20/min-pool-size max-pool-size400/max-pool-size !-- Uses the pingDatabase method to check a connection is still valid before handing it out from the pool -- valid-connection-checker-class-nameorg.jboss.resource.adapter.jdbc.vendor.OracleValidConnectionChecker/valid-connection-checker-class-name !-- Checks the Oracle error codes and messages for fatal errors -- exception-sorter-class-nameorg.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter/exception-sorter-class-name !-- Make a large statement cache size for increased performance -- prepared-statement-cache-size100/prepared-statement-cache-size !-- Checks for idle connections retrieved from the pool and times them out -- !-- This should be set to the same value as the auto-logout property -- idle-timeout-minutes30/idle-timeout-minutes /local-tx-datasource I've also noticed now that in some of my queries that then cast results back to oracle.sql.Array type, that is also throwing a ClassCastException. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899741#3899741 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899741 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - EL in included JSP
Hi, Is it possible to enable processing of EL expressions in JSPs included with PortletRequestDispatcher? | PortletContext context = getPortletContext(); | PortletRequestDispatcher rd = context | .getRequestDispatcher(/hello.jsp); | rd.include(request, response); | Thanks, Konstantin View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3899743#3899743 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3899743 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user