I mentioned META-INF as an example how we use this. What I said is: Don't use
the leading slash in the resouce name!
Look at
http://www.javaworld.com/javaworld/javaqa/2003-08/01-qa-0808-property.html
for example fro some explanations.
View the original post :
http://www.jboss.com/index.html?m
We use this with JBoss-4.0.4 in a similar way.
You may try is without the leading slash in the resource's name. If I remember
correct, this is not needed | not allowed.
The resouce is searched along the class path.
If it's in a subdirectory, e.g. META-INF then "META-INF/config.properties" has
to
If the reuse of a prepared statement fails because of this (tables or
statistics for the tables used in the query have changed since prepare) the
prepared statement should be thrown away first. JBoss should then try to create
a new prepared statement then.
If this also fails, there seems to be a
Yes I know. This change was initiated by me.
The prepared statements are unusable and should be thrown away and rebuild at
this point.
But the application should not get any notice about this.
How to achieve this?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=
http://wiki.jboss.org/wiki/Wiki.jsp?page=JavaMail
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3950182#3950182
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3950182
___
JBo
We are using Informix 9.4 and 10.0 as database server.
To get the index statistics up to date you'll have to execute an "update
statistics" regulary.
Most often this is done on the weekend when there is low traffic on the system.
If we use the prepared statement cache, the next time a prepared st
No.
Move the default value from database to entity bean.
In ejbCreate() do
this.setMycolumn( 1 );
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3949718#3949718
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3949718
You should not use both.
Either add common.jar to your classpath or your application.xml.
In my app, a lib is inthe root dir of the ear ans class-path is set to lib.jar
with no dor or slash.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948550#3948550
Reply
Look for auto-increment and entity-command.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948201#3948201
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948201
---
A
Then you'll have to use the 64bit JDK.
For solaris the 64bit JDK enhances the 32bit JDK with some files.
To use it, add "-d64" to the java options.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3944994#3944994
Reply to the post :
http://www.jboss.com/index.h
Do you use the 64bit engine?
Did you provide "-d64" to the command line options?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3944390#3944390
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3944390
As far as I know on linux the threads are shown as different processes.
85 threads is a high but not an unusual value.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3941121#3941121
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=
There seems to be no jaxrpc-mapping-file / WEB-INF/mapping.xml in
myWebservice.war or the file is corrupted.
Show us the output of "ar -tvf myWebservice.war".
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3938253#3938253
Reply to the post :
http://www.jboss
Any problems doing this?
Login as user "other" and call $JBOSS_HOME/bin/run.sh.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3938252#3938252
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3938252
-
I don't have an JBoss system available at the moment, but
JNDi-names with prefix "java:/" are normally used if you have an resource-ref
in your ejb-jar.xml. Take a look at jmx-console -> JNDI view to see what's
available.
We simply use "QueueConnectionFactory" as JNDI name in our code.
View the
I don't know if there is a special behaviour of linux, but on unix systems all
ports < 1024 are reserved for processes with user id root.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3937780#3937780
Reply to the post :
http://www.jboss.com/index.html?modul
whatever you
like
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3937545#3937545
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3937545
---
This SF.Net email is spons
We removed this directory and put myfaces-all.jar and the other libs into
WEB-INF/lib of our war file.
We are also using a unique classloader per war by supplying a jboss-web.xml with
http://www.jboss.org/j2ee/dtd/jboss-web_4_0.dtd";>
|
|
|
|
Do you get an error on startup or do you get a message saying the OracleDS was
bound into JNDI?
A typemapping Oracle11g is not supported. Oracle 11g even does not exist.
The name of the predefined type-apping is Oracle9i.
View the original post :
http://www.jboss.com/index.html?module=bb&op=vie
At least with JBoss 4.0.4 the read-ahead page-size in
$JBOS_HOME/server/xxx/conf/standardjbosscmp-jdbc.xml is 1000.
The query contains 1000 or'ed key in the where clause and a resultset of 1000
entries is constructed.
For me it was much better to decrease the value to ~20 to get best results. The
I would advise against option one and two, but what's the problem with your
third option (java module entry in aplication.xml)?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3934076#3934076
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=po
Where does this piece of code run?
Seems to me, that it is run inside jboss, not a standalone application.
If so, avoid setting the properties again. They are already known.
Try to simply use "ctx = new InitialContext()".
This work for me perfect.
View the original post :
http://www.jboss.com/i
Put the jars needed by ejb.jar and web.war into the root of the ear and put an
entry in application.xml:
| common.jar
|
|
Leave the web module specific classes in web.war/WEB-INF/lib.
This works for us.
View the original post :
http://www.jboss.com/index.html?module=bb&
Switching from JBoss-Axis to JBossWS I got '?' instead of the german umlauts in
the database.
To see where the replacement happens I enabled logging. But all log entries had
question marks.
Then I added "-Dfile.encoding=UTF-8" to the comamnd line when starting jboss.
After this, I got the correct
I encountered the same problem here, using gsoap 2.7.6e for building the client
app and the currenct cvs scheckout for JBoss 4.0.4.CR2.
Most elements in the wsdl file are marked as nillable=true. The wsdl and the
mapping file is generated with wscompile 1.6.
The c++ variables are not set (==NULL)
Try to replace BigDecimal with Short or Integer.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3925909#3925909
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3925909
---
Yes. Use a Timer / TimedObject.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3922154#3922154
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3922154
---
This SF.net e
The message "A CMR collection may only be used within the transction in which
it was created!" was often discussed here.
Creating the collection and iterating through it have to be don in the same
transaction.
>From a servlet you'll probably have to use a user transaction.
UserTransaction transa
What's the transaction attribute for the entity bean and the session bean
accessing this entity bean?
Reading one field after the other may have to do with it.
We use REQUIRED per default for all and REQUIRES NEW for some special cases.
View the original post :
http://www.jboss.com/index.html?mo
If I understood you correct your EntityBeans use the informix datasource
without problems and you want to access jboss's datasource from a standalone
java app.
AFAIK this is not possible / allowed. The java: namespace is not accessible
from outside the app server.
View the original post :
http
di-name="@MBI_DBNAME@/MessageSinkLocal"
|
This gives us in ejb-jar.xml:
|
|ejb/MessageSinkLocal
|Session
|
| biz.mbisoftware.fn.ejb.session.core.MessageSinkLocalHome
|
|biz.mbisoftware.fn.ejb.session.core.MessageSinkLocal
|
|
And in jbos
Timers are persisted in a table "timers" in the DefaultDS per default.
This may have been changed in deploy/ejb-deployer.xml at your side.
The primary key contains 2 fields: timerid and targetid.
For my app there are two times defined.
timerid 1
targetid
[target=jboss.j2ee:jndiName=
We build an ear file with
- 1 entity.jar containing 97 EBs with LocalHome, Local, PK
- 1 message.jar with 1 MDB
- 10 session.jar with a total of 58 SLSB plus interfaces
- 9 webservice.war with a total of 29 webservice classes and interfaces.
To support more than one instance of this app on jboss se
Which JBoss version do you use?
AFAIK the IN operator in the WHERE clause can use variables since J2EE-1.4.
So you must use JBoss 4.0.x for this.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3916345#3916345
Reply to the post :
http://www.jboss.com/index.htm
Having e.g. such tag
* @ejb.bean name="MbiAdres"
| *display-name="MbiAdresEB"
| *local-jndi-name="MbiAdresLocal"
| *view-type="local"
|
works fine for us.
What's your version ?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3911274#39
We decided to use one jboss instance for many application instances.
To separate the app instances we prepend the jndi names with a unique name per
app.
Let's make it simple: two app instances (prod & test), one session Bean
(Customer) local and remote accessible.
This gives
- prod/Customer
- pro
The missing class should be in
server/?/deploy/jbossweb-tomcat55.sar/naming-resources.jar.
Execute jar -tvf on this file to see if it is valid and contains the class.
How did you unpack the downloaded file ?
Were gzip and tar successful ?
Do you use solaris tar or gnu tar ? Some tar files are onl
Look at http://jira.jboss.org/jira/browse/JBAS-781.
I encountered the same problem about two years ago.
You'll have to use the work araound for now.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3907109#3907109
Reply to the post :
http://www.jboss.com/index.
Look at the Wiki for (scoped) classloading.
You'll have to use a separates classloader for each ear.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3907107#3907107
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3907107
As the message says, you'll have to iterate over the collection of entities in
the same transaction as the the collection was retrieved.
So do this in an SessionBean's method with transaction attribute Required e.g.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&
I would not expect this.
Because all beans but SessionBeanA have Transaction attribute set to Required
they should run in the same db session.
So the newly created record should be seen by the finder.
When a finder is executed, all "dirty" EntityBeans are flushed to the database.
View the origin
Look at http://jira.jboss.org/jira/browse/JBAS-781 to see a work around for
this problem.
It is supposed to be fixed in JBoss 4.0.4.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3905004#3905004
Reply to the post :
http://www.jboss.com/index.html?module=bb&
If you don't provide the environment variable JAVA_OPTS, the jboss start script
run.sh puts -server into the command line.
So do this:
JAVA_OPTS="-client"
export JAVA_OPTS
run.sh
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3898323#3898323
Reply to the post
You can put all your datasources into one oracle-ds.xml.
The root tag datasources can have an unlimited number of local-tx-datasource
children.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896462#3896462
Reply to the post :
http://www.jboss.com/index.html?
Take look at jmx-conmsole JNDIview to see if UserTransaction is there.
On my server it is not available.
But in one of session beans I use a Usertransaction. It is obtained by
transaction = this.sessionContext.getUserTransaction();
The JNDIview shows for this bean:
java:comp namespace of the Reor
This seems to be an oracle problem rather than a jboss prob.
You'll have to compare the execution plan to get some hints.
How do you execute the query from jboss ?
Do you use parameters/placeholders in this query ?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p
What do you mean by saying "but the content is the same" ?
Are is this identical war files ? Why do you put them together in one ear ?
To support two nearly identical wep-apps at the same time in one jboss instance
you'll have to use a separate classloader for each.
This can be done by using this
standardjbosscmp-jdbc.xml lives in $JBOSS_HOME/server/?/conf and contains a lot
of different mappings for Oracle7, Oracle8, Oracle9, Informix, ...
Just use the version jboss comes with.
In your ejb.jar deployment unit in META-INFfolder you shoud have the
jbosscmp-jdbc.xml beginning with the line
Why do you think that object's aren't ordered ?
How do use the data retrieved by the finder ?
Your entity bean and ejb-jar.xml look good so far.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3895878#3895878
Reply to the post :
http://www.jboss.com/index.html
What version of JBoss are you using ?
Does $JBOSS_HOME/server/?/conf/standardjbosscmp-jdbc.xml contain a mapping for
Oracle9i ?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3895441#3895441
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=po
What's the transaction setting for the entity bean ? It should also be set to
Required.
If it is, then this should not happen.
Update JBoss to 4.0.2 e.g. to see if it still happens in the latest official
release.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p
The default value is used, if you don't give a value for the column in the
insert statement.
But NULL is take as a value for the column and the insert is rejected because
null is not allowed.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3890475#3890475
Rep
What's the datatype for the cmp-field optimization ?
You'll have to use a parameter of the corresponding java type as the parameter
for the query.
But probably you want to use relations here.
OptimizationDynamicParameter and OptimizationStaticParameter referencing
Optimization.
Then your query's
What are the memory settings for Xmx ?
When the JVM reaches this limit, garbage collections occur all the time and
consume all available cpu time.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=312#312
Reply to the post :
http://www.jboss.org/index.h
Your oracle configuration has to be changed to work with JBoss.
anonymous wrote : 04031, 0, "unable to allocate %s bytes of shared memory
(\"%s\",\"%s\",\"%s\",\"%s\")"
| // *Cause: More shared memory is needed than was allocated in the shared
| // pool.
| // *Action: If the sh
What's the exact definition of the finder ?
Collection findRoomWithCapacityGreaterThan( ??? )
What's the datatype for capacity in the entity bean: Integer ?
The parameter for the finder method has to be of the same type!
View the original post :
http://www.jboss.org/index.html?module=bb&op=view
On startup jboss checks for the existence of certain tables in the database.
Probably the tables for jms here.
The check is done only based on tablename not respecting the schema/owner.
Accessing the table later in queries is not possible than and leads to the
error you got.
See http://jira.jboss
The ant task obviously does not supported mapping creation.
The standalone does.
This is the part of my build file:
|
|
|
|
|
|
|
|
|
View the original post :
http://www.jboss.org/index
Our "old" application runs mostly on unix systems. The auth process uses the
OS. All users must be known by the OS (/etc/passwd). The password check is done
by the OS.
We are going to replace parts of it and build some additional functions based
on JBoss.
Is there a way to use the Unix OS for a
Look into your ejb-jar.xml.
There is a tag calle abstract-schema-name per entity bean.
This value you have to use in your query.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3886273#3886273
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=po
No, not the EJB-Name but the abstract-shcema-name!
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885994#3885994
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885994
--
Use the correct uppercase/lowercase writing of your abstract-schema-name in
your EJB-QL: AUser !
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3884902#3884902
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3884902
---
You'll have to use a separate classloader for each ear.
Look at the wiki's for classloading / scoped classloading config.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883909#3883909
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mo
Do you have something like
| FORM
| mbi
|
| /faces/Login.jsp
| /faces/LoginError.jsp
|
|
|
in web.xml ?
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883731#3883731
Reply to the
jboss-web.xml has to be in directory WEB-INF, same as for web.xml.
Make shure that you are using capital letters !
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883727#3883727
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=repl
JRE is part of the JDK.
Set the environment variable JAVA_HOME to the directory containing the JDK.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883725#3883725
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883725
-
Take a look at
http://wiki.jboss.org/wiki/Wiki.jsp?page=ClassLoadingConfiguration
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883150#3883150
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883150
--
If you really meant WebServices take a look at
http://wiki.jboss.org/wiki/Wiki.jsp?page=WSClientEJB
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3879609#3879609
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3879609
Reading the wiki, esp. http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossSX may be
helpful.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3879610#3879610
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3879610
Why do you want to use another jndi-name ? Why not simply use the given name
java:/Mail ?
We use a stateless session bean for sending mails with this config and
programming:
* @ejb.resource-ref
| * res-ref-name="Mail"
| * res-type="javax.mail.Session"
| *
>From prtdiag:
System Configuration: Sun Microsystems sun4u Sun Blade 150 (UltraSPARC-IIe
650MHz)
| System clock frequency: 93 MHZ
| Memory size: 1,50GB
|
| CPUs
|E$ CPU
JBoss 4.0.3beta with default configuration starts on my system in ~ 2 min 15
sec.
My hardware (SunBlade 150) is similar to your'se, running Solaris 9 with all
patches available on last saturday. JDK 1.5.0_03 in 32bit mode is used.
Your WinXP system's CPU is more than twice as fast as your sun. s
Read about (scoped) classloading in jboss wiki.
Try this as WEB-INF/jboss-web.xml, replacing @WEB_APP_NAME@ with your names:
http://www.jboss.org/j2ee/dtd/jboss-web_4_0.dtd";>
|
|
|
| mbisoftware.biz:[EMAIL PROTECTED]@.war
|
CMR conatiner managed relationships only work between entity beans within the
same jar file.
AFAIK this is not a jboss restriction but recommended by the J2EE specs.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3878270#3878270
Reply to the post :
http://www
Does the table JMS_TRANSACTIONS exist ?
Is it accessible by the the user used for the jms datasource ?
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876667#3876667
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876667
Put your query into the Order bean not into OrderItem if you are searching for
orders.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876074#3876074
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876074
-
With older version of Informix JDBC it was enough to put ifxjdbc.jar into
$JBOSS_HOME/server/?/lib.
With 3.0 driver I got same or similar problems and found out, that I also have
to put ifxjdbcx.jar into the lib-dir.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtop
JAVA must still be $JAVA_HOME/bin/java.
Add "-d64" to the OPTS.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3874235#3874235
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3874235
-
You only have to add option "-d64" to the comamnd line for
"$JAVA_HOME/bin/java".
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3874234#3874234
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3874234
-
Is the name of the CMP field written totally identical ?
What is the data type of this field ?
Show us the definitions from ejb-jar.xml and jbosscmp-jdbc.xml
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3873833#3873833
Reply to the post :
http://www.jboss
If I remeber correctly, a read-ahead-strategy "on-find" is needed for the
relation to solve this.
A typical relation definition addon in jbosscmp-jdbc.xml look like this in our
code generated by xdoclet:
| MbiAfsta-MbiAfpos
|
|
1-mbi_afsta-n-mbi_afpos
|
I think you have to provide the URL to the WSDL file as the first argument:
http://localhost:8080/Hello-Service/Hello?wsdl.
Try this with your favourate browser to see if this gives you the WSDL.
At the end of the WSDL there is the URL for the service.
The client application or better the methods
Why do you think it would be nice to use the 64bit version of the SUN JDK ?
I compared the 32bit and 64bit version of JDK 1.5.0_02 a few days ago on a
FujitsuSiemens PrimePower with 3x1,3 GHz Sparc64 CPUs. Those CPUs are
comparable to UltraSparc III/IV.
The 32bit VM is about 15% faster than the
Show us the generated WSDL-file.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3868979#3868979
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3868979
---
SF email is
anonymous wrote : 15:45:33,389 ERROR [Member#findByLastName] Find failed
| java.sql.SQLException: ERROR: parser: parse error at or near "FROM" at
character 9
| at org.postgresql.core.QueryExecutor.executeV2(QueryExecutor.java:289)
| at org.postgresql.core.QueryExecutor.execute(QueryExecutor.
The mapping entry for InformixDB in standardjbosscmp-jdbc.xml is missing an
entry like
?1.
This is used for the create table command.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3868974#3868974
Reply to the post :
http://www.jboss.org/index.html?module=bb
Although this is not a xdoclet forum I'll send an answer.
For such a n-1 relation we use this (replace mbi_festa with person and
mbi_feber with family for your need):
/**
* @ejb.interface-method
* @ejb.relation
* name="MbiFesta-MbiFeberBereichNr"
*
JBoss 3.2.6 does not work with a JDK 1.5.0 AFAIK. Use a JDK 1.4.2_07.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3866266#3866266
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3866266
---
The object returned by lookup method seems not to be of type LoginHome.
Print out ref.getClass().getName() to see what's the class name.
Is LoginHome a remote home interface ?
With a client app outside of the server app's jboss jvm you can only use the
RemoteHome interfaces.
View the original p
First: using jboss 4.0 you can ignore jaws.
standardjbosscmp-jdbc.xml caontains, as the name of the file says, the standard.
If you want apps using a non standard Datasources define this in a file called
jbosscmp-jdbc.xml an put this into the META-INF folder of your ear.
View the original post :
You have to qualify the object attribute in the where clause:
select object(a) from ProductBean as a where a.basePrice < ?1
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3865619#3865619
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&
The table name in your query after the key word "from" does not match the
abstract-schema-name. The table name got lower cased by xdoclet, but not the
abstract-schema-name.
Seems to be a xdoclet fault for me.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3865
We're running a jsf app on JBoss 4.0.1 succesfully.
So I think it's a problem of packaging the app or the app configuration files
or the app itself.
Not a JBoss or jsf problem.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3863182#3863182
Reply to the post :
Only JBoss >= 4.0 supports ejb 2.1.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862629#3862629
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3862629
---
The SF.N
create a war file with this files additional:
WEB-INF/lib/jsf-api.jar
WEB-INF/lib/jsf-impl.jar
WEB-INF/lib/jstl.jar
WEB-INF/lib/standard.jar
WEB-INF/faces-config.xml
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3861656#3861656
Reply to the post :
http://www
In short:
With java:comp/env/ejb/.. you use the the local environment of the ejb.
With ejb/... you use the global jndi names.
In those Xdoclet generated Home-interface you'll have COMP_NAME (local) and
JNDI_NAME (global).
To get an ejb into the local namespace you'll have to declare an ejb-link.
The jndi-name of your datasource is combined of "java:" and the jndi-name from
the -ds.xml file.
Take a look at jmx-console/JNDIView to see what's available.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3860666#3860666
Reply to the post :
http://www.jboss.o
If I remember correct, you have to touch the web.xml file to redeploy the
web-app.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3860662#3860662
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3860662
-
standardjbosscmp-jdbc.xml is, as the file name says, the standard.
Put a jbosscmp-jdbc.xml with the wanted datasource jndi-name in your ejb.jar.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3860665#3860665
Reply to the post :
http://www.jboss.org/index.html?
The ear-file or one of the modules within it has included it's own
commons-logging.jar.
Remove this and you'll get rid of this error messages.
JBoss already has commons-logging.jar on board.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3860242#3860242
Reply
1 - 100 of 123 matches
Mail list logo