[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: UnknownHostException for '-b 0.0.0.0'

2007-08-08 Thread mawa
That was the trick. Many thanks, Peter.

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

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


[jboss-user] [JBoss Seam] - Re: s:link EL bug, seam-2.0.0.BETA1

2007-08-08 Thread msznapka
I think it is clear from original post: which works fine until i change 
h:commandLink to s:link


  | 
  |   
  | 
  | 

or this example shows the problem best:


  | 
  |   
  |   
  | 
  | 

h:commandLink works fine, s:link not, like i described before

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

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


[jboss-user] [JBossCache] - Re: Getting InterruptedException while putting into tree cac

2007-08-08 Thread sg283
If we chose READ_COMMITED, the thread would wait for the transaction to be 
commited. As I mentioned, in our application number of read/write is very high.
We can read the uncommited value rather that waiting for the transaction to be 
commited.
If we are getting InterruptedException, what should be the approach to handle 
this. Should I catch this exception and try to put again after some time, say 
around 100 ms or so? Will this help?

We are using JBoss AS 4.0.3 SP1 and JBoss Cache 1.4.1 SP3. We are using 
JBossTransactionManager.



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

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


Re: [jboss-user] TxConnectionManager issue

2007-08-08 Thread Ákos Maróy
no takers on the issue below? didn't anyone bump into this one?

Ákos Maróy wrote:
> Hi,
> 
> While developing a web application on JBoss, I come to the following
> issue at one point:
> 
> 19:02:24,119 WARN  [TxConnectionManager] Connection error occured:
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
> handles=2 lastUse=1186592544082 permit=true trackByTx=true
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
> txSync=null]
> 
> 
> 
> and then, no database related stuff works any longer on that page, and I
> get errors like:
> 
> 
> java.sql.SQLException: No operations allowed after connection closed.
> 
> 
> org.jboss.util.NestedSQLException: Could not enlist in transaction on
> entering meta-aware object!; - nested throwable:
> (java.lang.IllegalStateException: Can't enlist - already a tx!); -
> nested throwable: (org.jboss.resource.JBossResourceException: Could not
> enlist in transaction on entering meta-aware object!; - nested
> throwable: (java.lang.IllegalStateException: Can't enlist - already a tx!))
> 
> 
> 
> It seems like some connection dropped / lost issue. I'm using MySQL as a
> backend. The DS configuration is fairly simple:
> 
>   
> seeDataSource
> jdbc:mysql://localhost:3306/Foo
> com.mysql.jdbc.Driver
> foo
> bar
> 
> org.jboss.resource.adapter.jdbc.vendor.MySQLExceptionSorter
> 
>mySQL
> 
>   
> 
> 
> What could be wrong?
> 
> 
> Akos
> ___
> jboss-user mailing list
> jboss-user@lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-user
> 

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


[jboss-user] [JBoss jBPM] - Re: Where to route obsolete parent token in token multiplica

2007-08-08 Thread jcruise
Hi Mark,

I am trying to solve a similar problem, but am a bit of a custom node newbie 
... do you have any code that you can share for your custom fork node?

Optimistically,
J

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

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


[jboss-user] [JBoss Seam] - Seam Source Code

2007-08-08 Thread pankajbhomia
Hi,

Is it possible to get the source code for seam?
If yes can anyone please provide me the link for the source code.

Regards
Pankaj

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

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


[jboss-user] [JBoss Seam] - Component precedence and SFSB

2007-08-08 Thread supernovasoftware.com
I have a seam component that is also a SFSB.  I extended this component and 
added 

@Stateful
  | @Name("contactManager")
  | @Install(precedence=100)

This deploys the correct version as a Seam component, but the EJBContainer 
deploys both.

What is the best way to have this component take precedence with both the Seam 
and EJB deployer?

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

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


[jboss-user] [EJB 3.0] - Quartz Configuration not read from Properties in quartz-serv

2007-08-08 Thread ALRubinger
So this isn't straight EJB3, but because of the close ties between this project 
and the Quartz RA Adaptor, etc, thought someone could shed some light.

I'm deploying a quartz-service.xml to create MBean 
org.quartz.ee.jmx.jboss.QuartzService, and this contains the following section:


  | 
  | # Default Properties file for use by StdSchedulerFactory
  | # to create a Quartz Scheduler Instance, if a different
  | # properties file is not explicitly specified.
  | #
  |
  |   org.quartz.scheduler.instanceName = DefaultQuartzScheduler
  |   org.quartz.scheduler.rmi.export = false
  |   org.quartz.scheduler.rmi.proxy = false
  |   org.quartz.scheduler.xaTransacted = false
  | 
  |   org.quartz.threadPool.class = org.quartz.simpl.SimpleThreadPool
  |   org.quartz.threadPool.threadCount = 5
  |   org.quartz.threadPool.threadPriority = 4
  | 
  | ...ETC
  | 
  | 

..but a simple ThreadDump shows that 10 Threads are created as opposed to the 
specified 5.  I've got a lot of jobs and require 50 Threads, but these 
properties seem to be ignored.

A quick glance at the source for the MBean doesn't show any parsing of the XML 
for these properties:

http://fisheye5.cenqua.com/browse/~raw,r=1.9/quartz/src/jboss/org/quartz/ee/jmx/jboss/QuartzService.java

...anyone know how I can configure Quartz using the *-service.xml file?

Using JBoss 4.0.5-GA w/ EJB3 RC9 Patch 1.

Thanks in advance.

S,
ALR

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

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


[jboss-user] [JBoss Portal] - Re: Giving Admin Priviledges to another Role

2007-08-08 Thread roth
Dunno, maybe I forgot some step to install ldap-specific libraries in the wiki 
article. I'll check.

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

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


[jboss-user] [JBoss Seam] - Re: Test Case Seam application

2007-08-08 Thread urswag
I use now the bootstrap directory from embedded JBoss Beta 2.
I get this exception stack.


  | java.lang.UnsupportedClassVersionError: Bad version number in .class file
  | at java.lang.ClassLoader.defineClass1(Native Method)
  | at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
  | at 
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
  | at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
  | at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
  | at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
  | at java.security.AccessController.doPrivileged(Native Method)
  | at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
  | at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
  | at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
  | at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
  | at 
org.jboss.seam.deployment.ComponentScanner.handleItem(ComponentScanner.java:71)
  | at org.jboss.seam.deployment.Scanner.handleArchive(Scanner.java:158)
  | at org.jboss.seam.deployment.Scanner.scan(Scanner.java:132)
  | at 
org.jboss.seam.deployment.ComponentScanner.getClasses(ComponentScanner.java:49)
  | at 
org.jboss.seam.init.Initialization.scanForComponents(Initialization.java:631)
  | at org.jboss.seam.init.Initialization.init(Initialization.java:494)
  | at org.jboss.seam.mock.BaseSeamTest.init(BaseSeamTest.java:864)
  | at org.jboss.seam.mock.SeamTest.init(SeamTest.java:42)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at org.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:604)
  | at 
org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:394)
  | at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:142)
  | at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:79)
  | at 
org.testng.internal.TestMethodWorker.invokeBeforeClassMethods(TestMethodWorker.java:165)
  | at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:103)
  | at org.testng.TestRunner.runWorkers(TestRunner.java:678)
  | at org.testng.TestRunner.privateRun(TestRunner.java:624)
  | at org.testng.TestRunner.run(TestRunner.java:495)
  | at org.testng.SuiteRunner.runTest(SuiteRunner.java:300)
  | at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:295)
  | at org.testng.SuiteRunner.privateRun(SuiteRunner.java:275)
  | at org.testng.SuiteRunner.run(SuiteRunner.java:190)
  | at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:792)
  | at org.testng.TestNG.runSuitesLocally(TestNG.java:765)
  | at org.testng.TestNG.run(TestNG.java:699)
  | at org.testng.TestNG.privateMain(TestNG.java:824)
  | at org.testng.TestNG.main(TestNG.java:802)
  | 

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

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


[jboss-user] [Remoting] - Re: sending Streams using POJOS

2007-08-08 Thread [EMAIL PROTECTED]
Hi Claudia and Greg,

I see JIRA issue JBREM-661 "Allow server sending a stream to the client" 
currently assigned to the Remoting 2.4.0 release.  

It's a nice feature, and I hope we can get to it.  We're gearing up for a major 
rewrite of Remoting, so I can't promise, but we'll try.

-Ron

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

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


[jboss-user] [JBoss Seam] - Re: decision and method which accepts params?

2007-08-08 Thread tkalactomo
Can anyone help?

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

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


[jboss-user] [JCA/JBoss] - Re: 2 PersistenceUnits: Adding multiple last resources is di

2007-08-08 Thread baz
My results so far:
Oracle XE (Express) can not do XA
Oracle9i will be configured as described above.

