[jboss-user] [JBoss Seam] - Re: FacesMessages queued but not being displayed.

2007-03-31 Thread fady.matar
This happens only with beans that extend the EntityHome and specifically in the 
overriden methods of the EntityHome

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

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


[jboss-user] [JBoss jBPM] - Re: jBPM dowload pages are outdated (3.2.GA missing)

2007-03-31 Thread wjm
Running a checksum against the respective jarfiles in both locations shows them 
to be identical.  I dont think this is a problem, although the link on the 
jboss pages could be set to include the GA bits.  Hopefully we'll see a final 
3.2 soon though.

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

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


[jboss-user] [JBoss Seam] - Re: SEAM don't can find session bean !!

2007-03-31 Thread waynebagguley
Which version is it fixed in?

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

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


[jboss-user] [Beginners Corner] - exception=java.net.SocketException:

2007-03-31 Thread s_nirkhe
Hi,
When I start JBoss (Version 4.0) I start getting following errors


46,712 ERROR [UDP] exception=java.net.SocketException: Invalid argument: 
Datagram send failed, msg=[dst: 228.1.2.3:45566, src: MYSERVER:1221 (additional 
data: 16 bytes) (2 headers), size = 0 bytes], mcast_addr=228.1.2.3:45566
12:31:57,918 ERROR [UDP] exception=java.net.SocketException: Invalid argument: 
Datagram send failed, msg=[dst: 230.1.2.7:45577, src: MYSERVER:1245 (2 
headers), size = 0 bytes], mcast_addr=230.1.2.7:45577
12:31:58,929 ERROR [UDP] exception=java.net.SocketException: Invalid argument: 
Datagram send failed, msg=[dst: 228.1.2.3:4, src: MYSERVER:1226 (2 
headers), size = 0 bytes], mcast_addr=228.1.2.3:4
12:32:08,283 ERROR [UDP] exception=java.net.SocketException: Invalid argument: 
Datagram send failed, msg=[dst: 228.1.2.3:45566, src: MYSERVER:1221 (additional 
data: 16 bytes) (2 headers), size = 0 bytes], mcast_addr=228.1.2.3:45566
12:32:11,908 ERROR [UDP] exception=java.net.SocketException: Invalid argument: 
Datagram send failed, msg=[dst: 230.1.2.7:45577, src: MYSERVER:1245 (2 
headers), size = 0 bytes], mcast_addr=230.1.2.7:45577


Your input will be a great help.

Thanks


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

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


[jboss-user] [EJB 3.0] - Re: Will I be able to have both EJB 2.1 and EJB3 in JBoss 5?

2007-03-31 Thread mtedone1
Thank you for your reply. Which EJB3 distribution are you referring to 
precisely? Sun's one (GlassFish) or JBoss? Also my question was related to 
eventually a passage to JBoss 5. Does this version of JBoss support both EJB3 
and EJB 2.1?

Thanks.

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

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


[jboss-user] [JBoss Seam] - Re: COMPOUNDs, ATOMs & MOLECULEs - don't try this at home!

2007-03-31 Thread javalars
This helping us, thank so muche.
anonymous wrote : 3) Create the relevant framework components (i.e. a 
entityquery for atoms and compounds, entityhome for molecule 
  | 4) Create a simple CRUD screen using a mixture of h:inputText, 
h:commandButton s:selectItems and s:convertEntity

To make "create new molecule" screen we defines entity-query in components.xml 
for use on selectone/selectitems for to let user select atom.
So, ofcourse(?) we need selectone/selectitems to return atom id (not Atom 
object - molecule entity have atom_id property) so moleculeHome can be persist 
new molecule. Is this what your meaning with s:convertEntity  to convert user 
selectioned Atom object to a id (as java primitive "long")? Can some body show, 
of this, example  please? How it is good to do? 


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

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


[jboss-user] [Testimonials] - Re: Migration from Weblogic to JBoss 4.0.5

2007-03-31 Thread prakash.dumbre

Please anybody help me for the above problem?
I am stuck here and could not go ahead.




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

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


[jboss-user] [JBoss Seam] - [EMAIL PROTECTED]: Can not access Sessionbean from Servlet

2007-03-31 Thread joerg.pfruender
Hello,

I have deployed the tutorials and tried to generate own beans with the Eclipse 
Hibernate Tools. The Webapp works fine, I can create and find records in the 
database. There is only one ugly error in the log: "StateManager" not yet 
installed. I do not know if this is critical.
Then I tried to write an own Servlet where I wanted to use the sessionbeans, 
but I always get a javax.naming.NameNotFoundException.

The Bean is registered, I can use it with the JSP pages and I can see it in the 
JMX-Console:

