[JBoss-user] [JBossCache] - Re: Standalone TreeCache with Configured LRU policy???

2005-05-27 Thread dnielben
Maybe the configuration is using now a cacheLoader, so is persiting the changes 
made in the cache. You can review if your conf file has something like.

org.jboss.cache.loader.FileCacheLoader
  |
  |  location=c:\\tmp
  |
  |true
  |/

And if you have it, comment it to deactivate cacheloader.

Regards

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

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


---
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - jboss mail

2005-05-27 Thread feroz_ps
hello Everybody , hope ur doing fine , Well my problem is Jboss mail . I need 
to know how to add user in and remove from service and change thier data . not 
manually but by java code is there any api availble or any another way that i 
can change the source and make it work in my way or something else . Plz 
waiting for the needfull

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

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


---
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [HTTPD, Servlets & JSP] - [Suggest]Optional PreCompile JSP in war file.

2005-05-27 Thread hkdennis2k
I have an idea on precompile jsp files and jboss. Please comment, Is it 
possible to implement.

WarDeployer extract the war into tmp folder, and then tomcat do compiled jsp 
into work folder.

Then, is it possible we skip the compile step, and extract precompiled classes 
into work folder?

---
1. pre-compile the jsp in servlet classes

2. write the classes path, compiler version and metadata into jboss xml file

3. make a WAR package file.

4. When deploy into jboss.
WARDEPLOYER will read the xml,
and check the jsp compiler vendor is match, runtime compatible.

5. expends the jsp classes DIRECTLY into "work" folder

6. If the current jspc engine is update then which do precompiled, then we can 
do background compile on request for jsp files.


Advantage.
a. JSP are working immediacy.
b. Don't like put the classes into web-inf/classes
We can disable it by configuration on jboss server without modify the WAR 
file.
c. No editing in web.xml.
   So, using others web container/jsp compiler to compile jsp still 
available(just ignore precompile classes).
d. The recompile by update/touching jsp files(in tmp folder) still availiable.

Disadvantage.
WAR file become bigger.
Will have any security problem??
---
(Please forgive my bad english)

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

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


---
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: jBossMQ - Multiple Dead Letter Queues

2005-05-27 Thread genman
You can define a different MDB deployment strategy in standardjboss.xml and use 
a different DLQ.

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

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


---
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - share external database(urgent)

2005-05-27 Thread ivyEibsoft
Hi all,
When clustering,I expect to build another database for two server instances 
to share instead of their own default database--hypersonic.
And I want to choose MySql.
 Can you help me ?Could you  tell me what should I do?
 Thank you very much!
 I will appreciate for your reply very much!
 Best regards!

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

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


---
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - share external database(urgent)

2005-05-27 Thread ivyEibsoft
Hi all,
When clustering,I expect to build another database for two server instances 
to share instead of their own default database--hypersonic.
And I want to choose MySql.
 Can you help me ?Could you  tell me what should I do?
 Thank you very much!
 I will appreciate for your reply very much!
 Best regards!

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

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


---
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: ClusteredSingleSignOn help

2005-05-27 Thread groboclown
anonymous wrote : Any clues as to why either of these scenarios are happening?

I just saw the clue: "session=null"  A co-worker gave me the obvious suggestion 
to try a simple JSP site to see if we can cluster that in the scenarios I just 
outlined.  Turns out JBoss works beautifully here, though the sample didn't use 
any login capabilities.

I'm going to work with a developer to figure out why the session here is null, 
while our simple sample that only put an Integer into the session worked just 
fine.

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

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


---
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Re: Jboss 4.0.2 Hibernate3, null JNDI session factory

2005-05-27 Thread d-rock
I've been working on this one in:

http://www.jboss.com/index.html?module=bb&op=viewtopic&t=64290

See if you get similar results in your server.log please.

Derek

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

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


---
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Re: Jboss4.0.2 and Hibernate3 problem

2005-05-27 Thread d-rock
OK, I think I'm on the right track. I've traced the error messages:

2005-05-27 18:59:57,104 DEBUG [org.hibernate.impl.SessionFactoryObjectFactory] 
JNDI lookup: hibernate/LocMasterFactory
2005-05-27 18:59:57,104 DEBUG [org.hibernate.impl.SessionFactoryObjectFactory] 
lookup: uid=ff808081042091fb01042095d4c20002
2005-05-27 18:59:57,104 WARN  [org.hibernate.impl.SessionFactoryObjectFactory] 
Not found: ff808081042091fb01042095d4c20002
2005-05-27 19:05:29,763 DEBUG [org.hibernate.impl.SessionFactoryObjectFactory] 
{}


and it looks like JBoss is deferring to the SessionFactoryObjectFactory to keep 
track of the singleton. This is looking a lot like a classloader issue, since 
the FastHashMap used by SessionFactoryObjectFactory is marked "final static". 
It appears that my two web apps are just getting different instances of that 
for some reason, because the last line of my log snippet is where 
SessionFactoryObjectFactory prints out the contents of NAMED_INSTANCES, and 
it's definitely empty :(. If no one chimes in over the weekend I'll open a JIRA 
case on it.

Derek

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

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


---
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Re: Jboss4.0.2 and Hibernate3 problem (closer)

2005-05-27 Thread d-rock
OK, this is starting to look like a stupid configuration issue. Please, someone 
with more experience step in. Here's what I've done so far:

1. I made a single JSP called "test.jsp" that I placed in a directory called 
"test.war" in my deployment dir. When I run it, I get this:

Context = [EMAIL PROTECTED]
Factory1 = [EMAIL PROTECTED]
Factory2 = [EMAIL PROTECTED]

