[JBoss-user] [JBoss Getting Started Documentation] - Re: XAConnectionFactory not bound?

2005-10-16 Thread hgq0011
why no people solve upon  problem?

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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Securing ServiceEndPoint for Servlet type WS

2005-10-16 Thread JulianHtun
Hi,

I'm pretty new to J2EE world.  I'm using JBossWS and able to make them work and 
now I'm trying to secure them.  

This post is 2 folds.  

1.  I'm trying out 1 design whereby utilizing the SOAP header and I'm having 
problem.

2. I like the guru out there to suggest another better and simpler design if 
you know one.  I heard about HTTP Basic Authentication but I also heard that 
sometimes it won't work thru Proxy Server as the HTML header sometimes get 
changed.  Secondly it might not work from Laszlo.


Back to item #1

I need to authenticate using a third party JAAS module 
(DatabaseServerLoginModule).  It is already in login-config.xml and it is 
working fine with another WAR.

I did see the following tutorial BUT it is for EJB and I'm using Servlet and I 
don't know how to configure such that the 3rd party JAAS module is get called.

http://wiki.jboss.org/wiki/Wiki.jsp?page=WSSecureEndpoint

Thanks in advance,
-Julian Htun


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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Re: JBOSS Informix XA Data Source

2005-10-16 Thread schrouf
These area INFORMIX database related locking problems, not JBoss XA problems. 
Your "could not position within table" error might be related to the database 
isolation level. 

Maybe a datasource entry of   set isolation to dirty 
read will solve this issue. But be aware, that INFORMIX XA 
jdbc driver has other issues anyway and the INFORMIX blob support is buggy

regards
ulf



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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Configuring XSL on JBoss4

2005-10-16 Thread terasain
Hi All, 

Does JBoss 4.0.2 have default support for XSLT, if not how to configure. Are 
there any jars which need to be added on to the lib or any chages which need to 
be done to any of the config xmls. 

Thks in advance


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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Load balancing w/ Apache mod_jk - java.net.BindException

2005-10-16 Thread nitesh
Hi,

I've set up Apache to load balance across two JBoss instances using mod_jk. I'm 
running Apache and one JBoss instance on one machine, and another JBoss 
instance on the 2nd machine. Load balancing happens, but under load-test with 
Grinder, I start getting java.net.Bind exception on the client.

If I directly call the servlet on any one JBoss instance by-passing the Apache 
load-balancer, the JBoss instance is able to handle the load without any 
problem.

The problem seems to be in Apache's configuration. I'm using Apache Web Server 
with default configuration. Has someone come across similar problem, and what 
do I need to do to solve this?

Regards,

Nitesh

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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - JSF Deployment problem in JBoss, but not Tomcat

2005-10-16 Thread gr8orange
Hi. I have tried to deploy a JSF application into JBoss and I get a 
java.lang.NullPointerException. But when I deploy it in Tomcat, it works fine. 
I have the latest versions of both. Here is the error message.

java.lang.NullPointerException

  | 
javax.faces.webapp.UIComponentTag.setupResponseWriter(UIComponentTag.java:615)
  | javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:217)
  | org.apache.myfaces.taglib.core.ViewTag.doStartTag(ViewTag.java:71)
  | 
org.apache.jsp.pages.Home_jsp._jspService(org.apache.jsp.pages.Home_jsp:98)
  | org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
  | javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
  | 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
  | org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
  | org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
  | javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
  | 
com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)
  | 
com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:147)
  | 
com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
  | com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
  | com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
  | javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
  | 
org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:693)
  | 
org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:660)
  | org.apache.jsp.index_jsp._jspService(org.apache.jsp.index_jsp:46)
  | org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
  | javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
  | 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
  | org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
  | org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
  | javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
  | 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
  | 

I have included the actionlistener. Here is the web.xml file.


  | http://java.sun.com/xml/ns/j2ee"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; version="2.4" 
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee   
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd";>
  |   
  | javax.faces.CONFIG_FILES
  | /WEB-INF/faces-config.xml
  |   
  |   
  | 
  | 
