[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Jboss Versions

2008-08-20 Thread anthon.r
Hi,

Is there a table where there's a line up of Jboss versions along with their 
support for different servlet, jsp, jsf and tomcat versions? It would be also 
nice to have them with some details like J2EE version compliance etc.

It would be very handy to have them.

Thanks.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171673#4171673

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171673
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Re: Exception opening latest JBoss Tools perspective.

2008-08-20 Thread samdoyle
Nevermind, found a post saying JBosss Tools wasn't compatible with this version 
of Eclipse.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171671#4171671

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171671
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Exception opening latest JBoss Tools perspective.

2008-08-20 Thread samdoyle
Fresh install

Windows 32 bit Vista

Eclipse Platform
Version: 3.4.0
Build id: I20080617-2000

JBossTools-2.1.2.GA-ALL-win32

java.lang.ClassNotFoundException: 
org.eclipse.gef.internal.ui.palette.editparts.PaletteEditPart
at 
org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal(BundleLoader.java:481)
at 
org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:397)
at 
org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:385)
at 
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:87)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at 
org.jboss.tools.vpe.ui.palette.CustomPaletteEditPartFactory.createDrawerEditPart(CustomPaletteEditPartFactory.java:27)
at 
org.eclipse.gef.ui.palette.PaletteEditPartFactory.createEditPart(PaletteEditPartFactory.java:66)
at 
org.eclipse.gef.editparts.AbstractEditPart.createChild(AbstractEditPart.java:249)
at 
org.eclipse.gef.editparts.AbstractEditPart.refreshChildren(AbstractEditPart.java:726)
at 
org.eclipse.gef.editparts.AbstractEditPart.refresh(AbstractEditPart.java:677)
at 
org.eclipse.gef.editparts.AbstractGraphicalEditPart.refresh(AbstractGraphicalEditPart.java:571)
at 
org.eclipse.gef.editparts.AbstractEditPart.addNotify(AbstractEditPart.java:235)
at 
org.eclipse.gef.editparts.AbstractGraphicalEditPart.addNotify(AbstractGraphicalEditPart.java:219)
at 
org.eclipse.gef.editparts.AbstractEditPart.addChild(AbstractEditPart.java:198)
at 
org.eclipse.gef.editparts.SimpleRootEditPart.setContents(SimpleRootEditPart.java:101)
at 
org.eclipse.gef.ui.palette.PaletteViewer.setPaletteRoot(PaletteViewer.java:397)
at 
org.jboss.tools.vpe.ui.palette.PaletteAdapter.createControl(PaletteAdapter.java:59)
at 
org.jboss.tools.common.model.ui.views.palette.PaletteViewPart.createPartControlImpl(PaletteViewPart.java:63)
at 
org.jboss.tools.common.model.ui.views.palette.PaletteViewPart.createPartControl(PaletteViewPart.java:50)
at 
org.eclipse.ui.internal.ViewReference.createPartHelper(ViewReference.java:371)
at 
org.eclipse.ui.internal.ViewReference.createPart(ViewReference.java:230)
at 
org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:594)
at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:306)
at org.eclipse.ui.internal.ViewPane.setVisible(ViewPane.java:531)
at 
org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:180)
at 
org.eclipse.ui.internal.presentations.util.PresentablePartFolder.select(PresentablePartFolder.java:270)
at 
org.eclipse.ui.internal.presentations.util.LeftToRightTabOrder.select(LeftToRightTabOrder.java:65)
at 
org.eclipse.ui.internal.presentations.util.TabbedStackPresentation.selectPart(TabbedStackPresentation.java:473)
at 
org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:1256)
at org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:1209)
at org.eclipse.ui.internal.PartStack.showPart(PartStack.java:1608)
at org.eclipse.ui.internal.PartStack.createControl(PartStack.java:649)
at org.eclipse.ui.internal.PartStack.createControl(PartStack.java:576)
at 
org.eclipse.ui.internal.PartSashContainer.createControl(PartSashContainer.java:568)
at 
org.eclipse.ui.internal.PerspectiveHelper.activate(PerspectiveHelper.java:271)
at org.eclipse.ui.internal.Perspective.onActivate(Perspective.java:964)
at 
org.eclipse.ui.internal.WorkbenchPage.onActivate(WorkbenchPage.java:2593)
at 
org.eclipse.ui.internal.WorkbenchWindow$25.run(WorkbenchWindow.java:2869)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at 
org.eclipse.ui.internal.WorkbenchWindow.setActivePage(WorkbenchWindow.java:2850)
at 
org.eclipse.ui.internal.WorkbenchWindow.busyOpenPage(WorkbenchWindow.java:759)
at 
org.eclipse.ui.internal.WorkbenchWindow$7.run(WorkbenchWindow.java:1707)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at 
org.eclipse.ui.internal.WorkbenchWindow.openPage(WorkbenchWindow.java:1704)
at 
org.eclipse.ui.handlers.ShowPerspectiveHandler.openPerspective(ShowPerspectiveHandler.java:156)
at 
org.eclipse.ui.handlers.ShowPerspectiveHandler.openOther(ShowPerspectiveHandler.java:124)
at 
org.eclipse.ui.handlers.ShowPerspectiveHandler.execute(ShowPerspectiveHandler.java:63)
at 
org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:281)
at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476)
at 
org.eclipse.ui.internal.handlers.HandlerService.executeC

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Error [org.jboss.ha.framework.server.ClusterPartition]

2008-08-20 Thread nareshgali
yes PeterJ,

i have seen this text from this file cluster-service.xml from this location 
c:\jbos3.2.7\server\deploy.

i am working on local machine. so do i need to comment any Mbean tags in this 
file?






View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171669#4171669

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171669
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Problem in deploying web modules

2008-08-20 Thread kvijayk
JagaG we are also running into the very same issue. Can you please let us known 
how to address this.

"JagaG" wrote : Hi,
  | Am using JBoss4.0 and JDK1.5
  | I dont have any problem in running the server but wen i try to deploy the 
module I have done, it's not getting deployed as war file. Rather I get the 
following exceptions
  | 
  | 
  | 
  | anonymous wrote : 
  |   | 17:32:59,497 WARN  [JARDeployer] Failed to add deployable jar: 
file:/D:/jboss-4.0.3SP1/jboss-4.0.3SP1/server/default/tmp/deploy/tmp42988sample.html
  |   | java.util.zip.ZipException: error in opening zip file
  |   | at java.util.zip.ZipFile.open(Native Method)
  |   | at java.util.zip.ZipFile.(Unknown Source)
  |   | at java.util.jar.JarFile.(Unknown Source)
  |   | at java.util.jar.JarFile.(Unknown Source)
  |   | at 
org.jboss.deployment.SubDeployerSupport.processNestedDeployments(SubDeployerSupport.java:362)
  |   | at 
org.jboss.deployment.SubDeployerSupport.init(SubDeployerSupport.java:269)
  |   | at org.jboss.deployment.MainDeployer.init(MainDeployer.java:843)
  |   | at 
org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:780)
  |   | at 
org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:753)
  |   | at sun.reflect.GeneratedMethodAccessor51.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.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
  |   | at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
  |   | at 
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
  |   | at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
  |   | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
  |   | at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
  |   | at 
org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
  |   | at $Proxy9.deploy(Unknown Source)
  |   | at 
org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:319)
  |   | at 
org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:507)
  |   | at 
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:192)
  |   | at 
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:203)
  |   | at 
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:182)
  |   | 
  | 
  | I have also tried getting the war file by ANT scripts and putting that into 
deploy folder. I get some more exceptions for that
  | 
  | 
  | anonymous wrote : 
  |   | java.io.EOFException: Unexpected end of ZLIB input stream
  |   | org.jboss.deployment.DeploymentException: Unexpected end of ZLIB input 
stream; - nested throwable: (java.io.EOFException: Unexpected end of ZLIB input 
stream)
  |   | Caused by: java.io.EOFException: Unexpected end of ZLIB input stream
  |   | 
  | 
  | Kindly help me to get rid of this issue. 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171661#4171661

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171661
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: JBoss as Windows service - stopping the service powers d

2008-08-20 Thread jonathanztaub
Sorry for the late response, as I was super busy with lots of stuff.
Here is more information:

run.log:

  | 19:56:24,343 WARN  [JmsActivation] Failure in jms activation [EMAIL 
PROTECTED]([EMAIL PROTECTED] destination=queue/ServiceRequest isTopic=false 
tx=true durable=false reconnect=10 provider=java:/DefaultJMSProvider user=null 
maxMessages=1 minSession=1 maxSession=15 keepAlive=6 useDLQ=true 
DLQHandler=org.jboss.resource.adapter.jms.inflow.dlq.GenericDLQHandler 
DLQJndiName=queue/DLQ DLQUser=null DLQMaxResent=5)
  | org.jboss.mq.SpyJMSException: Asynchronous close from server.; - nested 
throwable: (java.io.IOException: Close request from the server or transport 
layer.)
  | 

shutdown.log:

  | Shutting down JBoss Application Server 4.2.3 [2008-08-12 22:26:04]
  | A system shutdown is in progress.(1115)
  | Shutdown JBoss Application Server 4.2.3 service [2008-08-12 22:26:04]
  | 

sc qc jboss:

  | SERVICE_NAME: jboss
  | TYPE   : 110  WIN32_OWN_PROCESS (interactive)
  | START_TYPE : 2   AUTO_START
  | ERROR_CONTROL  : 1   NORMAL
  | BINARY_PATH_NAME   : "C:\Program 
Files\jboss-4.2.3.GA\jboss-native-2.0.4-windows-x86-ssl\bin\jbosssvc.exe" -r 
JBOSS
  | LOAD_ORDER_GROUP   :
  | TAG: 0
  | DISPLAY_NAME   : JBoss Application Server 4.2.3
  | DEPENDENCIES   : Tcpip
  |: Afd
  | SERVICE_START_NAME : LocalSystem
  | 

For the time being, I'm stopping JBoss using the shutdown.bat, in order to 
avoid machine shutdown. I observed this behavior on a dev box I have at work as 
well.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171667#4171667

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171667
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JCA/JBoss] - Re: JCA File stream writer

2008-08-20 Thread vickyk
"sfisque" wrote : 
  | if there are any good links/books that offer some hand holding WRT to 
writing a JCA adapter i would be most appreciative.
  | == stanton
  | 
Just check this 
http://docs.jboss.org/jbossas/jboss4guide/r5/html/
Check the sample RA over there which is basically playing the file system, it 
will be helpful to you.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171666#4171666

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171666
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB/JBoss] - Issues in deploying ear

2008-08-20 Thread kieth_jane
Hi,

i am deploying an ear application jboss 5.0.0 CR1 and i am getting some 
errors.i deployed the same application jboss 4.3 and it was deployed 
successfully.i dont where thr problem is,the below is the errors.