anonymous wrote : 
  |   |   +- SessionEditorBean (class: org.jnp.interfaces.NamingContext)
  |   |   |   +- localStatefulProxyFactory (class: 
org.jboss.ejb3.stateful.StatefulLocalProxyFactory)
  |   |   |   +- local (class: java.lang.Object)

My code:

Servlet:
InitialContext ic= new InitialContext();
  | bean = ic.lookup("seamapp/sessionEditor/local");

Bean:
@Name("sessionEditor")
  | @Stateful
  | @Interceptors(SeamInterceptor.class)
  | public class SessionEditorBean implements SessionEditor {
  |   ...
  | }

I have tried the Bean's classname as JNDI name but it didn't help. Has anyone 
an idea?
Thank you very much.
Jörganonymous wrote : 

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

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

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


[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Upload pdf files

2007-03-31 Thread soussou
Hi;

I have a JSP which display several links on pdf files (contracts), these files 
are updated every week by the customers (new, delete, change files) and send 
them via CFT on integration server => Questions :

1- How  implement this JSP to manage correctly the change frequent of the pdf 
files
2- In production, I have only access to database server (any access to web 
server), how upload the pdf files ?

Regards;

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

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


[jboss-user] [JBoss jBPM] - jbpm-bpel-1.1.Beta3 and jboss-4.2.0.CR1

2007-03-31 Thread zauberlehrling
Hi,

I freshly installed jbpm-bpel-1.1.Beta3 and jboss-4.2.0.CR. I was able to 
deploy both archives: 

   jbpm-bpel.sar
   jbpm-bpel.war.

But when I try to deploy hello-process.zip with
anonymous wrote : ant deploy-definition
I get the following error: 
..
  | 16:17:26,090 INFO  [TomcatDeployer] deploy, ctxPath=/jbpm-bpel, 
warUrl=.../tmp/deploy/tmp55758jbpm-bpel-exp.war/
  | 16:26:13,331 INFO  [[/jbpm-bpel]] processDeployServlet: deploying process 
definition: 
file=file:/home/frank/tmp/jbpm-bpel-1.1.Beta3/examples/hello/target/hello-process.zip
  | 16:26:14,431 INFO  [BpelReader] read wsdl definitions: hello.wsdl
  | 16:26:15,272 ERROR [[processDeployServlet]] Servlet.service() for servlet 
processDeployServlet threw exception
  | java.lang.NoSuchMethodError: 
org.jaxen.expr.Expr.accept(Lorg/jaxen/expr/Visitor;)V
  | at 
org.jbpm.bpel.sublang.xpath.XPathEvaluatorFactory$ExprValidator.validate(XPathEvaluatorFactory.java:134)
  | at 
org.jbpm.bpel.sublang.xpath.XPathEvaluatorFactory.createExpressionEvaluator(XPathEvaluatorFactory.java:100)
  | at 
org.jbpm.bpel.sublang.xpath.XPathEvaluatorFactory.createEvaluator(XPathEvaluatorFactory.java:59)
  | at org.jbpm.bpel.sublang.def.Expression.parse(Expression.java:55)
  | ..
I've found the class org/jaxen/expr/Visitor in the archive jaxen.jar, which is 
part of jbpm-bpel.sar

Does anybody know how to prevent this error?

Best regards,

Frank


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

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


[jboss-user] [Beginners Corner] - Re: error 202: handshake failed

2007-03-31 Thread orizon

thank u so much :)

before, i was installing jboss by running java -jar 
jems-installer-1.2.0.GA.jar, which for some reason defaulted it to the debug 
mode

everything works fine now!

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

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


[jboss-user] [Installation, Configuration & Deployment] - Re: disable auto deployment

2007-03-31 Thread [EMAIL PROTECTED]
Hot deployment is controlled by a setting in the DeploymentScanner, in the 
bottom of conf/jboss-service.xml.

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

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


[jboss-user] [JBoss Seam] - Re: seam-gen for a multi-user (server) environment on multip

2007-03-31 Thread sushmu
This is coming in handy in testing multiple seam deployments at once like

seam -Dproject.name=project1 explode 
seam -Dproject.name=project2 explode restart
seam -Dproject.name=project3 unexplode

etc.,

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

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


[jboss-user] [JBoss Seam] - @Length doesn't work with Character/char

2007-03-31 Thread jcalienes
seam-gen generates this code:

 @Column(name = "CATEGORIA", nullable = false, length = 1)
 @NotNull
 @Length(max = 1)
 public char getCategoria() {
   return this.categoria;
 }

and in the xxxEdit.xhtml doesn't generate:
 size="1" maxlength="1"


next, when i enter 'A' in this field, seam complain: "length must be between 0 
and 1".

i had to remove @Length, and add size and maxlength to work. i think it would 
be nice that seam-gen do it for me.

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

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


[jboss-user] [JBoss Seam] - Re: FacesMessages queued but not being displayed.