com.sun.faces.config.ConfigureListener
  |   
  |   
  | Faces Servlet
  | javax.faces.webapp.FacesServlet
  | 1
  |   
  |   
  | Faces Servlet
  | *.jsf
  |   
  |  
  |  
  | 
  | 

I have a index.jsp page

  | 
  |  
  |   
  |  
  | 
  | 

The page redirects to a pages directory where all the .jsp files are located. I 
assume the JSF servlet is suppose to convert these to .jsf extension and 
process them since that looks like what the servlet is doing in Tomcat 5. But 
in JBoss, I get the exception.

Any help would be much appreciated. I have been hunting this error all week and 
tried everything. Any help would be much appreciated.

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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JMS Message content: serialized object's values reset?

2005-10-16 Thread nic7834
Anyone got a clue on this?

I'm still having trouble tracking the cause of this as no errors/exceptions are 
being thrown.

I was thinking that perhaps this might have something to do with the JBossMQ 
MessageCache as described here:

[url]http://wiki.jboss.org/wiki/Wiki.jsp?page=ConfigMessageCache
[/url]

Is it possible that the messages are being softened?


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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossCache] - entity beans in jboss cache

2005-10-16 Thread schmidtse
Hi,

what do you do with entity beans in jboss cache (distributed cache on a 
cluster)? do you cache them at all? and if you cache them (i think you do)and 
they get updated, do you invalidate or replicate the data on the caches (in 
other words: do you still use the invalidation framework to invalidate the 
beans and otherwise leave it to the database?? or have you developed 
replication for entity beans in jboss cache??) and the last one: why is your 
invalidation now (jboss 4.0.2) much faster than in jboss 3.2.5?? i read all the 
documentation (or at least scanned through it) and could not find the answers. 
Thanks for the help,

Sebastian

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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - JBoss-EJB3.0-Cascade delete doesn't work!

2005-10-16 Thread jbossChecker
I have two  CMP entities, which are mapped to a mysql schema:

1.Entity: 

@Table
Order.java

2. Entity:

@Table
OrderItem.java

The Order Entity has a field with a @OneToMany Realtion.

I am trying to use the jboss - ejb3.0- cascade delete  function, to delete the 
orderItems, when an order object is deleted, but it dosent work!

I found an older posting, in which one said, that not every database supports 
"cascade delete". 
Was he right?




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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Re: "Access is denied" when stopping service Hypersonic...

2005-10-16 Thread dode
Just a follow-up:

It seems the issue is not critical, at least I can say that persistent messages 
are still there after a restart of JBoss AS.

Anyway, I have switched to MySQL now, works fine without problems.

Torsten

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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Getting Started Documentation] - jbossj2ee-src.zip for JBoss 3.2.x

2005-10-16 Thread steveheckler
Hi, All,

Where can I get jbossj2ee-src.zip for JBoss 3.2.x?  I found the one for 4.0.x 
just fine, but I need the one for 3.2.x (preferably 3.2.6).  2 things I have 
tried:

1) Going to URLs referenced in earlier threads.  The file for JBoss 3.2.x is 
either not there or the URL is invalid.

2) Downloading the "Getting Started" guide.  The link to the one for 3.2.x goes 
straight to the PDF, with no opportunity to download the files.

Could someone please post a working link to the jbossj2ee-src.zip for JBoss 
3.2.x?  Alternatively, I would only be too happy to have it emailed to me at 
[EMAIL PROTECTED] (please replace the "b" with a "y" in the domain).

I'm sure the sentiment is "go with 4.0.x already," but the project I'm on 
specifically requires 3.2.6.

Thanks for your help.

Steve

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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: jms mysql and jboss4.0.3

2005-10-16 Thread dode
When I appended "AS TR_TABLE" to the statement, JBoss just hung on startup. 
Actually the query just hung.

This may be related to this MySQL bug:
http://bugs.mysql.com/bug.php?id=8726

I had MySQL 4.1.10a and just updated to 4.1.13, now the statement executes 
normal.

And of course JBoss now also starts fine without any error :-)

