[jboss-user] [JBoss Seam] - Re: Event with @Observer not being fired

2008-01-22 Thread terryb
it is now resolved. thank you very much for the help, and my apologies I was 
asking for problem that didnt' exist.

the problem occurred, due to JBDev not updating classes; becase after updating 
seam some dependency jar was missing. 

though something useful that came out of this:

Events like "org.jboss.seam.loggedOut" will be replaced with to 
"org.jboss.seam.security.loggedOut" from next major release. 2.0.0CR1 currently 
supports both types. Now you could also use events like 
@Observer(Identity.EVENT_LOGGED_OUT).



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

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


[jboss-user] [Security & JAAS/JBoss] - Re: NullPointerException @ DatabaseServerLoginModule.java:14

2008-01-22 Thread jahebe
Well, paint be baffled.

Seems JDK 1.6 indeed was the error.
(checked it by setting the JMX console to use the authentication-policy)

So it would seem I have to re-package my application to use jboss's JAR files 
for 1.6 compatible annotations, then.

Thanks for your help, appreciated!

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

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


[jboss-user] [JBoss Seam] - Re: PhaseListener in Seam 2.0

2008-01-22 Thread wachtda
Ok, thank you Jacob, that works fine for me!

Now the only problem I still have, is that If I have richfaces-components they 
will not appear as childs on my ViewRoot.

I get the ViewRoot with:

  | FacesContext context = FacesContext.getCurrentInstance();
  | context.getViewRoot().getChildren();
  | 

And loop trough all childrens:

  | for (UIComponent child : children) {
  | }
  | 

That functions until I have richfaces-components, they will not appear in my 
chlidrens...

Any suggestions?
Thanks for helping

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

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


[jboss-user] [JCA/JBoss] - Re: JBOSS +JCA + Connection Pooling .....Out of ManagedConne

2008-01-22 Thread jaikiran
See this 
http://wiki.jboss.org/wiki/Wiki.jsp?page=WhatDoesTheMessageNoManagedConnectionsAvailableMean

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Keep JBoss running when database is down

2008-01-22 Thread jaikiran
anonymous wrote : Do you think it is a good idea to keep JBoss running when the 
database goes down?
If your application depends on this database and this resource is down, then 
there is no point in allowing access to your application during this period. 

anonymous wrote : Does it restore the connection when the database goes up? 
How do you connect to the database through your application in JBoss? Do you 
use datasource? If so, have a look at 
http://wiki.jboss.org/wiki/Wiki.jsp?page=WhatHappensToJBossIfIRestartTheDatabase

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

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


[jboss-user] [Security & JAAS/JBoss] - Re: NullPointerException @ DatabaseServerLoginModule.java:14

2008-01-22 Thread jahebe
anonymous wrote : The first thing, i would suggest it to use Java 1.5 because 
JBoss is not yet fully qualified to work with Java 1.6

Sure, I'll give it a go - however, since the JNDI lookups work perfectly well 
from a EJB3 with a JPA/Hibernate backend, I'm going to be reasonably surprised 
if this solves the problem ;-)

anonymous wrote : Also, did you by any chance edit the jndi.properties file in 
the server/default/conf folder? Or do you include any jndi.properties file in 
your application package?
  | 

Nope - bog standard.

anonymous wrote : What are the changes that you have done (if any) to the 
server configurations on a freshly installed JBoss?


Added postgresql jdbc3 driver in lib/
Edited login-conf.xml to receive the authentication-policy
Enabled TRACE on org.jboss.security in jboss-log4j.xml


I'll give JDK 1.5.0_14 a go, and post back.

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

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


[jboss-user] [JNDI/Naming/Network] - Re: Invalid (i.e. remote) invocation of local interface (nul

2008-01-22 Thread jaikiran
Let's continue this discussion in your other post at 
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=128273

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

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


[jboss-user] [Beginners Corner] - Re: JBoss starts but no access

2008-01-22 Thread jaikiran
I don't have a clue as to what the problem might be. Just a wild guess - your 
output of netstat shows that there is a process named alg.exe running:

anonymous wrote : TCP127.0.0.1:1025 0.0.0.0:0  
ABHÖREN 2504
  |   [alg.exe]

>From what i got from the net, this process is running if you have your Windows 
>Firewall enabled. So, do you have windows firewall enabled? If so disable it 
>and also do the following:

- Go to 'Services' from the Control Panel.
- Look for a service named "Application Layer Gateway Service"
- Stop this service, if its started.
- Start JBoss and see if you can access the home page or even telnet to 1099.

If this does not work then stop/kill any other unwanted processes (as i 
mentioned, i am clueless right now) like these : 

anonymous wrote : TCP0.0.0.0:9900.0.0.0:0  
ABHÖREN 284
  |   [rapimgr.exe]
  | TCP127.0.0.1:5679 0.0.0.0:0  ABHÖREN 
224
  |   [Wcescomm.exe]
  |   TCP127.0.0.1:7438 0.0.0.0:0  
ABHÖREN 224
  |   [Wcescomm.exe]

Restart JBoss and see if it works.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4122479

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


[jboss-user] [JBoss jBPM] - Re: task in start state

2008-01-22 Thread debnathm
It worked. Thanks,

Debnath

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

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


[jboss-user] [JBoss Seam] - Re: .war file or .war directory?

2008-01-22 Thread nickarls
This is way beyond the scope of Seam, you should take this up with the Web 
Beans JSR. That would really upset the Ruby guys ;-)

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

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


[jboss-user] [JBoss Seam] - Re: FailedConfiguration while running test

2008-01-22 Thread hubaghdadi
I followed the instructions as your blog shows, this time I got this exception:

  |[testng] FAILED CONFIGURATION: @BeforeClass init
  |[testng] java.lang.RuntimeException: Unable to bootstrap: 
  |[testng] at 
org.jboss.embedded.Bootstrap.bootstrapURL(Bootstrap.java:167)
  |[testng] at 
org.jboss.embedded.Bootstrap.bootstrap(Bootstrap.java:201)
  |[testng] at 
org.jboss.embedded.Bootstrap.bootstrap(Bootstrap.java:214)
  |[testng] at 
org.jboss.seam.mock.EmbeddedBootstrap.startAndDeployResources(EmbeddedBootstrap.java:11)
  |[testng] at 
org.jboss.seam.mock.BaseSeamTest.startJbossEmbeddedIfNecessary(BaseSeamTest.java:1006)
  |[testng] at 
org.jboss.seam.mock.BaseSeamTest.init(BaseSeamTest.java:931)
  |[testng] at org.jboss.seam.mock.SeamTest.init(SeamTest.java:42)
  |[testng] Caused by: org.jboss.xb.binding.JBossXBException: Failed to 
parse source: file:/media/sda4/Projects/ArmadaSeamProject/bootstrap/conf/[EMAIL 
PROTECTED],41
  |[testng] at 
org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:173)
  |[testng] at 
org.jboss.xb.binding.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:133)
  |[testng] at 
org.jboss.kernel.plugins.deployment.xml.BeanXMLDeployer.deploy(BeanXMLDeployer.java:86)
  |[testng] at 
org.jboss.embedded.Bootstrap.deployBaseBootstrapUrl(Bootstrap.java:150)
  |[testng] at 
org.jboss.embedded.Bootstrap.bootstrapURL(Bootstrap.java:162)
  |[testng] ... 28 more
  |[testng] Caused by: org.jboss.xb.binding.JBossXBRuntimeException: 
{urn:jboss:bean-deployer:2.0}incallback not found as a child of 
{urn:jboss:bean-deployer:2.0}bean
  |[testng] at 
org.jboss.xb.binding.sunday.unmarshalling.SundayContentHandler.startElement(SundayContentHandler.java:283)
  |[testng] at 
org.jboss.xb.binding.parser.sax.SaxJBossXBParser$DelegatingContentHandler.startElement(SaxJBossXBParser.java:381)
  |[testng] at 
org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
  |[testng] at 
org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source)
  |[testng] at 
org.apache.xerces.xinclude.XIncludeHandler.emptyElement(Unknown Source)
  |[testng] at 
org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
  |[testng] at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
 Source)
  |[testng] at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown 
Source)
  |[testng] at 
org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
  |[testng] at 
org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
  |[testng] at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
  |[testng] at 
org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
  |[testng] at 
org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
  |[testng] at 
org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:169)
  |[testng] ... 32 more
  |[testng] ... Removed 22 stack frames
  |[testng] SKIPPED CONFIGURATION: @BeforeMethod begin
  |[testng] SKIPPED CONFIGURATION: @AfterMethod end
  |[testng] SKIPPED CONFIGURATION: @AfterClass cleanup
  |[testng] SKIPPED: siimulateBijection
  |[testng] 
  | 

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

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


[jboss-user] [JBoss Seam] - Re: error after seam generate-entities

2008-01-22 Thread nickarls
Post the Hello class

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

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


[jboss-user] [JBoss Seam] - Re: Select item from table and convertEntity

2008-01-22 Thread nickarls
Well, you could have two separate components:

* selectOneMenu rendered when list.count < n

* separate modal window with datatable, paginator, search and filtering

I think you should be able to get both options working with a list of entities 
in the model. Then there is the question on how you should trigger the modal 
window. A separate button? An empty selectOneMenu with some sort of "on open 
trigger"?

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

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


[jboss-user] [JBoss Seam] - Re: Event with @Observer not being fired

2008-01-22 Thread nickarls
I think the @Observer("org.jboss.seam.loggedOut") is the correct version 
nowadays but you already said it didn't work. Is the method in a seam-managed 
class? Can you get any other observers to trigger in that class?

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

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


[jboss-user] [JBoss Seam] - Re: s:decorate and javaScript update ?

2008-01-22 Thread nickarls
I would be surprised, since that would mean a server roundtrip.

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

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


[jboss-user] [JCA/JBoss] - JBOSS +JCA + Connection Pooling .....Out of ManagedConnectio