2. I copied test.jsp into my build directory and packaged into the war that I'm 
getting the issue on. Here's the output:

Context = [EMAIL PROTECTED]
Factory1 = null
Factory2 = null

So, for some reason, the same JSP, when deployed without a web.xml, works fine. 
But when deployed with my web.xml, it blows up. Do I need to define 
resource-ref tags for these?

Thanks,

Derek

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

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


---
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: ClassCastException while deploying EJB

2005-05-27 Thread eMPy
found out what was wrong:

wrong jndi-name.
it should be "momShop/KundLocalHome" instead of "momShop/KundeLocal"

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

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


---
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Re: Jboss4.0.2 and Hibernate3 problem

2005-05-27 Thread d-rock
I've been looking at the code for the JBoss Hibernate MBean and I don't see 
anything glaring. I'm wondering if maybe for some reason the Tomcat 
InitialContext is different from the JBoss InitialContext. If that were the 
case then you wouldn't be able to look up things in Tomcat that had been 
registered in JBoss. I'm going to explore this a little more.

Derek

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

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


---
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossCache] - Re: is it possible to have in-memory caching if running on m

2005-05-27 Thread dnielben
I suggest to try this file, It came with the distribution and is commented. Use 
repl_sync and no cache loader. Try with it.




  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | jboss:service=Naming
  | jboss:service=TransactionManager
  | 
  | 
  | org.jboss.cache.DummyTransactionManagerLookup
  | 
  | 
  | REPEATABLE_READ
  | 
  | 
  | REPL_SYNC
  | 
  | 
  | false
  | 
  | 
  | 0
  | 
  | 
  | 0
  | 
  | 
  | TreeCache-Cluster
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | true
  | 
  | 
  | 5000
  | 
  | 
  | 1
  | 
  | 
  | 15000
  | 
  | 
  | 
  | 
  |
  | 
  |
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  |
  |
  |
  |
  |
  | 
  | 
  | 
  | 

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

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


---
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossCache] - Re: is it possible to have in-memory caching if running on m

2005-05-27 Thread enyedi
Yes, the same config file is on both computers. When using FileCacheLoader, the 
location attribute was set with respect to each disk.

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

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


---
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossCache] - Re: is it possible to have in-memory caching if running on m

2005-05-27 Thread dnielben
I think you are not starting the caches in the same group, in fact from your 
response I asume that boot chaes are using the same cache loder (sharing disk?) 
and the delay is because the sharing mechanism that you are using is , Ithink, 
the persistence layer.

I suggest review the documentation and be sure to start both caches in the same 
group Cluster in this case. Still you must use the repl_sync.

Are you using thesame conf file in both computers?

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

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


---
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - org.jboss.axis.ConfigurationException: No engine configurati

2005-05-27 Thread blue_cuijian
I am running into this problem with jboss4.0.2 AS, I appreciate any suggestions.

Thanks!


org.jboss.axis.ConfigurationException: org.jboss.axis.ConfigurationException: 
No engine configuration file - aborting!
org.jboss.axis.ConfigurationException: No engine configuration file - aborting!
at 
org.jboss.axis.configuration.FileProvider.configureEngine(FileProvider.java:222)
at org.jboss.axis.AxisEngine.init(AxisEngine.java:150)
at org.jboss.axis.AxisEngine.(AxisEngine.java:132)
at org.jboss.axis.client.AxisClient.(AxisClient.java:88)
at org.jboss.axis.client.Service.getAxisClient(Service.java:370)
at org.jboss.axis.client.Service.(Service.java:144)
at com.csi.wsclients.wssample.HelloEJBLocator.(HelloEJBLocator.java:10)
at 
com.csi.services.webems.wssample.HelperClass.test(HelperClass.java:27)
at org.apache.jsp.index_jsp._jspService(org.apache.jsp.index_jsp:52)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
at 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at 
org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:153)
at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
at 
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at 
org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
at java.lang.Thread.run(Thread.java:534)



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

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


---
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Entity bean field and database column default?

2005-05-27 Thread jhager
Is there a way to get the jboss ejb container to actually use the oracle 
database column default for field initializations?  I can't seem to find a way 
to specify this behavior, it used to work like that in ejb1.x.  

Do I have to put all the default field values in every ejbCreate() method in 
order to have the ejbs honor the default values? 

-J

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

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


---
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: Cannot find port with name in wsdl document

2005-05-27 Thread stevemichael33
Well it turns out that it was a simple mistake on my part.  The WSDL file was 
wrong.  I thought I edited it, but I was wrong.



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

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


---
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Using Java client to call EJB in JBOSS

2005-05-27 Thread menkun
If we call a remote EJB (MyBean.jar in another machine) from an standalone java 
client (non-web), do we need to install something in the client machine?  Just 
like in J2EE SDK1.3, we need to use the 'runclient' command to run the 
application client. So what is the part in JBOSS equivalent to a 'runclient' of 
J2EE SDK? 

Here I assume that we don't use 'ant' to run the client, but just write a bat 
file. I tried to do like this: run -jar MyClient.jar, but it failed: "Failed to 
load Main-Class manifest attribute" . I know the classpath is missed, but don't 
know how to exactly to do it, could anybody give me an example? thanks!






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

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


---
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossCache] - Re: is it possible to have in-memory caching if running on m

2005-05-27 Thread enyedi
Yes, this is exactly what I want to obtain - both [real-time] synchronization 
and [better] performance. I'm actually trying to use JBossCache as a data 
sharing utility.

You suggest that using REPL_SYNC this synchronization won't happen instantly. 
The "handshake" test was fairly permissive spped-wise, in the sense that a 
human operator placed the value in cache and literally yelled at the other user 
to try and get the value.