With MySql i have not succeded in using XA together with Seam and Jboss AS:-(

So we have decided to set the com.arjuna.ats.jta.allowMultipleLastResources to 
true
which is not quite optimal:-(

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

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


[jboss-user] [JBoss Seam] - Re: Seam and (or vs) Tapestry 5

2007-08-08 Thread [EMAIL PROTECTED]
You can use the seam filter to make sure you have seam initialized around a 
servlet.  I suppose it wouldn't take much effort to add another filter to 
handle bijection, but I'm not entirely sure why someone would want to do that.  

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

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


[jboss-user] [JBoss jBPM] - Re: Where to route obsolete parent token in token multiplica

2007-08-08 Thread karmen38
Hi Ed,

Thank you for the reply. I made this token-generating node a fork. One of the 
transition is the transition with the specific name "root". In the node action 
I route the root token (the one that came into the node with the list variable) 
to this "root" transition. The other, generated, tokens leave to all other 
transitions except the "root" one.

It all works perfectly. I can now even route the root token to any node in the 
workflow right in the flow definition. It seems like exactly what I needed.

Thank you,
Mark

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

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


[jboss-user] [JBoss Portal] - Re: Authoring Books on JBoss Portal

2007-08-08 Thread [EMAIL PROTECTED]
If someone is interested to write a book, please contact us first ;)

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

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


[jboss-user] [JBoss Seam] - Re: Rerender event not fired in Richtab panel

2007-08-08 Thread [EMAIL PROTECTED]
Well, I've no explanation there.  Why not ask on the richfaces forum?  I do 
know that the charting demo (in the itext example app) uses a rich panel with 
onchange events on a wide variety of controls.  I didn't experience any 
problems like you did.

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

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


[jboss-user] [JBoss Seam] - Re: @In annotation on attributes resolves to null

2007-08-08 Thread pdpantages
Hi Fred, this might just be a typo in the posting, but

The component name is:
anonymous wrote : 
  | @Name("cellidbean")
  | 
But  the reference uses uppercase B:

anonymous wrote : 
  | @In(create = true)// <-- this resolves to null
  | private CellIdBeanLocal cellIdBean;
  | 

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

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


[jboss-user] [JBoss jBPM] - multiple jBPM instances, one database

2007-08-08 Thread ryanfernandes
This might be a stupid question but please bear with me.

Scenario:
I have jBPM deployed as a webapp in a JBoss Appserver with the database on 
MySQL.

Question:
1. Can I have another jBPM deployed on another physical JBoss Appserver and 
point it to the same database (basically, share the same database without 
creating another one)?

2. Can I embed jBPM into a J2SE app and point it to the above same database?

I would like to know if I could control the process started by one instance of 
jBPM with another instance of jBPM.

Also, are there any risks in this sort of configuration?

Cheers,
Ryan


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

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


[jboss-user] [JBoss Seam] - Re: Newbie Help. Do I have SEAM deployed?

2007-08-08 Thread samdoyle
Another good starting point is to use seam-gen and see the artifacts it 
generates for you. Or you can compare your configuration to those in the 
examples directory.

BTW I don't think it was best practice to be using JSPs with Seam since it is 
based on Facelets. I could be wrong about this though.

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

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


[jboss-user] [JBoss Seam] - Re: Seam2 examples - Hibernate2 Example on Tomcat 6.0.13

2007-08-08 Thread muralikri_bng
Is this a very silly mistake.. no one is intrested in soloving this problem 
am i being too silly :-

HELP PLS...

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

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


[jboss-user] [JBoss Seam] - Re: deleted entity passed to persist

2007-08-08 Thread samdoyle
or em.merge( yourUpdatedEntity ) explicitly 

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

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


[jboss-user] [JBoss Portal] - Authoring Books on JBoss Portal

2007-08-08 Thread shayantani
Hi,

I'm working for a publishing company, and we are considering titles on JBoss 
Portal. If anybody is interested in being associated with this project please 
mail me at [EMAIL PROTECTED]

Thank You.

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

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


[jboss-user] [JBoss Seam] - Re: ManyToOne OneToMany

2007-08-08 Thread samdoyle
Didn't you specify the condition:


  |  @NotNull
  |   private Athlete athlete;
  | 
  | 
  | 

In your workout class? I think in this case you need to make use of the Seam 
factory functionality.

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

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


[jboss-user] [JBoss Portal] - Re: Portlet with Ajax4jsf

2007-08-08 Thread viggo.navarsete
Thomas, as you can see from my other thread on the same subject, there are 
still things not working correctly:
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=115538
I get  a Stacktrace when trying to use RichFaces in a JSF Portlet. Any input?

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

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


[jboss-user] [JBoss Seam] - Re: Seam repository

2007-08-08 Thread samdoyle
http://wiki.jboss.org/wiki/Wiki.jsp?page=SeamRepository

There is a jboss-seam and jboss-seam-head brach. I've been using the head 
branch so I hope that is the right one. :)

S.D.

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

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


[jboss-user] [JBoss Seam] - Re: weird problem with Firefox, contentType, Seam 2.0

2007-08-08 Thread samdoyle
Yes Firefox will attempt to parse xhtml documents and will complain if it is 
not well formed. JavaScript with any form of document.write in it will cause it 
to break as well. I asked the same question before since I was using Google 
Maps and it was breaking in Firefox as a result of this.

A poster provided an answer that works great. Please see

http://www.jboss.com/index.html?module=bb&op=viewtopic&t=115266

for more information.

S.D.

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

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


[jboss-user] [JBoss Seam] - Seam repository

2007-08-08 Thread minamti
What is the seam repository on anoncvs? I am trying to download Seam 2.0.0 CR1. 

Thanks, 

M

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

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


[jboss-user] [JBoss Seam] - Re: Pages.enterPage and FaceletsViewHandler.buildView

2007-08-08 Thread matt.drees
Did you have to hook into facelets to do that?

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

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


[jboss-user] [JBoss Seam] - Re: Seam and (or vs) Tapestry 5

2007-08-08 Thread mgrouch
Seam doesn't support injection into servlets ans JSP lifecycle methods.
It only does it for JSF. Would it possible (or make sense) to have this type of 
functionality?


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

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