2008-01-22 Thread mohad_ajay
I am running a 15 hours+ test using JBOSS and oracle as backend...getting below 
exceptionsPlease help me how do i get rid of this connections issue...


12:41:29.821:0:F:sam.common.BaseDAO.initializeConnection:BaseDAO.java(99):SQL
Error 0 connecting to database (java:/jdbc/oraSAM): No ManagedConnections
available within configured blocking timeout ( 5000 [ms] ); - nested throwable:
(javax.resource.ResourceException: No ManagedConnections available within
configured blocking timeout ( 5000 [ms] ))
12:41:29.821:0:F:sam.common.BaseDAO.initializeConnection:BaseDAO.java(99):SQL
Error 0 connecting to database (java:/jdbc/oraSAM): No ManagedConnections
available within configured blocking timeout ( 5000 [ms] ); - nested throwable:
(javax.resource.ResourceException: No ManagedConnections available within
configured blocking timeout ( 5000 [ms] ))
12:41:29.823:0:F:sam.common.CPShortCodeGrpGroupHandler.readGroup:CPShortCodeGrpGroupHandler.java(56):Error
while Closing SQL Connection.
12:41:29.823:0:F:sam.common.CPIPGrpGroupHandler.readGroup:CPIPGrpGroupHandler.java(64):Error
while Closing SQL Connection.

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

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


[jboss-user] [Messaging, JMS & JBossMQ] - Re: Queue-Security

2008-01-22 Thread anupamkakade
Hi all,

Will u please help me to send a code for the Message sender and MDB for secure 
queues .
thanks in advance .

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

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


[jboss-user] [JBoss Seam] - Re: problem with multiple seam component jars in a WAR

2008-01-22 Thread zjsun
"srini.ragu" wrote : try this...
  | 
  | file:../lib/myapp1.jar
  | 
  | i.e. file: in the entry for jar file.
  | 
  | or something like file:/WEB-INF/lib/myapp.jar

i have all tries, only absolute path works!

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

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


[jboss-user] [JBossWS] - Re: Cannot obtain wsdl service - Help

2008-01-22 Thread vaswin
In addition to the above problem, i ve tried with wsrunclient to run the client 
program. but it also failed. 


C:\Projects\eclipseLambozworkspace\EchoService\build\classes>wsrunclient uk.co.r
egdeveloper.client.EchoClient
Starting Test Client
Creating a service Using:
http://127.0.0.1:8080/EchoService/EchoBean?wsdl
and {http://webservice.regdeveloper.co.uk/jaws}EchoService
Exception in thread "main" javax.xml.rpc.ServiceException: Failed to create fact
ory: org.jboss.ws.core.jaxrpc.client.ServiceFactoryImpl
at javax.xml.rpc.ServiceFactory.newInstance(ServiceFactory.java:110)
at uk.co.regdeveloper.client.EchoClient.main(EchoClient.java:15)
Caused by: java.lang.NoClassDefFoundError: org/jboss/util/NotImplementedExceptio
n
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2357)
at java.lang.Class.getConstructor0(Class.java:2671)
at java.lang.Class.newInstance0(Class.java:321)
at java.lang.Class.newInstance(Class.java:303)
at javax.xml.rpc.ServiceFactory.newInstance(ServiceFactory.java:85)
... 1 more

Pls help and explain.

Srinivas

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

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


[jboss-user] [JBossWS] - Cannot obtain wsdl service - Help

2008-01-22 Thread vaswin
Hi All,

 http://www.regdeveloper.co.uk/2007/01/23/ejb_web_services/ 

When i tried the above example with my JBoss 4.2.2 with Jboss Eclipse, the 
below error is appeared. help me.

