[JBoss Seam] - Re: Seam moves from CVS to SVN
by wchico2
Hi,
Here's the info that I have been told:
- when refactoring e.g.
1) create MyTestclass
2) refactor by rename to "MyTestClass"
3) Consequence: one cannot check in "MyTestClass" because
SVN has problems with differing upper case/lower case
- another refactoring example, this time for packages
1) create this.is.my.package
2) refactor by rename to "this.is.your.package"
3) Consequences:
- one cannot check in the new package structure
- the old package structure cannot be deleted ("out of transaction")
- after a complete re-checkout of the Eclipse project,
the rsp. classes have been doubled
- no empty directories can be checked in
- directories cannot be excluded from versioning (.cvsignore-like) e.g. for
temporary usage of Ant build processes; as a result, after each build the
Eclipse project automatically changes its status to 'changed'..
- info messaging to inform on concurrent access of sources that are
checked in has not been implemented or is not functional
- further issues not mentioned anymore by the developer
Note that these tests are already some time ago.
So I would like to know if you have come across these issues,
thanks very much.
Best wishes,
Wolfgang.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4128279#4128279
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4128279
18 years, 2 months
[EJB 3.0] - Re: Deploy Problem
by jokim1979
The command that I am using to run the client is:
| C:\>java -Djava.naming.factory.initial=org.jnp.interface.NamingContextFactory -D
| java.naming.provider.url=jnp://localhost:1099 -Djava.naming.factory.url.pkgs=org
| .jnp.interfaces -jar CS-app-client.jar
|
The proyect's name is CS.
Then the error is the next one (now it's a ClassNotFoundException)
| 11-feb-2008 9:40:06 com.gui.funcionalidad.seguridad.controladorPUsuarios lookupU
| suariosBean
| GRAVE: exception caught
| javax.naming.NoInitialContextException: Cannot instantiate class: org.jnp.interf
| ace.NamingContextFactory [Root exception is java.lang.ClassNotFoundException: or
| g.jnp.interface.NamingContextFactory]
| at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
| at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
| at javax.naming.InitialContext.init(Unknown Source)
| at javax.naming.InitialContext.<init>(Unknown Source)
| at com.gui.funcionalidad.seguridad.controladorPUsuarios.lookupUsuariosBe
| an(controladorPUsuarios.java:94)
| at com.gui.funcionalidad.seguridad.controladorPUsuarios.<init>(controlad
| orPUsuarios.java:61)
| at com.gui.funcionalidad.seguridad.controladorPUsuarios.<clinit>(control
| adorPUsuarios.java:43)
| at com.gui.pantalla.seguridad.LOGIN.btAceptarActionPerformed(LOGIN.java:
| 109)
| at com.gui.pantalla.seguridad.LOGIN.access$000(LOGIN.java:18)
| at com.gui.pantalla.seguridad.LOGIN$1.actionPerformed(LOGIN.java:53)
| at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
| at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
| at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
| at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
| at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Sour
| ce)
| at java.awt.Component.processMouseEvent(Unknown Source)
| at javax.swing.JComponent.processMouseEvent(Unknown Source)
| at java.awt.Component.processEvent(Unknown Source)
| at java.awt.Container.processEvent(Unknown Source)
| at java.awt.Component.dispatchEventImpl(Unknown Source)
| at java.awt.Container.dispatchEventImpl(Unknown Source)
| at java.awt.Component.dispatchEvent(Unknown Source)
| at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
| at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
| at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
| at java.awt.Container.dispatchEventImpl(Unknown Source)
| at java.awt.Window.dispatchEventImpl(Unknown Source)
| at java.awt.Component.dispatchEvent(Unknown Source)
| at java.awt.EventQueue.dispatchEvent(Unknown Source)
| at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
| at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
| at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
| at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
| at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
| at java.awt.EventDispatchThread.run(Unknown Source)
| Caused by: java.lang.ClassNotFoundException: org.jnp.interface.NamingContextFact
| ory
| at java.net.URLClassLoader$1.run(Unknown Source)
| at java.security.AccessController.doPrivileged(Native Method)
| at java.net.URLClassLoader.findClass(Unknown Source)
| at java.lang.ClassLoader.loadClass(Unknown Source)
| at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
| at java.lang.ClassLoader.loadClass(Unknown Source)
| at java.lang.ClassLoader.loadClassInternal(Unknown Source)
| at java.lang.Class.forName0(Native Method)
| at java.lang.Class.forName(Unknown Source)
| at com.sun.naming.internal.VersionHelper12.loadClass(Unknown Source)
| ... 35 more
| Exception in thread "AWT-EventQueue-0" java.lang.ExceptionInInitializerError
| at com.gui.pantalla.seguridad.LOGIN.btAceptarActionPerformed(LOGIN.java:
| 109)
| at com.gui.pantalla.seguridad.LOGIN.access$000(LOGIN.java:18)
| at com.gui.pantalla.seguridad.LOGIN$1.actionPerformed(LOGIN.java:53)
| at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
| at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
| at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
| at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
| at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Sour
| ce)
| at java.awt.Component.processMouseEvent(Unknown Source)
| at javax.swing.JComponent.processMouseEvent(Unknown Source)
| at java.awt.Component.processEvent(Unknown Source)
| at java.awt.Container.processEvent(Unknown Source)
| at java.awt.Component.dispatchEventImpl(Unknown Source)
| at java.awt.Container.dispatchEventImpl(Unknown Source)
| at java.awt.Component.dispatchEvent(Unknown Source)
| at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
| at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
| at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
| at java.awt.Container.dispatchEventImpl(Unknown Source)
| at java.awt.Window.dispatchEventImpl(Unknown Source)
| at java.awt.Component.dispatchEvent(Unknown Source)
| at java.awt.EventQueue.dispatchEvent(Unknown Source)
| at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
| at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
| at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
| at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
| at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
| at java.awt.EventDispatchThread.run(Unknown Source)
| Caused by: java.lang.RuntimeException: javax.naming.NoInitialContextException: C
| annot instantiate class: org.jnp.interface.NamingContextFactory [Root exception
| is java.lang.ClassNotFoundException: org.jnp.interface.NamingContextFactory]
| at com.gui.funcionalidad.seguridad.controladorPUsuarios.lookupUsuariosBe
| an(controladorPUsuarios.java:114)
| at com.gui.funcionalidad.seguridad.controladorPUsuarios.<init>(controlad
| orPUsuarios.java:61)
| at com.gui.funcionalidad.seguridad.controladorPUsuarios.<clinit>(control
| adorPUsuarios.java:43)
| ... 28 more
| Caused by: javax.naming.NoInitialContextException: Cannot instantiate class: org
| .jnp.interface.NamingContextFactory [Root exception is java.lang.ClassNotFoundEx
| ception: org.jnp.interface.NamingContextFactory]
| at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
| at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
| at javax.naming.InitialContext.init(Unknown Source)
| at javax.naming.InitialContext.<init>(Unknown Source)
| at com.gui.funcionalidad.seguridad.controladorPUsuarios.lookupUsuariosBe
| an(controladorPUsuarios.java:94)
| ... 30 more
| Caused by: java.lang.ClassNotFoundException: org.jnp.interface.NamingContextFact
| ory
| at java.net.URLClassLoader$1.run(Unknown Source)
| at java.security.AccessController.doPrivileged(Native Method)
| at java.net.URLClassLoader.findClass(Unknown Source)
| at java.lang.ClassLoader.loadClass(Unknown Source)
| at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
| at java.lang.ClassLoader.loadClass(Unknown Source)
| at java.lang.ClassLoader.loadClassInternal(Unknown Source)
| at java.lang.Class.forName0(Native Method)
| at java.lang.Class.forName(Unknown Source)
| at com.sun.naming.internal.VersionHelper12.loadClass(Unknown Source)
| ... 35 more
|
Thank's a lot
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4128270#4128270
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4128270
18 years, 2 months
[JBoss Messaging] - Re: Reliable delivery
by ataylor
anonymous wrote : I am not quite sure how reliable message delivery (PERSISTENT) is implemented in JBoss Messaging. Assuming a JDBC persistence manager, does the AUTO_ACK mode result in a JDBC commit after each message ?
JBossMessaging is very reliable, it is 100% Sun CTS (Compatibility Test Suite) JMS and JEE (1.4 and 5) compliant. persistence is guaranteed as per the JMS specification. Which database were you using, remember hsql, the default database, is in memory and doesnt actually persist! You will need to use a full database such as Oracle or MySQL.
On my tests, persistent auto-ack send was too fast ( about 3000 1K messages/s) which means that there is no auto commit. if so, it would mean that persistent message delivery is not really reliable which is a violation of the JMS spec. What is your topology, are you using a queue or a topic, remember messages sent to a topic with a nondurable subscriber wont be persisted.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4128269#4128269
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4128269
18 years, 2 months