Torsten

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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Defining a datasource in the EAR file

2005-10-16 Thread per_nyfelt
Is there a way to define a datasource in the EAR file? 
I would like to be able to add my-ds.xml and database-jdbc.jar to the EAR file 
so that the application is complete in itself (save for the actual datase setup 
but that is on another server) rather than having to put these files outside of 
the EAR in ${JBOSS_HOME}/server/default/deploy.

Best regards,
Per

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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EMAIL PROTECTED] - Development Manager

2005-10-16 Thread [EMAIL PROTECTED]
JBoss is looking for an experienced development manager to help coordinate JEMS 
integration milestones across multiple participating projects. The position 
will be also responsible for bridging development with QA, professional 
services, product management and sales organizations.

Required Skills and Experience

* 5+ years of professional work experience
* 2+ years Java/J2EE experience
* 2+ years of project management experience
* Strong communication skills
* Ability to coordinate milestones across multiple projects
* Ability to successfully negotiate schedule commitments on an ongoing basis
* Ability to work productively across multiple cultural and geographical 
boundaries
* Ability to promote cooperation and resolve conflicts among strongly motivated 
and loosely structured developers
* Ability to organize team building activities for virtual teams

Preferred Skills and Experience

* Managed application development based on JBoss technologies
* Ability to deal with change and limited structure
* Highly motivated, self-sufficient, perceptive, ambitious, flexible and high 
energy

Location: no limitations

For consideration, please send your resume to: [EMAIL PROTECTED]





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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - How do I know which ports jobss is running

2005-10-16 Thread nallavoluramesh
How do I know which ports jobss is running  ?

our jobss envirionment running in clustered environment,  how do I know which 
ports it is running or which Ip address it is running...

thanks

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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Re: Startup problems

2005-10-16 Thread dode
What OS and JDK are you using? How did you install JBoss (installer or archive)?

Torsten

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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [J2EE Design Patterns] - Re: Packaging Configuration on EJB3.0 Project

2005-10-16 Thread alinemarchi
Hi 

I am starting now with the EJB and I have the same problem that you have. Have 
you solved this problem? can you tell how to find the Packaging Configuration 
using Eclipse IDE for JBoss?
my email adress [EMAIL PROTECTED]
Thanks.



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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Re: Correct directory in JBoss where config files are hot-de

2005-10-16 Thread anders.hedstrom
Hi,

have you tried to deploy your ear exploded. Then you could keep your file(s) in 
your folder structure and JBoss will redeploy your application every time you 
change the files.

Cheers
//Anders



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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: how to obtain username of caller for a web service that

2005-10-16 Thread anders.hedstrom
Hi,

implement javax.xml.rpc.server.ServiceLifecycle interface.


public class SubmitSMSImpl implements ServiceLifecycle
  | {
  | 
  | protected javax.xml.rpc.server.ServletEndpointContext ctx:
  | 
  | public void init(Object context){
  |  ctx = context;
  | }
  | 
  | public void destroy(){
  |  ctx = null;
  | }
  | 
  | 
  | public String saySomething(String something){
  |System.out.println(name);
  |//Get caller name here and store in database if possible
  |
  |Principal user = ctx.getUserPrincipal();
  |
  |// do whatever
  |return something;
  | }
  | }   


//Anders

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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: portlet 'include'ing JSP, HttpServletRequest.getHeaders

2005-10-16 Thread [EMAIL PROTECTED]
it would be cool to have also a test case based on the testing framework for 
portlets that is present in the portlet module, would this be too much overhead 
for you to look at this ?

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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: preferences from non authenticated user

2005-10-16 Thread [EMAIL PROTECTED]
Hello Phillipe,

prefs for a non authenticated user cannot be persisted because the user does 
not have an id.

it could be possible to develop a preferences based on a cookie id that would 
be stored in the client though. It could even be possible to store the prefs in 
a client cookie, I have just thought about that now :-), but that would perhaps 
make a lot of payload in the http client request. If it would be persisted on 
the  server side using an id stored in a client cookie then that would need to 
clean the db when a user has not come for a long time in order to avoid to have 
too much data (i.e kind of garbage collection based on a removal policy)