Starting Test Client
Creating a service Using: 
http://127.0.0.1:8080/EchoService/EchoBean?wsdl 
and {http://webservice.regdeveloper.co.uk/jaws}EchoService
Exception in thread "main" java.lang.IllegalArgumentException: Cannot obtain 
wsdl service: {http://webservice.regdeveloper.co.uk/jaws}EchoService
at 
org.jboss.ws.metadata.builder.jaxrpc.JAXRPCClientMetaDataBuilder.buildMetaDataInternal(JAXRPCClientMetaDataBuilder.java:172)
at 
org.jboss.ws.metadata.builder.jaxrpc.JAXRPCClientMetaDataBuilder.buildMetaData(JAXRPCClientMetaDataBuilder.java:134)
at 
org.jboss.ws.metadata.builder.jaxrpc.JAXRPCClientMetaDataBuilder.buildMetaData(JAXRPCClientMetaDataBuilder.java:86)
at org.jboss.ws.core.jaxrpc.client.ServiceImpl.(ServiceImpl.java:111)
at 
org.jboss.ws.core.jaxrpc.client.ServiceFactoryImpl.createService(ServiceFactoryImpl.java:157)
at 
org.jboss.ws.core.jaxrpc.client.ServiceFactoryImpl.createService(ServiceFactoryImpl.java:128)
at uk.co.regdeveloper.client.EchoClient.main(EchoClient.java:19)


 
  | System.out.println("Starting Test Client"); 
  | URL url = new 
URL("http://127.0.0.1:8080/EchoService/EchoBean?wsdl";); 
  | QName qname = new QName( 
"http://webservice.regdeveloper.co.uk/jaws";, "EchoService"); 
  | System.out.println("Creating a service Using: \n\t" + url + " 
\n\tand " + qname); 
  | ServiceFactory factory = ServiceFactory.newInstance(); 
  | Service remote = factory.createService(url, qname); 
  | System.out.println("Obtaining reference to a proxy object"); 
  | Echo proxy = (Echo) remote.getPort(Echo.class); 
  | System.out.println("Accessed local proxy: " + proxy); 
  | String string = "John"; 
  | System.out.println("Sending: " + string); 
  | System.out.println("Receiving: " + proxy.echo("John")); } 

thx,
Srinivas


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

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


[jboss-user] [JBoss Seam] - Re: problem with multiple seam component jars in a WAR

2008-01-22 Thread srini.ragu
try this...

file:../lib/myapp1.jar

i.e. file: in the entry for jar file.

or something like file:/WEB-INF/lib/myapp.jar

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

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


[jboss-user] [Security & JAAS/JBoss] - Re: NullPointerException @ DatabaseServerLoginModule.java:14

2008-01-22 Thread jaikiran
anonymous wrote : 19:14:56,566 INFO  [ServerInfo] Java version: 1.6.0_02,Sun 
Microsystems Inc.
  | 19:14:56,567 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Server VM 
1.6.0_02-b05,Sun Microsystems In
  | c.

The first thing, i would suggest it to use Java 1.5 because JBoss is not yet 
fully qualified to work with Java 1.6

Also, did you by any chance edit the jndi.properties file in the 
server/default/conf folder? Or do you include any jndi.properties file in your 
application package? 

What are the changes that you have done (if any) to the server configurations 
on a freshly installed JBoss?

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

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


[jboss-user] [JBoss Seam] - any solutions for multiple entity module jars in one WAR?

2008-01-22 Thread zjsun
I want to divide my web application into some module jars(as my project is so 
large, and want to make deployment easier), each module jar contains the module 
spec entities. As in a WAR, i want these module jars use the root 
/WEB-INF/classes/persistence.xml, but after my tries, i am failed.

my war packaging as follows:

  | app.war/
  | META-INF/
  | MANIFEST.MF
  | WEB-INF/
  | web.xml
  | components.xml
  | faces-config.xml
  | pages.xml
  | classes/
  | META-INF/
  | orm.xml
  | persistence.xml
  | lib/
  | my-module1.jar/
  | META-INF/
  | MANIFEST.MF
  | components.xml
  | org/
  | jboss/
  | module1/
  | Entity1.class
  | ...
  | seam.properties
  | ...
  | home.xhtml
  | entity1List.xhtml
  | entity1.xhtml
  | ...
  | my-module2.jar/
  | META-INF/
  | MANIFEST.MF
  | components.xml
  | org/
  | jboss/
  | module2/
  | Entity2.class
  | ...
  | seam.properties
  | ...
  | home.xhtml
  | entity2List.xhtml
  | entity2.xhtml
  | ...
  | ...
  | 
  | login.xhtml
  | register.xhtml
  | ...
  | 

at first, the problem is that JPA does not load these entities in module 
jars(sitted in /WEB-INF/lib directory), one solution is to add all entity 
classes in the /WEB-INF/classes/persistence.xml by declaring "class" element.
but i just want not to edit these fussy elements in deployment time, so 
this solution is not suit for me.

is there any solutions that i can just put a module jar into /WEB-INF/lib 
directory, and dont need to edit the root persistence.xml

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

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


[jboss-user] [JBoss jBPM] - Re: Jbpm with tomcat and postgresql

2008-01-22 Thread jobu
Martin...

 Can i say somthing first u r simply great. yes i found the 
problem it was the wrong file in jbpm.sar.cfg.jar 
I have changed  hibernate.cfg.xml in  jbpm.sar.cfg.jar and deplyed it again
Then the problem disappears... Fist of alll thank you martin...

But one more problem
I just need to put the above jar files that i mentioned in to 
CATALINA_HOME/common/lib

Otherwise it will not work...
So now i put these all jar files in to my projects classpath and also in 
CATALINA_HOME/common/lib

1. Is there any solution for this??
2. Can i deploy my jbpm project in to Tomcat 4.1
3. Can i Stop the execution of the thread which is running the background(for 
timer)

 Thanks
   Jobu

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

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


[jboss-user] [JBoss Seam] - Re: Gravel in Seam 2

2008-01-22 Thread ar.mohseni
gravel 1.0.1

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

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


[jboss-user] [JBoss Messaging] - Re: Secure Queue implementation in JBoss 4.0.2.GA

2008-01-22 Thread anupamkakade
Dear Madhusudan,

Thanks a lot . This is the first time i got a reply on jboss.org. I will try to 
do the same and will let u know as soon as it happens . Once again thanks alot .

Anupam Kakade.
atom technologies ltd.
[EMAIL PROTECTED]

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

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


[jboss-user] [EJB 3.0] - Re: service=EJB3 + is already registered

2008-01-22 Thread juanm_med
Sorry, in the previous message the tags didn't show. The incorrect ant tag was:

 jar basedir="${app.classes.dir}" compress="true" jarfile="${jar}" 

The correct ant tag is:

 jar compress="true" jarfile="${jar}" 

Greetings

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

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


[jboss-user] [EJB 3.0] - Re: service=EJB3 + is already registered

2008-01-22 Thread juanm_med
Sorry, in the previous message the tags didn't show. The incorrect ant tag was:



The correct ant tag is:



Greetings

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

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


[jboss-user] [EJB 3.0] - Re: service=EJB3 + is already registered

2008-01-22 Thread juanm_med
Sorry, in the previous message the tags didn't show. The incorrect ant tag was:



The correct ant tag is:



Greetings

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

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


[jboss-user] [EJB 3.0] - Re: service=EJB3 + is already registered

2008-01-22 Thread juanm_med
Hi. I had the same problem, and finally solved it.

In my case, the problem seemed to be caused by the jar construction. In my 
build.xml file I had the following tag:



The problem solved when I removed the basedir parameter:



Somehow, the basedir attribute seemed to be duplicating the classes, although I 
couldn't see any duplicated class on the jar file.

Juan Manuel


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

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


[jboss-user] [JBoss jBPM] - Re: Problem with managed beans

2008-01-22 Thread kukeltje
STFF

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

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


[jboss-user] [JBoss Seam] - s:decorate and javaScript update ?

2008-01-22 Thread enda
I am trying to make a client side validation with seam.
Is here a non-Ajax way how to set s:decorate variable #{invalid} to true by 
javaScript?

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

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


[jboss-user] [JBoss Seam] - Re: Seam Topic Subscription only works with JBoss Libraries?

2008-01-22 Thread samdoyle
So looking at the SubscriptionRegistry code it appears that it is possible to 
override the default connection provider which results in the 
UIL2ConnectionFactory being used. Is there some specific configuration option I 
need to use to make this work with GlassFish?

Thanks, S.D.

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

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


[jboss-user] [JBoss Seam] - Re: problem with multiple seam component jars in a WAR

2008-01-22 Thread zjsun
i want to use  config element with a relative path, instead of the  
element, how to config a  in a relative path?

Thanks!

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

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


[jboss-user] [JBoss Seam] - Re: Seam Topic Subscription only works with JBoss Libraries?

2008-01-22 Thread samdoyle
Anyone?

Thanks, S.D.

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

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


[jboss-user] [EJB 3.0] - Re: javax.ejb.EJBException: Invalid (i.e. remote) invocation

2008-01-22 Thread ALRubinger
When you say "2 nodes", do you mean "2 instances of the JVM"? 

S,
ALR

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

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


[jboss-user] [JBoss Seam] - Event with @Observer not being fired

2008-01-22 Thread terryb
Seam 2.0.1CR1

Method with @Observer("org.jboss.seam.security.loggedOut") is not being 
recognised as event to fire. 
I also tried org.jboss.seam.loggedOut and  @Observer(Identity.EVENT_LOGGED_OUT) 
but same thing.

Using debugger shows Seam's Identity.logout() attempts to raise event but there 
is no event to be raised as
Event.raiseEvent() method shows List variable 'observers' being null. 

Any clues please?


  | Seam Events.java
  | 
  |public void raiseEvent(String type, Object... parameters)
  |{
  | ...
  | List observers = 
Init.instance().getObserverMethods(type);
  |   List observers = 
Init.instance().getObserverMethods(type);
  |   if (observers!=null)
  |   {
  | ...
  | 
  |   }
  | }
  | 
  | 
  | 
  | My Authenticator.java
  | 
  | @Observer("org.jboss.seam.security.loggedOut")
  | public void logout() {
  | activityLog.logOrgUser(orgUserAuthenticated.getUser(), 
ActivityLogger.Code.LOGOUT, null);
  | }
  | 
  | More details on this post:
  | http://jboss.com/index.html?module=bb&op=viewtopic&t=128184
  | 

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

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


[jboss-user] [Beginners Corner] - Re: JBoss starts but no access

2008-01-22 Thread PeterJ
This is really getting weird. According to this line:

TCP127.0.0.1:8080 127.0.0.1:1057 HERGESTELLT 3432
  [java.exe]

JBossAS had opened port 8080 on localhost, and according to this line:

[FIREFOX.EXE]
  TCP127.0.0.1:1057 127.0.0.1:8080 HERGESTELLT 3104

Firefox has successfully established a connection with JBossAS on port 8080. 
They should be talking to each other, and I don't understand why they don't. I 
will think about this overnight.



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

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


[jboss-user] [JBoss Seam] - Select item from table and convertEntity

2008-01-22 Thread brachie
Hi,

I have a use case to implement which could normally done with a 
 and . 
Imagine you have a project editing page where I can set the manager of a 
project. Normally this could be done with a drop-down list like:


  |  
  |  
  | 

So the  will automatically converts the selected person and 
set it to my project (project hast a setManager(Person p) method).

But what if the data-list (here: allPersons.resultList) is too big to show it 
in the drop-down list? Let's say the list has 10 entries.. In this case a 
popup should appear where I can search for persons, see the results in a table 
where I can select one to set for the project.
How could I accomplish that? Is there a way to use the  here 
or would I need to grab the id of the selected person manually and set it to 
the entity before saving it?

I think this is a common use case in real-world applications, so maybe one of 
you can give me a hint on how to implement it with Seam/JSF possibilities.

Thanks,

Alexander 


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

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


[jboss-user] [JBossCache] - Re: Hibernate and OptimisticTreeCache

2008-01-22 Thread youngm
thanks for the insight

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

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


[jboss-user] [EJB 3.0] - javax.ejb.EJBException: Invalid (i.e. remote) invocation of

2008-01-22 Thread kesavramesh
Hi all,

 This is really weird. I have a single machine with 2 nodes and each has the 
JNP address of 1199  and 1299.

I ma doing the lookup using the following code segment
Properties props = new Properties();
props.setProperty(Context.PROVIDER_URL, 
"jnp://localhost:1199,jnp://localhost:1299");
props.setProperty(Context.URL_PKG_PREFIXES, 
"org.jboss.naming:org.jnp.interfaces"); 
props.setProperty(Context.INITIAL_CONTEXT_FACTORY,"org.jnp.interfaces.NamingContextFactory");
InitialContext iniCtx = new InitialContext( props );
return iniCtx.lookup(lookupName);

when I try to find the EJB (Local) running on this box via the browser from 
another box within the network, I get the above stated exception.

Can some one throw light whats wrong?

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

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


[jboss-user] [JBoss Seam] - Re: JSF Component binding with conversation scope seam compo

2008-01-22 Thread ristretto
The seam manual here

http://docs.jboss.org/seam/2.0.1.CR1/reference/en/html/conversations.html#d0e5171

says,  alternatively to using bindings, do the following.  However, I can't get 
this to work.  uiComponent doesn't seem to exist, but I'm not sure 


  | 
  |
  |   Row: #{uiComponent['lineItemTable'].rowIndex}
  |
  |...
  | 
  | 
Is way really possible?  Is there a discussion on the implicit handles 
available to us using JFC, Facelets and Seam?

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

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


[jboss-user] [JNDI/Naming/Network] - Invalid (i.e. remote) invocation of local interface (null co

2008-01-22 Thread kesavramesh
Hi all,

 This is really weird. I have a single machine with 2 nodes and each has the 
JNP address of 1199  and 1299.

I ma doing the lookup using the following code segment
Properties props = new Properties();
props.setProperty(Context.PROVIDER_URL, 
"jnp://localhost:1199,jnp://localhost:1299");
props.setProperty(Context.URL_PKG_PREFIXES, 
"org.jboss.naming:org.jnp.interfaces"); 
props.setProperty(Context.INITIAL_CONTEXT_FACTORY,"org.jnp.interfaces.NamingContextFactory");
InitialContext iniCtx = new InitialContext( props );
return iniCtx.lookup(lookupName);

when I try to find the EJB (Local) running on this box via the browser from 
another box within the network, I get the above stated exception.

Can some one throw light whats wrong?

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Keep JBoss running when database is down

2008-01-22 Thread rmartinus
Hi,

I am currently using Jboss 4.2.0 connecting to Oracle database.
Do you think it is a good idea to keep JBoss running when the database goes 
down? Does it restore the connection when the database goes up?

Thanks.

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

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


[jboss-user] [JBoss Seam] - Re: Still confuse on usage of page param, help please!

2008-01-22 Thread gus888
Thanks, Shane. 

So, based on my understanding on page parameter, when I click on , the link's f:param will pass 
"#{selectedMember.memberName}" to "name", and redirect to /comment.xhml  page, 
then page param will get the "name" value and pass it to 
"#{selectedMember.memberName}" in bean. Is it correct? Thank for any guidance.

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

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


[jboss-user] [JBoss Seam] - Re: EJB hot incremental deployment

2008-01-22 Thread [EMAIL PROTECTED]
If you are referring to what I wrote, you need to add the clustering service 
and mark the app as distributable.  Here's something I wrote on the topic a few 
years ago.   To the best of my knowledge, nothing has changed.

http://members.capmac.org/~orb/blog.cgi/tech/java/Redeploy_web_apps_w.html

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

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


[jboss-user] [JBoss Seam] - Re: Can anyone provide a reference for seam in a financial /

2008-01-22 Thread john.curtin
Hi all - thanks for the feedback - I'll try the sales team!

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

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


[jboss-user] [JBoss Seam] - Re: EJB hot incremental deployment

2008-01-22 Thread asookazian
perhaps in default\conf\jboss-service.xml??


  |
  |
  | 
  |
  |
  | 
  |   
  |   jboss.system:service=MainDeployer

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

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


[jboss-user] [JBoss Seam] - Re: EJB hot incremental deployment

2008-01-22 Thread supernovasoftware.com
Where is this configured?

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

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


[jboss-user] [JBoss Messaging] - Re: Issue with WebFileMDB

2008-01-22 Thread rbreault
FIXED woohoo now just some db tweaks

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

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


[jboss-user] [Beginners Corner] - Re: JBoss starts but no access

2008-01-22 Thread NSchweig
Hello you two,

thank you for spending so much time in my problem!

Ok. 
I start jboss. The last message in the command prompt is:

22:46:09,156 INFO  [Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-8
080
22:46:09,203 INFO  [AjpProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009
22:46:09,234 INFO  [Server] JBoss (MX MicroKernel) [4.2.2.GA (build: SVNTag=JBos
s_4_2_2_GA date=200710221139)] Started in 27s:328ms

I usually start it with open a command promt, cd to bin directory and enter 
run. I do not close the cmd. 
If i doubleclick the run.bat it is the same no access to jboss.

My ipconfig /all output with being connected to the internet is:
Windows-IP-Konfiguration

Hostname. . . . . . . . . . . . . : home
Primäres DNS-Suffix . . . . . . . :
Knotentyp . . . . . . . . . . . . : Unbekannt
IP-Routing aktiviert. . . . . . . : Nein
WINS-Proxy aktiviert. . . . . . . : Nein

Ethernetadapter LAN-Verbindung:

Verbindungsspezifisches DNS-Suffix:
Beschreibung. . . . . . . . . . . : Marvell Yukon 88E8053 PCI-E Gigabi
Ethernet Controller
Physikalische Adresse . . . . . . : 00-17-31-68-23-9B
DHCP aktiviert. . . . . . . . . . : Ja
Autokonfiguration aktiviert . . . : Ja
IP-Adresse. . . . . . . . . . . . : 192.168.2.20
Subnetzmaske. . . . . . . . . . . : 255.255.255.0
Standardgateway . . . . . . . . . : 192.168.2.1
DHCP-Server . . . . . . . . . . . : 192.168.2.1
DNS-Server. . . . . . . . . . . . : 192.168.2.1
Lease erhalten. . . . . . . . . . : Dienstag, 22. Januar 2008 22:42:05
Lease läuft ab. . . . . . . . . . : Freitag, 1. Februar 2008 22:42:05

(If you need translation please tell me)

Without being connected to the internet it is:

Windows-IP-Konfiguration

Hostname. . . . . . . . . . . . . : home
Primäres DNS-Suffix . . . . . . . :
Knotentyp . . . . . . . . . . . . : Unbekannt
IP-Routing aktiviert. . . . . . . : Nein
WINS-Proxy aktiviert. . . . . . . : Nein

Ethernetadapter LAN-Verbindung:

Medienstatus. . . . . . . . . . . : Es besteht keine Verbindung
Beschreibung. . . . . . . . . . . : Marvell Yukon 88E8053 PCI-E Gigabit
Ethernet Controller
Physikalische Adresse . . . . . . : 00-17-31-68-23-9B


If I try it with telnet 127.0.0.1 1099 there is no output, the same like with 
localhost.

netstat -abn:
The output without being connected to the internet:

  | Aktive Verbindungen
  | 
  |   Proto  Lokale Adresse Remoteadresse  Status   PID
  |   TCP0.0.0.0:1350.0.0.0:0  ABHÖREN 
1016
  |   c:\windows\system32\WS2_32.dll
  |   C:\WINDOWS\system32\RPCRT4.dll
  |   c:\windows\system32\rpcss.dll
  |   C:\WINDOWS\system32\svchost.exe
  |   C:\WINDOWS\system32\ADVAPI32.dll
  |   [svchost.exe]
  | 
  |   TCP0.0.0.0:4450.0.0.0:0  ABHÖREN 4
  |   [System]
  |   TCP0.0.0.0:9900.0.0.0:0  ABHÖREN 
284
  |   [rapimgr.exe]
  |   TCP0.0.0.0:1053   0.0.0.0:0  ABHÖREN 
3432
  |   [java.exe]
  |   TCP0.0.0.0:1054   0.0.0.0:0  ABHÖREN 
3432
  |   [java.exe]
  |   TCP0.0.0.0:1056   0.0.0.0:0  ABHÖREN 
3432
  |   [java.exe]
  |   TCP0.0.0.0:3306   0.0.0.0:0  ABHÖREN 
1168
  |   [mysqld-nt.exe]
  |   TCP127.0.0.1:1025 0.0.0.0:0  ABHÖREN 
2504
  |   [alg.exe]
  |   TCP127.0.0.1:1098 0.0.0.0:0  ABHÖREN 
3432
  |   [java.exe]
  |   TCP127.0.0.1:1099 0.0.0.0:0  ABHÖREN 
3432
  |   [java.exe]
  |   TCP127.0.0.1:3873 0.0.0.0:0  ABHÖREN 
3432
  |   [java.exe]
  |   TCP127.0.0.1: 0.0.0.0:0  ABHÖREN 
3432
  |   [java.exe]
  |   TCP127.0.0.1:4445 0.0.0.0:0  ABHÖREN 
3432
  |   [java.exe]
  |   TCP127.0.0.1:4446 0.0.0.0:0  ABHÖREN 
3432
  |   [java.exe]
  |   TCP127.0.0.1:5679 0.0.0.0:0  ABHÖREN 
224
  |   [Wcescomm.exe]
  |   TCP127.0.0.1:7438 0.0.0.0:0  ABHÖREN 
224
  |   [Wcescomm.exe]
  |   TCP127.0.0.1:8009 0.0.0.0:0  ABHÖREN 
3432
  |   [java.exe]
  |   TCP127.0.0.1:8080 0.0.0.0:0  ABHÖREN 
3432
  |   [java.exe]
  |   TCP127.0.0.1:8083 0.0.0.0:0  ABHÖREN 
3432
  |   [java.exe]
  |   TCP127.0.0.1:8093 0.0.0.0:0  ABHÖREN 
3432
  |   [java.exe]
  |   TCP127.0.0.1:1029 127.0.0.1:1030 HERGESTELLT 3104
  |   [FIREFOX.EXE]
  |   TCP127.0.0.1:1030 127.0.0.1:1029 

[jboss-user] [JBoss Messaging] - Could not find the queue destination-jndi-name=queue

2008-01-22 Thread rbreault
More information

21:11:07,227 WARN  [JMSContainerInvoker] Could not find the queue 
destination-jndi-name=queue/webfileQueue
21:11:07,228 WARN  [JMSContainerInvoker] destination not found: 
queue/webfileQueue reason: javax.naming.NameNotFoundException: webfileQueue not 
bound
21:11:07,229 WARN  [JMSContainerInvoker] creating a new temporary destination: 
queue/webfileQueue
21:11:07,257 WARN  [JMSContainerInvoker] JMS provider failure detected for 
WebFileMDB
org.jboss.deployment.DeploymentException: Error during queue setup; - nested 
throwable: (javax.management.InstanceNotFoundException: 
jboss.mq:service=DestinationManager is not registered.)
at 
org.jboss.deployment.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:53)
at 
org.jboss.ejb.plugins.jms.JMSContainerInvoker.innerStartDelivery(JMSContainerInvoker.java:811)
at 
org.jboss.ejb.plugins.jms.JMSContainerInvoker.startService(JMSContainerInvoker.java:839)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)

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

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


[jboss-user] [JBoss Seam] - Seam Topic Subscription only works with JBoss Libraries?

2008-01-22 Thread samdoyle
I'm executing this in my JavaScript based off the chatroom example. I'm 
attempting to deploy this in GlassFish. Do I need some specific JBoss MQ 
libraries deployed? Will it now work with another JMS implementation such as 
Open MQ? I suspect this since it is looking for this UIL2ConnectionFactory.


  | function connect() 
  | {
  |Seam.Remoting.subscribe( "jms/transitTopic", transitMessageCallback );  
  | }
  | 

I get the following error even though I know the Topic exists and the JNDI name 
is correct. I have configured the components.xml to allow the topic.


  | 
[#|2008-01-22T01:40:07.430-0800|SEVERE|sun-appserver9.1|org.jboss.seam.remoting.messaging.SubscriptionRegistry|_ThreadID=36;_ThreadName=httpSSLWorkerThread-8080-0;_RequestID=eaaff11c-7fd9-442b-834a-3894f052eafb;|javax.naming.NameNotFoundException:
 UIL2ConnectionFactory not found|#]
  | 
  | 

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

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


[jboss-user] [EJB 3.0] - Re: Using joda time in entites

2008-01-22 Thread genman
I would create two methods. Create public getter/setters as @Transient that use 
JODA, create protected getter/setters that return java.util.Date marked with 
@Column.

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

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


[jboss-user] [JCA/JBoss] - Re: Connection Sharing

2008-01-22 Thread [EMAIL PROTECTED]
com.arjuna.ats.jta.allowMultipleLastResources=true 

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

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


[jboss-user] [JCA/JBoss] - Re: Connection Sharing

2008-01-22 Thread [EMAIL PROTECTED]
The property,
 
that is.

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

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


[jboss-user] [JBoss Seam] - Re: Long running conversation

2008-01-22 Thread ristretto
"[EMAIL PROTECTED]" wrote : 
  | Is the bean deployed at startup?

I believe so.   In any case this was related to the JSF binding issues you 
pointed out in another thread.  

http://docs.jboss.org/seam/2.0.1.CR1/reference/en/html/conversations.html#d0e5171

thanks for you responses and help!!

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

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


[jboss-user] [Messaging, JMS & JBossMQ] - Re: Recover Exception after Rollback in JMS

2008-01-22 Thread genman
It's not really supported.

If you want to do this, one way is to create a new message (copy?), using a 
non-transacted JMS connection and send it back to the same queue (or a separate 
queue) with the exception.


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

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


[jboss-user] [JCA/JBoss] - Re: Connection Sharing

2008-01-22 Thread [EMAIL PROTECTED]
I can resolve this issue by setting the property:
   
in jbossjta-properties.xml but I don't think that is the solution.  When 
running this test with AS 4.2, calling EJB2's business method to get another 
connection shows that we are tracking by Tx; i.e., 
TRACE [org.jboss.resource.connectionmanager.TxConnectionManager]
 getManagedConnection trackByTx=true tx=TransactionImple < ac, BasicAction: 
-53efacde:e2c1:476000d6:51 status: ActionStatus.RUNNING >

and we get the connectionfrom the pool trackedByTx:
 Got connection from pool tracked by transaction [EMAIL PROTECTED]
thus;
Using connection from pool tracked by transaction [EMAIL PROTECTED]
handles=0
 [InUse/Available/Max]: [1/19/20]

With the old xslt deployer, these mbean attributes were set :
  true
  true

With AS5, calling ds2.getConnection() in EJB2, trackByTx is false;
 TRACE [org.jboss.resource.connectionmanager.TxConnectionManager:350]
 getManagedConnection trackByTx=false tx=null subject=null

 supplying new ManagedConnection: [EMAIL PROTECTED]
 Got connection from pool [EMAIL PROTECTED]
 [InUse/Available/Max]: [2/8/10]

With the new deployment
 TRACE [org.jboss.resource.deployment.ResourceAdapterObjectModelFactory:486] 
transaction support setValue: nuri=http://java.sun.com/xml/ns/j2ee 
localName=transaction-support value=LocalTransaction
was added for the ConnectorMetaData but I don't see TrackStatements.

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

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


[jboss-user] [JBoss Messaging] - Issue with WebFileMDB

2008-01-22 Thread rbreault
I keep getting the following error not sure what or why have any of you seen 
this

21:17:57,780 ERROR [ClosedInterceptor] 
ClosedInterceptor.ClientConnectionDelegate[-2147483411]: method 
setExceptionListener() did not go through, the interceptor is CLOSED
21:17:57,781 ERROR [ClosedInterceptor] 
ClosedInterceptor.ClientConnectionDelegate[-2147483411]: method stop() did not 
go through, the interceptor is CLOSED
21:17:57,782 INFO  [JMSContainerInvoker] Waiting for reconnect internal 1ms 
for WebFileMDB
21:18:07,784 INFO  [JMSContainerInvoker] Trying to reconnect to JMS provider 
for WebFileMDB
21:18:07,790 WARN  [JMSContainerInvoker] Could not find the queue 
destination-jndi-name=queue/webfileQueue
21:18:07,790 WARN  [JMSContainerInvoker] destination not found: 
queue/webfileQueue reason: javax.naming.NameNotFoundException: webfileQueue not 
bound
21:18:07,790 WARN  [JMSContainerInvoker] creating a new temporary destination: 
queue/webfileQueue
21:18:07,792 ERROR [JMSContainerInvoker] Reconnect failed: JMS provider failure 
detected for WebFileMDB
org.jboss.deployment.DeploymentException: Error during queue setup; - nested 
throwable: (javax.management.InstanceNotFoundException: 
jboss.mq:service=DestinationManager is not registered.)
at 
org.jboss.deployment.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:53)
at 
org.jboss.ejb.plugins.jms.JMSContainerInvoker.innerStartDelivery(JMSContainerInvoker.java:811)
at 
org.jboss.ejb.plugins.jms.JMSContainerInvoker$ExceptionListenerImpl$ExceptionListenerRunnable.run(JMSContainerInvoker.java:1428)
at java.lang.Thread.run(Thread.java:595)
Caused by: javax.management.InstanceNotFoundException: 
jboss.mq:service=DestinationManager is not registered.
at 
org.jboss.mx.server.registry.BasicMBeanRegistry.get(BasicMBeanRegistry.java:523)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:653)
at 
org.jboss.ejb.plugins.jms.JMSContainerInvoker.createDestination(JMSContainerInvoker.java:1113)
at 
org.jboss.ejb.plugins.jms.JMSContainerInvoker.innerStartDelivery(JMSContainerInvoker.java:777)
... 2 more
21:18:07,792 ERROR [ClosedInterceptor] 
ClosedInterceptor.ClientConnectionDelegate[-2147483409]: method 
setExceptionListener() did not go through, the interceptor is CLOSED
21:18:07,792 ERROR [ClosedInterceptor] 
ClosedInterceptor.ClientConnectionDelegate[-2147483409]: method stop() did not 
go through, the interceptor is CLOSED
21:18:07,794 INFO  [JMSContainerInvoker] Waiting for reconnect internal 1ms 
for WebFileMDB 

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

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


[jboss-user] [JBoss Messaging] - Re: Issues moving from postgresql to oracle

2008-01-22 Thread rbreault
ok I solved almost all my issues.

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

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


[jboss-user] [JBossCache] - Re: Config Question

2008-01-22 Thread [EMAIL PROTECTED]
"lovelyliatroim" wrote : 
  |   I have a cache configured with a JDBCCacheLoader and in my cache i have a 
region where i dont want any nodes in the cache memory i.e they will be 
retrieved through the cacheloader. How do i configure the region to have no 
nodes in memory since if i set it to 0 then this means no limit?? Maybe -1?? 
  | 

Definitely a limitation.  Could you please create a feature request in JIRA for 
this and vote for it?

"lovelyliatroim" wrote : 
  | Ok next question. Im running some tests where im writing 32kb image to the 
DB through JBossCache. This is the region where i would like it to have no 
nodes in memory but currently have it configured to 1. Now if i write say 5000  
objects/blobs to the cache/db i get a good throughput figure around 95 per 
second, however if i run the same test for a sustained period of time this 
figure drops down to around 20 per sec. Thats a big drop. Now I have a feeling 
that 2 things might be causing or attributing to the drop. First being the 
asynch mode, havent looked to see how it works under the hood but i assume that 
the write requests are buffered somewhere in memory and the heavier the load 
the more write requests will be buffered, when i run 5,000 writes, its a short 
burst but when i run the test over a sustained period all these writes are 
adding on to the asynch buffer thus increasing the load in memory and slowing 
down throughput. 2nd thing that  i think is causing a problem !
 is the eviction of the 1 node i have in memory. When the test is running i get 
a flury of debug messages saying "node added" and then it pauses for 1-2 
seconds and then i start seeing 
  | anonymous wrote : 
  |   | Eviction of /image/3457 timed out, retrying later
  |   | 
  | And it generally comes in groups of 3´s and then carries on writing, 
pauses again, outputs the above and carries on again. Now if i could configure 
my region to tell the cache to have no nodes in memory then this would probably 
remove this problem or is there something else i can do??
  | Any thoughts on why the big drop over time??
  | 

What could be your problem is how often your eviction thread kicks in.  If you 
have enough memory to deal with temporary spikes before the eviction thread 
clears down unused nodes, I'd set this not to run too frequently.

"lovelyliatroim" wrote : 
  | Another question i was thinking about, is there any way to give the asynch 
buffer more time i.e to catch up or how exactly does the asynch mode work under 
the hood. 
  | 

I don't think it is replication, although you could tune it by using a 
ReplicationQueue (by default, even async replication happens immediately; the 
caller thread just doesn't wait for the response).  See the user guide/sample 
configs for how to use the ReplicationQueue to defer this; it can be triggered 
either by time or size.

"lovelyliatroim" wrote : 
  | And my last question. ;) Its off topic a bit, do you know what JBoss AS 5.0 
milestones are i.e when the final production release will be.(I see the road 
map but no dates 
http://jira.jboss.com/jira/browse/JBAS?report=com.atlassian.jira.plugin.system.project:roadmap-panel
 ) In a bit of dilema as to whether to use JBoss Cache 1.4 with JBoss AS 4.2.x 
or go with JBoss Cache 2.0 and AS 5.0 Beta3 at the moment!! My production 
release date is Mayany thoughts on it, pro´s or cons??
  | 

Sorry - that is a question for the JBoss AS guys.  :-)  JBoss AS will most 
likely ship with JBoss Cache 2.1.0, BTW.

Also, if you are using the cache directly (i.e., packaged in your webapp or 
ear), you could even use 2.0.0/2.1.0 with JBoss AS 4.x.  See 
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossCacheAsCompatibility

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4122387

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


[jboss-user] [JBossCache] - Re: org.jboss.cache.lock.TimeoutException thrown in second i

2008-01-22 Thread [EMAIL PROTECTED]
This is probably something I'd bring up on the Hibernate forum then, seems like 
they're trying to perform more query operations within their exception.

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

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


[jboss-user] [JBossCache] - Re: Query related to jboss cache transaction

2008-01-22 Thread [EMAIL PROTECTED]
Even with 2-phase synchronous commits, there is a chance that one transaction 
won't succeed, in which case you could retry the transaction.

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

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


[jboss-user] [JBossCache] - Re: Hibernate and OptimisticTreeCache

2008-01-22 Thread [EMAIL PROTECTED]
I'm not entirely sure if Hibernate has any other forms of keeping the cache and 
the DB in sync, but if they use a simple non-blocking version, then there is 
every chance that the cache and the DB could get out of sync.

AFAIR they do very strongly recommend using a version column though.

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

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


[jboss-user] [JBossCache] - Re: Problem after loading Huge data

2008-01-22 Thread [EMAIL PROTECTED]
Please read through the eviction section of the user guide.  This will explain 
how each eviction policy works, and you can decide which is most appropriate 
for you.

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

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


[jboss-user] [JBossWS] - I would like to marshall JaxB object in soapheader.

2008-01-22 Thread Vincent321
Hi all, 

I followed the following 
tutorialhttp://labs.jboss.com/jbossws/user-guide/en/html/1.0.4/en/html/headers-handlers.html
to insert information in the header.

I tried to marshall the jaxb object with the following code :
stub.addUnboundHeader(
  |   xmlName, Constants.TYPE_LITERAL_STRING, 
  |   String.class, ParameterMode.IN
  |   );
  | ms.marshal(createRequesterCredentials, stringWriter);
  | 
  | String mySoapHeader = stringWriter.toString().substring("".length() )  ;
  | 
  | System.out.println(mySoapHeader);
  | stub.setUnboundHeaderValue(xmlName,mySoapHeader);
  | 

But than the xml string inside the header of the soap enveloppe is inside a 
CDATA block :-(

Do you have any clue to have the right xml data inside the header ?

Many thanks in advance

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

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


[jboss-user] [JBossCache] - Re: org.jgroups.protocols.UDP [WARN] packet from 192.168.100

2008-01-22 Thread [EMAIL PROTECTED]
make sure both JGroups versions are the same.  


  | java -jar jgroups.jar
  | 

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

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


[jboss-user] [JBossCache] - Re: ClusteredCacheLoader + LOCAL CacheMode

2008-01-22 Thread [EMAIL PROTECTED]
Adding some JIRA links to this thread for future ref:

1.  IgnoreModifications was designed for use when you chain cache loaders.  See 
JBCACHE-751 for getting this to work on individual cache loaders.

2.  I've created a feature request for being able to use a ClusteredCacheLoader 
with CacheMode.LOCAL.  JBCACHE-1273

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

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


[jboss-user] [Clustering/JBoss] - Re: problem with Jboss cluster- JNDI help

2008-01-22 Thread kesavramesh
Is there a difference between  enabling replication of web application 
(web.xml) and enabling Buddy replication??

Is it mandatory to use clustering of EJB's (3.0) using the @clustered 
interface??

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

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


[jboss-user] [JBoss jBPM] - Re: Not able to deploy changed mail template configuration v

2008-01-22 Thread aapthorp
Hmm, from what I can tell the ProcessClassLoader only picks up class files from 
the classes directory. I'll log this on JIRA.

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

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


[jboss-user] [Clustering/JBoss] - Re: problem with Jboss cluster- JNDI help

2008-01-22 Thread kesavramesh
but what about the ServiceLocator Exception when I give the jnp address?

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

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


[jboss-user] [JBoss Seam] - Re: EJB hot incremental deployment

2008-01-22 Thread [EMAIL PROTECTED]
The conversation should still exist, but I don't think instances in the 
conversation can be updated with the new component definitions.  So, if you are 
updating the classes, you should generally consider the conversation to be dead.

BTW, Seam in Action is slightly misleading about the HTTP Session going away on 
redeploy.  In JBoss, when you turn on HTTP session replication (even for 
non-clustered applications) then your session can be maintained between 
redeployments.  When your app is redeployed, the session data is reloaded from 
the cache and you can keep going with the new code.

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

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


[jboss-user] [JBoss Seam] - error after seam generate-entities

2008-01-22 Thread spulver
After using seam generate-entities using a simple one table H2 db I got the 
following error:

[javac] Compiling 4 source files to 
/Volumes/Workbench/Projects/Development/SEAM/Projects/helloworld/exploded-archives/helloworld.jar
[javac] 
/Volumes/Workbench/Projects/Development/SEAM/Projects/helloworld/src/action/ch/imove/helloworld/HelloHome.java:20:
 ch.imove.helloworld.Hello is abstract; cannot be instantiated
[javac] Hello hello = new Hello();
[javac]   ^
[javac] 
/Volumes/Workbench/Projects/Development/SEAM/Projects/helloworld/src/action/ch/imove/helloworld/HelloList.java:16:
 ch.imove.helloworld.Hello is abstract; cannot be instantiated
[javac] private Hello hello = new Hello();
[javac]   ^
[javac] 2 errors

Any idea what's missing?

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

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


[jboss-user] [JBossCache] - Re: Eviction/passivation is called when server shutdown ?

2008-01-22 Thread [EMAIL PROTECTED]
did you try just using a cacheloader with passivation = false?

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

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


[jboss-user] [JBossCache] - Re: JBOSS Cache doesn't update data in remote node of cluste

2008-01-22 Thread [EMAIL PROTECTED]
disable buddy replication.

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

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


[jboss-user] [Clustering/JBoss] - Re: problem with Jboss cluster- JNDI help

2008-01-22 Thread [EMAIL PROTECTED]
Turn off DEBUG logging in conf/jboss-log4j.xml (conf/log4j.xml in earlier 
versions).

Those are totally normal log messages.

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

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


[jboss-user] [JBossCache] - Re: JDBCacheLoader & hot redeploy

2008-01-22 Thread [EMAIL PROTECTED]
How do you create the cache?  Do you do so programmatically in your 
application?  Or is it via a -beans.xml or mbean service file?

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

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


[jboss-user] [JBoss Seam] - Re: Exceptions ending conversations

2008-01-22 Thread alessandrolt
alessandrolt wrote : 
  | The error remains, even with JavaBeans, @ApplicationContext, 
RuntimeException or Exceptions
  | 

 ... @ApplicationException




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

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


[jboss-user] [JBoss Seam] - Re: Target Unreachable, identifier 'expre' resolved to null

2008-01-22 Thread ristretto
Indeed, I'm in the same boat.   Hopefully we'll get an explanation here.

In the orignial posting, I saw in supplier.xhtml


  | 
  |   
  | 

Looks like desperation, I don't think you should have to do the "join" there.  
You might have to put the conversation id there?  But, I think that's only for 
links.

In any case, sorry, I don't have an answer for you.  I'm in the same situation. 
 I'm finding it quite frustrating that I have to waste time figuring out how to 
submit data in Seam/JSF 

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

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


[jboss-user] [JBoss Seam] - getInstance causing a ClassCastException

2008-01-22 Thread jrwsampson
Using Seam 2.0.0 GA:

I have a conversational component which accesses a session component using 
Component.getInstance("componentName"). This has been causing a 
ClassCastException... it looks like the object returned is a 
org.javassist.tmp.java.lang.Object_$$_javassist_0.

How do I get the actual component? If I cast this object I get a class cast 
exception...

This is the component that I want access to:

  | @Stateful
  | @Name("brandedPageManager")
  | @Scope(SESSION)
  | public class BrandedPageManager implements IBrandedPageManager {
  | ...
  | }
  | 

And this is the component that uses it:

  | @Stateful
  | @Name("templateChooser")
  | @Conversational
  | public class TemplateChooser implements ITemplateChooser {
  | ...
  | @End
  | public String save() {
  | try {
  | user.getWebpage().setWebpagetype(template);
  | em.merge(user);
  | }  catch (Exception e ){
  | facesMessages.add("There was a problem saving your 
information.");
  | return "";
  | }
  | BrandedPageManager brandedPageManager = (BrandedPageManager) 
Component.getInstance("brandedPageManager");
  | if(brandedPageManager != null) {
  | brandedPageManager.setUser(user);
  | }
  | return "/public/home.xhtml?uid=#{user.id}"; 
  | }
  | ...
  | }

Here is the exception:
Exception during request processing:
  | Caused by javax.el.ELException with message: 
"javax.ejb.EJBTransactionRolledbackException: 
org.javassist.tmp.java.lang.Object_$$_javassist_0"
  | 
  | org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:332)
  | org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:341)
  | org.jboss.el.parser.AstPropertySuffix.invoke(AstPropertySuffix.java:58)
  | org.jboss.el.parser.AstValue.invoke(AstValue.java:96)
  | org.jboss.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276)
  | org.jboss.seam.core.Expressions$2.invoke(Expressions.java:174)
  | org.jboss.seam.navigation.Pages.callAction(Pages.java:636)
  | org.jboss.seam.navigation.Pages.preRender(Pages.java:289)
  | 