I do not need data to be persisted, but the above test failed if I did not use 
a cache loader - a FileCacheLoader, to be exact. But performance obviously 
decreases a lot - I have a second test to measure that.

Suggestion for making it easier for users to configure JBossCache: offer a 
small console-based utility, to help perform this "handshake" test and avoid 
later debugging efforts. Once a configuration  works, the xml file can be used 
in the real application.  I am planning to contribute myself - will have to 
study 
submission policies first, though.

Thank you for the suggestions. I will keep digging starting from those.

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

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


---
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: Help, what is the problem for my client, JNDI or deploy

2005-05-27 Thread menkun
solved, actually the jndi.properties and jboss-client.xml cause the problem

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

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


---
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Getting Started Documentation] - Re: Need help on deploy my EJB-client to JBoss 4.0.2

2005-05-27 Thread menkun
Solved, actually the jndi.properties and the jboss-client.xml cause the problem.



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

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


---
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: ClusteredSingleSignOn help

2005-05-27 Thread groboclown
I'll jump back into this discussion.

I finally got the developers to get rid of their silly login servlet, and now 
we're running with a proper FORM based authentication (setup via the web.xml) 
using JAAS in JBoss.

I think I may have discovered the reason for why the login isn't being 
clustered, but I can't explain why it's happening.

The setup as it stands right now:
 * Apache w/ mod_jk on machine A, JBoss on machines B and C.
 * Sticky sessions enabled.

Here's the two situations I've found.  To me, it looks like either I have a 
setting wrong, or there's a bug somewhere.

Scenario 1:
 - Machine B starts JBoss.
 - User logs into the app through machine A.
 - Everything's hunky-dory.  The user can move about and see everything like it 
should be.
 - Machine C starts JBoss.  Log messages show that B and C are talking to each 
other.
 - Machine B stops JBoss.
 - User tries to do something else, and they get a login prompt.

In this scenario, the clustering logs show that the session that was created on 
B for the user was never replicated over to C.  This one looks like I'm 
possibly not setting something that says to request all data on joining cluster.

Scenario 2:
 - Machine B starts JBoss.
 - User logs into the app through machine A, and everything's fine.
 - Machine C starts JBoss.  Logs say they talk to each other.
 - User performs another action.  Here, we see machine B (remember - sticky 
sessions) push the session information over to machine C, and we see machine C 
get the information:

2005-05-27 14:37:07,992 DEBUG [org.jgroups.blocks.RpcDispatcher] 
[sender=MachineB:2529], method_call: _replicate(prepare(:6, 
[_put(:6, /JSESSION/BzKYRcCq2UTMRNI8VUG3Yw**, 
BzKYRcCq2UTMRNI8VUG3Yw**, null, true)], MachineB:2529, false))

 - Machine B stops JBoss.
 - User tries to do something else, and gets a login message.

At this point, the logs in machine C are fishy:

2005-05-27 14:37:28,626 INFO  [org.jboss.cache.TreeCache] viewAccepted(): new 
members: [MachineC:1799]

 (comment: yup, machine C realized that machine B dropped out of the cluster)

2005-05-27 14:37:36,899 DEBUG 
[org.jboss.web.tomcat.tc5.session.JBossCacheManager] loadSession(): id= 
BzKYRcCq2UTMRNI8VUG3Yw**, session=null
2005-05-27 14:37:37,086 DEBUG 
[org.jboss.web.tomcat.tc5.session.JBossCacheManager] loadSession(): id= 
BzKYRcCq2UTMRNI8VUG3Yw**, session=null
2005-05-27 14:37:37,086 DEBUG 
[org.jboss.web.tomcat.tc5.session.JBossCacheManager] loadSession(): id= 
BzKYRcCq2UTMRNI8VUG3Yw**, session=null
2005-05-27 14:37:37,086 DEBUG 
[org.jboss.web.tomcat.tc5.session.JBossCacheManager] loadSession(): id= 
BzKYRcCq2UTMRNI8VUG3Yw**, session=null
2005-05-27 14:37:37,227 DEBUG 
[org.jboss.web.tomcat.tc5.session.ClusteredSession] initAfterLoad(): initialize 
the transient variables ...
2005-05-27 14:37:37,227 DEBUG 
[org.jboss.web.tomcat.tc5.session.SessionIDGenerator] getSessionId called: 
HG4R8B0iA5kATgL8tdl-tg**

It looks like Machine C properly received a request for the session with the 
correct ID (the one it was assigned to on machine B), but machine C either 
can't find the session or somehow loses the session, and assigns the user a new 
session.

Any clues as to why either of these scenarios are happening?

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

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


---
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossCache] - Re: is it possible to have in-memory caching if running on m

2005-05-27 Thread dnielben
I asume that you are trying to have a cahe synchronized in two machines(This is 
the default behavior if you have sychronization activated). so in Fact I think 
that the performance problem is the precense of the CacheLoader.

Do you need the cache data to be persisted? if not why do you need a 
cacheloader?

If you avoid the use of the cache loader, or you try to use a REPL_SYNC(maybe 
the synchornization had not happen when you try to tead) the performance will 
improve.

Do this help you or did I misundertand your request?


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

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


---
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: Arrays of complex types

2005-05-27 Thread dannox02
Oooops... forget my previous post, turns out to be a stupid mistake on my 
part... 

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

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


---
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [HTTPD, Servlets & JSP] - Re: streaming pdf's from servlet to IE browser not working o

2005-05-27 Thread Martinator
Thanks everyone, for your suggestions and Cheers.