10:43:58,304 ERROR [AbstractKernelController] Error installing to Real: name=vfs
file:/D:/jboss-5.0.0.CR1/jboss-5.0.0.CR1/server/default/deploy/USAPatient.ear/ s
tate=PreReal mode=Manual requiredState=Real
org.jboss.deployers.spi.DeploymentException: Error during deploy: vfszip:/D:/jbo
ss-5.0.0.CR1/jboss-5.0.0.CR1/server/default/deploy/USAPatient.ear/USAPatient-ejb
.jar
at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentExcept
ion(DeploymentException.java:49)
at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(Deployer
Wrapper.java:180)
at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFi
rst(DeployersImpl.java:970)
at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFi
rst(DeployersImpl.java:1023)
at org.jboss.deployers.plugins.deployers.DeployersImpl.install(Deployers
Impl.java:911)
at org.jboss.dependency.plugins.AbstractControllerContext.install(Abstra
ctControllerContext.java:348)
at org.jboss.dependency.plugins.AbstractController.install(AbstractContr
oller.java:1392)
at org.jboss.dependency.plugins.AbstractController.incrementState(Abstra
ctController.java:784)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(Abstr
actController.java:912)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(Abstr
actController.java:834)
at org.jboss.dependency.plugins.AbstractController.change(AbstractContro
ller.java:672)
at org.jboss.dependency.plugins.AbstractController.change(AbstractContro
ller.java:455)
at org.jboss.deployers.plugins.deployers.DeployersImpl.process(Deployers
Impl.java:594)
at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeploye
rImpl.java:541)
at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadPr
ofile(ProfileServiceBootstrap.java:257)
at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(
ProfileServiceBootstrap.java:135)
at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:
409)
at org.jboss.Main.boot(Main.java:209)
at org.jboss.Main$1.run(Main.java:544)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.NullPointerException
at org.jboss.wsf.common.KernelAwareSPIFactory.getKernelProvidedSPI(Kerne
lAwareSPIFactory.java:40)
at org.jboss.wsf.framework.DefaultWSFRuntimeLocator.locateRuntime(Defaul
tWSFRuntimeLocator.java:36)
at org.jboss.wsf.container.jboss50.deployer.AbstractDeployerHook.getWsfR
untime(AbstractDeployerHook.java:59)
at org.jboss.wsf.container.jboss50.deployer.ArchiveDeployerHook.deploy(A
rchiveDeployerHook.java:86)
at org.jboss.wsf.container.jboss50.deployer.AbstractDeployerHookEJB.depl
oy(AbstractDeployerHookEJB.java:43)
at org.jboss.wsf.container.jboss50.deployer.AbstractWebServiceDeployer.i
nternalDeploy(AbstractWebServiceDeployer.java:62)
at org.jboss.wsf.container.jboss50.deployer.WebServiceDeployerEJB.intern
alDeploy(WebServiceDeployerEJB.java:95)
at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(
AbstractRealDeployer.java:50)
at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(Deployer
Wrapper.java:174)
... 18 more
*** CONTEXTS IN ERROR: Name -> Error

vfsfile:/D:/jboss-5.0.0.CR1/jboss-5.0.0.CR1/server/default/deploy/USAPatient.ear
/ -> java.lang.NullPointerException

Thanks




View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171665#4171665

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171665
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: Is the destination for DLQ mandatory?

2008-08-20 Thread ckaushalya
Thank you for your response Peter!

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171655#4171655

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171655
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: Using Connection Pool in EJB 3.0

2008-08-20 Thread mabimal
Thank you PeterJ

I will try to continue with that. 

Thank you
Mabimal

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171658#4171658

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171658
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: deleted entity passed to persist exception ???

2008-08-20 Thread nonreva
With Jboss 4.2.2GA I am experiencing a similar problem.

The gist of it is (within a single container managed transaction):
1. I remove an item from this collection...

  | @OneToMany(mappedBy = "ivrAccount", cascade = CascadeType.ALL)
  | public Collection linkedAccounts = new 
HashSet();
2. I perform a query on another bean...


  | try {
  | System.out.println(" 1 **");
  | String number = accountReference.getNumber();
  | System.out.println(" 2 ** " + 
number);
  | 
  | Query q= em.createNamedQuery(
  | BankAccountReference.FIND_BY_ACCOUNT_NUMBER_QUERY)
  | .setParameter("number", number);
  | System.out.println(" 3a **");
  | Object o = q.getSingleResult();
  | System.out.println(" 3b **");
  | linkedAccount.accountReference = (BankAccountReference) o;
  | System.out.println(" 3c **");
  | 
  | } catch (NoResultException ex) {
  | System.out.println(" 4 **");
  | linkedAccount.accountReference = BankAccountReferenceHelper
  | .createBankAccountReference(em, accountReference);
  | } catch (EntityNotFoundException ex) {
  | System.out.println(" X  **");
  | throw ex;
  | }
  | 
This results in an EntityNotFoundException...

  | 14:29:51,593 ERROR [STDERR] Caused by: 
javax.persistence.EntityNotFoundException: deleted entity passed to persist: 
[ae.
  | hilal.j2ee.entity.account.LinkedAccountBean#]
  | 14:29:51,593 ERROR [STDERR] at 
org.hibernate.ejb.AbstractEntityManagerImpl.throwPersistenceException(AbstractEntityM
  | anagerImpl.java:613)
  | 14:29:51,593 ERROR [STDERR] at 
org.hibernate.ejb.QueryImpl.getSingleResult(QueryImpl.java:99)
  | 14:29:51,593 ERROR [STDERR] at 
ae.hilal.j2ee.session.helper.LinkedAccountHelper.update(LinkedAccountHelper.java:40)
  | 14:29:51,593 ERROR [STDERR] at 
ae.hilal.j2ee.session.helper.LinkedAccountHelper.createLinkedAccount(LinkedAccountHel
  | per.java:123)
  | 
This can be seenn from the following output:
16:40:02,156 INFO  [STDOUT]  1 **
  | 16:40:02,156 INFO  [STDOUT]  2 ** 44
  | 16:40:02,156 INFO  [STDOUT]  3a **
  | 16:40:02,156 INFO  [STDOUT]  X  **

this appears to me to be the cause of a 
anonymous wrote : 14:29:51,593 ERROR [STDERR] 
javax.ejb.EJBTransactionRolledbackException: deleted entity passed to persist: 
[ae.hilal.j2e
  | e.entity.account.LinkedAccountBean#]
  | 14:29:51,593 ERROR [STDERR] at 
org.jboss.ejb3.tx.Ejb3TxPolicy.handleInCallerTx(Ejb3TxPolicy.java:87)
  | ...

What is ironic about this is that if I do the remove after the query it 
works... i.e. I collect up the objects that need to be removed and I remove 
them after I have done additions and updates to the collection.

Whilst this workaround appears to solve the problem in this particular 
instance, there is only an indirect relationship between the object deleted and 
the query. Furthuermore I am not convinced that if further queries were to 
follow the delete (untested scenarios) that these might also lead to problemd.

The EJB persistence specification (A.4) says that 
anonymous wrote : Replaced EntityNotFoundException with NoResultException in
  | entities might be returned, and exception should be recoverable., so I am 
also wondering why such an exception is still being propagated from a query (if 
my understanding of the stack trace is correct)

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171657#4171657

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171657
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Managing over 10 nodes in a Load balanced Farm

2008-08-20 Thread kjacobsz
Hi,

I was wondering if there was any tools out there that
can manage a load-balancing farm of over 10 Jboss instances?

I am looking for a tool to provide some or all the following functions

1) install each JBoss instance
2)configure the instances
3)configure the load balancer (Apache mod_proxy)
4)each instance is located on separate systems.

Sincerely


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171656#4171656

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171656
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: workaround for StackOverflow exception

2008-08-20 Thread [EMAIL PROTECTED]
JBSEAM-1575 depends on JBPM-1135 which is already resolved. That said, I have 
two suggestions. 

The first is to replace the timer with an asynchronous continuation, unless you 
need the delay (which I understand you do not). Just set the node's async 
attribute to true. It does not need to be a separate emtpy state, you can 
decorate any of your existing nodes with that attribute.

The second is to implement a ThreadLocal based solution which prevents 
recursive calls once the loop node is reached. I came to it for preventing the 
stack overflow in the BPEL while activity, but it can be implemented for jPDL 
as well. You can browse the code in the online repository. Look at 
Loop.execute(). It is much of a hack - you might want to stick to asynchronous 
continuations unless you need more performance.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171652#4171652

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171652
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Security & JAAS/JBoss] - Re: AbstractServerLogin module.logout and cached principals

2008-08-20 Thread ragavgomatam
Yes possible this way too. Though it has nothing to do with the LoginModule. 
You will have to invoke the Jboss JaasSecurityManager with JMX.This way you can 
bypass HttpSession invalidation to clear the security cache .

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171650#4171650

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171650
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Security & JAAS/JBoss] - Re: AbstractServerLogin module.logout and cached principals

2008-08-20 Thread maggu
ragavgomatam, if I do programatic flushing via JMX in my custom login module, 
wouldn't that be equivalent? do you see any dis advantage of doing this? 
I am looking at these options because I wanted to remove the subject from the 
cache only based on some condition and not everytime the user closes the 
browser. 
let me know your thoughts

http://wiki.jboss.org/wiki/CachingLoginCredentials

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171649#4171649

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171649
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Security & JAAS/JBoss] - Re: some questions on authentication

2008-08-20 Thread ragavgomatam
Check out the sticky anonymous wrote :  JAAS Howto:README FIRST  in this forum

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171648#4171648

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171648
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: servlet: how to spawn all processors

2008-08-20 Thread PeterJ
The best way to run on more that 4 CPUs is to run multiple instances of the app 
server, affinitizing each to its own set of CPUs.

See my LinuxWorld presentation at 
http://www.linuxworld.com/events/2007/slideshows/A2-johnson.pdf. It is somewhat 
dated, but does cover affinity management.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171645#4171645

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171645
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: servlet: how to spawn all processors

2008-08-20 Thread [EMAIL PROTECTED]
"PeterJ" wrote : Running your web app across 16 CPUs is not a good idea. Due to 
CPU cache issues, contention among threads, and various other issues it is 
usually better to run such apps while affinitized to 2, 3 or 4 CPUs (depening 
on your app). At least that is what we have found in our testing.
  | 
  | In Linux, you can use the taskset utility to set affinity. I suggest adding 
this to the script that starts jbossas.

Thanks lots for the info, Peter.

I did try the affinity setting (to 4 cpus for the app), but only 1-2 cpu busy. 
I guessed b/c all threads running in the same process from the main servlet.

As the app is big one, and it's required to put it in 16-32 cpus machine. I'm 
still thinking how to make use of 4/8 cpus.

--
John

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171644#4171644

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171644
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Human Task Example

2008-08-20 Thread [EMAIL PROTECTED]
jBPM BPEL 1.x and jBPM jPDL 3.x are built on a common process object model 
which is also part of jbpm-jpdl.jar.

jPDL 4 and Nova Orchestra are built on the PVM, which is now separate from the 
jPDL 4 classes.

Indeed, at some point jBPM BPEL users will have the option to migrate to 
Orchestra just like jPDL 3 users will be able to transition to jPDL 4. For BPEL 
users the migration path should be easier because WS-BPEL is a fixed standard.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171643#4171643

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171643
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss/Spring Integration] - Re: how to preInstantiateSingletons in spring-deployer 2.0

2008-08-20 Thread kevinpauli
Thank you!  I had copy/pasted this from some tutorial a long time ago...