2007-03-31 Thread Stateless Bean
Hi,
I got this too
I added FacesMessages login error to my app and this worked sinse Seam 1.0.1, 
and after moving to Seam 1.2 no errors are visible...
I thougth to fix this later but i see this is not mine only problem...
So what u suggest to do?

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

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


[jboss-user] [JBoss Seam] - Seam EL parsing problem

2007-03-31 Thread Stateless Bean
Hi,
I try to force my method to get parameter via link:


  | 
  | 

and different combination

  | 
  | 

but still i get EL parsing error problem.
I use Seam 1.2.0

btw how should I declare action for link in pages.xml?

  | 
  | 
  |   
  | 
is well defined?

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

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


[jboss-user] [JBoss Seam] - fileUpload styleClass attribute is not rendered properly

2007-03-31 Thread rlhr
Hello,

I'm using Seam 1.2.1GA

When using the  styleClass attribute, a "styleClass" attribute 
is rendered instead of a "class" attribute.
I haven't checked the latest build, so maybe this is already fixed.

Richard

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

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


[jboss-user] [JBoss Seam] - Re: fileUpload styleClass attribute is not rendered properly

2007-03-31 Thread rlhr
In org.jboss.seam.uiUIFileUpload, line 147:


  | writer.writeAttribute(HTML.STYLE_CLASS_ATTR, styleClass, null);
  | 

should be (I believe):


  | writer.writeAttribute(HTML.CLASS_ATTR, styleClass, null);
  | 

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

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


[jboss-user] [JBoss Seam] - Re: SEAM don't can find session bean !!

2007-03-31 Thread JohnBat26
I have resolved this problem!!! Thank you all pacticipants of this topic !

I transfer all implements (from local and remote interface) from parent class 
to local class and all work !!!

Visibly, impossible implement interface in parent class, when use with SEAM!

I send a letter to androMDA's developer which corresponds at EJB 3 cartridge! 


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

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


[jboss-user] [JBoss Seam] - Re: @Length doesn't work with Character/char

2007-03-31 Thread chuckadams
@Length doesn't make sense for a primitive char field -- chars don't have a 
length, Strings do.  You'll probably find more help on the Hibernate forums for 
setting up mappings and validators.

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

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


[jboss-user] [JBoss Seam] - Latest SEAM-GEN ERRORS org.hibernate.HibernateException: Wro

2007-03-31 Thread mgrouch
I get this error trying to bring up a simple app generated with SEAM-GEN.
I've reversed engineered entities from DB using seam-gen. My DB is Sybase. What 
could be the reason and how can I fix it?

org.hibernate.HibernateException: Wrong column type: eventType, expected: 
varchar(6)

Thanks,

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

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


[jboss-user] [JBoss Seam] - Re: Latest SEAM-GEN ERRORS org.hibernate.HibernateException:

2007-03-31 Thread mgrouch
What could be wrong here?

@Column(name = "eventType", nullable = false, length = 6)
  | @NotNull
  | @Length(max = 6)
  | public String geteventType() {
  | return this.eventType;
  | }
  | 

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

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


[jboss-user] [JBoss Seam] - Re: Latest SEAM-GEN ERRORS org.hibernate.HibernateException:

2007-03-31 Thread irVega
I came across a similar Exception with the 1.2.0Patch1 release (I haven't tried 
this on 1.2.1 yet).
In short, some fields in my tables were deliberately of type char (rather than 
varchar) to test out seam-gen and even though the entity beans were reveng'ed 
by seam-gen, the expected type for those same fields on the deployed app was 
varchar. 
In my case I was able to fine-tune the schema this time, but I never got an 
answer to my question about what to do when the schema is fixed (eg a client's 
legacy app that has some fields defined as char(n)).


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

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


[jboss-user] [JBoss Seam] - Re: COMPOUNDs, ATOMs & MOLECULEs - don't try this at home!

2007-03-31 Thread irVega
I manually coded my MoleculeHome (rather than create it by "config" in 
components.xml) so it can suck out the Atom object (and the Compound) from the 
context and get the id from the Atom object for use in the overridden persist.
I am not sure if this is a reasonable practice in seam but it seems to be a  
solution that works - but it does couple my Molecule's entity home to this 
particular use-case a bit (any comments).
Did you find another way or any best practice for this type of problem?

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

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


[jboss-user] [JBoss Seam] - Re: Latest SEAM-GEN ERRORS org.hibernate.HibernateException:

2007-03-31 Thread mgrouch
I've got rid of this exception by adding

import org.hibernate.annotations.Type;
and this annotation

@Type(type = "char")

It goes further, but
now it is hanging after giving this message

15:03:11,774 INFO  [SchemaValidator] fetching database metadata

