Is there a good template for an ANT build.xml
file?
I would like to compile, build, deploy, undeploy, test an ear application.
Thanks for Your support.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4097027#4097027
Reply to the post :
Replace the file suffix xhtml with page.xml.
first-component.xhtml
first-component.page.xml
This should work.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4082141#4082141
Reply to the post :
I use (in Eclipse) the VM arguments for starting JBoss
-Xms512m -Xmx1024m -XX:PermSize=256m -XX:MaxPermSize=512m.
It seems to better.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4081986#4081986
Reply to the post :
Of course a syntax error
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4081554#4081554
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4081554
___
jboss-user mailing list
I use the projection
| h:column
| h:outputText value=#{rowObject.(row|row.identifier}
/
| /h:column
|
This generates the error
|
| aused by javax.el.ELException with message: Error Parsing:
#{rowObject.(row|row.identifier}
|
|
What ist exact meaning of this exception?
org.jboss.seam.RequiredException with message: In attribute requires non-null
value: manager.value
I have code
|
| @Name(manager)
| @Scope(ScopeType.CONVERSATION)
| public class Manager {
|
| @In(create=true)
|
It is requirement to use JDK 6.
Were are are JBoss Seam 2.0.1 Beta.
Is there an embedded EJB version working with this configuration?
I tried it with version embedded EJB Beta 2.
The consequence is I get the exception
| [testng] [Parser] Running:
|[testng]
This method generates an exception
Exception calling stateful session bean default @Remove method
What have I to change?
| @End
| @Destroy
| @Remove
| public void destroy() {
|
| }
|
| 13:36:23,086 WARN [Component] Exception calling
Hello
I need more than one pages.xml file. My ways do not work.
I tried it with another name somewhere in the tree. It does not
work.
Are there any restriction for the name and location of these files?
The content of the file is:
| ?xml version=1.0 encoding=UTF-8?
| pages
Hello
There is no cleanup method for the Seam Identity class.
If I authenticate again with another user the roles of the
logged in before are still active.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4079471#4079471
Reply to the post :
It does clear the roles. I had an implementation problem.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4079573#4079573
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4079573
___
The rar files are still not deployed!
The deploy directory of JBoss Seam boostrap has the files. As You can see there
are no rar files.
| Directory of C:\devapp\jbossseam\jboss-seam-2.0.0.BETA1\bootstrap\deploy
|
| 03.08.2007 18:44DIR .
| 03.08.2007 18:44DIR
Using Seam 2.0.0 Beta and JBoss 4.2.0.
Making an own test with my user definend Entity Bean User for Oracle DB, I get
a strange exception
| [testng] java.util.EmptyStackException
|[testng] at java.util.Stack.peek(Stack.java:79)
|[testng] at
Thanks but it does not change the effect. Simply
pwdchange.screen.title is written on the screen.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4073830#4073830
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4073830
Seam 2.0 Beta
If I try this it works. The entry in the properties file for
pwdchange.screen.title is printed out correctly.
| f:loadBundle basename=messagesAfn var=messagesAfn /
| h:outputText value=#{messagesAfn['pwdchange.screen.title']} /
|
Putting the entries in the properties file
If I use it in the context with pages.xml it works.
| page view-id=/* bundle=messagesAfn
|
| /page
|
This works but I would to use it as a global resource.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4073878#4073878
Reply to the post
|application
| message-bundlemessages/message-bundle
| locale-config
| default-localeen/default-locale
| /locale-config
| !-- Disabled when using Ajax4JSF --
| !--
|
Seam 2.0 Beta
JBoss 4.2.0
I would to build tests. I have the following problem. When I add the security
rules file I get an exception. Has anyone any idea?
part of components.xml
|drools:rule-base name=securityRules
|drools:rule-files
|value/security.drl/value
I would the problem, the Authenticator class was not in the
classpath.
I do not until now what I shall to do. The resaon is the
a lot of classes like Authenticator are use for different projects.
They will be stay separated.
View the original post :
m using Seam 2.0 Beta.
I have troubles with the resource bundle. The texts do not appear.
For example
| h:outputText value=#{messagesAfn['pwdchange.screen.title']} /
|
generates an empty test. The pwdchange.screen.title entry is in the properties
file.
In components.xml I have the entry
I also got this error.
What I did was to download embedded-jboss-beta2.
I copied then the bootstrap directory into the jboss Seam boostrap directroy.
Then I should work.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4072840#4072840
Reply to the post :
When I run the tests for the
booking example of Seam 2.0 is get now an unbound transaction error.
What could be not correctly configured? Thanks
|[testng] ERROR 10-08 14:11:44,809 (DebugPageHandler.java:handle:23)
-redirecting to debug page
|[testng]
I have the same problem and cannot fix it.
It is clear when You remove the ejb-transaction tag then You do
not use the Seam support for EJB transaction. It have to
do with the Seam library.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4073001#4073001
Reply to
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)
What shall I delete?
I get an inconsistency when I start the test.
| java.lang.RuntimeException: Could not create Component:
org.jboss.seam.security.identity
| at
org.jboss.seam.init.Initialization.addComponent(Initialization.java:908)
| at
Could You please give me the concrete configuration?
I use in Eclipse
:pserver:[EMAIL PROTECTED]:/cvsroot/jboss
Can I modify this configuration for the JBoss 4.0.5 server source?
I would like to use JBoss 4.2.x but this server does not run in Eclipse.
Urs
View the original post :
Yes thanks for Your advice. I thought I
can set a version number somewehere and check out
the 1.2.1 GA.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4070996#4070996
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4070996
JBoss 4.0.5 and JBoss Seam Booking sample
I can build this example. I use a different booking-dx.xml for MySQL.
When the ear is deploy this exception is generated.
All files are included, I have checked this.
content of of ejb-jar.xml is
| ?xml version=1.0 encoding=UTF-8?
| ejb-jar
Hello
Please tell me how I can configure CVS
that I can check out the Seam version
for JBoss 4.0.5.
Thanks for Your answer.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4070879#4070879
Reply to the post :
Thanks
I recognized it, Janary is 0.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4065066#4065066
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4065066
___
jboss-user mailing
Hello
I try to disable the hibernate logging in my web app with Hibernate.
| log4j.rootLogger=INFO, A1
| log4j.appender.A1=org.apache.log4j.ConsoleAppender
| log4j.appender.A1.layout=org.apache.log4j.PatternLayout
| log4j.appender.A1.layout.ConversionPattern=%-4r [%t] %-5p %c %x - %m%n
Bug or feature?
The result shoud be Dec 9 1966
but I get
birthday = Mon Jan 09 00:00:00 CET 1967
What can I do else?
| Calendar calendar = GregorianCalendar.getInstance();
| calendar.clear();
| calendar.set(Calendar.YEAR, 1966);
|
Does JBoss support JSF 1.2
I get the error meesage
| warUrl=.../tmp/deploy/tmp5668jsf-guessNumber-exp.war/
| 14:51:51,593 ERROR [[/jsf-guessNumber]] Error configuring application
listener of class com.sun.faces.config.ConfigureListener
| java.lang.NoClassDefFoundError:
Which tag library does implement
javax.el.ValueExpression?
Thanks
Urs
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4032215#4032215
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4032215
Which jar library does implement
| javax.annotation.Resource
|
?
Thanks
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4032216#4032216
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4032216
Please can someone explain me this syntax error?
Thanks
| 125 [main] ERROR org.hibernate.util.XMLHelper - Error parsing XML:
hibernate.cfg.xml(3) A pseudo attribute name is expected.
| Error Creating HibernateSessionFactory
| org.hibernate.HibernateException: Could not parse
Where ist this class net.sf.cglib.transform.impl.InterceptFieldEnabled
| Exception in thread main java.lang.NoClassDefFoundError
| at org.hibernate.tuple.EntityMetamodel.class$(EntityMetamodel.java:41)
| at org.hibernate.tuple.EntityMetamodel.init(EntityMetamodel.java:122)
|
It seems to be a bug.
I have the a similar problem in a other table.
The workaround that I use now.
I call anonymous wrote : createNativeQuery instead of anonymous wrote :
createQuery or anonymous wrote : find of the anonymous wrote : EntityManager.
The consequence is the field is not set to
label is a reserved word in MySQL.
I use this word as table name -- generates strange effects.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3969287#3969287
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3969287
I use a stateless session bean this method.
In this query the first parameter textKey is set to password.
The query returns a label object with textKey field value null.
It is completly unlogical, the property is different to the search property but
an object is found.
And as consequence
I use a hash map in my stateful session bean to store the local home
references. Is this not allowed? I get this exeception!
anonymous wrote :
|
| Caused by: javax.ejb.EJBException: Application Error: no concurrent calls
on stateful beans
| at
Entity collection problem.
Hello
I try to get a many relationship collection of the Enitty language.
Unfortunately I get an error message.
anonymous wrote :
| @OneToMany(cascade={CascadeType.ALL})
| @JoinColumn(name=langid)
| public Collection getAssortments() {
|
Thanks
It works fine.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3965448#3965448
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3965448
___
jboss-user mailing list
I have added a second entry in the web.xml of the conf directory.
Perhaps someone can explain me the principle of the mechanism.
anonymous wrote :
|
| init-param
| MyFaces tlds
| param-nametagLibJar1/param-name
| param-valuejsf-libs/tomahawk.jar/param-value
| /init-param
|
|
Hello
I would like to import data into my database. The Entity are auto created. Can
someone tell me what I have to do to bring additional data into the database?
Thanks for Your help.
Urs
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3965335#3965335
Reply
I would like to use tomahawk
First I get this error
anonymous wrote :
|
| javax.servlet.ServletException: The absolute uri: http://myfaces.
| apache.org/tomahawk cannot be resolved in either web.xml or the jar
| files deployed with this application
|
Hello
I am looking for a JSF without Seam and EJB 3.0 for JBoss appliaction template.
Has anyone a such file containing all build files?
Thanks
Urs
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3964844#3964844
Reply to the post :
I have two stateless session beans assortmentManager and categoryManager.
Category is a detail bean of Assortment (1:N relation).
In the inner data table the assortmentCategories list must always built up
because the reference assortmemt always changes.
Remember the JSF code
anonymous wrote :
I need a mechanism to synchronize the inner dataTable with the outer one.
anonymous wrote :
| h:dataTable var=assort value=#{assortments}
| h:column
| h:outputLink value=
| h:outputText value=#{assort.description} /
|
Must I code this manually?
Because the content of myList of the inner data table has always different
values.
Perhaps You can give me link with a similar solution.
Thanks
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3962810#3962810
Reply to the post :
Hello
Before the page is displayed some data should be retrieved. There is no
possibility for example with an action in a outputLink.
Is there somewhere a good example how I can realize this.
Thanks
View the original post :
51 matches
Mail list logo