org.jboss.seam.jsf.SeamPhaseListener.preRenderPage(SeamPhaseListener.java:544)
  | 
org.jboss.seam.jsf.SeamPhaseListener.beforeRenderResponse(SeamPhaseListener.java:455)
  | 
org.jboss.seam.jsf.SeamPhaseListener.beforeServletPhase(SeamPhaseListener.java:146)
  | org.jboss.seam.jsf.SeamPhaseListener.beforePhase(SeamPhaseListener.java:116)
  | com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:222)
  | com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
  | javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
  | 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
  | 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  | 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
  | org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:68)
  | 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:85)
  | 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
  | 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:44)
  | 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:141)
  | org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:281)
  | org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:60)
  | 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58)
  | 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:150)
  | 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
  | 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  | 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
  | 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
  | 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  | 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
  | 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
  | 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
  | 
org.apache.catalina.authenticator.Aut

[jboss-user] [JBoss Seam] - Re: DocumentStore exception

2008-01-22 Thread [EMAIL PROTECTED]
There's not enough information here for someone to recreate your problem.  

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

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


[jboss-user] [Clustering/JBoss] - Re: problem with Jboss cluster- JNDI help

2008-01-22 Thread kesavramesh
"kesavramesh" wrote : We have an application running on 2 JBoss nodes running 
on the same machine (RMI ports 1199, 1299) I checked up the same in the 
JMX-CONSOLE too.
  | 
  | I have Apache mod_jk sitting in front of the application servers.
  | 
  |  I have enabled BuddyReplication and session replication(web.xml has the 
tag )
  | 
  | jboss-4.2.2.GA\server\node1\deploy\jboss-web-cluster.sar\META-INF\ 