And didn't realize there was even such thing as a 
SpringApplicationContextDeployer.  Switching it to that solved my problem.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171641#4171641

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171641
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: error deploying simple session bean

2008-08-20 Thread mpurdy1973
thanx!  i changed the class and interface names; i cant believe i didnt spot 
that.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171639#4171639

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171639
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Security & JAAS/JBoss] - Re: some questions on authentication

2008-08-20 Thread maggu
Thanks ragavgomatam. That helps a lot.
Do you know of any resources/examples for the SWING authentication?


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171632#4171632

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171632
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Security & JAAS/JBoss] - Re: JavaServer Faces and container-managed authorization not

2008-08-20 Thread ragavgomatam
HI,

So you are saying jsp version works ???
anonymous wrote : When I enter the myHome.faces URL, it displays this page, I 
enter the username and password, and it goes to the myHome.xhtml page as it 
should, so everything works properly. This is the same behavior I get when I 
use BASIC authentication as opposed to FORM

In your jsf version, where is the j_security_check ? That indicates to the 
container to do the JAAS login ? PLus earlier you had done the JAAS login 
within your managed bean . I am posting that code again
anonymous wrote : LoginContext loginContext = new 
LoginContext(LOGIN_APP_POLICY, this);
  |   loginContext.login();
This is wrong. Container does the login . Not you. Plus after successful login, 
test it with 
anonymous wrote : Principal p = request.getPrincipal()
and anonymous wrote : boolean isInRole = 
request.isUserInRole(DataConstants.COMMUNITY_USER);

Both should return NON-NULLS.

My hunch is that there is an error in your jsf. Remember, j_security_check 
indicates to the Container to do a JAAS login, even before, the request is 
routed to your application's controller or welcome page or servlet. 





View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171629#4171629

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171629
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Security & JAAS/JBoss] - Re: JavaServer Faces and container-managed authorization not

2008-08-20 Thread poesys
BTW, thanks for your help--I really appreciate it very much!

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171628#4171628

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171628
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Security & JAAS/JBoss] - Re: JavaServer Faces and container-managed authorization not

2008-08-20 Thread poesys
Here is the plain jsp login page:

  | http://www.w3.org/TR/html4/loose.dtd";>
  | 
  | <%@ page errorPage="/jsp/common/gen_error.jsp" %>
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | Username: 
  | Password: 
  | 
  | 
  | 
  | 
When I enter the myHome.faces URL, it displays this page, I enter the username 
and password, and it goes to the myHome.xhtml page as it should, so everything 
works properly. This is the same behavior I get when I use BASIC authentication 
as opposed to FORM. I verified that the login module being used is the 
DatabaseServerLoginModule (debugged into it and saw the principals being built).

So the only difference here is the plain jsp versus the Faces xhtml. Here's the 
code for that:

  | http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
  | 
  | http://www.w3.org/1999/xhtml";
  | xmlns:ui="http://java.sun.com/jsf/facelets";
  | xmlns:h="http://java.sun.com/jsf/html";
  | xmlns:f="http://java.sun.com/jsf/core"; xml:lang="en" lang="en">
  | 
  | 
  | 
  | TAIR - Login Page
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | User name:
  | 
  | Password:
  | 
  | 
  | 
  | 
  | 
  | If you forgot your username or 
password,
  | 
  | 
  | 
  | If your personal profile does 
not exist in our database,
  | 
  | as a new Tair user.
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
Obviously this doesn't authenticate to the container unless the code posted 
earlier for the login method in the managed bean does that under the covers 
when it calls loginContext.login(). 

I think I can live with a Facelets version of the login form using the Tomcat 
authentication protocol (I'll build that and test it now), but do you have any 
idea why the standard LoginContext code doesn't work here? This stuff is 
straight out of the examples and documentation. Is there some other call I need 
to make to tell the container about the login context subject?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171627#4171627

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171627
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - FK - with Composite Key

2008-08-20 Thread avihaimar
Hey,

I have a composite key to user table.

so i have class for the composite-id - UserID (first,second)

I have class XXX like this:
1- the same pk like user
2- many to one to user.

in the many-to-one to the user i use in joincolumns like this:
@JoinColumns( { @JoinColumn(name = "first",referencedColumnName="first", 
@JoinColumn(name = "second",referencedColumnName="second") })

i get an exception:
repeated column for column- first
The same clumns are the PK and FK.

Can you please advice. 

@Entity
  | public class Animal {   
  | @EmbeddedId PK pk = new PK();   
  | @ManyToOne  
  | @JoinColumns( { @JoinColumn(name = "first",referencedColumnName="first"), 
@JoinColumn(name = "second",referencedColumnName="second") })
  | Owner owner;
  | } 
  | 
  | @Entity
  | public class Owner {
  | @EmbeddedId PK pk = new PK(); 
  | } 
  | 
  | public class PK implements Serializable{
  | public String first;
  | public String second;
  | }

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171625#4171625

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171625
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Merge deached collection

2008-08-20 Thread avihaimar
Hey,

I have class A, which contain collection of B (cascade=all)

in detach mode i remove elmement from the collection and then call to
entitymanager.merge(a)

The element is not removed.

I think there is a JIRA about it, but it was supposed to be fixed.

Thank you 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171624#4171624

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171624
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Performance Tuning] - Re: ThreadDump to a File

2008-08-20 Thread aberryjr
if you want to do it on command you can use jstack (pid) > threadDump.out

Alex.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171623#4171623

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171623
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss/Spring Integration] - Re: how to preInstantiateSingletons in spring-deployer 2.0

2008-08-20 Thread alesj
I would need to check (for 2.0),
but I think I use application context by default
and you can change configuration to use just bean factory.

At least that's how the last few versions are configured.
See jboss-service.xml for 2.x or spring-deployers-jboss-beans.xml for 3.x.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171619#4171619

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171619
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Can't remote to Jboss, -b 0.0.0.0 not working

2008-08-20 Thread PeterJ
Exactly what tool are you using to run JBossAS as a service (I do not recognize 
"Wrapper" as a specific tool - almost all of them have the words Wrapper or 
Service in them). Each tool uses different mechanisms to configure the service 
and how it launches the app server so how to apply the -b option depends on the 
tool.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171616#4171616

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171616
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Can't remote to Jboss, -b 0.0.0.0 not working

2008-08-20 Thread Bombarta
I just finished a JBoss installation today.  Took it a step further and set it 
up as a windows service with Wrapper (fantastic tool).  I was able to use 
localhost:8080 and 127.0.0.1:8080 on my host PC and it worked perfectly.

I tried on another PC on my network with the IP address of my host+port number 
and its giving me a "Internet Explorer cannot display the webpage"
error.

After reading up on security prevention in the installation and configuration 
guides, I came across the -b 0.0.0.0 parameter that you can add to the run.bat 
script.  I've added it after org.jboss.Main in the executable line at the 
bottom of run.bat.   I restarted my JBoss service and tried to remote again, 
and it gave the same message about not displaying the page.

What else do I need to do?  On a similar J2EE with Glassfish, I can remote just 
fine.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171615#4171615

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171615
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Problem in deploying web modules

2008-08-20 Thread Bombarta
Necro'd this thread, gg

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171614#4171614

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171614
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: JBoss not recognizing deployments from Maven

2008-08-20 Thread HappySpaceInvader
Ah... forget it... you know what I failed to do... read the full description of 
the  plugin goal, which starts "Maven plugin for deploying to jboss 
repository." 

So it's not for deploying packages to JBoss at all.  How embarassing.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171612#4171612

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171612
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Security & JAAS/JBoss] - BaseCertLoginModule (and CertRolesLoginModule) implementatio

2008-08-20 Thread kosulin
The problem is in how it looks for certificates (the alias must match the 
subject). In production we can have 2 valid client certificates with identical 
"CU...C" sequence just because the first one is going to expire soon (but is 
still valid), and the client have sent us a new one which is supposed to 
replace the old one gracefully. The only way to do this with current JBoss 
implementation is to delete the old certificate and import the new one, but 
this requires synchronization with client side which is impossible in real life 
(not mentioning we use a load balanced cluster which we usually restart 
sequentially, not concurrently, to achieve 100% availability). Therefore we 
need a grace period when the server should accept and authenticate both 
certificates. The easy way would be to rewrite implementation to search for 
proper certificate in all aliases which might be slower a bit, but much more 
easy to handle 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171613#4171613

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171613
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Problem in deploying web modules

2008-08-20 Thread rad831
I too got same problem please let me know how you solved the problem

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171611#4171611

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171611
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


Re: [jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: servlet: how to spawn all processors

2008-08-20 Thread Kees Jan Koster

Dear Peter,

Running your web app across 16 CPUs is not a good idea. Due to CPU  
cache issues, contention among threads, and various other issues it  
is usually better to run such apps while affinitized to 2, 3 or 4  
CPUs (depening on your app). At least that is what we have found in  
our testing.


In Linux, you can use the taskset utility to set affinity. I suggest  
adding this to the script that starts jbossas.



Have you published any of your test results? I'll be looking to  
purchase a new machine later this year. ;-)


--
Kees Jan

http://java-monitor.com/forum/
[EMAIL PROTECTED]
06-51838192

The secret of success lies in the stability of the goal. -- Benjamin  
Disraeli


___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Security & JAAS/JBoss] - Re: JavaServer Faces and container-managed authorization not

2008-08-20 Thread ragavgomatam
Can you do a quick test ? Can you replace your jsf with plain jsp ? Also can 
you post your jsp/html code of the login page ? 

Does it have 
anonymous wrote : form action="j_security_check"
and 
anonymous wrote : j_username and j_password

 I presume it does & If it does, then WebContainer does the authentication & 
all this code below 

anonymous wrote : LoginContext loginContext = new 
LoginContext(LOGIN_APP_POLICY, this);
  |   loginContext.login();
  |   // If there is no exception, login succeeded.
  |   returnString = SUCCESS;
  |   // Remove the password from memory and Faces display.
  |   password = null;
  |   // Put the loginContext object into the user's session.
  |   request.getSession().setAttribute(LOGIN_CONTEXT_ATTR, loginContext);
  | 

is not neccessary. 
So lets try to replace jsf with a plain jsp.  If that works, we have isolated 
the problem to jsf managed bean.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171609#4171609

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171609
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Cache: Core Edition] - ClassNotFoundException during deserialisation

2008-08-20 Thread mbrade
Hello

I want to use JBoss Cache to store the result of different method calls (The 
objects are all serializable). The results and the method-data (method-name, 
class-name, parameters) are stored in a database.

I created some test classes with test methods which return different objects. 
The storage in the memory cache works fine.

When I activate the jdbc config it writes the method data into the database. 
But when I try to write the result into the same node but under a different 
key. I get the following Exception:

anonymous wrote : 
  | org.jboss.cache.CacheException: java.lang.Exception: Unable to load to 
deserialize result: 
  | at 
org.jboss.cache.interceptors.InterceptorChain.invoke(InterceptorChain.java:227)
  | at 
org.jboss.cache.invocation.CacheInvocationDelegate.getNode(CacheInvocationDelegate.java:420)
  | at 
org.jboss.cache.invocation.CacheInvocationDelegate.getNode(CacheInvocationDelegate.java:61)
  | at 
