As per buliding and running web application document on objectlearn
documentation
1)i created project WTP-TUTORIAL-I . but after creation there is red mark on
file web.xml
error is can not find declaration of web-app
schema reference failed web-app_2_4.xsd because could not find the document
ok, you are right. How do we make prePassivate() transactional?
i) with @TransactionAttribute() annotation
ii)
| manager.getTransaction().begin();
| manager.flush();
| manager.getTransaction().commit();
|
I'm confused with this problem. I've tried both but failed.
Thnx.
View the orig
A bug fix release to tidyup xml schema issues:
It is currently used in the following ways:
* Embedded EJB3
* Seam
* The POJO/bean deployer to be included in JBoss-4.0.3
* Soon to be the core of JBoss5
Release Notes: http://sourceforge.net/project/shownotes.php?release_id=357079
Downloads:
http:/
Bela,
Please see thread
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=67846 in which I
corresponded with you earlier. Background of our system: We use JBoss 3.2.6,
read uncommitted and repl_async, with two appservers in the cluster. We have
mostly plain old java objects and extensiv
I am a newbie and am trying to get these entities to talk.
I can write to the data to the db (I check with the db manager and the store is
in the db) but when I retrieve the data I get the customer details including
the address but the StoreList is empty.
Any ideas ?
Thanks
@Entity
| @Tabl
I would love to get opinions on this. The example is a bit contrived, but
hopefully it will get across what I'm after.
Let's say we have a doctor EJB3:
| @Stateless
| public class DoctorBean implements Doctor
| {
|public Patient getPatient(String patientNumber);
| }
|
Now, in
You need a security manager.
Sample code:
System.setProperty("java.security.policy", "client.policy");
if (System.getSecurityManager() == null)
System.setSecurityManager(new
RMISecurityManager());
Properties env = new
After user registration(username, password, ...), how to let the user
automatially login into the system? Right now user have to go through a form to
login after registration. In other words, how to populate session with
authenticate info? Can someone help me or point me to some documentation?
Can anyone tell me how and from where to download "jbossws-samples-4.0.3.zip"?
I have not been able to find it.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3895236#3895236
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&
Hmmm...
Deploying to JBoss on my laptop gets a little further. Same version, I don't
get what the difference is. I'll have to do a new install and see which way it
goes.
It looks like it's trying on this one, but because I'm using JAX-WS 2.0, I
don't have a jaxrpc-mapping.xml file, which is
I found navigating this site for an answer to this problem very frustrating and
confusing, as much was contrdictory and it was often difficult to see which
version of JBoss it applied to, but the answer I found was that you can specify
the mdb-user and mdb-passwd tags in the jboss.xml file and t
Only when the cache is replicated; and started
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3895230#3895230
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3895230
--
More details about the jdk are required. On your jdk the default InitialContext
environment is seen to contain entries other than the expected string/string
key/value properties from the server conf/jndi.properties file. Create a bug
report in jira with the details. Since you have already done s
Unless there is a bug report/feature request for such issues, its not going to
move forward. Using a DataSource outside of the server is an anti-pattern as
far as we are concerned, so unless there is a significant number of requests
its not much of a priority for improvement.
View the original
Is it possible to override the renderer classes used to render a given portlet
(or perhaps region) within a given portal page?
I know that within the *-portal.xml files you can define a renderer set to be
used for the entire portal (org.jboss.portal.property.renderSet), but is it
possible to ov
Iam trying to deploy my application on JBoss, I had it on weblogic before, I
had built the ear using the same ant script and copied the ear into
default/deploy folder. Now it gives the following exception, dunno whatz wrong
... can anyone help ???
10:41:58,702 ERROR [BaseModelMBean] Exception
anonymous wrote : The ClientLoginModule only started doing this as of
jboss-3.2.4 ...
I'm using the ClientLoginModule along with a custom server login module. The
sessionContext.getCallerPrincipal() returns the principal I set in the commit
phase of my custom server login module, the client's
Ok, it works BUT there is an important unstated requirement:
the app directory name must end in .war.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3895197#3895197
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=389519
Hello world,
For some reason, i had to change default conf of my jboss 3.2.2 in order to
avoid the use of jboss class loader.
It's now set in [jboss]\deploy\jbossweb-tomcat41.sar\META-INF\jboss-service.xml
in this way :
false
The problem is now my webapp does not even see/load my jars in my
Ok, that's a relief. Since you are in Austin, if you have any
questions/comments about the book, you can catch me at the Austin Java User's
Group. (http://www.austinjug.org/) I'm there every month I'm in town, and I'm
always eager to hear about what readers liked/disliked about the book.
Vi
I am attempting to deploy my web application using JAX-WS 2.0 and JBoss 4.0.3.
I have the WEB-INF/web.xml and WEB-INF/webservices.xml (I'll post if it will
help). As you can see below from the log, my web app (udbms-server-ws.war) is
being picked up, but I don't see anywhere where the WSDL is
"[EMAIL PROTECTED]" wrote : TreeCache.getLocalAddress() return an instance of
org.jgroups.stack.IpAddress. The problem is that JBoss already uses the
additional bytes to stick the logical node name into the IpAddress...
Hmm.. TreeCache.getLocalAddress() actually returns a null on my system
View
"achetan" wrote :
| Please suggest which i should go for?
|
RC means Release Candidate i.e. It could be released as a production release
but there may be other issues found that need to be addressed before it can be
released.
View the original post :
http://www.jboss.com/index.html?modul
TreeCache.getLocalAddress() return an instance of org.jgroups.stack.IpAddress.
The problem is that JBoss already uses the additional bytes to stick the
logical node name into the IpAddress...
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3895185#3895185
Repl
The samples were really helpfull. So, in my case it is an app client so I
packed a jar with application-client.xml and jboss-client.xml in the META-INF.
After deploying I can see the service via JNDI.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3895184#38951
"[EMAIL PROTECTED]" wrote : You can attach some bytes to a JGroups IpAddress,
check out HAPartitionImpl in JBoss for how to do this
I thought about that, but didn't see a way to obtain the IP-address & port of a
process that uses the cache.
View the original post :
http://www.jboss.com/index.
You can attach some bytes to a JGroups IpAddress, check out HAPartitionImpl in
JBoss for how to do this
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3895181#3895181
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=389518
Hi,
I am using JBoss 4.0.2 with the embedded HSQLDB, and I have written an
entity-bean with a specific Primary-Key-Compound-class, and it doesn't work.
All my other entity-beans with Integer or String as PK work well.
This is my PK-class:
public class RecipePosPK {
public int recipeId;
Hello,
First, thanks for putting this great project out.
I have a question regarding transaction behavior when creating new nodes. I'm
trying to figure out how to atomically create a node and update it within a
single transaction. Using a REPEATABLE_READ transaction level, the assertion
on lin
I have two sorts of processes using a certain cache: some non-interactive
(functioning more like servers) and interactive ones with a gui. How can I
distinguish between the two when I see a view change? I tried to distinguish by
hostname, but that is not possible since both the clients and the s
OK. Thanks!
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3895175#3895175
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3895175
---
SF.Net email is sponsored by:
Tam
The same here... :(
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3895173#3895173
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3895173
---
SF.Net email is sponsored
My bad...I had been using mySQL with other tools and IDEs so I knew it was
working. But JBoss didn't have a copy of the jdbc driver in its /lib folder.
DOH! But it is really odd that it would say it had a db table creation error
when it could even communicate with the db!
Looks like something w
Hi,
I am a researcher from Singapore. I need to evaluate JBoss Portal and Zope for
use in a university module.
I'd be grateful if you could kindly help me answer these (possibly w.r.t. both
JBoss Portal and Zope), or from the perspective of JBoss Portal.
1. Are they portal framework?
2. Can t
And from the documentation:
http://docs.jboss.com/jbportal/v2.0Final/user-guide/en/html/installation.html#d0e679
"If you encounter that the Hibernate dialect is not working properly and would
like to override the default behaviour, you simply need to modify
jboss-portal.sar/conf/hibernate/hiber
"litherm" wrote :
| There are other problems as well. The install says:
| >The downloaded archive contains the following files:
| >
| >* jboss-portal.sar
| >* portal-forums.ear
| >* /setup/portal-*-ds.xml
|
portal-forums in now available from another archive.
jboss-p
Hi,
I am working on JBoss 4.0.2. and configured a local tx datasource to an Oracle
9.2 database using Oracle's ojdbc14 driver of same version.
I managed to get a handle to the java.oracle.BLOB using this code.
rs = pstmt.executeQuery();
| rs.next();
|
| //fetch the underlying resultset
Hi again,
It looks like the "right" place to configure your hibernate for portal is in
this file:
jboss-portal.sar/conf/hibernate/hibernate.cfg.xml
I would ask someone at JBoss to please update their docs to include this
information as well as other incorrect information about the portal insta
Hi,
I'm having the same problem trying to get JBoss Portal installed. As far as
I'm concerned it is a portal problem if I'm following the install instructions
and it neglects to mention something like this that prevents the product from
working.
There are other problems as well. The install
To be honest we tried to use JBoss datasources outside JBoss and it was a
disaster.
The performance were so slow very SLO. The problem was within the
while(rs.next()).
- 0.5s using JDBC instantiation ( DriverManager)
- 15s with JBoss datasource !
No way to fix this issue.
We d
"Thread-29" daemon prio=1 tid=0x086bb7d8 nid=0x5187 in Object.wait()
[8e603000..8e6038c8]
at java.lang.Object.wait(Native Method)
- waiting on <0x4b110c70> (a
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable)
at java.lang.Object.wait(Object.java:429)
at
o
We are using JBoss 4.0.2 as our application server, but at this only need bare
bones installation. We have removed all the files from the
server/default/deploy/ directory except the jbossweb-tomcat55.sar which leaves
with enough to serve up JSP/JSF etc.
Now we are adding web service support, so
anyone else have this problem? Or any ideas what it could be ?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3895140#3895140
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3895140
--
Hi all,
I have an application currently running on jboss4.0.1 . Now i want to migrate
to 4.0.2 or 4.0.3(RC) .
Please suggest which i should go for?
Also on 4.0.2/4.0.3 when i am trying to create a stateless session bean using
home.create() method , i am getting following exception on client si
I have to try it now and see it.
Thanks
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3895137#3895137
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3895137
---
SF.
Hey, I am really sorry for wasting so much of you guys' time. I found the
mistake.. How silly and dumb of me. I am closing the connection myself in the
finally block...
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3895136#3895136
Reply to the post :
http:/
OK,
The previous problem seems to be my fault, beleive it or not :-) I had forgot
to tell my ide not to package the dependant jars into the web-app and therefore
had loads of unwelcome stuff in my lib directory.
Now I seem to be getting the original problem, I cannot make a call from the
connec
Can you post the top section of the ejb-jar.xml that is packaged within your
jar.
It looks as if you might have specified an invalid DOCTYPE
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3895134#3895134
Reply to the post :
http://www.jboss.com/index.html?mo
The information given is not enough.Can you please provide more??
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3895133#3895133
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3895133
-
I am not sure, but it seems that the relationships are configured in the
web.xml.
Thanks
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3895132#3895132
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3895132
jopaki,
You just have to copy that particular directory in the webapp/ directory.
Now start the jboss and see it the browser.
Thanks
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3895131#3895131
Reply to the post :
http://www.jboss.com/index.html?m
When I try to use DatabaseServerLoginModule defined in the following local
myLogin.conf file
| ehelp {
| org.jboss.security.auth.spi.DatabaseServerLoginModule required
| dsJndiName="java:/PostgresDS"
| principalsQuery="select hashedpassword from EMPLOYEES where login=?"
| rolesQuery="s
Ya, you are right, that code wont be working for the requirement you are
mentioning.
"wats" wrote : I tried using DatabaseServerLoginModule, but it seems it is not
able to acces the DataSource in the application server.
|
Whats the exact problem you are facing while using DatabaseServerLogi
Hello,
Thanks jaikiran for your help, but the solution you posted is not what I was
looking for. I was using similiar code in my app (ClientLoginModule etc.) and
also tested yours, but the authentication seems to work every time, whatever
the login/pass values are. If the login information is n
Hello,
Is there some examples using JSP and servlets with EJB3 ?
Thanks.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3895116#3895116
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3895116
--
My mistake - it's JBoss 4.0.2
I've been looking at the screen for too long :(
Cheers
Andy
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3895115#3895115
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3895115
Im sure this is turning into a silly question, but here goes.
I took a step back and have written a servlet outside the world of struts which
when called calls:
SOAPConnectionFactory soapConnectionFactory =
SOAPConnectionFactory.newInstance();
SOAPConnection connection = soapConnectionFactory.c
I did the following to get this working (JBoss 4.0.2). I'm still hoping for a
better way though, or an explanation why it failed in the first place.
In NamingService.java (\server\src\main\org\jboss\naming), change the line:
String value = (String) env.get(key);
into:
String value = env.get(key).
Hi,
You can use the "client-login" LoginModule for the JAAS login. As you mention,
that this is a standalone client accessing an ejb, you would require a file(say
myLogin.conf) containing the login modules as follows:
client-login{
|org.jboss.security.ClientLoginModule required;
|
This has been bugging me for a couple of days now...
I have a cheap "virtual" server run by an ISP which we use to stage
applications.
When I start jboss using the sun j2sdk1.4.2_09 the server starts up ok.
When I use the sun jdk1.5.0_04, the startup process "stalls" at a random point
in the
We plan to use EJB. In the previous applications we used Oracle DB with oracle
specific database security features where every user used to have his own
connection, with specific permissions and so on...
Is there any way to use multiple database users (each user opens it?s own db
connection) and
Hello
An application was developed under JBoss 4.0.1sp1. It is working well under
windows. But It cannot deploy EJB under Linux.
The error as following
| 16:48:24,067 ERROR [MainDeployer] could not create deployment:
file:/home/alanwang/jboss-4.0.1sp1/server/PD/tmp/deploy/tmp45723pdr.ear-co
Hi all,
I have written a MBean service that deploys ok, however, it does not seem that
the start method is being fired.
Here is the code.
IntaglioUserServerServiceMBean.class and IntaglioUserServerService.class are
put into a jar file and deployed into the ...\server\default\lib directory
The
Never mind, a kind gentleman over google groups pointed it out! the getters are
returning integers and the setters are taking in strings. My BAD.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3895081#3895081
Reply to the post :
http://www.jboss.com/index.htm
64 matches
Mail list logo