anonymous wrote : 
  | 
  | 15:03:11,008 INFO  [SettingsFactory] RDBMS: Adaptive Server Enterprise, 
version: Adaptive Server Enterprise/12.5.3/EBF 13528 ESD#7 
ONE-OFF/P/Sun_svr4/OS 5.8/ase1253/1950/64-bit/FBO/Mon Apr 24 17:57:35 2006
  | 15:03:11,008 INFO  [SettingsFactory] JDBC driver: jConnect (TM) for JDBC 
(TM), version: jConnect (TM) for JDBC(TM)/5.5(Build 25827)/P/EBF13045/JDK13/Mon 
Oct  3  7:31:59 2005
  | 15:03:11,039 INFO  [Dialect] Using dialect: 
org.hibernate.dialect.SybaseDialect
  | 15:03:11,055 INFO  [TransactionFactoryFactory] Transaction strategy: 
org.hibernate.ejb.transaction.JoinableCMTTransactionFactory
  | 15:03:11,055 INFO  [TransactionManagerLookupFactory] instantiating 
TransactionManagerLookup: 
org.hibernate.transaction.JBossTransactionManagerLookup
  | 15:03:11,071 INFO  [TransactionManagerLookupFactory] instantiated 
TransactionManagerLookup
  | 15:03:11,071 INFO  [SettingsFactory] Automatic flush during 
beforeCompletion(): disabled
  | 15:03:11,071 INFO  [SettingsFactory] Automatic session close at end of 
transaction: disabled
  | 15:03:11,071 INFO  [SettingsFactory] Scrollable result sets: enabled
  | 15:03:11,071 INFO  [SettingsFactory] JDBC3 getGeneratedKeys(): disabled
  | 15:03:11,071 INFO  [SettingsFactory] Connection release mode: auto
  | 15:03:11,071 INFO  [SettingsFactory] Default batch fetch size: 1
  | 15:03:11,071 INFO  [SettingsFactory] Generate SQL with comments: disabled
  | 15:03:11,071 INFO  [SettingsFactory] Order SQL updates by primary key: 
disabled
  | 15:03:11,071 INFO  [SettingsFactory] Query translator: 
org.hibernate.hql.ast.ASTQueryTranslatorFactory
  | 15:03:11,086 INFO  [ASTQueryTranslatorFactory] Using 
ASTQueryTranslatorFactory
  | 15:03:11,086 INFO  [SettingsFactory] Query language substitutions: {}
  | 15:03:11,086 INFO  [SettingsFactory] JPA-QL strict compliance: enabled
  | 15:03:11,086 INFO  [SettingsFactory] Second-level cache: enabled
  | 15:03:11,086 INFO  [SettingsFactory] Query cache: disabled
  | 15:03:11,086 INFO  [SettingsFactory] Cache provider: 
org.hibernate.cache.NoCacheProvider
  | 15:03:11,086 INFO  [SettingsFactory] Optimize cache for minimal puts: 
disabled
  | 15:03:11,086 INFO  [SettingsFactory] Structured second-level cache entries: 
disabled
  | 15:03:11,102 INFO  [SettingsFactory] Echoing all SQL to stdout
  | 15:03:11,102 INFO  [SettingsFactory] Statistics: disabled
  | 15:03:11,102 INFO  [SettingsFactory] Deleted entity synthetic identifier 
rollback: disabled
  | 15:03:11,102 INFO  [SettingsFactory] Default entity-mode: pojo
  | 15:03:11,274 INFO  [SessionFactoryImpl] building session factory
  | 15:03:11,774 INFO  [SessionFactoryObjectFactory] Not binding factory to 
JNDI, no JNDI name configured
  | 15:03:11,774 INFO  [SchemaValidator] Running schema validator
  | 15:03:11,774 INFO  [SchemaValidator] fetching database metadata
  | 
  | 

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

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


[jboss-user] [JBoss Seam] - Re: Seam Remoting and own Map

2007-03-31 Thread [EMAIL PROTECTED]
Collection objects (such as Lists, Arrays) are unmarshalled as arrays on the 
client.

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

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


[jboss-user] [JBoss Seam] - Re: FacesMessages queued but not being displayed.

2007-03-31 Thread fady.matar
I'm calling intermediary SessionBeans and they're throwing error messages. Not 
an adequate approach

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

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


[jboss-user] [JBoss Seam] - EntityConverter - when and how?

2007-03-31 Thread irVega
Is there a layman's (but accurate and clear) description of what entity 
converters are for and how to use them.

I read everything google threw at me (search string: seam convertEntity) 
including 
http://wiki.jboss.org/wiki/Wiki.jsp?page=SeamEntityConverter
but am none the more certain about the precise intention. 

Is it to convert an id (selected by the user from dropdown list, for example) 
to a full blown entity? Do you have an example use-case (in English, not code)?

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

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