de.arvatomobile.bdev.cache.methodresultcacher.MethodResultCacheManager.executeMethod(MethodResultCacheManager.java:104)
  | at 
de.arvatomobile.bdev.cache.methodresultcacher.TestLock.main(TestLock.java:60)
  | Caused by: java.lang.Exception: Unable to load to deserialize result: 
  | at 
org.jboss.cache.loader.AdjListJDBCCacheLoader.loadNode(AdjListJDBCCacheLoader.java:378)
  | at 
org.jboss.cache.loader.AdjListJDBCCacheLoader.exists(AdjListJDBCCacheLoader.java:292)
  | at 
org.jboss.cache.interceptors.CacheLoaderInterceptor.loadIfNeeded(CacheLoaderInterceptor.java:296)
  | at 
org.jboss.cache.interceptors.CacheLoaderInterceptor.visitGetNodeCommand(CacheLoaderInterceptor.java:147)
  | at 
org.jboss.cache.commands.read.GetNodeCommand.acceptVisitor(GetNodeCommand.java:42)
  | at 
org.jboss.cache.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:142)
  | at 
org.jboss.cache.interceptors.PessimisticLockInterceptor.handleGetNodeCommand(PessimisticLockInterceptor.java:317)
  | at 
org.jboss.cache.interceptors.base.PostProcessingCommandInterceptor.visitGetNodeCommand(PostProcessingCommandInterceptor.java:257)
  | at 
org.jboss.cache.commands.read.GetNodeCommand.acceptVisitor(GetNodeCommand.java:42)
  | at 
org.jboss.cache.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:142)
  | at 
org.jboss.cache.interceptors.base.CommandInterceptor.handleDefault(CommandInterceptor.java:157)
  | at 
org.jboss.cache.commands.AbstractVisitor.visitGetNodeCommand(AbstractVisitor.java:94)
  | at 
org.jboss.cache.commands.read.GetNodeCommand.acceptVisitor(GetNodeCommand.java:42)
  | at 
org.jboss.cache.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:142)
  | at 
org.jboss.cache.interceptors.MarshalledValueInterceptor.visitGetNodeCommand(MarshalledValueInterceptor.java:93)
  | at 
org.jboss.cache.commands.read.GetNodeCommand.acceptVisitor(GetNodeCommand.java:42)
  | at 
org.jboss.cache.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:142)
  | at 
org.jboss.cache.interceptors.TxInterceptor.attachGtxAndPassUpChain(TxInterceptor.java:266)
  | at 
org.jboss.cache.interceptors.TxInterceptor.handleDefault(TxInterceptor.java:253)
  | at 
org.jboss.cache.commands.AbstractVisitor.visitGetNodeCommand(AbstractVisitor.java:94)
  | at 
org.jboss.cache.commands.read.GetNodeCommand.acceptVisitor(GetNodeCommand.java:42)
  | at 
org.jboss.cache.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:142)
  | at 
org.jboss.cache.interceptors.base.CommandInterceptor.handleDefault(CommandInterceptor.java:157)
  | at 
org.jboss.cache.commands.AbstractVisitor.visitGetNodeCommand(AbstractVisitor.java:94)
  | at 
org.jboss.cache.commands.read.GetNodeCommand.acceptVisitor(GetNodeCommand.java:42)
  | at 
org.jboss.cache.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:142)
  | at 
org.jboss.cache.interceptors.InvocationContextInterceptor.handleAll(InvocationContextInterceptor.java:155)
  | at 
org.jboss.cache.interceptors.InvocationContextInterceptor.handleDefault(InvocationContextInterceptor.java:108)
  | at 
org.jboss.cache.commands.AbstractVisitor.visitGetNodeCommand(AbstractVisitor.java:94)
  | at 
org.jboss.cache.commands.read.GetNodeCommand.acceptVisitor(GetNodeCommand.java:42)
  | at 
org.jboss.cache.interceptors.InterceptorChain.invoke(InterceptorChain.java:215)
  | ... 4 more
  | Caused by: java.lang.ClassNotFoundException: int
  | at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
  | at java.security.AccessController.doPrivileged(Native Method)
  | at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
  | at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
  | at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
  | at java.lang.Cl

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: JBoss not recognizing deployments from Maven

2008-08-20 Thread HappySpaceInvader
"PeterJ" wrote : The issue is the name of the directory 1.0-SNAPSHOT. Note the 
extension - ".0-SNAPSHOT" There is no deployer for that extension. Only if the 
directory name has no extension will it be ignored (by the deployer). Well, not 
really ignored - the main deployed will scanning the directory looking for 
things to deploy.

Ah, I see.  Then this is surely something of a design flaw in the jboss/maven 
deployment plugin, whose default behaviours is to name the directory after the 
version number?  In fact, I'm not even sure if there's a way to override this, 
but I will endeavour to find out. I'm already setting "removeArtifactVersion" 
to true, but this seems only to remove the version number for the JAR file, not 
the directory path.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171606#4171606

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171606
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss/Spring Integration] - how to preInstantiateSingletons in spring-deployer 2.0

2008-08-20 Thread kevinpauli
I'm using spring-deployer 2.0.  My understanding is that since it uses a bean 
factory rather than an application context, singletons are not preInstantiated. 
 Is there any way I can make preInstantiation happen?

Thanks

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171605#4171605

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171605
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Inheriting from ProcessDefinition

2008-08-20 Thread pjacobsen
To add some additional fields to my process definitions, I've subclassed the 
jBPM ProcessDefinition object with my own.


  | 
  | 

However, I'm unsure of what would be the best way to create a my new process 
definition subclass.  The archive parsers and process definiton itself all seem 
to use the static function on the ProcessDefintion: 
ProcessDefinition.createNewProcessDefinition(); which doesn't allow me to 
create my subclass while reusing the code to wire up the default module and 
such.

Has anyone done this in a manner that wouldn't be likely to break on new 
releases of jBPM (i.e. I don't think it's a good idea to make my own function 
to create a definition or attempt to clone my subclass from the 
ProcessDefinition) as it would seem somewhat brittle should modules go away... 
or something else be added.

Thanks!
Paul

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171604#4171604

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171604
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: mod_jk in Jboss

2008-08-20 Thread Metal Jboss
Never Mind I just found out, thanks for watching :D

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171601#4171601

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171601
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


Re: [jboss-user] [Performance Tuning] - ThreadDump to a File

2008-08-20 Thread Kees Jan Koster

Dear Srinivas,

We are using Jboss4.0.5 Version on the solaris. I want to redirect  
the Threaddump details to a file. we are running the Jboss server in  
the silent mode.


You could maybe hook up jconsole and browse the threads live. This  
requires Java 1.5 or newer.


--
Kees Jan

http://java-monitor.com/forum/
[EMAIL PROTECTED]
06-51838192

Rule 1 for being in a hole: stop digging.

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


Re: [jboss-user] [Tomcat, HTTPD, Servlets & JSP] - servlet: how to spawn all processors

2008-08-20 Thread Kees Jan Koster

Dear John,

I have an complex web app talking to other apps in other machines;  
running this web app in 2 cpus linux, every thing is normal, but  
running in 16 cpus with 8g system, it responds very slowly and only  
1-2 cpus is busy (over 50% usages).


There is a fair chance that your application is not as thread-able as  
you think it is. Do you do any manual synchronisation, or do you make  
heavy use of libraries that do internal synchronisation?


Use JConsole to check that you are not exhausting the Tomcat connector  
thread pools.


Also, check that you are running with the server VM. 
http://www.java-monitor.com/forum/showthread.php?t=18

The controller  servlet is like regular one, multi-threaded. I'm  
wondering if there is any thing I can do to have all cpus work for  
these threads created by the servlet.


Thanks lost in advance


'lost'? I'm not sure what to think of that. :-)
--
Kees Jan

http://java-monitor.com/forum/
[EMAIL PROTECTED]
06-51838192

Human beings make life so interesting. Do you know that in a universe  
so full of wonders,
they have managed to invent boredom. Quite astonishing... -- Terry  
Partchett


___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - Re: JavaMail JNDI Problem

2008-08-20 Thread wcydaip
Well a little more snooping payed off

I noticed on startup the jmx console deployment was throwing an error about 
finding my entry into the jboss-web.xml and not finding it in the web.xml.  So 
that got me thinking that perhaps this war file needs a jboss-web.xml and 
indeed it did.


  | WEB-INF
  |   |- web.xml
  |   |- jboss-web.xml
  | 

Both contain:

  | 
  | java:NetaMail
  | javax.mail.Session
  | java:/NetaMail
  | Container
  |   
  | 

And alls well that ends well...

Thanks

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171599#4171599

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171599
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Security & JAAS/JBoss] - Re: JavaServer Faces and container-managed authorization not

2008-08-20 Thread poesys
Some additional information. Here is the code from the managed bean action 
method that the Login button calls that creates the LoginContext. I've added 
debugging code to retrieve the subject from the authentication cache (at least 
I hope that's what PolicyContext does) and display everything, then I do an 
isUserInRole call on the role:

  |   LoginContext loginContext = new LoginContext(LOGIN_APP_POLICY, this);
  |   loginContext.login();
  |   // If there is no exception, login succeeded.
  |   returnString = SUCCESS;
  |   // Remove the password from memory and Faces display.
  |   password = null;
  |   // Put the loginContext object into the user's session.
  |   request.getSession().setAttribute(LOGIN_CONTEXT_ATTR, loginContext);
  |   // TODO debugging code -- get subject from cache?
  |   //Subject subject = loginContext.getSubject();
  |   Subject subject = (Subject) 
PolicyContext.getContext("javax.security.auth.Subject.container");
  | 
  |   Set principals = subject.getPrincipals();
  |   for (Principal p : principals) {
  | System.out.println("Principal " + p.getName());
  | if (p.getName().equalsIgnoreCase("Roles")) {
  |   Group g = (Group)p;
  |   Enumeration roles = g.members();
  |   while (roles.hasMoreElements()) {
  | Principal role = roles.nextElement();
  | System.out.println("Role " + role.getName());
  | 
  |   }
  | }
  |   }
  |   boolean isInRole = request.isUserInRole(DataConstants.COMMUNITY_USER);
  |   if (isInRole) {
  | System.out.println("User is in role " + 
DataConstants.COMMUNITY_USER);
  |   } else {
  | System.out.println("User is not in role "
  |+ DataConstants.COMMUNITY_USER);
  |   }
  | 
The output from this follows:

  | 11:08:47,790 INFO  [STDOUT] Principal techteam
  | 11:08:47,791 INFO  [STDOUT] Principal Roles
  | 11:08:47,791 INFO  [STDOUT] Role tair_curator
  | 11:08:47,791 INFO  [STDOUT] Role community_user
  | 11:08:47,791 INFO  [STDOUT] User is not in role community_user
  | 
If I'm interpreting this correctly, the cached Subject has the correct role in 
the Roles group but the isUserInRole() method is not finding it. It may be that 
the HttpRequest here is outdated, but shouldn't that method go to the cache? 
What am I not understanding?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171598#4171598

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171598
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - Re: Errors after run

2008-08-20 Thread PeterJ
Based on the missing classes, I would guess that your installation is 
corrupted. Try downloading and installing again.

Other thought - you are using a 1.5 JDK right? If not, try using 1.5.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171597#4171597

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171597
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Management, JMX/JBoss] - Re: JBOss start up class issue