jboss-service.xml 
  | SERIALIZABLE
  | 
  | jboss-4.2.2.GA\server\node1\deploy\jboss-web-cluster.sar\META-INF\ 
jboss-service.xml 
  | 
  | 
  | true
  | org.jboss.cache.buddyreplication.NextMemberBuddyLocator
  | 
  | numBuddies = 1
  | ignoreColocatedBuddies = true
  | 
  | default
  | 2000
  | false
  | true
  | true
  | 
  | 
  | 
  |  
  | 
  | All of a sudden I have lots of DEBUG messages in the log files
  | œDEBUG [org.jboss.web.tomcat.service.session.JBossCacheManager] - 
Looking for sessions that have expired ...
  | 
  | DEBUG [org.jboss.web.tomcat.service.session.JvmRouteValve] - 
checkJvmRoute(): check if need to re-route based on JvmRoute. Session id: 
yGDtf+7isob8Q5alzt5hMg**.node1 jvmRoute: node1
  | 
  | How do I prevent this??
  | 
  | Also when I use the cluster jnp address as 
“jnp://ipaddress:1199,jnp:ipaddress:1299”, it throws 
ServiceLocator exception.
  | "kesavramesh" wrote : 

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4122361

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


[jboss-user] [JBoss Seam] - Re: .war file or .war directory?