I finally resolved the problem be removing a response compression filter that 
was somehow screwing up the pdf output stream.

I also found out that the browser is sending 2 GET requests for the http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3879301#3879301

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


---
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Password protect a jmx connection

2005-05-27 Thread BlurredWeasel
I have a 3rd party piece of software that monitors jboss through the JMX 
connection.  I would like to password protect that connection.  How would I go 
about doing that?

Thank you,
Chris

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

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


---
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: ClusteredSingleSignOn help

2005-05-27 Thread kcoup
Thanks Brian - that probably explains it.

If I don't front JBoss with Apache, do you know if JOSSO can provide single 
sign-on capability across servers?

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

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


---
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Loading Persisted Session ClassNotFoundException

2005-05-27 Thread [EMAIL PROTECTED]
I it has been so long to reply. I've been working on another project...

The UserProfiles class has the following member data:

public class UserProfiles implements java.io.Serializable
{
Properties modules;
Properties xmlModules;
Hashtable xmlNodes;
private boolean debug = Boolean.getBoolean("com.mmm.debug");
...
}

The traceback from the server:

14:13:32,109 ERROR [ManagerBase] ClassNotFoundException while loading persisted 
sessions: java.lang.ClassNotFoundException: com.mmm.ciws.UserProfiles

java.lang.ClassNotFoundException: com.mmm.ciws.UserProfiles

at java.net.URLClassLoader$1.run(URLClassLoader.java:199)

at java.security.AccessController.doPrivileged(Native Method)

at java.net.URLClassLoader.findClass(URLClassLoader.java:187)

at java.lang.ClassLoader.loadClass(ClassLoader.java:289)

at java.lang.ClassLoader.loadClass(ClassLoader.java:235)

at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)

at java.lang.Class.forName0(Native Method)

at java.lang.Class.forName(Class.java:219)

at 
org.apache.catalina.util.CustomObjectInputStream.resolveClass(CustomObjectInputStream.java:72)

at 
java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1513)

at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1435)

at 
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1626)

at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)

at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)

at 
org.apache.catalina.session.StandardSession.readObject(StandardSession.java:1342)

at 
org.apache.catalina.session.StandardSession.readObjectData(StandardSession.java:885)

at 
org.apache.catalina.session.StandardManager.doLoad(StandardManager.java:416)

at 
org.apache.catalina.session.StandardManager.load(StandardManager.java:343)

at 
org.apache.catalina.session.StandardManager.start(StandardManager.java:657)

at 
org.apache.catalina.core.ContainerBase.setManager(ContainerBase.java:499)

at 
org.apache.catalina.startup.ContextConfig.managerConfig(ContextConfig.java:315)

at 
org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:635)

at 
org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:216)

at 
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)

at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:4290)

at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:823)

at 
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)

at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:324)

at 
org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)

at 
org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:150)

at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)

at 
org.apache.catalina.core.StandardContext.init(StandardContext.java:5441)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:324)

at 
org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)

at 
org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:150)

at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)

at 
org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:289)

at 
org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:92)

at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:374)

at org.jboss.web.WebModule.startModule(WebModule.java:62)

at org.jboss.web.WebModule.startService(WebModule.java:40)

at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:272)

at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:222)

at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)

at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:324)

at 
org.jboss.mx.inter

[JBoss-user] [JBossWS] - Arrays of complex types

2005-05-27 Thread dannox02
I have an RPC Literal service on JBoss 4.0.2 with two methods, one takes an 
array of complex types as a parameter, the other returns a similar array of 
complex types. 

Based on the Wiki, I have wrapped these arrays in an object so now one method 
takes an object parameter, the other returns an object.

I can call the method that returns the object (containing the complex type 
array) and all is good.

However, if I try to call the method that takes the parameter I get the 
following error:
java.rmi.RemoteException: Runtime exception; nested exception is: 
  | unexpected null value for literal data
  | at 
com.sun.xml.rpc.client.StreamingSender._handleRuntimeExceptionInSend(StreamingSender.java:318)
  | at 
com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:300)

At first I did not use a ws4ee-deployment.xml file, but when I got this error I 
gave it a try, at which point I can no longer deploy my service because it 
complains that it cannot find the axis packages (for BeanSerializer etc.).

Is the ws4ee-deployment file really required or am I missing something else?  
If it is required, why do I get an error about the axis package?

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

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


---
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - Re: Fine in 4.01, (Way) out of Memory in 4.02

2005-05-27 Thread hhendler
Never mind, I needed to increase the Heap size (-Xmx) to 512 and 4.02 is 
running well now.



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

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


---
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: Problem with portlet parameters

2005-05-27 Thread [EMAIL PROTECTED]
"martingi" wrote : 1) logged in as an admin, then on
  | 2) homepage /portal: clicked on ? admin? in the ?Page Menu? (helloworld, 
default, admin, ...)
  | 3) then on the overview page.default.admin clicked on ?Edit role members?
  | 4) I get to the page titled ?Edit role members?... did not do anything here 
but navigated with my browsers back button to /portal
  | 5) clicked on ?admin? just like in step 2
  | 6) Problem: I get the ?Edit role members? page from step 4, although I 
should see the overview page from step 3
  | 

This works as designed. The portal is a big state-engine, so the Roleportlet 
will show when you go to the admin page, as that is the portlet you left there. 
To view the admin page in its default setting, just click the Roleportlet 
NormalMode icon.

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

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


---
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: Context problem upgrading from AXIS on JBoss 3.2

2005-05-27 Thread bcowan
Thanks for the reply.  It guess we have to stay with AXIS to get what we need.  
It appears to be far more flexible in configuring the services and their 
security.