2008-08-20 Thread PeterJ
Try this. Place your mbean classes into the ear file (into an existing jar file 
or into a new jar file - don't forget to add it to the application.xml). Put 
your mbean description into a separate *-service.xml file and place it in the 
ear file also. Then add a META-INF/jboss-app.xml file with this entry:


  |  
  |   xxx-service.xml
  |  
  | 


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171594#4171594

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171594
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: Portal 2.7.0 beta jsr 286 An error occured when an event

2008-08-20 Thread [EMAIL PROTECTED]
If the portlet is simple enough can you send it to me by email ?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171592#4171592

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171592
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: Localization

2008-08-20 Thread [EMAIL PROTECTED]
Sure this would be possible, but it has the drawback of adding dependencies 
between modules. (You should be able to build core-admin without any other 
sources (only binaries) for example)

I'm more in favor of having all localization in property files (instead of in 
the descriptors which is an option provided by the portlet spec) and use the 
same filename for all modules (so a simple find on "Resource.properties" will 
easily let you find the property file). Basically, i just want to do some 
cleanup, i started already, i need more. 



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171590#4171590

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171590
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: mod_jk in Jboss

2008-08-20 Thread Metal Jboss
Hey I guessed I understood something about mod_jk, this has to be in Apache, 
and Apache will forward the requests to the JBOSS/Tomcat server ok I got that, 
but there is somethin I found about the downloading of the connectors

Section of the Configuration 

Step #2: Download mod_jk 1.2.x
Download the latest package available from Tomcats's 'Download Tomcat connector 
section' page . Always download the latest stable release if possible.
Rename the lib mod_jk.so and drop it in APACHE_HOME/modules directory.

In this url: http://tomcat.apache.org/download-connectors.cgi I downloaded the 
1.2.26 of the tomcat connectors, inside this zip file there is the folder 
apache2-0 I found two mod_jk files , the mod_jk.c and mod_jk.dsp, accordin to 
the instruction I must rename the lib mod_jk.so, and drop it to the Apache 
Modules , but which one o which of them I have to move in order to this works?? 
I hope I am cleared with my question and thanks by the way

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171587#4171587

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171587
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Cache: Core Edition] - Re: Has anyone used JBC 2.x series with JBossAS 4.2.x series

2008-08-20 Thread derrickhackman
Manik, the news on backward compatibility is outstanding... I not tossing 
anyone under the bus regarding my 'cowboy' statement however I have been bitten 
by this myself and have been called a 'cowboy' and felt I needed to pass along 
the 'compliment' :-)

I will join the list and see if I can get some time in there to help.
Best
-derrick

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171586#4171586

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171586
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - JavaMail JNDI Problem

2008-08-20 Thread wcydaip
I am trying to setup the example jar from javamail1.4 within JBoss, but, I keep 
having problems linking my war to the appropriate JNDI value or setting the 
JNDI resource explicitly.  I'm using JBoss4.0.3RC1

The following is the error:

  | ... 62 more
  | 10:39:12,031 ERROR [MainDeployer] Could not start deployment: 
file:/C:/jboss-4.0
  | .3SP1-FRESH/server/default/deploy/javamail.war
  | org.jboss.deployment.DeploymentException: Error during deploy; - nested 
throwabl
  | e: (javax.naming.NamingException: resource-ref: MySession has no valid JNDI 
bind
  | ing. Check the jboss-web/resource-ref.)
  | 

I'm not sure what is meant by the jboss-web/resource-ref.  I've taken a guess 
that it means a jboss-web.xml file, but, then again, I'm not sure which 
jboss-web.xml file I'm supposed edit.

web.xml

  |   
  | MySession
  | javax.mail.Session
  | java:/NetaMail
  | Container
  |   
  | 

default/deploy/mail-service.xml

  |   
  | java:/NetaMail
  | ###
  | ###
  | 
  |
  |
  |   
  |   
  |   
  | 
  |   
  |   
  | 
  |   
  |   
  | 
  |   
  |   
  | 
  |   
  |   
  | 
  |   
  |   
  |
  |jboss:service=Naming
  | 
  |   
  | 

and I tried the server/default/deploy/jmx-console.war/WEB-INF/jboss-web.xml
but to no avail:

  |  
  |   MySession
  |   javax.mail.Session
  |   java:/NetaMail
  |   Container
  |   
  | 

Can anyone tell me where I'm messing up?

Thanks.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171585#4171585

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171585
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Management, JMX/JBoss] - Re: JBOss start up class issue

2008-08-20 Thread patwary_shiva
Is it possible to refer the class in in ear directory.Beacue this class invokes 
other classes in ear file..

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171584#4171584

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171584
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: JBoss not recognizing deployments from Maven

2008-08-20 Thread PeterJ
The issue is the name of the directory 1.0-SNAPSHOT. Note the extension - 
".0-SNAPSHOT" There is no deployer for that extension. Only if the directory 
name has no extension will it be ignored (by the deployer). Well, not really 
ignored - the main deployed will scanning the directory looking for things to 
deploy.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171583#4171583

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171583
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: JBoss Messaging and Spring Message Listener Container

2008-08-20 Thread zackurey
Since the topic was about Spring Message Listener containers in general I 
thought I'd add with one gotcha that I ran into with a customer trying to 
integrate with JBM.

If you use Spring's DefaultMessageListenerContainer, which I believe polls for 
new messages, ensure that you set the caching level to CACHE_NONE.  The 
relevant comment in the Spring code is:


  | * Specify the level of caching that this listener container is allowed to 
apply.
  |  * Default is CACHE_NONE if an external transaction manager has been 
specified
  |  * (to reobtain all resources freshly within the scope of the external 
transaction),
  |  * and CACHE_CONSUMER else (operating with local JMS resources).
  |  * Some J2EE servers only register their JMS resources with an 
ongoing XA
  |  * transaction in case of a freshly obtained JMS Connection and Session,
  |  * which is why this listener container does by default not cache any 
of those.
  |  * However, if you want to optimize for a specific server, consider 
switching
  |  * this setting to at least CACHE_CONNECTION or CACHE_SESSION even in
  |  * conjunction with an external transaction manager.
  |  * Currently known servers that absolutely require CACHE_NONE for XA
  |  * transaction processing: JBoss 4. For any others, consider raising the
  |  * cache level.
  |  * @see #CACHE_NONE
  |  * @see #CACHE_CONNECTION
  |  * @see #CACHE_SESSION
  |  * @see #CACHE_CONSUMER
  |  * @see #setCacheLevelName
  |  * @see #setTransactionManager
  | 

The way the issue ended up manifesting itself was that messages, when browsing 
in the JMX console, would appear stuck in a 'DELIVERING' state, even though the 
client had consumed them(the Session was just never closed).  Sometimes this 
appeared to hang the queue entirely for reasons I didn't pursue further.  After 
setting to CACHE_NONE the issue happily went away.

Note that I saw this behavior with JBoss Message 1.4.0SP3 + Spring 2.5

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171582#4171582

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171582
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: JBoss not recognizing deployments from Maven

2008-08-20 Thread HappySpaceInvader
"PeterJ" wrote : But doesn't your Maven build place a Messaging.jar (or perhaps 
Messaging-1.0-SNAPSHOT.jar) into your target directory? I would think that the 
maven-jboss-deploy-plugin would use that when it has to deploy somthing.
  | 

It does place a Messaging.jar in 
/jboss/server/myserver/deploy/myproject/Messaging/1.0-SNAPSHOT/lib.  This is 
why I am surprised that JBoss does not pick it up.  If I move that jar file to 
any other set of nested directories under the deploy directory, JBoss sees it 
and deploys it successfully.  JBoss seems to know to watch the 
...myproject/Messaging/1.0-SNAPSHOT/ directory as you can see from the above 
logs.  This is why I think the component-info.xml is preventing JBoss from 
deploying this package... due to missing information.

I've tried to find some more information on what that file actually needs, but 
haven't found anything conclusive.  Also, I am limited to what I can pass in 
via the maven plugin, but this plugin has been developed by JBoss and is at 
version 1.6, so I would have thought that it works enough to allow something 
simple like a JAR to be deployed.

"PeterJ" wrote : 
  | Crazy question - where is your project directory located? I hope that it is 
not at /jboss/server/myserver/deploy/myproject.

That is where it is deployed to.  The build project directory is somewhere 
completely different. 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171581#4171581

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171581
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Management, JMX/JBoss] - Re: JBOss start up class issue

2008-08-20 Thread PeterJ
You should place the classes used by the mebean and the mbean info in a sar 
archive - see http://wiki.jboss.org/wiki/ExampleHelloWorldService for an 
example.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171580#4171580

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171580
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: XA datasource with JBM problem

2008-08-20 Thread timfox
"perisb" wrote :   If not, is there anything explicit I can do to make this 
work?

If you can get a reference to the transaction, then you can always enlist the 
resources yourself.

I.e. don't use JmsXA, use XAConnectionFactory, create an XAConnection, create 
an XASession, and enlist the XAResource in the JTA tx manually.

The tx should be associated to the current thread. Have a look at the JTA api 
to see how to do this.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171579#4171579

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171579
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Re: Struts Code Generate not working as tutorial advertises

2008-08-20 Thread tdruttenberg
OK, I've been wrestling with these darn struts tools for a few days now. 

I just installed v. 3.0.0 alpha and the issue I describe above 
is...ta-da!...resolved.

I'm going to see how far I get with this version. I am optimistic.

TDR

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171578#4171578

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171578
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Security & JAAS/JBoss] - Re: JavaServer Faces and container-managed authorization not

2008-08-20 Thread poesys
As I reported in my followup post, I replaced my custom login module entirely 
with the standard JBoss DatabaseServerLoginModule configured with queries. That 
works fine and authenticates, but I'm still not seeing the roles being accepted 
during authorization. The roles are coming back correctly from the database, I 
checked the spelling and stepped through the DatabseServeLoginModule code to 
verify that. The role "community_user" is coming from the database query and is 
put into the SimplePrincipal inside the Subject, and that is the role in the 
security-constraint in web.xml that is authorized for the myHome.faces file. It 
still fails to authorize and redisplays the login page.

Here is the login-config.xml code:

  | 
  | 
  | 
  | java:jdbc/ReadOnlyTairTestJTDS
  | select 
ltrim(rtrim(password)) from Community where user_name=?
  | 
  | SELECT "Role", 'Roles' AS RoleGroup FROM (SELECT 
c.user_name, 'community_user' AS "Role" FROM Person p JOIN
  | Community c ON p.community_id = c.community_id UNION 
SELECT c.user_name, 'tair_curator' AS "Role" FROM Person p
  | JOIN Community c ON p.community_id = c.community_id 
WHERE p.is_tair_curator = 'T' UNION SELECT c.user_name,
  | 'external_curator' AS "Role" FROM Person p JOIN 
Community c ON p.community_id = c.community_id WHERE
  | p.is_external_curator = 'T') AS Roles WHERE user_name = 
?
  | 
  | 
  | 
  | 
  | 
As you can see, the roles are hard-coded strings, which I've verified against 
the web.xml constraint (see that in the previous post).