2008-01-22 Thread [EMAIL PROTECTED]
I'm envisioning a future version of Seam with a special syntax for hello world 
applications.  Maybe the exclamation point?   Then we could give great demos:

"Watch now as I deploy the exclamation point to the application server.  Now 
I'll access the web page.  And there it is.  Hello world in one character!"





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

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


[jboss-user] [JBoss Seam] - Re: Ear with multiple web modules - problem with components.

2008-01-22 Thread reind
I've filed a JIRA issue:
http://jira.jboss.org/jira/browse/JBSEAM-2523

>From what I've found it looks like the Identity component is not scopped to 
>the appropriate WAR. If you have an EAR with multiple WARs it's not clear 
>which Identy component (which components.xml configuration) will apply.

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

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


[jboss-user] [Clustering/JBoss] - problem with Jboss cluster- JNDI help

2008-01-22 Thread kesavramesh
We have an application running on 2 JBoss nodes running on the same machine.

 

I have Apache mod_jk sitting in front of the application servers.

 

I have enabled BuddyReplication and session replication(web.xml has the tag )

jboss-4.2.2.GA\server\node1\deploy\jboss-web-cluster.sar\META-INF\ 
jboss-service.xml 
SERIALIZABLE

 

jboss-4.2.2.GA\server\node1\deploy\jboss-web-cluster.sar\META-INF\ 
jboss-service.xml 