yes the prefs stuff is more or less pluggable but it could be better adressed 
in 2.2 imho, if you can have a look at the source code, it is not very hard to 
understand how it works, look at PreferencesInterceptor.java

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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: SecureWS & 4.0.3 - client certificate needed?

2005-10-16 Thread anders.hedstrom
see:
 
http://jira.jboss.com/jira/browse/JBWS-450
and
http://jboss.com/index.html?module=bb&op=viewtopic&t=70709



//Anders

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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Not able to connect to VM.

2005-10-16 Thread pvk
I had an existing installation of Eclipse 3.0. I followed the steps in the link 
to JBoss IDE article (link pasted below) to install the Jboss plugin.
Link: http://www.devx.com/opensource/Article/20242 
I followed the steps for adding the shortcuts and configured the server.
My problem is that when I try to start the server...Default Server -> Start,
or use the short cut to start the server, it throws the following error...

Java Application Launcher
Could not find the main class. Program will exit.

and " Error Cannot connet to VM"

In the console the error is 
java.lang.NoClassDefFoundError: Files\jboss-4/0/3
Exception in thread "main"

If I use "run.bat" from the command line, the server starts off fine though.

I am running Windows XP Professional, and it did ask me both times if I wanted 
to unblock the program. I might have clicked on "keep blocking" by mistake for 
the first option.and this might be the reason for the error. This occurs 
even if I turn the Windows firewall off. 
If so please let me know how to fix this.

Thanks in advance.

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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Recomended practice for static content with JBoss/Apache int

2005-10-16 Thread olathe
Dear fellow JBoss users

I?m testing to deploy an application on a server running JBoss 4.03. The server 
also runs Apache 2.0.54 and forwards .jsp and servlet requests to JBoss using 
JkMount in the httpd.conf file of Apache.

My question concerns the recommended practice when it comes to handling static 
content i.e. .html, .jpg files etc. By creating a web archive (.war) all the 
content of the web solution is included in that war-file and eventually 
uploaded to JBoss. As I see it there is three basic ways to manage the static 
content:

1) Upload the war-file to JBoss and have a directory mirror containing all the 
static content that is accessible by Apache. I guess that this is the straight 
forward, obvious solution but it has the drawback that the content is 
duplicated, each file is in both the war-file and in the directory mirror.