[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Help: JBoss/Apache2 config

2007-08-08 Thread lludlow2
Try setting your context root to / in your app, if you wan't it to appear as 
the ROOT application

Also 

JkMount /* jboss
 or 
/*=jboss (for the uriworkermap)

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

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


[jboss-user] [Beginners Corner] - Re: Running run.bat produces no output.

2007-08-08 Thread coejboss
Try running 

" run -b " from your console

e.g. run -b 111.222.44.33

It binds JBoss Server with your IP.

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

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


[jboss-user] [Beginners Corner] - Re: JBoss console not opening completely - class not found

2007-08-08 Thread coejboss
Try putting \client\jboss-common-client.jar in your classpath.



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

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


[jboss-user] [JBoss Seam] - Re: Seam and (or vs) Tapestry 5

2007-08-08 Thread thejavafreak
Yes you can. But you'll need to do some extra work integrating Tapestry with 
Seam.

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

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


[jboss-user] [Clustering/JBoss] - Re: mutlihomed, multi-instance JBoss nodes w/ clustering - H

2007-08-08 Thread lludlow2
Check this out, I am running 50+ seperate JBoss clusters on 3 diffrent servers
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=102343

If you need more info let me know

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

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


[jboss-user] [JBoss Seam] - Re: Seam and (or vs) Tapestry 5

2007-08-08 Thread [EMAIL PROTECTED]
As far as I know, nobody has looked at Tapestry support.  Seam core is more and 
more separate from JSF now (see the GWT support) that it wouldn't surprise me 
if it is close to being a reasonable thing.  My personal recommendation is to 
stick with JSF.  I have nothing bad to say about Tapestry, but JSF works really 
well now and has the momentum of standardization behind it improving it.  

That being said, we'd definitely welcome anyone interested in tapestry 
integration to give it a shot.  

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

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


[jboss-user] [JBoss Seam] - Re: Seam and (or vs) Tapestry 5

2007-08-08 Thread [EMAIL PROTECTED]
Sorry...
> reference implementation
Thats a bit strong.. but it's helping form the spec I believe. 

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

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


[jboss-user] [JBoss Seam] - Re: Seam and (or vs) Tapestry 5

2007-08-08 Thread [EMAIL PROTECTED]
These are different paradigms.

I have used tapestry and Seam (JSF) and Seam has a number of significant 
advantages over tapestry in my opinion...

I would recommend you do a spike of your main program thread in both Seam and 
Tapestry and by then you would be able to tell for yourself.

A point to consider is that Seam/JSF is pretty much where Sun (JAVA EE) is 
going as even Seam is a reference implementation of a JSR 
(http://jcp.org/en/jsr/detail?id=299) so its very "mainstream" and 
transportable.

I hope this helps.

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

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


[jboss-user] [Clustering/JBoss] - Re: :: Regarding using Software Load balancer Mod_jk1.2.23 w

2007-08-08 Thread lludlow2
You seem to be referencing your mod_jk config twice.

1.anonymous wrote : 1. httpd.conf
  | Added the following piece to the existing file under the mensioned dir:
  | 
  | Code:
  | 
  | # Include mod_jk configuration file
  | Include conf/mod-jk.conf
  | 
  | # Configure mod_jk
  | #
  | JkWorkersFile conf/workers.properties
  | JkLogFile logs/mod_jk.log
  | JkLogLevel debug
  | 
  | JkMount /web-console/* node1
  | JkMount /jmx-console/* node1
  | JkMount /mambo/* node1
  | JkMount /*.jsp node1
  | JkMount /servlet/* node1
  | 
  | LoadModule jk_module modules/mod_jk.so
  | 
By having "Include conf/mod-jk.conf" you are reading the mod_jk.conf below

2.anonymous wrote :  
  | 2. mod-jk.conf
  | # Mount your applications
  | JkMount /web-console/* loadbalancer
  | JkMount /jmx-console/* loadbalancer
  | JkMount /mambo/* loadbalancer
  | 
  | # You can use external file for mount points.
  | # It will be checked for updates each 60 seconds.
  | # The format of the file is: /url=worker
  | # /examples/*=loadbalancer
  | JkMountFile conf/uriworkermap.properties
  | 

>From what I can see you are mounting your applications 2 times with different 
>workers and loading the mod_jk.so twice as well.

Also there is no need to use JkMount and have the workers listed in the 
uriworkermap.properties.

To simplify things I put the include in my httpd.conf, and remove the 
uriworkermap.properties (comment out or delete from mod_jk.conf)

Hope this helps

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

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


[jboss-user] [JBoss Seam] - Re: s:link EL bug, seam-2.0.0.BETA1

2007-08-08 Thread thejavafreak
Show us how you use s:link in your application because the code that you posted 
uses h:commandLink not s:link

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

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


[jboss-user] [EJB 3.0] - Re: NOTYETINSTALLED state

2007-08-08 Thread waynebaylor
Try setting your jndi datasource name like this:

persistence.xml:
anonymous wrote : java:/MySqlDS

mysql-ds.xml:
anonymous wrote : MySqlDS

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

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


[jboss-user] [Clustering/JBoss] - Re: Using a WebServer and mod_jk 1.2.23 with Jboss 4.2.0GA

2007-08-08 Thread lludlow2
Hope this helps.


  | 
  | 

anonymous wrote : 
  | 11:47:44,608 ERROR [MainDeployer] Could not initialise deployment: 
file:/u01/software/Apps/701/jboss-4.2.0.GA/cs701_edit/server/default/deploy/jboss-web.deployer/
  | org.jboss.deployment.DeploymentException: Open quote is expected for 
attribute "name" associated with an element type "Engine".; - nested throwable: 
(org.xml.sax.SAXParseException: Open quote is expected for attribute "name" 
associated with an element type "Engine".) 
  | 

JBoss is expecting the values to be within quotes (I make this mistake often).

Also I don't think clustering will work with the default server config, you 
should try using the all configuration.

I did this, and just removed what I didn't need.

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

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


[jboss-user] [JBoss Seam] - Re: ManyToOne OneToMany

2007-08-08 Thread jknotzke
  Right.. That did it. Thanks.

   Next bug.

   Just to set the stage, an Athlete can have several workouts. I am able to 
create an athlete and it's stored in the DB. After which, I attempt to create a 
Workout. A workout however is created when a user uploads a CSV file of their 
workout.

   I am able to parse this, load it into the Workout Entity bean. However, I 
want to be able to associate this with the athlete that was previously select.. 
Here is the code:

  | @Stateless
  | @Scope(SESSION)
  | @Name("uploadWorkout")
  | public class UploadWorkoutBean implements UploadWorkout
  | {
  | 
  | @Logger
  | private Log log;
  | 
  | @In Athlete athlete;
  | 
  | @In(value = "uploadedWorkout", create = true)
  | private UploadedWorkout uploadedWorkout;
  | 
  | @In
  | FacesMessages facesMessages;
  | 
  |@PersistenceContext 
  |private EntityManager em;
  | 
  | public void uploadWorkout()
  | {
  | // implement your business logic here
  | log.info("uploadWorkout.uploadWorkout() action called");
  | log.info("Content Type is: " + 
uploadedWorkout.getContentType());
  | log.info("FileName is: " + uploadedWorkout.getFileName());
  | 
  | WorkoutReader workoutReader = new WorkoutReader();
  | 
  | ArrayList workouts = 
workoutReader.readFile(uploadedWorkout.getUploadedFile());
  | Workout workout = null;
  | // Stuff it into the DB
  | 
  | for(int i=0; i< 1 ;i++)
  | {
  | workout = workouts.get(i);
  | log.info(athlete.getLastName());
  | em.persist(workout);
  | }
  | 
  | facesMessages.add("uploadWorkout");
  | }
  | 

   The error that is thrown is:



  | Caused by: org.jboss.seam.RequiredException: In attribute requires non-null 
value: uploadWorkout.athlete
  | at org.jboss.seam.Component.getValueToInject(Component.java:2153)
  | at org.jboss.seam.Component.injectAttributes(Component.java:1583)
  | at org.jboss.seam.Component.inject(Component.java:1404)
  | at 
org.jboss.seam.core.BijectionInterceptor.aroundInvoke(BijectionInterceptor.java:45)
  | at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
  | at 
org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:42)
  | at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
  | at 
org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:106)
  | at 
org.jboss.seam.intercept.SessionBeanInterceptor.aroundInvoke(SessionBeanInterceptor.java:53)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:597)
  | 
  | 

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

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


[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - CometProcessor and filter in JBoss-4.2.0.GA

2007-08-08 Thread OhKei
I have a servlet that implements CometProcessor interface. Whenever I try to 
access in JBoss-4.2.0.GA, it I get : 

java.lang.ClassCastException: org.jboss.web.tomcat.filters.ReplyHeaderFilter

org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)

org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)

org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)

org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)

org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:393)

org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)

org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:896)

org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:701)

org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:2031)

java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)

java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
java.lang.Thread.run(Thread.java:595)


So when the ReplyHeaderFilter from the jboss web.xml was deleted, I succeeded 
in access.

Can't I access servlet that implements CometProcessor interface in the state 
which set ReplyHeaderFilter why?

Is this the bug of ReplyHeaderFilter?

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

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


[jboss-user] [JBoss Seam] - Re: Rerender event not fired in Richtab panel

2007-08-08 Thread jfrankman
No, same behavior. I actually started with the onchange event, but when I ran 
into this problem I switched to onclick to see if it would make any difference. 

I have since found that if I add ajaxSingle="true" to the support tag, as in:



Then it works. I have not had time to research why this would make a difference 
though. 

Now that I can get it to rerender on the event now, I am trying to make it work 
inside the decorator/label combination, but  I am confounded again:


  | 
  | 
  | 
  |  
  | Deductible
  | Comp
  | 
  | 
  | 
  | 
  | 
  | 
  | 

When I do this, and the text is rendered the label shows up in a different 
location than it is supposed to.

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

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


[jboss-user] [JBoss jBPM] - Re: how to realize the

2007-08-08 Thread gorgin
thanks a lot,kukeltje!
I search many jbpm apis,but i can't find apis i need! maybe i am not careful 
enough. would you please give me some api examples ?
what's more,i also thought i could use a token instance to rollback the 
process,but i can not find any "turn back" method from token instance.
looking forward to your help! i repeat,this is urgent!

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

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


[jboss-user] [JBoss Seam] - Seam and (or vs) Tapestry 5

2007-08-08 Thread mgrouch
Can Seam coexist and work with Tapestry 5? Does this kind of integration even 
make sense? I haven't used Tapestry but I've heart good things about it
(esp performance) compared to JSF.
There are some IOC/hibernate/Spring modules in Tapestry 5 and it is also 
annotation based. I didn't find anything about Seam with Tapestry 5.
Any thoughts about it?

Thanks
 

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

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


[jboss-user] [JBoss Seam] - Re: Newbie Help. Do I have SEAM deployed?

2007-08-08 Thread [EMAIL PROTECTED]
Do you see the test component installed in the log?  You might also look at 
server.log for messages from the scanner to see for sure if it is seeing your 
classes.

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

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


[jboss-user] [JBoss Seam] - Re: seam 2.0.0 cr1 availability...`

2007-08-08 Thread minamti
Can you please point me to a post that has this information. I could not find 
any. 

Thanks, 

M

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

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


[jboss-user] [JBoss Seam] - Re: Pages.enterPage and FaceletsViewHandler.buildView

2007-08-08 Thread andrew.rw.robinson
Nevermind got it to work. I made an additional call to Pages.enterPage for my 
includes after the buldView call in the view handler. 

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

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


[jboss-user] [JBoss Seam] - weird problem with Firefox, contentType, Seam 2.0

2007-08-08 Thread tuxzilla
I just upgraded my app to Seam 2.0 from Seam 1.2.1. The UI in firefox is now 
pretty badly broken. I have mixed javascript with jstl to dynamically generate 
javascript through a loop. Now the same code is fine in IE, but broken in 
Firefox. What is weird is that when I saved the source to the same webapp 
directory, renamed it to *.html, then the page shows up fine in firefox. I read 
elsewhere JSF1.2 will set contentType to application/xhtml+xml instead of 
text/html. Could contentType be the cause of the problem? What would be a 
workaround for this? 

Can I overwrite the contentType from JSF1.2 to reset back to text/html?

Thanks.

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

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


[jboss-user] [JBoss Seam] - Re: deleted entity passed to persist

2007-08-08 Thread blackers
I am assuming you have a @ManyToOne realationship in the Entity you are trying 
to delete.  On the @OneToMany side you most likely have




  | @OneToMany(cascade = CascadeType.ALL, .)
  | 

If you change to 

@OneToMany(cascade = {CascadeType.MERGE,CascadeType.REMOVE}, )

It may solve your problem, at least it did for me.  You will have to work out 
if this will affect your application before doing so.

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

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


[jboss-user] [JBoss Seam] - seamdiscs buggy

2007-08-08 Thread stephen.friedrich
The example claims to use Trinidad skinning - there's a skin configured in 
trinidad-config.xml and there is also a minimal skin.css file.

However skinning does not work at all, because no xhtml page uses tr:document 
as root. That tag is necessary for skinning to be enabled.
See http://wiki.apache.org/myfaces/Trinidad_Skinning_FAQ


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

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


[jboss-user] [JBoss Seam] - Re: Seam without internet connection hangs

2007-08-08 Thread nuclaves
I did upgrade seam. Started in 1.21 and made it to 2.0 beta.

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

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


[jboss-user] [JBoss Seam] - Re: Seam without internet connection hangs

2007-08-08 Thread nuclaves
Thanks for your response.
When I use the ff, the request just times out.
Safari could not open the page ?http://localhost:8080/Prototype2/home.seam? 
because the server stopped responding.

  | http://jboss.com/products/seam/pages";
  |xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
  |xsi:schemaLocation="http://jboss.com/products/seam/pages 
http://jboss.com/products/seam/pages-2.0.xsd";
  |no-conversation-view-id="/home.xhtml"
  |login-view-id="/login.xhtml">

If I use  pages-1.3.xsd, I get a dom4j error. 

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - InstanceNotFoundException: jboss.aop:service=AspectManager i

2007-08-08 Thread jwbaker

While deploying, I'm getting this error.
Caused by: javax.management.InstanceNotFoundException: 
jboss.aop:service=AspectManager is not registered.
at 
org.jboss.mx.server.registry.BasicMBeanRegistry.get(BasicMBeanRegistry.java:527)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:662)
at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:167)

Is some setting missing from jboss-web.xml ?

Thank you
John

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

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


[jboss-user] [JBoss Seam] - Re: entity's lifecycle and jBPM

2007-08-08 Thread [EMAIL PROTECTED]
Yes, jbpm fits it.   Several of the example apps use Seam's jbpm integration to 
do very similar tasks.   It works quite well.  I think you'd want to do 
something similar to the DVDStore, except you want the UI to be more elegant 
than the very generic view there.   

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

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


[jboss-user] [JBoss Seam] - Double nested conv. deletes parent's component

2007-08-08 Thread pdpantages
Seam 1.2.1.GA

Hello Forum,

I have run into another oddity with nested conversations, when I try to nest 
more than 1 deep.

Any ideas on this will be appreciated 

I have conversation stack like this:

[3,2,1] (contains component editorBean3)
[2,1]  (contains component tableBean2,dataModel2)
[1] (contains tableBean1,dataModel1)

The editor and table beans are all SFSB, @Conversational, scope
CONVERSATION.

The Seam debugger shows the above objects in the correct
context/conversation after I start the two nested conversations.

Conversation [2] is started by an s:link + propagation="nest". 
This link is in a t:dataTable rendered from dataModel1.

Conversation [3] is also started by an s:link + propagation="nest". 
The link is in a t:dataTable rendered from dataModel2.

In the above scenario, when I @End conversation [3], Seam 
destroys tableBean2.  It disappears from the context, but the
dataModle2 is not similarly deleted (verified by Seam debugger).

I was not expecting this; components in conversation[2] should not
be affected by the ending of [3], no?

Notes:

The nested conversations in each case are ended with @End. The @End
action method returns a jsf outcome that returns the browser to the
page from which the "edit" was launched. 

I don't see this same behaviour between [1] and [2]. Begining and
Ending nested conversation [2] does not destory or affect tableBean1.

I have 3 facelet pages that are used for the three cases.

I don't have any conversation related directives in my pages.xml for the
corresponding three views.

There are no references to component tableBean2 by EditorBean3 or by
the facelet/page 3.

Conversation [3] is started from page[2]/Conversaion[2] like so. These
s:links are renderd for each row in a t:datatable. 

  | 
  |
  |
  | 
  | 

Conversation [3] is ended by:

  | 
  | 
  | 

The editor's done() action just returns a jsfOutcome which returns the browser 
to page[2]

  | @End
  | public String done()
  | {
  |  if ( log.isTraceEnabled() ) 
  |  log.trace ( traceprefix + "(" +  Conversation.instance().getId() + 
") done" );
  | 
  | return this.jsfOutcome;
  | }
  | 

I have also noticed the following. I don't know if these are significant or not:

When the browser returns to page[2], the s:links in the table are
rendered with the proper cid, but with lrc=false. The seam debugger
and worksapces both contradict this, showing that cid 2 is still a
long running conversation.

The url on page[2] doesn't look right. Initially like:
http://localhost:8080/client/view/fault/servicealarmdetails.seam?cid=6&lrc=true

After Beginning then Ending Conversation [3] and returning to the page it looks 
like:
http://localhost:8080/client/view/fault/servicealarmdetails.seam?cid=7&parentConversationId=6

I put debug statement in my @Create and @Destory method of the table,
which uses Conversation.getInstance().getId() to print the CID. 

I am not certain if the CID is still valid in the destory method; but CID
(3) is printed from in the tableBean2.destory() method.

I.e., I see my log:
...
tableBean2 (2) Create
...
editorBean3 (3) end
...
...
tableBean2 (3) Destroy




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

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


[jboss-user] [JBoss jBPM] - problem while deleting processInstance

2007-08-08 Thread iseyfi
Hi,

I am trying to delete a processIntance using GrapSession object. What I have 
looks like

 GraphSession session = context.getGraphSession();
ProcessInstance processInstance = null;
if (session != null) {
processInstance = 
session.getProcessInstance(processInstanceId);
if (processInstance != null) {
session.deleteProcessInstance(processInstance);
}
}

When I do this i get a hibernate exception.


org.springframework.dao.DataIntegrityViolationException: Hibernate operation: 
Could not execute JDBC batch update; SQL [delete from JBPM_MODULEINSTANCE where 
ID_=?]; Cannot delete or update a parent row: a foreign key constraint fails 
(`forms/jbpm_swimlaneinstance`, CONSTRAINT `FK_SWIMLANEINST_TM` FOREIGN KEY 
(`TASKMGMTINSTANCE_`) REFERENCES `jbpm_moduleinstance` (`ID_`)); nested 
exception is java.sql.BatchUpdateException: Cannot delete or update a parent 
row: a foreign key constraint fails (`forms/jbpm_swimlaneinstance`, CONSTRAINT 
`FK_SWIMLANEINST_TM` FOREIGN KEY (`TASKMGMTINSTANCE_`) REFERENCES 
`jbpm_moduleinstance` (`ID_`))
java.sql.BatchUpdateException: Cannot delete or update a parent row: a foreign 
key constraint fails (`forms/jbpm_swimlaneinstance`, CONSTRAINT 
`FK_SWIMLANEINST_TM` FOREIGN KEY (`TASKMGMTINSTANCE_`) REFERENCES 
`jbpm_moduleinstance` (`ID_`))

am I missing something?

thanks

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

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


[jboss-user] [JNDI/Naming/Network] - Re: What is mapped-name?

2007-08-08 Thread jwbaker

Thank you.  The runtime exception no longer occurs.

I am seeing a new error, but this may be a NetBeans plugin issue:

Caused by: javax.management.InstanceNotFoundException: 
jboss.aop:service=AspectManager is not registered.
at 
org.jboss.mx.server.registry.BasicMBeanRegistry.get(BasicMBeanRegistry.java:527)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:662)
at 
org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:167)

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

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


[jboss-user] [JBoss Seam] - Re: seam request processing

2007-08-08 Thread [EMAIL PROTECTED]
I've not seen anyone come up with an end-to-end picture, but all the parts 
decompose cleanly.  The JSF request processing is fairly well documented.  You 
can see the Seam integration points in faces-config.xml in the main JAR.  From 
there, Seam does all of it's magic.  I'm sure we could do better at documenting 
that, but it's not too hard to get a good picture of what is going on under the 
hood if you really need it.Once you get looking, post your specific 
questions back here.  There are plenty of people here who would be happy to 
take the time to explain any sticky parts.

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

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


[jboss-user] [JBoss Seam] - Newbie Help. Do I have SEAM deployed?

2007-08-08 Thread birwin
I started fiddling with SEAM (2.0.0BETA1) today, but I don't think I have 
installed it correctly (Installing on JBoss 4.2.1.GA).

I am unable to display data in my UI (Its a JSP). Each time I load the web 
page, the input field is empty, but my backing bean has data. The backing bean 
has a value assigned to its property on instantiation (See the java code 
below). If I add a "managed-bean" entry to my faces-config.xml, it works fine 
and the number appears in my input field. I thought I did not need 
"managed-bean" entries in my faces-config.xml file if I was using SEAM. From my 
searches on the Internet, it appears that I am not using SEAM, but the plain 
JSF. I have deployed the Seam JAR file in the WEB_INF/lib directory of my war 
file. Attached are my faces-config, web.xml, JSP and Java class files.

My java class has the Name and Scope annotations, and I have included the 
phase-listener entry in my faces-config.xml file in addition to including the 
listener-class entry in my web.xml file. When I deploy to my JBoss server, it 
appears SEAM kicks in. I see row after row of "INFO [Component] Component: 
org.jboss.web.session, scope: SESSION, type: JAVA_BEAN, class: 
org.jboss.seam.web.Session" type messages.

Any ideas what I did wrong?

faces-config.xml file:




org.jboss.seam.jsf.SeamPhaseListener



web.xml file:





org.jboss.seam.servlet.SeamListener




com.sun.faces.config.ConfigureListener




Faces Servlet
javax.faces.webapp.FacesServlet
1


Faces Servlet
/faces/*



http://java.sun.com/jsf/core
/WEB-INF/jsf_core.tld


http://java.sun.com/jsf/html
/WEB-INF/html_basic.tld


http://java.sun.com/jsp/jstl/core 
/WEB-INF/c.tld




JSP:
<%@ taglib uri="http://java.sun.com/jsf/html"; prefix="h" %>
<%@ taglib uri="http://java.sun.com/jsf/core"; prefix="f" %>











Test Java Class:
import org.jboss.seam.ScopeType;

import org.jboss.seam.annotations.Name;
import org.jboss.seam.annotations.Scope;

@Scope(ScopeType.CONVERSATION)
@Name("test")
public class Test
{
private String text = "hello";

public String getText()
{
return text;
}

public void setText(String text)
{
this.text = text;
}
}




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

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


[jboss-user] [JBoss Seam] - Re: Rerender event not fired in Richtab panel

2007-08-08 Thread [EMAIL PROTECTED]
Does event="onchange" work for you on the selctOneRadio?

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

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


[jboss-user] [JBoss jBPM] - Re: task-node attribute create-tasks

2007-08-08 Thread warfster
On the chance that the taskinstance is not associated with the processinstance, 
I tried to add the taskinstance after entering the task-node. The error message 
indicates it is already associated:

anonymous wrote : 
  | Caused by: org.hibernate.NonUniqueObjectException: a different object with 
the same identifier value was already associated with the session: 
[org.jbpm.taskmgmt.exe.TaskInstance#2656]
  | 

Comments, criticisms or advice welcome.

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

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


[jboss-user] [JBoss Seam] - Sortable columns, the simplest Trinidad way?

2007-08-08 Thread ellenzhao
I want my data table columns to be sortable. I've read this blog entry:

http://pmuir.bleepbleep.org.uk/2007/04/backing-trinidads-datatable-with-seam.html
 
But to sort the data set in memory is exactly what I want (There are usually 
3~6 sortable columns in a single data table in my application. Fetching data 
set from a remote database on every sorting click sounds like a horror to me. 
Complexity of heap-sort is O(N log N)I cache all the frequently used data 
sets in static fields in an APPLICATION scoped stateless bean.). Trinidad has 
that feature but I did not find information about how to use it together with 
Seam. I looked at the SeamDisc example from the latest CVS there are still 
questions: 

1. Do I have to use ajax4jsf if I only want to use Trinidad's sortable column 
feature? If not, how should the web.xml, faces-config.xml, and other 
configuration files look like?

2. Is there any working example which has only Seam + Trinidad + Facelets 
together? 

3. Does this Trinidad thing work with JSF RI 1.2 (the latest JSF reference 
implementation) or do I have to use MyFaces to make it work?


Any enlightenment would be highly appreciated! 

Regards,
Ellen

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

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


[jboss-user] [JBoss jBPM] - Re: task-node attribute create-tasks

2007-08-08 Thread warfster
It seems that the task instance is not getting acknowledged even though the 
association in the db seems to be correct.

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

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


[jboss-user] [JBoss Seam] - Re: please document library versions

2007-08-08 Thread tynor
In the mean time, can someone tell me what versions of the following jars are 
bundled in Seam 1.2.1-GA and 2.0.0-BETA? 

   hibernate-all.jar
   jboss-ejb3-all.jar
   jsf-facelets.jar
   and the javassist bundled into thirdparty-all.jar
   
none of those jar's MANIFEST.MF's specify versions. 

Thanks!


anonymous wrote : I am running into a bug which from googling may be fixed in a 
newer hibernate or ejb3 release, but I can't be sure -- I can't tell from the 
jboss-seam-1.2.1-GA.zip file just what versions of various jars are bundled.
  | 
  | The Seam 2.0-BETA distribution does not appear to be any better documented. 
Before te next release, please update the lib/readme.txt to include details of 
each jar file's version and/or change their filenames (e.g., from 
hibernate-all.jar to hibernate-all.x.y.z.jar) so we can know what versions 
we're using.
  | 
  | If I'm just blind and not looking in the right place, my apologies, and 
please just point me to the docs. 

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

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


[jboss-user] [JBoss Seam] - Re: entity's lifecycle and jBPM

2007-08-08 Thread vladimir.kovalyuk
My understanding is different.
For instance once the author of a document completed with draft it might ask 
somebody to review the document. And the process of reviewing would be a normal 
business process. As the result of reviewing the document could be promoted to 
the next state. But, when it is being promoted the action assigned to the 
transition could perform whatever we want, for instance inform the people 
interested in the traking the document about the the fact that the document has 
been promoted. That's why I believe jBPM suites.

Lifecyle is similar to state-diagram or timeline (It's matter of taste). I'd 
prefer not to see tasks in the Lifecycle graph.
And what is important user can be happy looking at the picture. Tasks make the 
picture overcomplicated.



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

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


[jboss-user] [JBoss Seam] - Re: Seam Captcha configuration

2007-08-08 Thread henrik.lindberg
I am also interested in this. How can the captcha in seam be configured? Is 
there any documentation?


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

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


[jboss-user] [JBoss Seam] - Pages.enterPage and FaceletsViewHandler.buildView

2007-08-08 Thread andrew.rw.robinson
I am trying to get the functionality of JBoss Seam's pages.xml to work with 
facelet include files. This way I can have security and action methods called 
on included views as well as the main page.

The problem I am having is one of order of execution. Pages.enterPage is called 
from a PhaseListener in the before render event. FaceletsViewHandler.buildView 
is called from the renderView function. So, when the page is "entered", the 
view is not built yet, so I can't surf the component hierarchy of the page to 
find my include components and determine their view ID to have Pages check on 
it.

Anyone have any bright ideas on how I can get the Pages functionality to be 
executed after the view is built, but before it is rendered without having to 
change Facelets or Seam source?

-Andrew

Facelets 1.1.11
Seam 1.2.1

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

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


[jboss-user] [JBoss jBPM] - Re: jBPM jPDL GPD 3.1.0 beta2 adding task bug

2007-08-08 Thread kukeltje
I had the same 'experience' please file a jira issue for this in  
http://jira.jboss.com/jira/browse/GPD

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

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


[jboss-user] [JBoss jBPM] - Re: Memory usage in Workflow wait states

2007-08-08 Thread kukeltje
and the nice thing is... all three happen automatically in jBPM..

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

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


[jboss-user] [JBoss jBPM] - Re: Detecting Presence of ProcessInstance Without Exception?

2007-08-08 Thread kukeltje
Creating an exception on a server and catching is expensive? it is not 
transferred to a remote client then so. maybe I miss something. And even 
then..
We use jBPM in several systems today, and the exception for a non-existent 
processdefinition never happens... why? because there is no freedom for the 
end-user to pass a processdefiniton name, so this exception really NEVER 
happens... If this  (imo small thing) in the API is changed it would mean 
hundreds of users have to change their code. IMO it is not worth it. 

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

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


[jboss-user] [JBoss Seam] - Connection handle has been closed and is unusable

2007-08-08 Thread msduk
Hi. There is a huge amount of noise relating to this error all over the place. 
I'm not really sure if it is a seam/AS/Hibernate issue.

The stack is as follows



Caused by: java.sql.SQLException: Connection handle has been closed and is 
unusable
  | at 
org.jboss.resource.adapter.jdbc.WrappedConnection.checkStatus(WrappedConnection.java:537)
  | at 
org.jboss.resource.adapter.jdbc.WrappedConnection.checkTransaction(WrappedConnection.java:524)
  | at 
org.jboss.resource.adapter.jdbc.WrappedConnection.prepareStatement(WrappedConnection.java:184)
  | at 
org.hibernate.jdbc.AbstractBatcher.getPreparedStatement(AbstractBatcher.java:497)
  | at 
org.hibernate.jdbc.AbstractBatcher.getPreparedStatement(AbstractBatcher.java:415)
  | at 
org.hibernate.jdbc.AbstractBatcher.prepareQueryStatement(AbstractBatcher.java:139)
  | at org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1560)
  | at org.hibernate.loader.Loader.doQuery(Loader.java:661)
  | at 
org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:224)
  | at org.hibernate.loader.Loader.loadCollection(Loader.java:1918)

This was occurring frequently and I added

com.mysql.jdbc.integration.jboss.MysqlValidConnectionChecker
  | SELECT count(warehouseId) FROM 
warehouse which I dont think had an effect (the 
errors were still common). I upgraded the hibernate versions in Seam 1.2.1 to 
the latest hibernate which definitely reduced the frequency however they are 
still there. Any suggestions welcome.


(Just in case it helps)
One thing I did notice which admittedly is likely a red herring is that the 
errors seem to happen where concurrent modification is likely i.e. separate 
threads modifying the same data. As one thread is only reading ever then I cant 
see that this could be an issue.

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

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


[jboss-user] [JBoss Seam] - Re: Seam without internet connection hangs

2007-08-08 Thread ctomc
The connection to the internet is needed when sax parser is trying to fetch the 
DTD or xsd files for validating the shema.

This usually happens when you have pages.xml that has different version of seam 
shema than version of seam.

for instance the pages.xml schema for seam 2.0 should be
http://jboss.com/products/seam/pages";
  |xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
  |xsi:schemaLocation="http://jboss.com/products/seam/pages 
http://jboss.com/products/seam/pages-2.0.xsd";
  | 
and not pages-1.2.xsd.(as of seam 1.2.x)

did you upgrade seam and didn't update the shemas on your configuration 
documents?

cheers,
tomaz

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

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


[jboss-user] [JBoss Portal] - Re: ViewRecursive vs PersonalizeRecursive

2007-08-08 Thread swisst
Anyone?

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

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


[jboss-user] [JBoss Portal] - Re: Giving Admin Priviledges to another Role

2007-08-08 Thread swisst
Okay, so I tried the AD set-up and had a little kablammo:


  | 15:12:56,575 ERROR [IdentityLoginModule] Error when validating password
  | org.jboss.portal.common.transaction.NestedException: 
javax.security.auth.login.LoginException: 
org.jboss.portal.identity.IdentityException: Couldn't create LDAPUserImpl 
object from ldap entry (SearchResult)
  | at 
org.jboss.portal.common.transaction.Transactions.apply(Transactions.java:253)
  | at 
org.jboss.portal.common.transaction.Transactions.required(Transactions.java:289)
  | at 
org.jboss.portal.identity.auth.IdentityLoginModule.getUserStatus(IdentityLoginModule.java:204)
  | at 
org.jboss.portal.identity.auth.IdentityLoginModule.validatePassword(IdentityLoginModule.java:158)
  | at 
org.jboss.security.auth.spi.UsernamePasswordLoginModule.login(UsernamePasswordLoginModule.java:210)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  | at java.lang.reflect.Method.invoke(Unknown Source)
  | at javax.security.auth.login.LoginContext.invoke(Unknown Source)
  | at javax.security.auth.login.LoginContext.access$000(Unknown Source)
  | at javax.security.auth.login.LoginContext$4.run(Unknown Source)
  | at java.security.AccessController.doPrivileged(Native Method)
  | at javax.security.auth.login.LoginContext.invokePriv(Unknown Source)
  | at javax.security.auth.login.LoginContext.login(Unknown Source)
  | at 
org.jboss.security.plugins.JaasSecurityManager.defaultLogin(JaasSecurityManager.java:603)
  | at 
org.jboss.security.plugins.JaasSecurityManager.authenticate(JaasSecurityManager.java:537)
  | at 
org.jboss.security.plugins.JaasSecurityManager.isValid(JaasSecurityManager.java:344)
  | at 
org.jboss.web.tomcat.security.JBossSecurityMgrRealm.authenticate(JBossSecurityMgrRealm.java:491)
  | at 
org.apache.catalina.authenticator.FormAuthenticator.authenticate(FormAuthenticator.java:258)
  | at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:417)
  | at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
  | at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
  | at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
  | at 
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
  | at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
  | at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
  | at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
  | at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580)
  | at 
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
  | at java.lang.Thread.run(Unknown Source)
  | Caused by: javax.security.auth.login.LoginException: 
org.jboss.portal.identity.IdentityException: Couldn't create LDAPUserImpl 
object from ldap entry (SearchResult)
  | at 
org.jboss.portal.identity.auth.IdentityLoginModule$1.run(IdentityLoginModule.java:260)
  | at 
org.jboss.portal.common.transaction.Transactions.apply(Transactions.java:219)
  | ... 30 more
  | 

Any clues?  Do you need more information?  My config was almost identical to 
the referenced wiki article.

Thanks,
Thad

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

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


[jboss-user] [JBoss Portal] - Re: Giving Admin Priviledges to another Role

2007-08-08 Thread swisst
Thanks!

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

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


[jboss-user] [JBoss jBPM] - jBPM jPDL GPD 3.1.0 beta2 adding task bug

2007-08-08 Thread jeffcwang
Hello,

I am using the current beta GPD plugin with Eclipse 3.3.  The bug I seem to get 
is that I am unable to add new tasks in the task node.  When I go to the
tasks tab in the properties section, the task details panel (containing 
general, details, assignment, and controller tab) is already showing but there 
in no task selected.  When I try to add a new task, nothing happens.  

It looks like the initial state is incorrect because it should not be showing 
the task details when there aren't even any tasks to show the details for right?

Other features such as adding actions on transitions seem to be working 
perfectly though.

thanks

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

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


[jboss-user] [JBoss Messaging] - Running Smoke tests

2007-08-08 Thread viniciuscarvalho
Hello there! I not being able to run the smoke tests suite.

I've created the 3 instances (messaging -> default, messaging0,messaging1->all 
with cluster, they can see each other :) )

To run, I've bound each of ther servers to an ip:

10.0.0.11,10.0.0.12,10.0.0.13 (none of them are my localhost, but alias on the 
eth0 interface)

When I run the ant script I get the smoketestqueue deployed but i get an error 
on the ping-queue:

  | [java] 18:59:16,208 ERROR [Twiddle] Exec failed
  |  [java] javax.management.InstanceNotFoundException: 
jboss.messaging.destination:name=queue/SmokeTestQueue,service=Queue is not 
registered
  | 
Well, the odd thing is that the queue is deployed on the jmx-console.

Another problem I've found is that the script has a 
LOT of references to localhost. When I first ran I got an error because, as 
said before, localhost was not mapped to any of my instances. So I changed the 
non-clustered to be the localhost and I get this error.

Can someone please assist me on these? I really need a smoke test for a 
customer (we will have a subscription once it is deployed).

Best regards

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Forward JBOSS ports & also set default applet

2007-08-08 Thread EnriqueI
Hi, I have two issues. They seem fairly simple, I just don't know where to 
start. 

First issue: I want to forward all requests to port 80 to port 443 (SSL). 

I suppose I would use Connector port="80" and then follow that with 
redirectPort="443" but that doesn't seem to be working. Any ideas?


Second issue: How do I change the splash page for jboss? Currently I have an 
application at website.com:8080/portal/ I want that application to be 
viewed just from website.com:8080   (and after resolving issue 1, just 
website.com). 

Thanks in advance for your help. It is greatly appreciated. 

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

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


[jboss-user] [JBossWS] - Re: JBossWS 1.2 on JBoss AS 4.0.5

2007-08-08 Thread rocken7
Ok I was very frustrated with the state of jboss-4.0.5.GA but now it works :) 

1. install the jbossws-2x native into jboss-4.0.5.GA (ant deploy-jboss40)
2. update /opt/jboss-4.0.5.GA/client/jboss-xml-binding.jar from newer jboss 
(4.2.0 worked for me) 
3. generate client java source: wsconsume -k http://your-hosted-wsdl-url 
4. #3 creates simple annotated classes + source files you can invoke like so: 

Object svcObj = new WebStore_Service();
WebStore_Service webStub = (WebStore_Service) svcObj;   
WebStore webPort = webStub.getWebStorePort();  
WebStoreResponseObject wrsp = webPort.authenticateCustomer("test", "test"); 

Thanks JBoss Team. 



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

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


[jboss-user] [JBoss Seam] - Seam without internet connection hangs

2007-08-08 Thread nuclaves
Why does seam require a live internet connection to work? I get the ff stack 
when I have no internet connection. Seems related to ajax4j.

SEVERE: Error Rendering View[/home.xhtml]
  | java.lang.RuntimeException: org.dom4j.DocumentException: Operation timed 
out Nested exception: Operation timed out
  | at org.jboss.seam.navigation.Pages.getDocumentRoot(Pages.java:940)
  | at org.jboss.seam.navigation.Pages.parse(Pages.java:926)
  | at org.jboss.seam.navigation.Pages.createPage(Pages.java:183)
  | at org.jboss.seam.navigation.Pages.getPage(Pages.java:157)
  | at org.jboss.seam.navigation.Pages.createPageStack(Pages.java:241)
  | at org.jboss.seam.navigation.Pages.getPageStack(Pages.java:220)
  | at org.jboss.seam.navigation.Pages.getScheme(Pages.java:539)
  | at org.jboss.seam.navigation.Pages.encodeScheme(Pages.java:437)
  | at 
org.jboss.seam.ui.util.ViewUrlBuilder.(ViewUrlBuilder.java:28)
  | at 
org.jboss.seam.ui.component.UISeamCommandBase.getUrl(UISeamCommandBase.java:36)
  | at 
org.jboss.seam.ui.renderkit.LinkRendererBase.doEncodeBegin(LinkRendererBase.java:26)
  | at 
org.jboss.seam.ui.util.cdk.RendererBase.encodeBegin(RendererBase.java:79)
  | at 
javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:785)
  | at 
org.ajax4jsf.framework.renderer.RendererBase.renderChild(RendererBase.java:280)
  | at 
org.richfaces.renderkit.html.ToolBarGroupRenderer.encodeChildren(ToolBarGroupRenderer.java:68)
  | at 
javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:809)
  | at 
org.ajax4jsf.framework.renderer.RendererBase.renderChild(RendererBase.java:282)
  | at 
org.richfaces.renderkit.html.ToolBarRendererBase.encodeChildren(ToolBarRendererBase.java:99)
  | at 
javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:809)
  | at javax.faces.component.UIComponent.encodeAll(UIComponent.java:886)
  | at javax.faces.component.UIComponent.encodeAll(UIComponent.java:892)
  | at 
com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:571)
  | at 
org.ajax4jsf.framework.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:108)
  | at 
org.ajax4jsf.framework.ajax.AjaxViewHandler.renderView(AjaxViewHandler.java:233)
  | at 
com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106)
  | at 
com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
  | at 
com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
  | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:82)
  | at 
org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:68)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:68)
  | at 
org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:85)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:68)
  | at 
org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:68)
  | at 
org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:44)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:68)
  | at 
org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:293)
  | at 
org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:60)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:68)
  | at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:68)
  | at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:149)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  | at 
org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:127)
  | at 
org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:277)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  | at 
org.jboss.web.tomcat.filt

[jboss-user] [JBoss Seam] - seam request processing

2007-08-08 Thread hexxter
Hi Forum,

is there any doku on what parts are called in which order when a request is 
processed? Something like: HttpRequest -> JFS-Servlet -> SeamListener -> 
EJB-Something -> ...
Especially when and where are the beans created and how is the context managed 
in that process?

Best Regards,

Florian

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

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


[jboss-user] [JBoss Seam] - FacesContextFactory error on JBoss 4.0.5

2007-08-08 Thread Stateless Bean
I moved from Seam 1.2.1 GA to 2.0.0 Betea 1 and after one hour fixing all 
errors in my project, when I deploy app on my JBoss 4.0.5 I get:

Can anyone tell me where should I look to fix this error?
I replaced myfaces jars instead of jsf 1.2 in jboss
anonymous wrote : 
  | 23:29:39,281 ERROR [[/Universum]] StandardWrapper.Throwable
  | java.lang.IllegalStateException: Application was not properly initialized 
at startup, could not find Factory: javax.faces.context.FacesContextFactory
  | at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:256)
  | at javax.faces.webapp.FacesServlet.init(FacesServlet.java:142)
  | at 
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1105)
  | at 
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:932)
  | at 
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3951)
  | at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:4225)
  | at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
  | at 
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
  | at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  | at java.lang.reflect.Method.invoke(Unknown Source)
  | at 
org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
  | at 
org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | at 
org.apache.catalina.core.StandardContext.init(StandardContext.java:5052)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  | at java.lang.reflect.Method.invoke(Unknown Source)
  | at 
org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
  | at 
org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | at 
org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:297)
  | at 
org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:103)
  | at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:371)
  | at org.jboss.web.WebModule.startModule(WebModule.java:83)
  | at org.jboss.web.WebModule.startService(WebModule.java:61)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
  | at sun.reflect.GeneratedMethodAccessor22.invoke(Unknown Source)
  | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  | at java.lang.reflect.Method.invoke(Unknown Source)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
  | at $Proxy0.start(Unknown Source)
  | at org.jboss.system.ServiceController.start(ServiceController.java:417)
  | at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
  | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  | at java.lang.reflect.Method.invoke(Unknown Source)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
  | at $Proxy42.start(Unknown Source)
  | at 
org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:466)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  | at java.lang.reflect.Method.invoke(Unknown Source)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
  | 

[jboss-user] [JBoss Seam] - Rerender event not fired in Richtab panel

2007-08-08 Thread jfrankman
Seam version: 1.2.1
JBoss:4.0.5

I have created a page that used the rich:tabpanel component. Inside one of the 
tabs I want to change a label depending upon what is selected in a radio 
button. To do this I added the a4j rerender attribute for the onchange event. 
However, the rerender does not work until something has been typed into one of 
the other fields. Here is the behavior I have noticed:

Scenario A. If components are placed outside of tab panel everything works fine.

Scenario B. If components are placed inside tabl panel...
 If you click on the radio button with the rerender event, nothing happens. 
That is nothing happens.
If you click inside another text box and type something (anything) and then 
click on the radio buttons the reRender event starts to work.

I have found I get the same behavior whether the switch type is ajax, server, 
or client.



Here is the markup in question:

  | 
  | 
  | 
  | 
  | Coverage Type
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  |  
  | 
  | hello!!!
  | 
  | 
  | goodbye!!!
  |  
  |
  | 
  | 
  | 
  | 
Is there a better/different way I could show/hide components?

Is this more likely a bug or something else?

I have not looked at ICEFaces. Would I have better luck using the ICEFaces tab 
component? If so, can I use the same theme with ICE Faces as with Rich faces?  
i.e. can and mix and match richfaces with icefaces and get the same look and 
feel?

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

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


[jboss-user] [JBoss Seam] - Re: ManyToOne OneToMany

2007-08-08 Thread fhh

  | @OneToMany(mappedBy="workout", cascade=CascadeType.REMOVE)
  |   private List workouts = new ArrayList();
  | 

You propably mean mappedBy="athlete".

Regards

Felix

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

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


[jboss-user] [JBoss Seam] - Re: ManyToOne OneToMany

2007-08-08 Thread wiberto
What's the error message you are getting?

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

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


[jboss-user] [JBoss Seam] - Problem installing Embedded Jboss on Tomcat 5.5

2007-08-08 Thread Stateless Bean
Hi,
I installed pure Tomcat 5.5.23 in default path C:\Program Files...
now here is time to install my JBoss Embedded:
1. First I downloaded embedded-jboss-beta2.zip
2. Opened wiki page and like in tutorial
a) set in to conf/server.xml



b) set conf/context.xml




and coppied files from my zip file like in tutorial for Tomcat 5.5, here is 
full tree.
anonymous wrote : 
  | apache-tomcat-5.5.20/
  |common/classes/
  | conf/
  | deploy/
  | deployers/
  | log4j.xml
  |common/lib/
  | thirdparty-all.jar
  | hibernate-all.jar
  | jboss-embedded-all.jar
  |server/lib/
  | jboss-embedded-tomcat-bootstrap.jar
  | 

and after run I get:
anonymous wrote : 
  | ERROR 08-08 23:19:56,562 (AbstractController.java:incrementState:456)  
-Error installing to Start: name=ServerConfig state=Create
  | java.net.URISyntaxException: Illegal character in path at index 16: 
file:/C:/Program Files/Apache Software Foundation/Tomcat 5.5/common/classes/
  | at java.net.URI$Parser.fail(Unknown Source)
  | at java.net.URI$Parser.checkChars(Unknown Source)
  | at java.net.URI$Parser.parseHierarchical(Unknown Source)
  | at java.net.URI$Parser.parse(Unknown Source)
  | at java.net.URI.(Unknown Source)
  | at java.net.URL.toURI(Unknown Source)
  | at 
org.jboss.embedded.adapters.ServerConfig.initializeByFile(ServerConfig.java:93)
  | at org.jboss.embedded.adapters.ServerConfig.start(ServerConfig.java:63)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  | at java.lang.reflect.Method.invoke(Unknown Source)
  | at 
org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:55)
  | at 
org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:108)
  | at 
org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethodJoinPoint.java:66)
  | at 
org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchJoinPoint(KernelControllerContextAction.java:103)
  | at 
org.jboss.kernel.plugins.dependency.LifecycleAction.installActionInternal(LifecycleAction.java:145)
  | at 
org.jboss.kernel.plugins.dependency.KernelControllerContextAction.installAction(KernelControllerContextAction.java:197)
  | at 
org.jboss.kernel.plugins.dependency.KernelControllerContextAction.install(KernelControllerContextAction.java:136)
  | at 
org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
  | at 
org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:233)
  | at 
org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:724)
  | at 
org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:445)
  | at 
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:555)
  | at 
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:489)
  | at 
org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:289)
  | at 
org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:192)
  | at 
org.jboss.kernel.plugins.dependency.AbstractKernelController.install(AbstractKernelController.java:84)
  | at org.jboss.embedded.Bootstrap.bootstrapURL(Bootstrap.java:161)
  | at org.jboss.embedded.Bootstrap.bootstrap(Bootstrap.java:201)
  | at org.jboss.embedded.Bootstrap.bootstrap(Bootstrap.java:214)
  | at 
org.jboss.embedded.tomcat.EmbeddedJBossBootstrapListener.innerStart(EmbeddedJBossBootstrapListener.java:76)
  | at 
org.jboss.embedded.tomcat.EmbeddedJBossBootstrapListener.lifecycleEvent(EmbeddedJBossBootstrapListener.java:55)
  | at 
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)
  | at 
org.apache.catalina.core.StandardServer.start(StandardServer.java:693)
  | at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  | at java.lang.reflect.Method.invoke(Unknown Source)
  | at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
  | at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
  | java.lang.reflect.InvocationTargetException
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at sun.

[jboss-user] [Beginners Corner] - Re: Running run.bat produces no output.

2007-08-08 Thread PeterJ
What is JAVA_HOME set to? Make sure it is set to a 1.5 JDK. Also, where did you 
install the JDK? Hopefully not in "Program Files".

See the discussion at 
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=96582

and http://www.jboss.com/index.html?module=bb&op=viewtopic&t=91124

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

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


[jboss-user] [JBoss Seam] - Re: ManyToOne OneToMany

2007-08-08 Thread mtpettyp
More of a EJB3 question, but I think you need to change:


  |  @OneToMany(mappedBy="workout", cascade=CascadeType.REMOVE)
  |   private List workouts = new ArrayList();
  | 

to 


  |  @OneToMany(mappedBy="athlete", cascade=CascadeType.REMOVE)
  |   private List workouts = new ArrayList();
  | 

You need to specify the field in the Workout entity which maps back to this 
object.

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

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


[jboss-user] [JNDI/Naming/Network] - Re: What is mapped-name?

2007-08-08 Thread PeterJ
No, it should be in jboss-web.xml. See 
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=115556 for an example.

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

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


[jboss-user] [JBoss Seam] - ManyToOne OneToMany

2007-08-08 Thread jknotzke

   Hi,

   I am using the CVS trunk and I cannot get a ManyToOne relationship working. 
I get the following error when deploying:


  | org.hibernate.AnnotationException: mappedBy reference an unknown target 
entity property: com.techsolcom.powermanager.Workout.workout in 
com.techsolcom.powermanager.Athlete.workouts
  | 

  My Code looks like this: Athlete.java


  |  @OneToMany(mappedBy="workout", cascade=CascadeType.REMOVE)
  |   private List workouts = new ArrayList();
  | 
  |   public List getWorkouts()
  |   {
  |  return workouts;
  |}
  | 
  | public void setWorkouts(List workouts)
  | {
  | this.workouts = workouts;
  |  }
  | 
  | 

..and Workout.java looks like this



  |@ManyToOne
  | @NotNull
  | private Athlete athlete;
  | 
  | public Workout(Athlete athlete)
  | {
  | this.athlete = athlete;
  | }
  | 
  |   | 
  |   |   Any ideas ? I noticed in some of the examples, like the ContactList 
example that there are entries in components.xml.. No idea if that's the 
problem. Thanks
  |   | 
  |   |

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

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


[jboss-user] [JBoss Portal] - Re: ClassCastException: ApplicationContextFacade

2007-08-08 Thread sessa
thanks for your help. but did you notice the date I posted my question ? almost 
2 years ago.
I solved it already...

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

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


[jboss-user] [JBoss Seam] - Re: seam 2.0.0 cr1 availability...`

2007-08-08 Thread matt.drees
It hasn't been released.  You can checkout the source from cvs (there's other 
posts on how to do this) and build a snapshot, though.

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

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


[jboss-user] [Beginners Corner] - Re: JBoss console not opening completely - class not found

2007-08-08 Thread PeterJ
No, what's wrong is that the web console is an orphan and no-one has made any 
effort to keep it up-to-date or even verify that it works in any given JBoss  
AS release.  Personally, I never use it.

See http://www.jboss.com/index.html?module=bb&op=viewtopic&t=109468

and  http://www.jboss.com/index.html?module=bb&op=viewtopic&t=96755

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

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


[jboss-user] [Beginners Corner] - Re: Running run.bat produces no output.

2007-08-08 Thread geeky2
hello,

i don't run jboss under windows - but you should have a log file.

try looking for a server.log and boot.log file in your

$JBOSS_HOME/server/default/log directory

you may wish to review and or post any error messages that are showing up in 
these two logs

thx
mark

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

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


[jboss-user] [Beginners Corner] - Running run.bat produces no output.

2007-08-08 Thread tdemuth
After copying the files of JBoss 4.2.1GA on my computer, I tried to run 
run.bat, which produces no output. I cannot find any jboss-*-process in my 
taskmanager also. So: What happens?

I have set a JAVA_HOME environment variable, but I have got two other JDKs 
installed (I have 1.4.2, 1.5 and 1.6, because I need them for development - 1.6 
is the system's default). Does JBoss using simply the wrong JDK?

I'm not familiar with JEE or Application-Servers, because I'm a student and 
trying to learn something about it - so, could anybody please help?

Using Win XP Professional, JBoss 4.2.1GA.

kind regards
Tobias

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

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


[jboss-user] [JBossWS] - Re: jboss4.0.5 + which version of jbossws + correct document

2007-08-08 Thread rocken7
jbossws-1.2 or jbossws-2  do not seem to work on jboss-4.0.5.GA, at least any 
kind of java type mapping from the wsdl. 

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

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


[jboss-user] [JBoss Seam] - Help !!! Installing Embedded JBoss in tomcat

2007-08-08 Thread pedro.webanalysis
I installed tomcat 6.0.13,  

later I followed the reference "seam_reference.pdf" in part 25.5.1 page 236 of 
JBoss Seam 2.0.0.BETA1

but I did not have success.

downloaded Embedded JBoss Beta 2 Notes
http://sourceforge.net/project/showfiles.php?group_id=22866&package_id=228977


When start tomcat I have the following error: 

  | java.lang.reflect.InvocationTargetException
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  | at java.lang.reflect.Method.invoke(Unknown Source)
  | at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
  | at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
  | Caused by: java.lang.RuntimeException: java.lang.RuntimeException: Unable 
to bootstrap: 
  | at 
org.jboss.embedded.tomcat.EmbeddedJBossBootstrapListener.innerStart(EmbeddedJBossBootstrapListener.java:82)
  | at 
org.jboss.embedded.tomcat.EmbeddedJBossBootstrapListener.lifecycleEvent(EmbeddedJBossBootstrapListener.java:55)
  | at 
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
  | at 
org.apache.catalina.core.StandardServer.start(StandardServer.java:703)
  | at org.apache.catalina.startup.Catalina.start(Catalina.java:566)
  | ... 6 more
  | Caused by: java.lang.RuntimeException: Unable to bootstrap: 
  | at org.jboss.embedded.Bootstrap.bootstrapURL(Bootstrap.java:167)
  | at org.jboss.embedded.Bootstrap.bootstrap(Bootstrap.java:201)
  | at org.jboss.embedded.Bootstrap.bootstrap(Bootstrap.java:214)
  | at 
org.jboss.embedded.tomcat.EmbeddedJBossBootstrapListener.innerStart(EmbeddedJBossBootstrapListener.java:76)
  | ... 10 more
  | Caused by: 
org.jboss.kernel.spi.registry.KernelRegistryEntryNotFoundException: Entry not 
found with name: MainDeployer
  | at 
org.jboss.kernel.plugins.registry.AbstractKernelRegistry.getEntry(AbstractKernelRegistry.java:89)
  | at org.jboss.embedded.Bootstrap.bootstrapURL(Bootstrap.java:163)
  | ... 13 more
  | 

Please they help me because necessary to use they seam it with tomcat

Thank you.
Pedro Neves - Brazil.


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

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


  1   2   3   4   >