true

org.jboss.cache.buddyreplication.NextMemberBuddyLocator



numBuddies = 1

ignoreColocatedBuddies = true



 

default

2000

 

false

true

true

 





 

All of a sudden I have lots of DEBUG messages in the log files

“DEBUG [org.jboss.web.tomcat.service.session.JBossCacheManager] - Looking for 
sessions that have expired ...”

DEBUG [org.jboss.web.tomcat.service.session.JvmRouteValve] - checkJvmRoute(): 
check if need to re-route based on JvmRoute. Session id: 
yGDtf+7isob8Q5alzt5hMg**.node1 jvmRoute: node1

 

How do I prevent this??



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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4122359

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


[jboss-user] [JBoss Seam] - Re: Creating Seam iText PDF: Linebreak in p:table cell

2008-01-22 Thread [EMAIL PROTECTED]
I would recommend that all your text be wrapped in a paragraph in one way or 
another.  So, if this is all one logical block of text, put the whole thing in 
a paragraph.   Otherwise you get a bunch of iText chunks, which is either 
confusing iText or the Seam wrapper for it.  If you open up a JIRA case, I can 
take a look.

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

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


[jboss-user] [JBoss Seam] - NonUniqueObjectException and EntityManager

2008-01-22 Thread blabno
Hello, I get NonUniqueObjectException when I call addCountry() on following 
bean.
em.contains(country) does not find country object, however 
Contexts.lookupInStatefulContexts("country") does find it. But why calling 
em.find method invocation makes something to inert found entity into any 
contexts ?
I found in seam examples that db lookup is based on query result, why is that 
so and not based on em.find or em.contains ?

@Stateful
  | @Scope(ScopeType.SESSION)
  | @Name("countryCreator")
  | public class CountryCreatorBean implements CountryCreatorLocal {
  | @PersistenceContext
  | private EntityManager em;
  | @In
  | private Country country;
  | @EJB
  | private LocationLocal locationBean;
  | public void addCountry() {
  | country.setId("pl");
  | country.setName("Poland");
  | System.out.println(em.contains(country)); //prints false
  | System.out.print(Contexts.lookupInStatefulContexts("country")); 
//this finds object [id=pl;name=Poland]
  | if( em.find(Country.class,country.getId()) != null )//this 
triggers exception
  | em.persist(country);
  | //locationBean.add(country);
  | }
  | @Remove
  | public void destroy() {}
  | }