[jboss-user] [JBoss Seam] - Resource not registered : org.richfaces.renderkit.images.Tab

2007-03-31 Thread irVega
I get the following Exception when I run a project created by seam-gen. 
1 - Do I need to do something to add this "missing" resource? Is it related to 
browser cache ?
2 - How do I switch-off icefaces (code-geneartion) so my pages use simple 
(x)html rendering (ie no  javascript)?

23:34:02,406 ERROR [[Faces Servlet]] Servlet.service() for servlet Faces 
Servlet threw exception
  | org.ajax4jsf.framework.resource.ResourceNotFoundException: Resource not 
registered : org.richfaces.renderkit.images.TabGradientB
  | at 
org.ajax4jsf.framework.resource.ResourceBuilderImpl.getResource(ResourceBuilderImpl.java:376)
  | at 
org.ajax4jsf.framework.resource.ResourceBuilderImpl.getResourceForKey(ResourceBuilderImpl.java:333)
  | at 
org.ajax4jsf.framework.resource.InternetResourceService.serviceResource(InternetResourceService.java:128)
  | at 
org.ajax4jsf.framework.resource.InternetResourceService.serviceResource(InternetResourceService.java:118)
  | at 
org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:207)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
  | at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
  | at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
  | at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
  | at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
  | at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
  | at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
  | at 
org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
  | at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
  | at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
  | at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
  | at 
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
  | at 
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
  | at 
org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
  | at java.lang.Thread.run(Thread.java:595)

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

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


[jboss-user] [JBoss Seam] - AUto generated id fileds

2007-03-31 Thread irVega
In a seam gen generated app, I guess the ID field is included on the 
"create/edit eg Atom.Edit.xhtml" pages, even if in the database the key (ID_) 
is marked as auto-generated, because the jdbc meta-data may not be available to 
help hibernate reveng this detail.
When I manually remove the ID input field from the *Edit.xhatml page (eg 
AtomEdit.xhtml). deploy/run the app and enter the other field values (just 
ptSymbol in this case) correctly and press Save, I get the Exception below.
Do I need to change the *Home (eg AtomHome) to expect that there will be no 
atom ID in the context for newly created Atoms but existing Atoms (ie those 
just edited) will have IDs?



  | 00:25:09,796 INFO  [STDOUT] Hibernate: insert into PUBLIC.ATOM (PT_SYMBOL, 
ID_) values (?, ?)
  | 00:25:09,796 WARN  [JDBCExceptionReporter] SQL Error: 0, SQLState: null
  | 00:25:09,796 ERROR [JDBCExceptionReporter] failed batch
  | 00:25:09,796 ERROR [AbstractFlushingEventListener] Could not synchronize 
database state with session
  | org.hibernate.exception.GenericJDBCException: Could not execute JDBC batch 
update
  | at 
org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:103)
  | at 
org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:91)
  | at 
org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
  | at 
org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:249)
  | at 
org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:235)
  | at 
org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:139)
  | at 
org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:298)
  | at 
org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27)
  | at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1000)
  | at 
org.hibernate.ejb.AbstractEntityManagerImpl.flush(AbstractEntityManagerImpl.java:296)
  | at 
org.jboss.seam.persistence.EntityManagerProxy.flush(EntityManagerProxy.java:83)
  | at org.jboss.seam.framework.EntityHome.persist(EntityHome.java:49)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at org.jboss.seam.util.Reflections.invoke(Reflections.java:20)
  | at 
org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:31)
  | at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:57)
  | at 
org.jboss.seam.interceptors.ManagedEntityIdentityInterceptor.aroundInvoke(ManagedEntityIdentityInterceptor.java:37)
  | at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:69)
  | at 
org.jboss.seam.interceptors.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:34)
  | at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:69)
  | at 
org.jboss.seam.interceptors.TransactionInterceptor$1.work(TransactionInterceptor.java:32)
  | at org.jboss.seam.util.Work.workInTransaction(Work.java:37)
  | at 
org.jboss.seam.interceptors.TransactionInterceptor.aroundInvoke(TransactionInterceptor.java:27)
  | at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:69)
  | at 
org.jboss.seam.interceptors.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:27)
  | at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:69)
  | at 
org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:103)
  | at 
org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:151)
  | at 
org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.java:87)
  | at 
org.molecule.domain.AtomHome_$$_javassist_27.persist(AtomHome_$$_javassist_27.java)
  | 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 com.sun.el.parser.AstValue.invoke(AstValue.java:174)
  | at 
com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:286)
  | at 
com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:68)
  | at 
com.sun.facelets.el.LegacyMethodBinding.invoke(LegacyMethodBinding.java:69)
  |