I rolled back the changes from before the attempted conversion to ws4ee, and 
was happy to find that the incompatibility problems we had experienced with 
JBoss 4.0.1 seem to have been fixed in 4.0.2.

Regards,
  Bruce

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

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


---
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: JBoss Portal runs on AS 4.0.2 final now

2005-05-27 Thread awmobjects
Any news on the 4.0.2 capable binaries?
Thanks,
AWM

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

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


---
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Re: Jboss4.0.2 and Hibernate3 problem

2005-05-27 Thread d-rock
If you look higher up in your logs, you'll probably find the line:

[SessionFactoryObjectFactory] Not binding factory to JNDI, no JNDI name 
configured

This seems to be something new to 4.0.2/Hib3, but JIRA's down at the moment so 
I can't look to see if there are any bug reports out.

Derek

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

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


---
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss.NET] - WSR

2005-05-27 Thread patrickdalla
Where do I find documentation for Jboss-NET?

I've created a WSR file for deployment in the default server configuration of 
jboss-4.0.1 and an deployer for WSR files wasn't found.

How do I solve this problem?

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

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


---
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Problem with portlet parameters

2005-05-27 Thread martingi
I am experiencing a bigger problem navigating through my portlet, and this 
problem seems to be quite similar to this post
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=63886

This does not seem to be an issue only with my custom portlet, because it can 
be replicated e.g. taking JBP's RolePortlet. Here's what I did

1) logged in as an admin, then on
2) homepage /portal: clicked on ? admin? in the ?Page Menu? (helloworld, 
default, admin, ...)
3) then on the overview page.default.admin clicked on ?Edit role members?
4) I get to the page titled ?Edit role members?... did not do anything here but 
navigated with my browsers back button to /portal
5) clicked on ?admin? just like in step 2
6) Problem: I get the ?Edit role members? page from step 4, although I should 
see the overview page from step 3

So actually I never get back to the overview page from step 3. I did some 
debugging and I don't get  why 
org.jboss.portlet.JBossRenderRequest#getParameters() returns a Parameters Map 
with values from the previous request although the current request does not 
contain any parameters. I could imagine that this could lead to the behaviour I 
described.

My system is fedora core 2, java 1.4.2_08, JBoss AS 4.0.2 and I got the portal 
sources from cvs head last Friday. 

Any ideas are highly appreciated.

Martin

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

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


---
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Cannot find port with name in wsdl document

2005-05-27 Thread stevemichael33
Hello, I am trying to deploy a fairly simple web service and when I deploy the 
war file to JBOSS 4.0 I get the following error:

java.lang.IllegalArgumentException: Cannot find port with name 'IGetPerson' in 
wsdl document

Here is my WSDL



http://com.dusa.ws.cas/GetPerson"; 
xmlns:tns="http://com.dusa.ws.cas/GetPerson"; 
xmlns="http://schemas.xmlsoap.org/wsdl/"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
xmlns:ns2="http://com.dusa.ws.cas/GetPerson/types"; 
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/";>
  
http://com.dusa.ws.cas/GetPerson/types"; 
xmlns:tns="http://com.dusa.ws.cas/GetPerson/types"; 
xmlns:soap11-enc="http://schemas.xmlsoap.org/soap/encoding/"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"; 
xmlns="http://www.w3.org/2001/XMLSchema";>
  

  
  

  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  

  
  
  

  
  
  

  
  
  
  

  

  

  
  
  
http://schemas.xmlsoap.org/soap/http"; 
style="document"/>

  
  

  

  

  

Here is my jaxrpc-mapping file 


http://java.sun.com/xml/ns/j2ee"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; version="1.1" 
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://www.ibm.com/webservices/xsd/j2ee_jaxrpc_mapping_1_1.xsd";>

com.dusa.ws.cas
http://com.dusa.ws.cas/GetPerson/types


com.dusa.ws.cas
http://com.dusa.ws.cas/GetPerson


com.dusa.ws.cas.Regions
http://com.dusa.ws.cas/GetPerson/types";>typeNS:Regions
complexType

id
id


name
name



com.dusa.ws.cas.IGetPerson_getPerson_RequestStruct
http://com.dusa.ws.cas/GetPerson/types";>typeNS:getPerson
complexType

Person_1
Person_1



com.dusa.ws.cas.Groups
http://com.dusa.ws.cas/GetPerson/types";>typeNS:Groups
complexType

id
id


name
name



com.dusa.ws.cas.Person
http://com.dusa.ws.cas/GetPerson/types";>typeNS:Person
complexType

NPI
NPI


UPIN
UPIN


acceptedDisclaimer
acceptedDisclaimer


active
active


address1
address1


address2
address2


address3
address3


cellPhone
cellPhone


certifiedTrainerId
certifiedTrainerId


city
city


clinicId
clinicId


companyName
companyName


country
country


dateOfBirth
dateOfBirth


educatorTypeID
educatorTypeID


email
email


experationDate
experationDate


faxPhone
faxPhone


firstName
firstName


groups
groups


healthCareProviderId
healthCareProviderId


homePhone
homePhone


hourlyRate
hourlyRate


id
id


lastModifiedBy
lastModifiedBy


lastName
lastName


locked
locked


login
login


marketingOptIn
marketingOptIn


middleName
middleName


previousPumpUser
previousPumpUser


regions
regions


secretAnswer
secretAnswer


secretQuestion
secretQuestion


selfRegistered
selfRegistered


startDate
startDate


state
state


timsId
timsId


trainedByHCP
trainedByHCP


trainingChosenId
trainingChosenId


trainingCompletedId
trainingCompletedId