2) Configure JBoss to manage all content, i.e. both dynamic (jsp etc) and 
static. In this way Apache is in practice circumvented but might still be 
useful for other purposes. The thing is that I unfortunately haven?t been able 
to successfully configure JBoss/Apache this way. I assumed that it would be 
basically to add a ?JkMount /* localhost? statement to Apache?s httpd.conf file 
instead of the common ?JkMount /*.jsp localhost?, but unfortunately it seems 
like it doesn?t work. Any info how to accomplish this is most welcome since 
this would be an acceptable solution in this case.

3) There might be some way for Apache to access the content in the war-file but 
I don?t know of any one at this stage that allows me to keep all web traffic 
through port 80, i.e. via Apache. If anybody knows how to accomplish this I?ll 
be glad to know.

Any info on the recommended practice for managing static content would be 
greatly appreciated.

Kind regards, Ola Theander


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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Re: [JBossManagedConnectionPool] Destroying connection that

2005-10-16 Thread [EMAIL PROTECTED]
http://wiki.jboss.org/wiki/Wiki.jsp?page=FAQJBossJCA

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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - [JBossManagedConnectionPool] Destroying connection that coul

2005-10-16 Thread jbohn
Hello,

I'am using XA Transaction with Oracle 9i via a 10g jdbc driver with JBoss 4.0.3 
and Hibernate 3.0.5. Sometimes I get the following message:
[JBossManagedConnectionPool] Destroying connection that could not be 
successfully matched: [EMAIL PROTECTED] [EMAIL PROTECTED] handles=0 
lastUse=1129466917406 permit=false trackByTx=false [EMAIL PROTECTED] [EMAIL 
PROTECTED] [EMAIL PROTECTED] txSync=null]

Unfortunally I have nothing found about this warning in the forum. What can I 
do to stop this message?

Thanks for help!


I set the pad = true in the jboss-service.xml
My oracle-xa-ds.xml

 
XA_ORACLE_DS 
true 
false 
oracle.jdbc.xa.client.OracleXADataSource
 
 
jdbc:oracle:thin:@myHost:1521:oracle
 
scott 
tiger 

org.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter 
 
 

 Oracle9i

 

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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - "Access is denied" when stopping service Hypersonic on shutd

2005-10-16 Thread dode
Hello,

I have enabled TCP/IP connections for the Hypersonic database following the 
"Getting started" guide. I disabled the "localDB" MBean and changed the 
dependency accordingly.

It all went fine, there are no errors on startup and shutdown, and I can 
connect with both the DatabaseManager in the JMX console as well as from some 
other database tool.

Then I changed the password for user "sa" by connecting with the 
DatabaseManager and issuing a "set password" command, and updated the password 
in both conf/login-config.xml and deploy/hsqldb-ds.xml.

After a restart this seems to have went OK, but whenever I shutdown JBoss AS i 
get the following error message:


  | 14:28:17,928 INFO  [ConnectionFactoryBindingService] Unbound 
ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' from 
JNDI name 'java:DefaultDS'
  | 14:28:17,950 WARN  [HypersonicDatabase] Stopping failed 
jboss:service=Hypersonic
  | java.sql.SQLException: Access is denied
  | at org.hsqldb.jdbc.Util.sqlException(Unknown Source)
  | at org.hsqldb.jdbc.jdbcConnection.(Unknown Source)
  | at org.hsqldb.jdbcDriver.getConnection(Unknown Source)
  | at org.hsqldb.jdbcDriver.connect(Unknown Source)
  | at java.sql.DriverManager.getConnection(DriverManager.java:525)
  | at java.sql.DriverManager.getConnection(DriverManager.java:171)
  | at 
org.jboss.jdbc.HypersonicDatabase.getConnection(HypersonicDatabase.java:806)
  | 

Did I forget to update the password somewhere else or what I did I do wrong?

When I revert to the blank password this error is gone.

Thanks,
Torsten

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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Startup problems

2005-10-16 Thread sonnyboy73
Hi,

I have just downloaded jboss 4.0.3 and started it up with default config. 
However when I try to access any of the deployed applications I get this error:

2005-10-16 12:00:02,421 DEBUG [org.jboss.cache.eviction.LRUAlgorithm] 
processing the node events in region: Regions--- fqn: /_default_/ maxNodes 
100 TimeToIdleSeconds 300current eviction queue size is 0
2005-10-16 12:00:02,421 DEBUG [org.jboss.cache.eviction.LRUAlgorithm] processed 
0 node events
2005-10-16 12:00:02,562 ERROR [org.apache.jk.common.MsgAjp] BAD packet 
signature 18245
2005-10-16 12:00:02,562 ERROR [org.apache.jk.common.ChannelSocket] Error, 
processing connection
java.lang.IndexOutOfBoundsException
at java.io.BufferedInputStream.read(BufferedInputStream.java:306)
at org.apache.jk.common.ChannelSocket.read(ChannelSocket.java:601)
at org.apache.jk.common.ChannelSocket.receive(ChannelSocket.java:557)
at 
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:666)
at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:871)
at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)


I get the same message for all deployed applications even web-console. Any 
ideas why this is happening?

thanks for any replies...

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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: forward from processAction

2005-10-16 Thread poyge394
tanks for the answer...i havent yet test your solution...what exactly do u mean 
with change state ?  my flow is this:

1. portlet doView method send yout to one jsp file with one form in it.
2. when the user submit, processAction is called.
3. now from the processAction i whant to get prameter and then put it in the 
attribute list of the actionResponse.
4. then i whant display another jsp file, that jsp file get the value that are 
in the attribute list.

i hope u anderstand better what i try to do. in servlet world it would be very 
eayse, i dont understand why it is so difficult hear

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

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


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user