[jboss-user] [JNDI/Naming/Network] - Re: java.lang.ClassNotFoundException: org.jnp.interfaces.Nam

2007-03-31 Thread clizarralde
i'm having the same problem, anyone knows the solution to this?

Thanks!!!

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

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


[jboss-user] [JBoss Seam] - Is this a known Seam bug? varchar(n) foreign key to char(n)

2007-03-31 Thread mgrouch
varchar(n) foreign key to char(n) seems to be not supported.
I've tried it on Sybase and SeamGen generated app fails at startup
during DDL Schema validation.

Thanks,

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

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


[jboss-user] [JBoss Seam] - 12.8.2 Captcha

2007-03-31 Thread [EMAIL PROTECTED]
Is there a way to override the warnign message coming from teh captcha?

for jsf messages you add this to :

  | 
  | 
  | 
de.co.clickstream.i18n.jsfstandarderrors
  | 
  | 



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

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


[jboss-user] [JBoss Seam] - Re: Is this a known Seam bug? varchar(n) foreign key to char

2007-03-31 Thread [EMAIL PROTECTED]
This is a hibernate tools issue.  The schema validator is very weak when it 
comes to determining which types are the same for each database.  You can turn 
off validation to get around the issue.  You might also want to open up a JIRA 
case for hibernate tools in the hopes that they can fix the problem.



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

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


[jboss-user] [JBoss Seam] - Re: Is this a known Seam bug? varchar(n) foreign key to char

2007-03-31 Thread [EMAIL PROTECTED]
This is a hibernate tools issue.  The schema validator is very weak when it 
comes to determining which types are the same for each database.  You can turn 
off validation to get around the issue.  You might also want to open up a JIRA 
case for hibernate tools in the hopes that they can fix the problem.



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

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


[jboss-user] [JBoss Seam] - Re: Is this a known Seam bug? varchar(n) foreign key to char

2007-03-31 Thread [EMAIL PROTECTED]
This is a hibernate tools issue.  The schema validator is very weak when it 
comes to determining which types are the same for each database.  You can turn 
off validation to get around the issue.  You might also want to open up a JIRA 
case for hibernate tools in the hopes that they can fix the problem.



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

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


[jboss-user] [JBoss Seam] - Re: EntityConverter - when and how?

2007-03-31 Thread [EMAIL PROTECTED]
The entity converter is a JSF converter for entities.  If you don't understand 
what a JSF converter is, you should take a look at a  good JSF book.  

The main use case I've found for entity converter is to provide a string-object 
mapping for use in menus and dropdowns.  The DVD store uses it in the search 
box to allow the user to select a search category.

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

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


[jboss-user] [JBoss Seam] - Re: Resource not registered : org.richfaces.renderkit.images

2007-03-31 Thread [EMAIL PROTECTED]
I'm not sure about the resource error - what are you doing to cause it to come 
up?

There is currently no way to ask seamgen to generate non-richfaces pages. 

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

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


[jboss-user] [JBoss Seam] - Re: pdf - IllegalStateException

2007-03-31 Thread [EMAIL PROTECTED]
That is partially correct.  The .pdf view can only be accessed after the PDF is 
generated.  You don't need to worry about a conversation.  A temporary 
conversation will be promoted to a long-running conversation for long enough to 
serve the redirect to the PDF.  

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

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


[jboss-user] [JBoss Seam] - Re: [EMAIL PROTECTED]: Can not access Sessionbean from Servlet

2007-03-31 Thread [EMAIL PROTECTED]
The seam name (sessionEditor) is not part of the JNDI name.  You correct JNDI 
name is shown from the part of JNDIView that you cut out.  (SessionEditorBean 
instead of sessionEditor)

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

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


[jboss-user] [JBoss Seam] - Re: Resource not registered : org.richfaces.renderkit.images

2007-03-31 Thread irVega
I was just adding an atom to a molecule and trying to save.
When I refresh the page, the Exception stopped, so it's probably related to 
FireFox caching stuff with stale ids (?)

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

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


[jboss-user] [JBoss Seam] - Re: fileUpload styleClass attribute is not rendered properly

2007-03-31 Thread [EMAIL PROTECTED]
Fixed in CVS, thanks.

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

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


[jboss-user] [JBoss Seam] - Re: EntityConverter - when and how?

2007-03-31 Thread irVega
OK, so the catbean.categories in


  | 
  | 
  | 
  | 
  | 