trainingMaterialsId
trainingMaterialsId


trainingStatusId
trainingStatusId


workPhone
workPhone


zipCode
zipCode



com.dusa.ws.cas.IGetPerson_getPerson_ResponseStruct
http://com.dusa.ws.cas/GetPerson/types";>typeNS:getPersonResponse
complexType

result
result



com.dusa.ws.cas.GetCasPerson
http://com.dusa.ws.cas/GetPerson";>serviceNS:GetCasPerson

IGetPerson
IGetPerson



com.dusa.ws.cas.IGetPerson
http://com.dusa.ws.cas/GetPerson";>portTypeNS:IGetPerson
http://com.dusa.ws.cas/GetPerson";>bindingNS:IGetPersonBinding

getPerson
getPerson


0
com.dusa.ws.cas.Person

http://com.dusa.ws.cas/GetPerson";>wsdlMsgNS:IGetPerson_getPerson
Person_1
IN



com.dusa.ws.cas.Person
http://com.dusa.ws.cas/GetPerson";>wsdlMsgNS:IGetPerson_getPersonResponse
result





Here is my web.xml file


http://java.sun.com/xml/ns/j2ee"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee 
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd";>

  
casTest
com.dusa.ws.cas.casws
  

  
casTest
/casTest
  
  
  
service/CasWsService
com.dusa.ws.cas.client.ICasws
WEB-INF/wsdl/GetCasPerson.wsdl
WEB-INF/jaxrpc-mapping.xml
  





 
Here is my webservices.xml file

http://java.sun.com/xml/ns/j2ee";
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
  xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee 
http://www.ibm.com/webservices/xsd/j2ee_web_services_1_1.xsd";
  version="1.1">

  
casws
WEB-INF/wsdl/GetCasPerson.wsdl

[JBoss-user] [HTTPD, Servlets & JSP] - Servlet consume XML with WebRowSet not working

2005-05-27 Thread [EMAIL PROTECTED]
I am posting an xml fragment over http to a servlet. For the client I use 
CreateObject("MSXML2.XMLHTTP") to post over http. 
The servlet uses a WebRowSetImpl with request.getReader() to receive the xml. 
My problem is that I then try to loop thru the webRowSet and it is empty. The 
request has shown to have proper header names, and appropriate length, but 
still, the xml does not get read into the webRowSet.
Here is my code:

Client code (Microsoft Access 2002 - mandatory for my project):

Set xmlhttp = CreateObject("MSXML2.XMLHTTP")
Call xmlhttp.Open("POST", "http://localhost:8080/testing/servlet/Servlet1";, 
False)
Call xmlhttp.send("just testing fragment")

Servlet code (tried jboss and oracle ias 10g, both get same empty webrowset):

try {
WebRowSetImpl wrs = new WebRowSetImpl();
Reader reader = (BufferedReader)request.getReader();
wrs.readXml((BufferedReader) request.getReader());
wrs.readXml(reader); 
wrs.beforeFirst();
while (wrs.next()) {
System.out.println("LOOPING thru the rowset");
}
} catch(Exception e) {System.out.println("Post request Error thrown from 
Servlet1");};

When tested my servlet log shows no LOOPING message, also the wrs.size shows 
empty.
I have proven that the client is able to receive the servlet's html, so I 
assume the MSXML2.XMLHTTP is not the problem (not much else in their api to 
work with).
Any ideas on how to receive the XML?
Thanks very much,
Jay


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

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


---
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - JBoss and SQL Server

2005-05-27 Thread cingram
Hi All! I hope this is the right forum for this question. Has any one confgured 
JBoss to run with SQL server? If so how difficult was it? Does the JBoss data 
source play nicely with SQL Server?


Thanks in Advance!


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

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


---
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: Resource related exception deploying helloworld

2005-05-27 Thread [EMAIL PROTECTED]
Yes. Removing the resource-bundle node fixes it.

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

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


---
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Javassist user questions] - getting all fields of a class

2005-05-27 Thread ghilling
Hello,

I'm just building a small persistence framework and I'm running into trouble 
using the CtClass.getFields()-Method and the FieldExpr-Replacer:
It seems not to be possible to get all fields including private or protected 
fields from base classes. Is there some standard way to resolve this problem or 
do I have to run through the class hierarchy recursively (might even be the 
cleaner solution ...)?

Thanks,

-Gunnar


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

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


---
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - hardware requirements for jboss portal 2

2005-05-27 Thread mbucan
Hello.
I would like to know hardware requirements for jboss portal site.
For example, if it is going to have 50 000 users, and 100 simultaneos
users online, what hardware should it have? RAM, CPU ... Internet connection?
How about 200,300,500 simultaneos user requests?

Thanks

P.S.: Any reference is most appreciated.

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

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


---
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: dependency on DefaultDS

2005-05-27 Thread [EMAIL PROTECTED]
Gee Tom, you need to buy support :)

If you go to the ServiceController and use getServiceContext() for both the 
ObjectName of jboss.jca:service=DataSourceBinding,name=DefaultDS
and
jboss.jbpm:type=Service,name=JbpmService

what do you see?

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

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


---
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - JBoss 4.01 and Slide User Administration

2005-05-27 Thread LeRoi
Hello everybody I'm new to JBoss and I hav a Problem of using it 
with Jakarta Slide.

My problem is when I use the Slide Bundle which includes Tomcat it's no
problem to make some user and role options. Also I have the folders users and 
roles in my slide main-directory. But if I deploy Slide to JBoss these folders 
are missing as well as the possibility of user administration (no pop-up window 
during connection to slide).

