[JBoss Messaging] - Re: JBoss Messaging 1.4.0.CR3 released
by ataylor
Also, if you are running any of the examples make sure you add the new jboss-remoting.jar ahead of the jbossall-client.jar in the classpath. This is because the jbossall-client.jar contains the old remoting classes.
This can be done by editing the build.xml for each example, it currently looks something like the following:
| <path id="execution.classpath">
| <pathelement path="./etc"/>
| <pathelement path="../common/output/classes"/>
| <pathelement path="./output/classes"/>
| <fileset file="${messaging.client.jar.path}/${messaging.client.jar.name}"/>
| <fileset file="${jboss.home}/client/jbossall-client.jar"/>
| <fileset file="${jboss.home}/server/${jboss.configuration}/lib/log4j.jar"/>
| <fileset file="${jboss.home}/server/${jboss.configuration}/lib/javassist.jar"/>
| <fileset file="${jboss.home}/server/${jboss.configuration}/deploy/jboss-aop-jdk50.deployer/jboss-aop-jdk50.jar"/>
| <fileset file="${jboss.home}/server/${jboss.configuration}/deploy/jboss-aop-jdk50.deployer/trove.jar"/>
| </path>
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4088289#4088289
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4088289
18 years, 7 months
[JBoss Seam] - Re: Entity Convert
by nusseis
Well, I'm back...
Ain't got problems with the selectOneMenu, but with the selectManyMenu and I don't know why. Hoping for help, so here's what I've got:
I've implemented the equals and hashCode Method in all of my entity beans
@Override
| public boolean equals(Object obj) {
| if (!(obj instanceof Platform)) {
| return false;
| }
|
| Platform o = (Platform) obj;
| return this.platform_id == o.getPlatform_id();
| }
|
| @Override
| public int hashCode() {
| int result = 17;
|
| result = 37 * result + this.platform_id;
|
| return result;
| }
And that works fine with the selectOneMenu, no errors or warnings. Now I've got a selectManyMenu, that looks like this:
<h:selectManyMenu value="#{release.platform_id}" id="selectPlatformList" size="10">
| <s:selectItems value="#{admin_release.ra_platformList}" var="p" label="#{p.platform_descr}" />
| <s:convertEntity />
| </h:selectManyMenu>
Now the question: Why do I get the "Value is not a valid option" message?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4088288#4088288
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4088288
18 years, 7 months
[Installation, Configuration & DEPLOYMENT] - Getting [javax.naming.CommunicationException: Receive timed
by venuc_vgp
I have configured Oracle8i with jboss. Sever starts fine with no issues.
While accessing Datasource after I started the application, getting the below exception,
javax.naming.CommunicationException: Receive timed out [Root exception is java.net.SocketTimeoutException: Receive timed out]
at org.jnp.interfaces.NamingContext.discoverServer(NamingContext.java:1159)
at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1239)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:527)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:520)
at javax.naming.InitialContext.lookup(InitialContext.java:347)
at eboomerang.dbms.jdbc.DbConnection.getDataSource(DbConnection.java:77)
at eboomerang.dbms.jdbc.DbConnection.getReadWriteConnection(DbConnection.java:171)
at eboomerang.dbms.jdbc.DBAccess.getReadWriteConnection(DBAccess.java:189)
at eboomerang.dbms.access.UsersDB.insertUserRedirectLog(UsersDB.java:103)
at eboomerang.servlet.ServletMain.doPost(ServletMain.java:357)
at eboomerang.servlet.ServletMain.doGet(ServletMain.java:144)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:75)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:66)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:150)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:54)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
at java.lang.Thread.run(Thread.java:534)
Caused by: java.net.SocketTimeoutException: Receive timed out
at java.net.PlainDatagramSocketImpl.receive(Native Method)
at java.net.DatagramSocket.receive(DatagramSocket.java:711)
at org.jnp.interfaces.NamingContext.discoverServer(NamingContext.java:1129)
... 45 more
What could be the reason for this exception and will there be any configuration issue with oracle?
Please help me regarding this issue.
-Venu
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4088283#4088283
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4088283
18 years, 7 months