returns the map populated in the CategotyBean at instantiation. 
When the converter is called into action, it takes the key (the selected 
Category's name), now in the appropriate context, and looks up the actual 
Category object (in the same map) to get that Category's id for use in the 
query.
Is that a better way to achieve this effect than the use of something like an 
entityQuery for retrieving the Categorys (categoriesQuery) with the following 
in the components.xml ? 

  | 
  | 
  | 
Would a converter be needed in this case? What are the pros and cons of each 
approach (assuming my suggestion would even work - haven't tried it yet)?

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

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


[jboss-user] [JBoss Seam] - Re: EntityConverter - when and how?

2007-03-31 Thread [EMAIL PROTECTED]
No, it would look like this: 


  | 
  | 
  | 
  | 
  | 

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

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


[jboss-user] [EJB 3.0] - RollbackException and PersistentContext

2007-03-31 Thread vedgunjan
Hi Experts,
Im using injected persistent context in my session bean.
@PersistentContext(unit="AppConext")
private EntityManeger entityManager;

In this session bean i've a method in which,i iterate over the list.
Lets say this method as method1();
The scenario is somthing like this..
@TransactionAttribute(REQUIRES_NEW)
public voic method1()
{
..some code.
for(SomeObject obj : someObjectList)
{
..some code
//call method2
method2(obj);
.some code..
}
}

@TransactionAttribute(REQUIRES_NEW)
public void method2()
{
}

What is happening here is when i call mehod2 and pass value to it from list,
the method throws NoEntityFound excexption and ejb transaction rolls back.
In the catch block of method2 , i'm catching NoEntityFoundException and getting 
the programm flow to normal flow.
Throwing of NoEntiyFound exception is an expected behaviour.
But my requirement is that i need to continue the iteration over the other 
values in the list.

But when the programm comes back to method1 and the moment it does some 
procesing i get exception like:

javax.transaction.RollbackException: Already marked for rollback, 
tx=TransactionImpl:XidImpl[FormatId=257, 

GenericJDBCException..cannot open connection..session close


1)What is the technical reson behind exception in method1?
2)What should i do to solve it so that my code processes the rest of the 
elements in the list?

Thanking in advance for any help.

Thanks
Vedgunjan 

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

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


[jboss-user] [JBoss Seam] - Re: AUto generated id fileds

2007-03-31 Thread sjmenden
Ran into the same problem, make sure in your Atom.java Entity the id field is 
annotated with a @Generated, reveng won't put it there by default, it will only 
put the @Id

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

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


[jboss-user] [JCA/JBoss] - Re: Bug/Missing feature in XA-DS.xml

2007-03-31 Thread vickyk
I have gone with the different approach , here it goes .
I have modified the ConnectionFactoryTemplate.xsl. I have made the following 
changes 
Changed  
  | 
  |   
  | 
  | 
  |   20
  | 
  |   

to 

  
  |   
  |   
  | 
  | 
  |  
  |  
  |  
  |   
  |
  | 
  |
  |
  | 
  |
  |   
  |   
  | 
  |   
  | 
  |   
  |  
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  |   
  | 
  |   20
  | 
  | 
  |   
  | 
  |   
  | 
  | 
  | 
  |  20
  | 
  | 
  | 
  |   



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

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


[jboss-user] [JBoss Seam] - Can't find bundle for base name org.hibernate.validator.reso

2007-03-31 Thread mgrouch
How to fix this error at seam app startup? 
Thanks

anonymous wrote : 
  | java.util.MissingResourceException: Can't find bundle for base name 
org.hibernate.validator.resources.DefaultValidatorMessages, locale en_US
  | at 
java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:836)
  | at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:726)
  | at java.util.ResourceBundle.getBundle(ResourceBundle.java:549)
  | at org.hibernate.validator.ClassValidator.(ClassValidator.java:129)
  | at 
org.hibernate.cfg.AnnotationConfiguration.secondPassCompile(AnnotationConfiguration.java:318)
  | at 
org.hibernate.cfg.Configuration.buildMappings(Configuration.java:1112)
  | at 
org.hibernate.ejb.Ejb3Configuration.buildMappings(Ejb3Configuration.java:1233)
  | at 
org.hibernate.ejb.EventListenerConfigurator.configure(EventListenerConfigurator.java:154)
  | at 
org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:869)
  | at 
org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:183)
  | at 
org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:240)
  | at 
org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:120)
  | at 
javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:51)
  | at 
javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:33)
  | at 
org.jboss.seam.core.EntityManagerFactory.startup(EntityManagerFactory.java:70)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at org.jboss.seam.util.Reflections.invoke(Reflections.java:20)
  | at 
org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:123)
  | at org.jboss.seam.Component.callComponentMethod(Component.java:1842)
  | at org.jboss.seam.Component.callCreateMethod(Component.java:1757)
  | at org.jboss.seam.Component.newInstance(Component.java:1746)
  | at org.jboss.seam.contexts.Lifecycle.startup(Lifecycle.java:175)
  | at 
org.jboss.seam.contexts.Lifecycle.endInitialization(Lifecycle.java:145)
  | at org.jboss.seam.init.Initialization.init(Initialization.java:504)
  | at 