ERROR [GraphElement] action threw exception: 
javax.ejb.EJBTransactionRolledbackException: 
org.hibernate.NonUniqueObjectException: a different object with the same 
identifier value was already associated with the session: 
[pl.labno.bernard.bidbull.locations.Country#pl]
  | javax.el.ELException: javax.ejb.EJBTransactionRolledbackException: 
org.hibernate.NonUniqueObjectException: a different object with the same 
identifier value was already associated with the session: 
[pl.labno.bernard.bidbull.locations.Country#pl]

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

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


[jboss-user] [JBoss Seam] - Re: Problem with h:selectManyListbox and hibernate entities

2008-01-22 Thread graben
Problem seems to be fixed in JSF Nightly Builds 1.2_08.

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

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


[jboss-user] [JBoss Seam] - EJB hot incremental deployment

2008-01-22 Thread asookazian
what is the status regarding adding this functionality to Seam?  It is not 
currently available in Seam 2.0.0.GA and would be VERY useful to have (the 
xhtml hot deploy is great!).  Is there a JIRA issue for this?

Is it going to be targeted for release and coincide with EJB 3.1 release which 
apparently is going to remove local interface for session beans?

Any possibility to add hot incremental deployment for JPA entities as well?

If JBoss Seam dev team could get full incremental hot deployment released in a 
new version of Seam that supports facelets, java beans, session beans, JPA 
entities without affecting a current conversation that would be fantastic.

Is that possible?

Also, according to the Seam in Action book, when you hot incremental deploy a 
POJO with Seam, "the best part is that the application experiences minimal 
disruption. Your HTTP session
remains intact and therefore you should be able to continue testing the 
interface without starting over from the
beginning."  -- pg. 61 MEAP eBook

Does this also mean that the current conversation is not affected as well?

thx.

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

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


[jboss-user] [JBoss jBPM] - Re: Problem with managed beans

2008-01-22 Thread rodosa
I forgot tell you that when I enter in the web console the following messagings 
 appear in the console:


  | 20:11:12,812 ERROR [STDERR] 22-ene-2008 20:11:12 
com.sun.faces.lifecycle.ELResolverInitPhaseListener 
populateFacesELResolverForJsp
  | INFO: JSF1027: [null] The ELResolvers for JSF were not registered with the 
JSP container.
  | 
  | 20:11:13,046 ERROR [STDERR] 22-ene-2008 20:11:13 
com.sun.facelets.compiler.TagLibraryConfig loadImplicit
  | INFO: Added Library from: 
jar:file:/C:/jbpm/jbpm-jpdl-3.2.2/server/server/jbpm/tmp/deploy/tmp57949jbpm-console-exp.war/WEB-INF/lib/gravel-14.jar!/META-INF/gravel-action.taglib.xml
  | 
  | 20:11:13,062 ERROR [STDERR] 22-ene-2008 20:11:13 
com.sun.facelets.compiler.TagLibraryConfig loadImplicit
  | INFO: Added Library from: 
jar:file:/C:/jbpm/jbpm-jpdl-3.2.2/server/server/jbpm/tmp/deploy/tmp57945jbpm4jsf-14.jar!/META-INF/tf.taglib.xml
  | 
  | 20:11:13,078 ERROR [STDERR] 22-ene-2008 20:11:13 
com.sun.facelets.compiler.TagLibraryConfig loadImplicit
  | INFO: Added Library from: 
jar:file:/C:/jbpm/jbpm-jpdl-3.2.2/server/server/jbpm/tmp/deploy/tmp57945jbpm4jsf-14.jar!/META-INF/identity.taglib.xml
  | 
  | 20:11:13,109 ERROR [STDERR] 22-ene-2008 20:11:13 
com.sun.facelets.compiler.TagLibraryConfig loadImplicit
  | INFO: Added Library from: 
jar:file:/C:/jbpm/jbpm-jpdl-3.2.2/server/server/jbpm/tmp/deploy/tmp57949jbpm-console-exp.war/WEB-INF/lib/gravel-14.jar!/META-INF/gravel-compat.taglib.xml
  | 
  | 20:11:13,125 ERROR [STDERR] 22-ene-2008 20:11:13 
com.sun.facelets.compiler.TagLibraryConfig loadImplicit
  | INFO: Added Library from: 
jar:file:/C:/jbpm/jbpm-jpdl-3.2.2/server/server/jbpm/tmp/deploy/tmp57947jsf-facelets.jar!/META-INF/jsf-core.taglib.xml
  | 
  | 20:11:13,140 ERROR [STDERR] 22-ene-2008 20:11:13 
com.sun.facelets.compiler.TagLibraryConfig loadImplicit
  | INFO: Added Library from: 
jar:file:/C:/jbpm/jbpm-jpdl-3.2.2/server/server/jbpm/tmp/deploy/tmp57949jbpm-console-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jstl-core.taglib.xml
  | 
  | 20:11:13,140 ERROR [STDERR] 22-ene-2008 20:11:13 
com.sun.facelets.compiler.TagLibraryConfig loadImplicit
  | INFO: Added Library from: 
jar:file:/C:/jbpm/jbpm-jpdl-3.2.2/server/server/jbpm/tmp/deploy/tmp57947jsf-facelets.jar!/META-INF/jstl-core.taglib.xml
  | 
  | 20:11:13,140 ERROR [STDERR] 22-ene-2008 20:11:13 
com.sun.facelets.compiler.TagLibraryConfig loadImplicit
  | INFO: Added Library from: 
jar:file:/C:/jbpm/jbpm-jpdl-3.2.2/server/server/jbpm/tmp/deploy/tmp57940gravel-14.jar!/META-INF/gravel-compat.taglib.xml
  | 
  | 20:11:13,156 ERROR [STDERR] 22-ene-2008 20:11:13 
com.sun.facelets.compiler.TagLibraryConfig loadImplicit
  | INFO: Added Library from: 
jar:file:/C:/jbpm/jbpm-jpdl-3.2.2/server/server/jbpm/tmp/deploy/tmp57949jbpm-console-exp.war/WEB-INF/lib/jbpm4jsf-14.jar!/META-INF/tf-compat.taglib.xml
  | 
  | 20:11:13,156 ERROR [STDERR] 22-ene-2008 20:11:13 
com.sun.facelets.compiler.TagLibraryConfig loadImplicit
  | INFO: Added Library from: 
jar:file:/C:/jbpm/jbpm-jpdl-3.2.2/server/server/jbpm/tmp/deploy/tmp57940gravel-14.jar!/META-INF/gravel-action.taglib.xml
  | 
  | 20:11:13,156 ERROR [STDERR] 22-ene-2008 20:11:13 
com.sun.facelets.compiler.TagLibraryConfig loadImplicit
  | INFO: Added Library from: 
jar:file:/C:/jbpm/jbpm-jpdl-3.2.2/server/server/jbpm/tmp/deploy/tmp57949jbpm-console-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-core.taglib.xml
  | 
  | 20:11:13,171 ERROR [STDERR] 22-ene-2008 20:11:13 
com.sun.facelets.compiler.TagLibraryConfig loadImplicit
  | INFO: Added Library from: 
jar:file:/C:/jbpm/jbpm-jpdl-3.2.2/server/server/jbpm/tmp/deploy/tmp57949jbpm-console-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jstl-fn.taglib.xml
  | 
  | 20:11:13,187 ERROR [STDERR] 22-ene-2008 20:11:13 
com.sun.facelets.compiler.TagLibraryConfig loadImplicit
  | INFO: Added Library from: 
jar:file:/C:/jbpm/jbpm-jpdl-3.2.2/server/server/jbpm/tmp/deploy/tmp57945jbpm4jsf-14.jar!/META-INF/tfl.taglib.xml
  | 
  | 20:11:13,187 ERROR [STDERR] 22-ene-2008 20:11:13 
com.sun.facelets.compiler.TagLibraryConfig loadImplicit
  | INFO: Added Library from: 
jar:file:/C:/jbpm/jbpm-jpdl-3.2.2/server/server/jbpm/tmp/deploy/tmp57949jbpm-console-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-ui.taglib.xml
  | 
  | 20:11:13,203 ERROR [STDERR] 22-ene-2008 20:11:13 
com.sun.facelets.compiler.TagLibraryConfig loadImplicit
  | INFO: Added Library from: 
jar:file:/C:/jbpm/jbpm-jpdl-3.2.2/server/server/jbpm/tmp/deploy/tmp57940gravel-14.jar!/META-INF/gravel-nav.taglib.xml
  | 
  | 20:11:13,218 ERROR [STDERR] 22-ene-2008 20:11:13 
com.sun.facelets.compiler.TagLibraryConfig loadImplicit
  | INFO: Added Library from: 
jar:file:/C:/jbpm/jbpm-jpdl-3.2.2/server/server/jbpm/tmp/deploy/tmp57940gravel-14.jar!/META-INF/gravel-simple.taglib.xml
  | 
  | 20:11:13,250 ERROR [STDERR] 22-ene-2008 20:11:13 
com.sun.facelets.compiler.TagLibraryConfig loadImplicit
  | INFO: Added Library from: 
jar:file:/C:/jbpm/jbpm-jpdl-3.2.2/server/server/j

[jboss-user] [Security & JAAS/JBoss] - Re: NullPointerException @ DatabaseServerLoginModule.java:14

2008-01-22 Thread jahebe
So, I've debugged deep into the JNDI SPI - and I've tracked the "null" 
happening in orb.jboss.util.naming.NonSerializableFactory.


  |public Object getObjectInstance(Object obj, Name name, Context nameCtx, 
Hashtable env)
  | throws Exception
  | {   // Get the nns value from the Reference obj and use it as the 
map key
  | Reference ref = (Reference) obj;
  | RefAddr addr = ref.get("nns");  
  | String key = (String) addr.getContent(); // = java:/FluxMonClockerDS
  | Object target = wrapperMap.get(key); // Return null
  | return target;
  | }
  | 

Seeing this I added a method breakpoint in the bind() method and restarted 
JBoss.
The only breakpoint I got was for "java:/Mail".

So to check this, I changed the dsJndiName for the DatabaseServerLoginModule to 
"java:/Mail".
Restarted and initiated a new login - and presto; ClassCastException instead of 
NPE.
(noting that javax.mail.Session cannot be cast to javax.sql.Datasource).

So I presume this would be indicative of some fault in the JNDI configuration - 
although I don't quite see why...?

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

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


[jboss-user] [JBoss Seam] - Re: @debug@ - what does this do exactly?

2008-01-22 Thread asookazian
I'm seeing the following snippet at the top of my build.xml:

  | 
  | 

component.properties (runtime):

jndiPattern \#{ejbName}/local
  | debug true

build-dev.properties (buildtime):

debug=true
  | action.dir=WEB-INF/dev

So I guess it makes sense now.  The @...@ is basically a variable that is 
plugged in from the *.properties files above at different times.

cool, thx.

The explanation in the Seam 2.0.0.GA ref pdf can be more specific:  "The funny 
@ symbols are there because our Ant build script puts the correct JNDI pattern 
in when we deploy the application."  - pg. 7



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

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


[jboss-user] [JBoss jBPM] - Re: Problem with managed beans

2008-01-22 Thread rodosa
When the server starts ...  occurs this error:


  | 2008-01-22 19:42:02,484 ERROR [STDERR] 22-ene-2008 19:42:02 
com.sun.faces.config.ConfigureListener contextInitialized
  | INFO: Initializing Sun's JavaServer Faces implementation (1.2_03-b09-FCS) 
for context 'null'
  | 2008-01-22 19:42:02,718 ERROR [STDERR] 22-ene-2008 19:42:02 
com.sun.faces.spi.InjectionProviderFactory createInstance
  | ADVERTENCIA: JSF1033: Resource injection is DISABLED.
  | 

anonymous wrote : 
  | btw2 ... is it in any way jBPM related? up to now I only see/read jsf 
stuff. Are they jbpm forms?
  | 

Yes, I've created forms with the jbpm's editor. This creates automatically the 
.xhtml files & I have changed it a bit to validate and request data. The code 
of one form is the following:


  | http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"; >
  | 
  | 
  | http://www.w3.org/1999/xhtml";
  |   xmlns:ui="http://java.sun.com/jsf/facelets";
  |   xmlns:c="http://java.sun.com/jstl/core";
  |   xmlns:h="http://java.sun.com/jsf/html";
  |   xmlns:f="http://java.sun.com/jsf/core";
  |   xmlns:tf="http://jbpm.org/jsf/tf";
  |   xmlns:jbpm="http://jbpm.org/jsf";>
  | 
  |   
  | 
  | 
  |
  |   
  | 
  |   
  | 
  |   
  | 
  |   
  | 
  |   
  |   
  | 
  | 
  |   
  | 
  | 
  | ...
  | 

  With  should call the method setDni() of 
the UserBean. When I enter in the web console the form appears well and I can 
fill the data. But when I press the buttom Save of the form the error appears:

Target Unreachable, identifier 'userBean' resolved to null

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

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


[jboss-user] [JBoss Seam] - Re: Component scope w/ multiple Wars - Effect on SeamLoginMo

2008-01-22 Thread reind
mrobinson28,

Have you found a solution to this issue? I've run into the same thing:
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=128164

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

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


[jboss-user] [JBoss Seam] - Re: @debug@ - what does this do exactly?

2008-01-22 Thread [EMAIL PROTECTED]
it is not just for the build script - it is also done by runtime by seam to 
replace it with values from component.properties

this is what makes it possible for us in jboss tools not to have additional 
build step and multiple duplicate files to support both test and deployment 
runs.

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

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


[jboss-user] [JBoss Seam] - Re: @debug@ - what does this do exactly?

2008-01-22 Thread [EMAIL PROTECTED]
That is just a replacement key for the build script.  There is a property in 
the build script who's value will replace the @[EMAIL PROTECTED]

so there is a property called "debug" set to true - then when the project is 
built the file in the war/ear/etc... will be debug="true"



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

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


[jboss-user] [JBoss Messaging] - Re: LocalTx, ClientTransaction leak?

2008-01-22 Thread ydzsidemiik
I applied the fix to SP3 by compiling the 3 changed files from SVN 3601 and 
replacing the classes in the SP3 jar with the new ones.

It seems to have worked. Cheers!

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: start jboss service

2008-01-22 Thread PeterJ
What mechanism are you using to run JBossAS 4.0.5 as a service?

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

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


[jboss-user] [Beginners Corner] - Re: JBoss starts but no access

2008-01-22 Thread PeterJ
Just a thought. How are you starting JBossAS? Do you open a command prompt, cd 
to the bin directory, and then enter "run"? Or are you double-clicking the 
run.bat file? Also, are you by any chance closing the command prompt window 
after JBossAS has started?

Also, after JBossAS has started, what is the output from running:

netstat -abn



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

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


  1   2   3   >