Can somebody help me and tell me how can fix this? Do I have to install a newer 
version or additional packages.
I hope my description are specific enough to understand my problem, if not ask 
me.

Robert

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

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


---
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: dependency on DefaultDS

2005-05-27 Thread [EMAIL PROTECTED]
my mbean doesn't start since it requires a datasource.

i see in the logs that the database starts after my .sar is started.

if i deploy my mbean into a running jboss instance, it works.

regards, tom.

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

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


---
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Message Driven Beans of one server not receiving the mes

2005-05-27 Thread vidyao
Hi,

Thanks for replying but my problem here is when the mdbs in BO2 and BO3  were 
able to take the messages from the remote queue available in BO1,why the mdbs 
in BO1 were not  able to take the messages from the local queue even if the 
messages are pending in the queue?

And i also wanted to know what is the MBean attribute ReceiversCount mean in 
jmx-console for jboss.mq.destination domain? For my case is it the number of 
JBoss which looks into the queue or the number of mdbs looking into the queue?

Plz reply

Thanks 
Vidya


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

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


---
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: DIGEST auth

2005-05-27 Thread [EMAIL PROTECTED]
No, this is unsupported currently as it requires that the server be able to 
obtain a clear text password, and this is not possible in general.

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

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


---
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: Security Propagation Problem: Jboss 4.0.2 vs 4.0.1sp1

2005-05-27 Thread abv
Hi,

I think I've the same problem. Can explain how you have solved this?

Sven

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

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


---
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Commit Data from a servlet to MySQL

2005-05-27 Thread mjchecko
Hello, 

I posted this in the http/servlet forum, I think that I may have put it in the 
wrong place, so I'm trying here too...

I am relatively new to JBoss and Java, so please bear with me. 

I am working with a servlet that receives data from a client program, 
increments a counter, updates the counter to a MySQL table/field, and reports 
the new counter back to the client for storage until the next communication. 

All comms are working fine, but the update to MySQL seems to be cached in JBoss 
instead of writing directly back to the database. The value is not accessible 
in MySQL until I re-deploy my EJB app or restart the server. I'm guessing the 
restart causes the flushing and committing the data out of JBoss. 

It may be important to the discussion to state that I'm using HttpSession 
attributes through several handshake sequences. The update is supposed to occur 
in the 2nd handshake, but by the 3rd handshake when I query the db the value 
has still not been updated. 

How do I commit SQL transactions to a MySQL database, or force the data to 
flush to MySQL? I realize MySQL doesn't support commit/rollback transactions, 
so I'm guessing my issue is in the JBoss configuration. 

I appreciate any help you experts can point me to. If you need specifics about 
my config or setup, please let me know. 

Thank you! 

- Matt

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

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


---
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Commit Data from a servlet to MySQL

2005-05-27 Thread mjchecko
Hello, 


I am relatively new to JBoss and Java, so please bear with me. 

I am working with a servlet that receives data from a client program, 
increments a counter, updates the counter to a MySQL table/field, and reports 
the new counter back to the client for storage until the next communication. 

All comms are working fine, but the update to MySQL seems to be cached in JBoss 
instead of writing directly back to the database. The value is not accessible 
in MySQL until I re-deploy my EJB app or restart the server. I'm guessing the 
restart causes the flushing and committing the data out of JBoss. 

It may be important to the discussion to state that I'm using HttpSession 
attributes through several handshake sequences. The update is supposed to occur 
in the 2nd handshake, but by the 3rd handshake when I query the db the value 
has still not been updated. 

How do I commit SQL transactions to a MySQL database, or force the data to 
flush to MySQL? I realize MySQL doesn't support commit/rollback transactions, 
so I'm guessing my issue is in the JBoss configuration. 

I appreciate any help you experts can point me to. If you need specifics about 
my config or setup, please let me know. 

Thank you! 

- Matt

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

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


---
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Insufficient method permissions

2005-05-27 Thread krishnaswamy.v
Hi
   I am using org.jboss.security.ClientLoginModule(available in client side 
only) and I have one custom login module in server side.
My login operation is getting succeeded but when I try to call a create method 
of a session bean I am getting the exception (see below).

java.lang.SecurityException: Insufficient method permissions, 
principal=krish, ejbName=Sample, method=create, interface=HOME, requiredRoles=* 
, 
  | principalRoles=null

In my ejb-jar.xml I haven?t specified any or .
For my EJBs. Frankly I don?t want to specify!!!

May I know how to make my application working?


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

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


---
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: dependency on DefaultDS

2005-05-27 Thread [EMAIL PROTECTED]
The dependency looks good, it's the same use by jms.

Why you changed to socket connections, and what is the error you see that makes 
you think the dependency is not satisfied?

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

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


---
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: dependency on DefaultDS

2005-05-27 Thread [EMAIL PROTECTED]
Out of curiocity can you try putting the 'depends' last (after the 'attribute')

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

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


---
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: dependency on DefaultDS

2005-05-27 Thread [EMAIL PROTECTED]
that was already one of the variations i started with :-)  i double checked and 
it didn't work.

I also forgot to mention that i modified the hsqldb-ds.xml for making socket 
connections :

so i think the question is : what is the JMX name of the local-tx-datasource 
MBean ?


  | 
  |
  |
  |  1701
  |  true
  |  default
  |  false
  |  true
  |
  | 
  |
  |
  |   DefaultDS
  |   jdbc:hsqldb:hsql://localhost:1701
  |   org.hsqldb.jdbcDriver
  |   sa
  |   
  |   5
  |   20
  |   0
  |   
  |   HsqlDbRealm
  |   Hypersonic SQL
  |   jboss:service=Hypersonic
  |
  | 
  | 

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

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