org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:33)
  | at 
weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:374)
  | 

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

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


[jboss-user] [JBoss Seam] - javassist.CannotCompileException: duplicate method: createIn

2007-03-31 Thread mgrouch
I get this exception with seam app running on weblogic 9.1
when I click on some links. the app works fine under JBoss.

Any ideas?
Thanks a lot

anonymous wrote : 
  | javax.el.ELException: /Status.xhtml: Could not instantiate Seam component: 
statusHome
  | at 
com.sun.facelets.compiler.TextInstruction.write(TextInstruction.java:50)
  | at 
com.sun.facelets.compiler.UIInstructions.encodeBegin(UIInstructions.java:39)
  | at org.jboss.seam.ui.JSF.renderChild(JSF.java:171)
  | at org.jboss.seam.ui.JSF.renderChildren(JSF.java:162)
  | at org.jboss.seam.ui.UIDecorate.encodeChildren(UIDecorate.java:234)
  | at 
org.ajax4jsf.framework.renderer.RendererBase.renderChild(RendererBase.java:282)
  | at 
org.ajax4jsf.framework.renderer.RendererBase.renderChildren(RendererBase.java:262)
  | at 
org.richfaces.renderkit.html.PanelRenderer.doEncodeChildren(PanelRenderer.java:189)
  | at 
org.richfaces.renderkit.html.PanelRenderer.doEncodeChildren(PanelRenderer.java:184)
  | at 
org.ajax4jsf.framework.renderer.RendererBase.encodeChildren(RendererBase.java:121)
  | at 
javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:524)
  | at 
com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:244)
  | at 
com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:249)
  | at 
com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:573)
  | at 
org.ajax4jsf.framework.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:108)
  | at 
org.ajax4jsf.framework.ajax.AjaxViewHandler.renderView(AjaxViewHandler.java:229)
  | at 
org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:384)
  | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:138)
  | at 
weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:225)
  | at 
weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:127)
  | at 
weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:272)
  | at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
  | at 
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
  | at 
org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:63)
  | at 
org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:60)
  | at 
org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
  | at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
  | at 
org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
  | at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:57)
  | at 
org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
  | at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:79)
  | at 
org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
  | at org.jboss.seam.web.SeamFilter.doFilter(SeamFilter.java:84)
  | at 
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
  | at 
org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:96)
  | at 
org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:220)
  | at 
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
  | at 
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3151)
  | at 
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
  | at 
weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
  | at 
weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:1973)
  | at 
weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1880)
  | at 
weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1310)
  | at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
  | at weblogic.work.ExecuteThread.run(ExecuteThread.java:179)
  | Caused by: org.jboss.seam.InstantiationException: Could not instantiate 
Seam component: pmdbFailStatusHome
  | at org.jboss.seam.Component.newInstance(Component.java:1740)
  | at org.jboss.seam.Component.getInstance(Component.java:1643)
  | at org.jboss.seam.Component.getInstance(Component.java:1610)
  | at 
org.jboss.seam.jsf.SeamVariableResolver.resolveVariable(SeamVariableResolver.java:53)
  | at 
org.apache.myfaces.config.LastVariableResolverInChain.resolveVariable(LastVariableResolverInChain.java:42)
  | at 
com.sun.facelets.el.LegacyELContext$LegacyELResolver.getValue(LegacyELContext.java:134)
  | at com.sun.el.parser.AstIdentifier.getValue(AstIdentifier.java:73)
  | at com.sun.el.parser.AstValue.getValue(AstValue.java:114)
  |

[jboss-user] [JBoss Seam] - Re: Can't find bundle for base name org.hibernate.validator.

2007-03-31 Thread mgrouch
I've resolved this issue by packaging messages*.properties in WEB-INF/classes 

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

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


[jboss-user] [JBoss Seam] - Re: Resource not registered : org.richfaces.renderkit.images

2007-03-31 Thread [EMAIL PROTECTED]
Had this as well, went away after I upgraded to the latest Richfaces that is 
currently in Seam CVS (and probably in 1.2.1 release).


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

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


[jboss-user] [JBoss Seam] - Re: Is this a known Seam bug? varchar(n) foreign key to char

2007-03-31 Thread [EMAIL PROTECTED]
FYI the schemavalidator is located in hibernate core. 

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

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


[jboss-user] [JBoss Seam] - Re: AUto generated id fileds

2007-03-31 Thread [EMAIL PROTECTED]
btw. anyone that can tell me how to detect autogenerated keys on the database 
they use via propritary sql or standard jdbc metadata is very welcome to tell 
me ;)

Only requirement is that it is accessible through a jdbc connection.

(note: I've found INFORMATION_SCHEMA on mysql5; but pre 5 it seems impossible 
to get programmaticaly in a consistent way)

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

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