So, what might be preventing JBoss security management from seeing the Subject?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171576#4171576

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171576
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: JBoss not recognizing deployments from Maven

2008-08-20 Thread PeterJ
But doesn't your Maven build place a Messaging.jar (or perhaps 
Messaging-1.0-SNAPSHOT.jar) into your target directory? I would think that the 
maven-jboss-deploy-plugin would use that when it has to deploy somthing.

Crazy question - where is your project directory located? I hope that it is not 
at /jboss/server/myserver/deploy/myproject.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171575#4171575

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171575
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Security & JAAS/JBoss] - Re: some questions on authentication

2008-08-20 Thread ragavgomatam
Answers below :- 

(1) If you want to use JAAS for authentication, YES
(2) Passwords are NEVER stored in request. Principal can be got from the 
request after successful authentication by calling anonymous wrote : 
request.getPrincipal().
(3)After successful authentication Principal is cached till the expiry of 
HttpSession. Yes no, need for extra authentication till session expires.
(4) Can be used from JSP's and Servlets,. For that matter any web based client 
is fine this way.
Not Swing. You'll need to a typical JAAS login (with CallbackHandlers and 
config files) for that. No .NET client cannot do a JAAS login. 



Hope this helps


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171574#4171574

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171574
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Human Task Example

2008-08-20 Thread gllambi
"[EMAIL PROTECTED]" wrote : 
  | We have plans to implement the WS-HumanTask interfaces in the PVM task 
component. 
  | 

Thank you very much for the answer! Although, some other doubts came to my mind 
with it :) 

Maybe this is a very basic question but, what's the relationship between the 
PVM and jbpm-bpel nowadays? If in the future I want to use WS-HumanTasks I've 
got to stop using jbpm-bpel and use the PVM?

Thanks again!
Guzman

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171573#4171573

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171573
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Management, JMX/JBoss] - JBOss start up class issue

2008-08-20 Thread patwary_shiva
Hi all,

   I want to add a startup class which should be loaded when the jboss starts 
up. I did some research

Which says create mbean and add it jboss-service.xml file( not sure which 
location).

I am using ear deployment. The class which I want o make the start up class 
resides in ear file under /lib directory.

I am using jboss-4.2.1.GA.

 

I tried to put the MBean as service  in  
jboss-4.2.0.GA\server\servicelink\conf\ jboss-service.xml  

but got  no class 

java.lang.ClassNotFoundException: No ClassLoaders found for JbossStartUp  

 

 

Below is the code for MBean.

 

 

import org.jboss.system.ServiceMBean;

public interface JbossStartUpMBean  extends ServiceMBean

{

public void init();

public void start() throws Exception;

public void stop();

public void create();

public void destroy();

public void jbossInternalLifecycle(java.lang.String s) throws 
java.lang.Exception;

 

}

 

 

2.The implemenatation class:

 

 public class JbossStartUp

implements MBeanRegistration, JbossStartUpMBean

{

private static Log logger = LogFactory.getLog(JbossStartUp.class);

public JbossStartUp()

{

}

 

public ObjectName preRegister(MBeanServer server, ObjectName name)

throws Exception

{

return new ObjectName(":service=JbossStartUp");

}

 

public void postRegister(Boolean boolean1)

{

}

 

public void preDeregister()

throws Exception

{

}

 

public void postDeregister()

{

}

 

  public void create() 

  {



  }

 

  public void start()   throws Exception

{

startup();

}

 

public String startup()

throws Exception

{

testStartUp startup = new testStartUp();

startup.startup();

return "OK";

}

 

public void init()

{

}

 

public void stop()

 

{

}

 

public void destroy()



{

}

 

  public String getName()

  {

return null;

  }

 

  public int getState()

  {

return 0;

  }

 

  public String getStateString()

  {

return null;

  }

 

Regards

shiva


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171572#4171572

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171572
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Security & JAAS/JBoss] - Re: LDAP is giving error : Invalid direct reference to form