---
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: Tutorial on J2EE using JBOSS, Eclipse and Lomboz.

2005-05-27 Thread sh_sal79
Hi chrispp,

  your problem is solved or not ?.I had gone through the same problem...i  
could not plugg in the lomboz

sh_sal

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

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


---
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [HTTPD, Servlets & JSP] - JSP deployment to jboss 3.2.5

2005-05-27 Thread Ralph
 Hi *

i created the Customer-Maintenance example with JDEV 10.1.2.
It runs o.k in the embedded OC4J-Server. When i deploy to my JBOSS 3.2.5 i got 
some Exceptions.

585 ERROR [org.jboss.web.localhost.Engine] 
StandardContext[/CustomerMaintenace-ViewController-context-root]Servlet 
/CustomerMaintenace-ViewController-context-root threw load() exception
javax.servlet.ServletException: Error instantiating servlet class 
org.apache.struts.action.ActionServlet
at 
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:986)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:862)
at 
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3991)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4335)
at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:823)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:109)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
at org.apache.catalina.core.StandardContext.init(StandardContext.java:5412)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:109)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
at 
org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:286)
at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:70)
at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:306)
at org.jboss.web.WebModule.startModule(WebModule.java:62)
at org.jboss.web.WebModule.startService(WebModule.java:40)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:271)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:221)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:837)
at $Proxy17.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:367)
at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
at $Proxy31.start(Unknown Source)
at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:313)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:836)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:828)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:645)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:608)
at sun.reflect.GeneratedMethodAccessor15.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)
at org.jboss.mx.serve

[JBoss-user] [Management, JMX/JBoss] - dependency on DefaultDS

2005-05-27 Thread [EMAIL PROTECTED]
i try to specify a dependency on the DefaultDS datasource like this


  |   
  | jboss:service=Naming
  | jboss.jca:service=DataSourceBinding,name=DefaultDS
  | java:/jbpm/JbpmSessionFactory
  |   
  | 

i tried various variations but the dependency is not understood.

my mbean is defined in an exploded .sar

what depends element should i use to define this dependency ?

regards, tom.

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

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


---
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - jBossMQ - Multiple Dead Letter Queues

2005-05-27 Thread abowes
Hi Guys

I am using jBoss v4 in development with jBossMQ and we are attempting to mimic 
our production WebSphere MQ configuration.  In the production environment we 
can define a separate Dead Letter Queue (DLQ) for each Queue and we are using 
this to monitor/resubmit failed messages and the DLQ that the message arrives 
on indicates the source of the message.

Can we acheive the same result in jBossMQ i.e. configure a different DLQ for 
each Queue as well as a global DLQ?  Ideally I need to acheive this without 
modifying the existing MDBs as I don't really want to go through the whole 
production rollout cycle to implement a change that is only used in the 
development environment.

I know that we should be able to acheive this in jBoss v5 but again that is not 
really an option at the moment.

Thanks

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

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


---
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - b2b doc/lit WS app = very cool

2005-05-27 Thread jobor
Hello,

I was triggered by the statement of Thomas Diesler believing in the future of 
doc/lit style. So I wanted to get it to work in JBoss 4. I managed to get an 
example working following the instruction on the WIKI.
But I did not like to implement the wrapped method and the extra surrounding 
element in my SOAP body.

Now I did implement the doc/lit style but without "wrapped" class as proposed 
on the WIKI pages.
The only thing I did was to make my WSDL file by myself. I also did make a 
separate XSD file for the types section.
I used wscompile to generate some beans from the WSDL file.
Now you can use a clean SEI. You don't have to implement a sort of wrapped 
method in the SEI.
What I found was, do not make the name of the operation the same as the name of 
the element used in the input element. This is a sort of special case in WSDL. 
But this happens when you generate WSDL with wscompile from a SEI class.
I also implemented the "clean" method in a session bean.
JBoss isn't complaining due to WSDD file. And you don't have the extra element 
anymore in your SOAP body. You just sent a "PurchaseOrder" in the SOAP body and 
not a "submitPurchaseOrder" with in it a "PurchaseOrder".

Maybe it is a good idea to put my example step by step on the WIKI?
(I don't know how to do that at the moment)

I'm very very, VERY happy.

Johan


The WSDL file (by hand)

  | 
  | http://www.vda.nl/pc/production/order"; 
  | xmlns:tns="http://www.vda.nl/pc/production/order"; 
  | xmlns="http://schemas.xmlsoap.org/wsdl/"; 
  | xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
  | xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"; 
  | xmlns:ns1="http://www.vda.nl/pc/production/order/type";>
  | 
  | http://www.vda.nl/pc/production/order/type"; 
  | 
xmlns:tns="http://www.vda.nl/pc/production/order/type"; 
  | 
xmlns:soap11-enc="http://schemas.xmlsoap.org/soap/encoding/"; 
  | 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
  | xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"; 
  | xmlns="http://www.w3.org/2001/XMLSchema";>
  | http://www.solcon.nl/jborchers/ProductionOrder.xsd"/>
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | http://schemas.xmlsoap.org/soap/http"; 
style="document"/>
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 

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

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


---
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Schedule MDB

2005-05-27 Thread amitvyavahare
Hello,
 I want to know if I can Schedule a MDB to receive message only after some 
duration (Say evry one hour).
  Can any one help me out in this.

regards
Amit

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

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


---
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: Sequence of Entity bean deployment

2005-05-27 Thread amitvyavahare
I am using the post table create tag,
I execute a query to create a foreign key relation ship with unique key field 
of other table.
So unless and untill the other table is also created i cannot create this 
relation ship.



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

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


---
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user