2008-08-20 Thread ragavgomatam
also anonymous wrote : /security/*
appears to a problem...Make your 
anonymous wrote : 
  | /security/login.jsp
  | /security/error.jsp
  | 
in a different directory than your suceess.jsp. Lets say anonymous wrote : 
/jaas/login.jsp and /jaas/error.jsp

You should be calling (1) anonymous wrote : 
http://localhost:8080/yourContext/security/success.jsp.
(2) This should bring you to anonymous wrote : /jaas/login.jsp
(3) If your authentication passes, you should be automatically directed to 
anonymous wrote : /security/success.jsp

Let me know if this works

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171570#4171570

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171570
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] start up mbean for jboss

2008-08-20 Thread Sadashiv Patwary
Hi all,

   I want to add a startup class which should be loaded when the jboss
starts up. I did some research

Which says create mbean and add it jboss-service.xml file( not sure
which location).

I am using ear deployment. The class which I want o make the start up
class resides in ear file under /lib directory.

I am using jboss-4.2.1.GA.

 

I tried to put the MBean as service  in
jboss-4.2.0.GA\server\servicelink\conf\ jboss-service.xml  

but got  no class 

java.lang.ClassNotFoundException: No ClassLoaders found for JbossStartUp


 

 

Below is the code for MBean.

 

 

import org.jboss.system.ServiceMBean;

public interface JbossStartUpMBean  extends ServiceMBean

{

public void init();

public void start() throws Exception;

public void stop();

public void create();

public void destroy();

public void jbossInternalLifecycle(java.lang.String s) throws
java.lang.Exception;

 

}

 

 

2.The implemenatation class:

 

 public class JbossStartUp

implements MBeanRegistration, JbossStartUpMBean

{

private static Log logger = LogFactory.getLog(JbossStartUp.class);

public JbossStartUp()

{

}

 

public ObjectName preRegister(MBeanServer server, ObjectName name)

throws Exception

{

return new ObjectName(":service=JbossStartUp");

}

 

public void postRegister(Boolean boolean1)

{

}

 

public void preDeregister()

throws Exception

{

}

 

public void postDeregister()

{

}

 

  public void create() 

  {



  }

 

  public void start()   throws Exception

{

startup();

}

 

public String startup()

throws Exception

{

testStartUp startup = new testStartUp();

startup.startup();

return "OK";

}

 

public void init()

{

}

 

public void stop()

 

{

}

 

public void destroy()



{

}

 

  public String getName()

  {

return null;

  }

 

  public int getState()

  {

return 0;

  }

 

  public String getStateString()

  {

return null;

  }

 

Regards

shiva

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Cache: Core Edition] - CacheListener does not get event if node is not present

2008-08-20 Thread mjrother
I have a distributed cache configuration with a TreeCacheListener on the second 
system listening for event from the first system. It is configured as 
INVALIDATION_ASYNC.  All works fine while all components remain in memory on 
the second system. 

If a node is evicted from the second system or removed, the CacheListener no 
longer receives the events for changes in the first system. 

Is there a way I can get informed of any changes even if the nodes are not in 
the cache?



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171571#4171571

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171571
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Security & JAAS/JBoss] - Re: JavaServer Faces and container-managed authorization not

2008-08-20 Thread ragavgomatam
I still suspect its an issue with your LoginModule. Code for accessing the 
database by extending AbstarctSeverLoginModule is posted in the forum..Check 
that out & compare yours...Are you setting the roles correctly ?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171567#4171567

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171567
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: JBoss not recognizing deployments from Maven

2008-08-20 Thread HappySpaceInvader
"PeterJ" wrote : Doing a more careful read of your post, I would suspect that 
you want "Messaging" to end with the .jar extension. I also suspect that you 
want to know how to convince Maven to copy your Messaging.jar file to the 
deploy directory. For that I don't know - I use Ant to do all of my deploying, 
even if I build with Maven.

I'm not sure that's it - that Messaging directory name is taken straight from 
the artifactId in the Maven pom.xml.  You wouldn't normally put the .jar/.ear 
etc. extension in there.

I think the way this is supposed to work is that it depends on the 
component-info.xml, but my copy of that file has been incorrectly generated 
because I am missing some essential setting in the maven-jboss-deploy-plugin 
configuration.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171566#4171566

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171566
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: InterceptorStack, type=Producer : run twice ?

2008-08-20 Thread Antoine_h
Hello,

I still have not found an answer to those questions...
any one have an idea about it ?

Thanks,

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171565#4171565

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171565
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Security & JAAS/JBoss] - Re: LDAP is giving error : Invalid direct reference to form

2008-08-20 Thread ragavgomatam
what is the url that you are calling ?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171564#4171564

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171564
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Cache: Core Edition] - No transaction manager lookup class has been defined

2008-08-20 Thread agopal
Hi ,
   I'm configuring the jboss service.xml to have JBossTransactionManagerLookup 
class. But still I get
 
13:16:31,832 INFO  [TreeCache] No transaction manager lookup class has been 
defined. Transactions cannot be used
 
What am I doing wrong?
 
Using jboss-cache-jdk50.jar. 
Thanks and appreciate your help.
 
Gopal



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171561#4171561

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171561
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: JBoss not recognizing deployments from Maven

2008-08-20 Thread PeterJ
Doing a more careful read of your post, I would suspect that you want 
"Messaging" to end with the .jar extension. I also suspect that you want to 
know how to convince Maven to copy your Messaging.jar file to the deploy 
directory. For that I don't know - I use Ant to do all of my deploying, even if 
I build with Maven.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171559#4171559

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171559
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: JBoss not recognizing deployments from Maven

2008-08-20 Thread PeterJ
Apps are deployed based on their extensions. For example, *.ear is deployed as 
an enterprise app, *.war is deployed as a web app.  This applies whether the 
app is deployed as an archive file or as an exploded directory. It appears that 
you are deploying as an exploded directory - but it is missing the extension to 
identify the type of app it is:

url=file:/jboss/server/myserver/deploy/myproject/Mess
aging/1.0-SNAPSHOT/

I would assume that "myproject" requires an extension.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171557#4171557

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171557
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: JSF Based Portlet and IPC

2008-08-20 Thread SreeniJakka
No luck yet! I am surprised that no one from the JBoss team has addressed this 
or similar thread from the past few months. JBoss and other vendors promote 
JSF, and it's part of the Core Java framework now, but still we have these 
fundamental impediments working with JSR168. Not sure, if everyone is thinking 
JSR 168 will go away in favor of the Portal 2.0, but Portal 2.0 will take at 
least few years to stabilize. So, I am not sure if JSR168 can be abandoned at 
this stage.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171556#4171556

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171556
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - mod_jk in Jboss

2008-08-20 Thread Metal Jboss
Hi, I received a suggestion about using mod_jk to make Virtual Host in order to 
make that JBOSS responds with a domain name, like 
http://rocky.webpage/webapp, right now is still with 
http://localhost:8080/webapp.
I found out that mod_jk is a between Apache and Tomcat but then how Jboss uses 
this mod_jk thing???, because All I have found is in Tomcat, but inside Jboss 
where can I add this configuration

 Thanks by the Way :D

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171555#4171555

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171555
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: LDAP authentication using LDAPExtUserModuleImpl is case-

2008-08-20 Thread bdaw
Change your login-config.xml to have:


  | 
  |   
  |   true
  |   
  | 
  | 



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171554#4171554

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171554
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: Is the destination for DLQ mandatory?

2008-08-20 Thread PeterJ
You should not comment out the DLQ - it is required.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171553#4171553

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171553
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Error [org.jboss.ha.framework.server.ClusterPartition]

2008-08-20 Thread PeterJ
Did you see this part of the error: 

Caused by: java.lang.NumberFormatException: For input string: "@mcast_port@"

That string appears in one of the configuration files. I don't know which one 
so you will need to grep for it.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171551#4171551

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171551
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: Using Connection Pool in EJB 3.0

2008-08-20 Thread PeterJ
As far as I know, datasource configuration is an app server dependent thing - 
each one does it in its own way.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171549#4171549

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171549
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: servlet: how to spawn all processors

2008-08-20 Thread PeterJ
Running your web app across 16 CPUs is not a good idea. Due to CPU cache 
issues, contention among threads, and various other issues it is usually better 
to run such apps while affinitized to 2, 3 or 4 CPUs (depening on your app). At 
least that is what we have found in our testing.

In Linux, you can use the taskset utility to set affinity. I suggest adding 
this to the script that starts jbossas.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171548#4171548

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171548
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - LDAP authentication using LDAPExtUserModuleImpl is case-inse

2008-08-20 Thread jasonawong
When I setup JBoss Portal to authenticate against an LDAP using the 
LDAPExtUserModuleImpl class, the login is case insensitive (ex. in LDAP the 
username is "user", but both "user" and "User" work).  When I login as "User" 
and try to access the dashboard then I receive a "HTTP Status 403" along with 
the following error in the stacktrace.

11:02:14,531 ERROR [DefaultPortalControlPolicy] Rendering portlet window  
produced an error org.jboss.portal.core.controller.AccessDeniedException: View 
permission not granted has denied access: dashboard:/user

When I login as "user" and access the dashboard, then everything works fine.  
It seems that the Portal login is case-insensitive but the dashboard requires 
the username to be case-sensitive.  Is there a way to force the LDAP 
authentication to be case-sensitive?

Here is rundown of the environment:
JBoss Portal: 2.6.6 (bundled version)
Database: Hypersonic
OS: Windows XP
LDAP: OpenDS (same results using Active Directory)

ldap_identity-config.xml settings

  | 
  | 

  | 
  | 
  | 
  | 
  |  
  | 
  | 
  |
  |   
  |  LDAP
  |  
  | 
  |host
  |localhost
  | 
  | 
  |port
  |389
  | 
  | 
  |adminDN
  |cn=Directory Manager
  | 
  | 
  |adminPassword
  |password
  | 
  | 
  |  
  |   
  |
  |
  |   
  |  
  |  User
  |  LDAP
  |  
  |  
  | org.jboss.portal.identity.ldap.LDAPExtUserModuleImpl
  |  
  |  
  |   
  |   
  |  Role
  |  LDAP
  |  
  |  
  | org.jboss.portal.identity.ldap.LDAPExtRoleModuleImpl
  |  
  |  
  |   
  |   
  |  Membership
  |  LDAP
  |  
  |   
  |   
  |  UserProfile
  |  DELEGATING
  |  
  | 
  |ldapModuleJNDIName
  |java:/portal/LDAPUserProfileModule
  | 
  |  
  |   
  |   
  |  DBDelegateUserProfile
  |  DB
  |  
  | 
  |randomSynchronizePassword
  |true
  | 
  |  
  |   
  |   
  |  LDAPDelegateUserProfile
  |  LDAP
  |  
  |   
  |
  | 
  |
  |   
  |  common
  |  
  | userCtxDN
  | ou=People,dc=example,dc=com
  |  
  |  
  |  
  | userSearchFilter
  | 
  |  
  |  
  | roleCtxDN
  | ou=Roles,dc=example,dc=com
  |  
  |  
  |  
  | roleSearchFilter
  | 
  |  
  |  
  |uidAttributeID
  |cn
  |  
  |   
  |
  | 
  | 
  | 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171547#4171547

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171547
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: JBossWS 3.0.3 Released

2008-08-20 Thread [EMAIL PROTECTED]
Sorry, this got lost when we moved to Maven some time ago. I created a jira 
issue for it: https://jira.jboss.org/jira/browse/JBWS-2286

In the mean time, please note sources are both available through SVN and Maven 
repositories:

* http://jbws.dyndns.org/mediawiki/index.php?title=Building_From_Source (please 
not there's a tag for each release we do)
* http://repository.jboss.org/maven2/org/jboss/ws/

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171543#4171543

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171543
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Load balancing with sticky session

2008-08-20 Thread cseguino
Hi,

I'm trying to set up load balancing between apache and JBOSS 4.2.2AS.
It tried with mod_jk and mod_proxy, load balancing is working with both methods.
I need to set up sticky session, but I can't manage to make JBoss/Tomcat append 
the jvmroute parameter to the JSESSIONID.
In $JBOSS_HOME/server/default/deploy/jboss-web.deployer/server.xml I have :
Engine name="jboss.web" defaultHost="localhost" jvmRoute="node4"

and in 
$JBOSS_HOME/server/default/deploy/jboss-web.deployer/META-INF/jboss-service.xml 
I have :
 attribute name="UseJK">truehttp://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171537#4171537

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171537
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Load balancing with sticky session

2008-08-20 Thread cseguino
Hi,

I'm trying to set up load balancing between apache and JBOSS 4.2.2AS.
It tried with mod_jk and mod_proxy, load balancing is working with both methods.
I need to set up sticky session, but I can't manage to make JBoss/Tomcat append 
the jvmroute parameter to the JSESSIONID.
In $JBOSS_HOME/server/default/deploy/jboss-web.deployer/server.xml I have :
"

and in 
$JBOSS_HOME/server/default/deploy/jboss-web.deployer/META-INF/jboss-service.xml 
I have :
 true

If someone could help me it would be wonderful.

Best Regards,

Chris

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171535#4171535

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171535
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss and NetBeans] - Re: Error deploying war file (developed using visual web 5.5

2008-08-20 Thread carmo
Hi All,

I am using JDeveloper 10.1.3.3.0 1 and JBoss-4.0.5.GA I have developed a sample 
web application. In this I have added some third party jar fiels in the 
library. When deploying it throws the following error.
(In my server war or ear file is twiced deployed).
How to solve this issue?

Thanks in advance.
12:03:19,968 ERROR [Tomcat5] Problem in init
java.util.zip.ZipException: unexpected EOF
at java.util.zip.ZipInputStream.read(ZipInputStream.java:159)
at java.util.jar.JarInputStream.read(JarInputStream.java:171)
at org.jboss.util.file.JarUtils.unjar(JarUtils.java:300)
at org.jboss.web.AbstractWebContainer.init(AbstractWebContainer.java:325
)
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:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
or.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
BeanOperationInterceptor.java:142)
at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor
.java:97)
at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(Intercepto
rServiceMBeanSupport.java:238)
at org.jboss.deployment.SubDeployerInterceptorSupport.init(SubDeployerIn
terceptorSupport.java:119)
at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.
init(SubDeployerInterceptorSupport.java:172)
at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterce
ptor.java:87)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy39.init(Unknown Source)
at org.jboss.deployment.MainDeployer.init(MainDeployer.java:872)
at org.jboss.deployment.MainDeployer.init(MainDeployer.java:895)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:809)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
at sun.reflect.GeneratedMethodAccessor13.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
or.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
BeanOperationInterceptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy6.deploy(Unknown Source)
at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen
tScanner.java:421)
at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS
canner.java:634)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
doScan(AbstractDeploymentScanner.java:263)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
loop(AbstractDeploymentScanner.java:274)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
run(AbstractDeploymentScanner.java:225)
12:03:19,999 ERROR [MainDeployer] Could not initialise deployment: file:/C:/Soft
ware/JBoss-4.0.5.GA/server/default/deploy/testeall.ear
org.jboss.deployment.DeploymentException: unexpected EOF; - nested throwable: (j
ava.util.zip.ZipException: unexpected EOF)
at org.jboss.web.AbstractWebContainer.init(AbstractWebContainer.java:374
)
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:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:155)
at o

[jboss-user] [Beginners Corner] - Errors after run

2008-08-20 Thread Sherst
I am trying to run jboss and getting erorrs. Here is my log file.


  | 2008-08-20 15:10:17,609 ERROR [org.jboss.deployment.MainDeployer] Could not 
initialise deployment: 
file:/C:/JBOSS/jboss-4.2.3.GA/server/default/deploy/jbossws.sar/
  | java.lang.NoClassDefFoundError: javax/ejb/Stateless
  | at org.jboss.ejb3.EJB3Util.isStateless(EJB3Util.java:42)
  | at org.jboss.ejb3.EJB3Deployer.hasEjbAnnotation(EJB3Deployer.java:219)
  | at org.jboss.ejb3.EJB3Deployer.accepts(EJB3Deployer.java:271)
  | 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.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  | at 
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
  | at 
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
  | at 
org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
  | at $Proxy34.accepts(Unknown Source)
  | at 
org.jboss.deployment.MainDeployer.findDeployer(MainDeployer.java:1078)
  | at org.jboss.deployment.MainDeployer.init(MainDeployer.java:857)
  | at org.jboss.deployment.MainDeployer.init(MainDeployer.java:895)
  | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:809)
  | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
  | 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.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  | at 
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
  | at 
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
  | at $Proxy9.deploy(Unknown Source)
  | at 
org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
  | at 
org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
  | at 
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
  | at 
org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
  | at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
  | at $Proxy0.start(Unknown Source)
  | at org.jboss.system.ServiceController.start(ServiceController.java:417)
  | at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(

[jboss-user] [Beginners Corner] - Re: No answer after run command

2008-08-20 Thread zofe7
That was the problem, thank you very much

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171530#4171530

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171530
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - JBoss not recognizing deployments from Maven

2008-08-20 Thread HappySpaceInvader
I have some Maven projects set up to deploy to JBoss using the 
maven-jboss-deploy-plugin as follows:


  |   org.jboss.maven.plugins
  |   maven-jboss-deploy-plugin
  |   1.6
  | 
  |   
  | 
  |   jboss-deploy
  | 
  |   
  | 
  |   
  | 
/jboss/server/myserver/deploy
  | myproject
  | true
  |   
  | 
  | 

The problem is that the packages (e.g. my Messaging package) sit at the 
INIT_WAITING_DEPLOYER stage as follows:

15:09:29,058 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
  | 
  | --- Packages waiting for a deployer ---
  | [EMAIL PROTECTED] { 
url=file:/jboss/server/myserver/deploy/myproject/Messaging/1.0-SNAPSHOT/ }
  |   deployer: null
  |   status: null
  |   state: INIT_WAITING_DEPLOYER
  |   watch: 
file:/jboss/server/myserver/deploy/myproject/Messaging/1.0-SNAPSHOT/
  |   altDD: null
  |   lastDeployed: 1219241364043
  |   lastModified: 1219241363000
  |   mbeans:
  | 

I am just wondering what is wrong here.  The Maven plugin creates a 
component-info.xml as follows:


  | 
  |
  |   
  | 
  | 
  | 
  | 
  |   
  | 
  | 
  |   
  | 
  | 

Perhaps something is missing from that?  If I take the same Messaging.jar and 
move it to the deploy directory, it deploys just fine.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171529#4171529

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171529
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - It is possible to make a method invocation from a session be

2008-08-20 Thread jlemetay
In order to avoid polling from an object running in the servlet container 
(tomcat) to a session bean running in the EJB container, I would like to notify 
a message (i.e. a simple status change message) from a session bean to another 
object living in a servlet container.

Question : is it possible to invoke a method from a session bean living in the 
EJB container to another object living in a servlet container under the same 
JVM?

Thank you for any help.


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171527#4171527

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171527
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - Re: No answer after run command

2008-08-20 Thread jaikiran
anonymous wrote : echo %JAVA_HOME% outputs:
  | C:\Sun\SDK\jdk\jre\bin
  | 

This looks incorrect. The JAVA_HOME should be set to: 

set JAVA_HOME=C:\Sun\SDK\jdk\jre

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171525#4171525

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171525
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Issue with the Virtual Host

2008-08-20 Thread Metal Jboss
Im sorry If I dont know, but I have tried finding those files or folders, but 
where can I find them in my computer (WINDOWS)??? and what needs to be modified 
for this to work???  :S

THANKS

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171524#4171524

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171524
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: JobExecutorServlet alternative

2008-08-20 Thread nizzy
Hi Alex,

Because I do not wish to deploy enterprise ear and it was easier to write MBean 
to accomplish the task than search for examples or documentation on how to do 
it any other way!

It only took 15 mins to write MBean.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171523#4171523

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171523
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - Re: No answer after run command

2008-08-20 Thread zofe7
anonymous wrote : Does it hang? Or does the control return back to the command 
prompt?
The control does return to back to the command prompt.

echo %JAVA_HOME% outputs:
C:\Sun\SDK\jdk\jre\bin

This is actually where I put my downloaded Java EE + SDK, bin being the 
directory where the client and server directories lie.

The whole output from trying to run it:


anonymous wrote : 
  | C:\Installs\jboss-4.2.3.GA\jboss-4.2.3.GA\bin>run
  | 
  | C:\Installs\jboss-4.2.3.GA\jboss-4.2.3.GA\bin>rem 
--
  | ---
  | 
  | C:\Installs\jboss-4.2.3.GA\jboss-4.2.3.GA\bin>rem JBoss Bootstrap Script 
for Win32
  | 
  | C:\Installs\jboss-4.2.3.GA\jboss-4.2.3.GA\bin>rem 
--
  | ---
  | 
  | C:\Installs\jboss-4.2.3.GA\jboss-4.2.3.GA\bin>rem $Id: run.bat 73584 
2008-05-22
  | 12:09:26Z [EMAIL PROTECTED] $
  | 
  | C:\Installs\jboss-4.2.3.GA\jboss-4.2.3.GA\bin>set DIRNAME=.\
  | 
  | C:\Installs\jboss-4.2.3.GA\jboss-4.2.3.GA\bin>if "Windows_NT" == 
"Windows_NT" set DIRNAME=C:\Installs\jboss-4.2.3.GA\jboss4.2.3.GA\bin\
  | 
  | C:\Installs\jboss-4.2.3.GA\jboss-4.2.3.GA\bin>set PROGNAME=run.bat
  | 
  | C:\Installs\jboss-4.2.3.GA\jboss-4.2.3.GA\bin>if "Windows_NT" == 
"Windows_NT" set PROGNAME=run.bat
  | 
  | C:\Installs\jboss-4.2.3.GA\jboss-4.2.3.GA\bin>pushd 
C:\Installs\jboss-4.2.3.GA\jboss-4.2.3.GA\bin\..
  | 
  | C:\Installs\jboss-4.2.3.GA\jboss-4.2.3.GA>set 
JBOSS_HOME=C:\Installs\jboss-4.2.3.GA\jboss-4.2.3.GA
  | 
  | C:\Installs\jboss-4.2.3.GA\jboss-4.2.3.GA>popd
  | 
  | C:\Installs\jboss-4.2.3.GA\jboss-4.2.3.GA\bin>REM Add bin/native to the 
PATH if present
  | 
  | C:\Installs\jboss-4.2.3.GA\jboss-4.2.3.GA\bin>if exist 
"C:\Installs\jboss-4.2.3.GA\jboss-4.2.3.GA\bin\native" set 
PATH=C:\Installs\jboss-4.2.3.GA\jboss-4.2.3.GA\bin\native;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;c:\Program
 Files (x86)\Microsoft SQL Server\90\Tools\binn\;C:\Program Files (x86)\SSH 
Communications Security\SSH Secure Shell;C:\Program Files (x86)\Common 
Files\Teleca Shared;C:\Program Files (x86)\QuickTime\QTSystem\;C:\Program Files 
(x86)\Java\jre1.6.0_07\bin;C:\Sun\SDK\bin;C:\Program Files (x86)\SSH 
Communications Security\SSH Secure Shell
  | 
  | C:\Installs\jboss-4.2.3.GA\jboss-4.2.3.GA\bin>if exist 
"C:\Installs\jboss-4.2.3.GA\jboss-4.2.3.GA\bin\native" set JAVA_OPTS= 
-Djava.library.path="C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;c:\Program
 Files (x86)\Microsoft SQL Server\90\Tools\binn\;C:\Program Files (x86)\SSH 
Communications Security\SSH Secu
  | re Shell;C:\Program Files (x86)\Common Files\Teleca Shared;C:\Program Files 
(x86)\QuickTime\QTSystem\;C:\Program Files 
(x86)\Java\jre1.6.0_07\bin;C:\Sun\SDK\bin;C:\Program Files (x86)\SSH 
Communications Security\SSH Secure Shell"
  | 
  | C:\Installs\jboss-4.2.3.GA\jboss-4.2.3.GA\bin>rem Find run.jar, or we can't 
continue
  | 
  | C:\Installs\jboss-4.2.3.GA\jboss-4.2.3.GA\bin>set 
RUNJAR=C:\Installs\jboss-4.2.3.GA\jboss-4.2.3.GA\bin\run.jar
  | 
  | C:\Installs\jboss-4.2.3.GA\jboss-4.2.3.GA\bin>if exist 
"C:\Installs\jboss-4.2.3.GA\jboss-4.2.3.GA\bin\run.jar" goto FOUND_RUN_JAR
  | 
  | C:\Installs\jboss-4.2.3.GA\jboss-4.2.3.GA\bin>if not 
"C:\Sun\SDK\jdk\jre\bin" == "" goto ADD_TOOLS
  | 
  | C:\Installs\jboss-4.2.3.GA\jboss-4.2.3.GA\bin>set 
JAVA=C:\Sun\SDK\jdk\jre\bin\bin\java
  | 
  | C:\Installs\jboss-4.2.3.GA\jboss-4.2.3.GA\bin>rem A full JDK with toos.jar 
is not required anymore since jboss web packages
  | 
  | C:\Installs\jboss-4.2.3.GA\jboss-4.2.3.GA\bin>rem the eclipse jdt compiler 
and javassist has its own internal compiler.
  | 
  | C:\Installs\jboss-4.2.3.GA\jboss-4.2.3.GA\bin>if not exist 
"C:\Sun\SDK\jdk\jre\bin\lib\tools.jar" goto SKIP_TOOLS
  | 
  | C:\Installs\jboss-4.2.3.GA\jboss-4.2.3.GA\bin>rem If JBOSS_CLASSPATH or 
JAVAC_JAR is empty, don't include it, as this will
  | 
  | C:\Installs\jboss-4.2.3.GA\jboss-4.2.3.GA\bin>rem result in including the 
local directory in the classpath, which makes
  | 
  | C:\Installs\jboss-4.2.3.GA\jboss-4.2.3.GA\bin>rem error tracking harder.
  | 
  | C:\Installs\jboss-4.2.3.GA\jboss-4.2.3.GA\bin>if not "" == "" set 
RUNJAR=;C:\Installs\jboss-4.2.3.GA\jboss-4.2.3.GA\bin\run.jar
  | 
  | C:\Installs\jboss-4.2.3.GA\jboss-4.2.3.GA\bin>if "" == "" set 
RUN_CLASSPATH=C:\Installs\jboss-4.2.3.GA\jboss-4.2.3.GA\bin\run.jar
  | 
  | C:\Installs\jboss-4.2.3.GA\jboss-4.2.3.GA\bin>if 
"C:\Installs\jboss-4.2.3.GA\jboss-4.2.3.GA\bin\run.jar" == "" set 
RUN_CLASSPATH=;C:\Installs\jboss-4.2.3.GA\jboss-4.2.3.GA\bin\run.jar
  | 
  | C:\Installs\jboss-4.2.3.GA\jboss-4.2.3.GA\bin>set 
JBOSS_CLASSPATH=C:\Installs\jboss-4.2.3.GA\jboss-4.2.3.GA\bin\run.jar
  | 
  | C:\Installs\jboss-4.2.3.GA\jboss-4.2.3.GA\bin>rem Setup JBoss specific 
properties
  | 
  | C:\Installs\jboss-4.2.3.GA\jboss-4.2.3.GA\bin>set 
JAVA_OPTS=-Dprogram.name=run.bat
  | 
  | C:\Installs\jboss-4.2.3.GA\jboss-4.2.

[jboss-user] [EJB 3.0] - Re: Issue in JBOSS 5

2008-08-20 Thread jaikiran
"kieth_jane" wrote : 
  | I am facing one more issue in Jboss 4.3.are jsf are supported by jboss 4.3.
  | where i have to put the jsf libs, if i put in my application they are 
throwing error at deployment only.if i put server\lib i am getting TLD 
exception at run time.
  | 
  | 

Since this is not EJB3 specific, you should probably start a new thread in the 
Installation & Configuration forum 
http://www.jboss.com/index.html?module=bb&op=viewforum&f=61, where you have 
better chance of getting this answered. And while posting the question there, 
remember to provide more details about your application and the entire 
exception stacktrace.


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171520#4171520

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171520
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: bpel vs jpdl

2008-08-20 Thread estaub
If everything you ever want to do is a web service call, use BPEL.  Otherwise, 
JPDL.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171515#4171515

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171515
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: Best practice for scheduled message processing

2008-08-20 Thread timfox
If you like you can add a JIRA feature request for the ability to pause resume 
delivery on a queue via the management interface.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171512#4171512

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171512
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: XA datasource with JBM problem

2008-08-20 Thread timfox
http://java.sun.com/j2ee/apidocs-1_5-fr/javax/resource/spi/package-summary.html

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171510#4171510

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171510
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: XA datasource with JBM problem

2008-08-20 Thread timfox
"perisb" wrote : So your saying the enlistment of the JMS Session as an XA 
resource has nothing to do with JBM (or is completely orthogonal to it)?
  | 

Yes, the resource enlistment is done by the JCA adapter, not JBM.

anonymous wrote : 
  | Just curious: the connection factory name java:/JmsXA I'm using returns a 
JmsConnectionFactory.  Snooping the source I noticed class 
JmsManagedConnectionFactory.  What would be the purpose of this?

That's a JCA resource adapter. The JCA spec will explain what all those things 
mean.

The JCA adapter is not part of JBM, it's handled by the JCA team (which is part 
of the AS).

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171509#4171509

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171509
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


  1   2   >