[JBoss-user] [Persistence & CMP/JBoss] - Re:

2004-07-23 Thread myname
And it works as expected. Thank you, Alexey!

3.2.5 seems very useable to me currently. Good job.

Volker

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

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


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - Re: WebApp deployment in JBoss 3.2.3 and 3.2.5

2004-07-04 Thread myname
Hi,

I found that in JBoss 3.2.4 and therefore also may be in 3.2.4 some functions will 
only work with a 1.4.x Java. This is in contrast to JBoss' statement on 1.3.1. May be 
you deployed on Java 1.3.1?

Volker

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

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


---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Unpredictable results with cache-invalidation and commit lev

2004-06-20 Thread myname
We are preparing our application for clustered deployment on V 3.2.4. So far 
everything seems to work fine when we are using commit level A and cache-invalidation: 
clustering works, invalidation messages are sent and confirmed as can be seen in the 
locks.

Nevertheless, not all bean instances seem to react on the invalidation messages and 
stick to their local state. We can come around this (at least in several tries), if we 
reduce max-bean-age to a low value (like 10). But we get several ctx-lock warnings 
then.

Those effects make me worry about the confidence I should have in our  clustered 
solution.  I checked my configuration several times against the payed documentation 
but I think that's all fine. 

If anyone could point me to possible error sources here or give me a hint how to 
investigate that further, I would be very pleased.

Volker

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

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


---
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Re:

2004-06-20 Thread myname
Alexey,

is that fix already available (and how to use it)?

Regards

Volker

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

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


---
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: LoadBalancePolicy with preferred server, how to implemen

2004-06-18 Thread myname
OK, found it myself. Reached out to far, trying to get that IP address.

It is much easier, just have to see it ...

Here is my solution, partial code of a copy of FirstAvailable.chooseTarget():
...
  |   if (targets.size() == 0)
  |  return null;
  | 
  |   String prefServer = System.getProperty("my.prefserver");
  |   if (prefServer != null) {
  |  // preferred server set, find server in targets and set it as target
  |  String serverName = null;
  |  Object targetObj=null;
  |  for (Iterator it = targets.iterator(); it.hasNext();) {
  | try {
  |targetObj = it.next();
  |JRMPInvoker_Stub ji = ((JRMPInvoker_Stub) targetObj);
  |serverName = ji.getServerHostName();
  |log.debug("Found server in cluster "+serverName);
  | } catch (Exception ex) {
  |log.error("Exception hit ", ex);
  | }
  | if (serverName.equals(prefServer)) {
  |log.debug("Set server! " + serverName);
  |this.electedTarget = targetObj;
  | }
  |  }
  |   }
  | ...
  | 

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

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


---
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: HANamingService Auto-discovery Issue (GET_ADDRESS)

2004-06-15 Thread myname
Try that one: http://www.jboss.org/index.html?module=bb&op=viewtopic&t=45361

Volker

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

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


---
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: problem with auto discovery - help required please

2004-06-15 Thread myname
You might have a chance with that one: 
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=45361.

Regards

Volker

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

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


---
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - LoadBalancePolicy with preferred server, how to implement?

2004-06-14 Thread myname
I have a jboss cluster (3.2.4) up and running. For performance reasons I would like to 
direct client access (SFSB) to only one of the servers. Can anyone please point me to 
a solution for that?

I started with a clone of FirstAvailable.java, but I'm hanging in retrieving the 
information from the targets (where a TCPEndpoint is given behind some refs) within 
the chooseTarget() method. My idea was to access the ip-address from the targets and 
compare it to a system property value denoting the preferred server. Obviously my rmi 
knowledge is to weak here.

Any help is highly appreciated

Volker

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

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


---
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Re: 3.2.4 CMP Bug

2004-06-10 Thread myname
I apologize, I assumed the fixes were in my build already ... this was incorrect.

It now works with A too.

Volker

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

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


---
This SF.Net email is sponsored by: GNOME Foundation
Hackers Unite!  GUADEC: The world's #1 Open Source Desktop Event.
GNOME Users and Developers European Conference, 28-30th June in Norway
http://2004/guadec.org
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Re:

2004-06-08 Thread myname
Francois,

yes you miss something. You might have a look at anonymous wrote : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=49002
and Adrian's comment 
anonymous wrote : Don't use commit option B. I know it is the default configuration, 
but it is stupid.
  | 

I do not agree with him, but it seems as if our remarks do not are not really aheard 
...

Regards 

Volker

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

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


---
This SF.Net email is sponsored by: GNOME Foundation
Hackers Unite!  GUADEC: The world's #1 Open Source Desktop Event.
GNOME Users and Developers European Conference, 28-30th June in Norway
http://2004/guadec.org
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Re: 3.2.4 CMP Bug

2004-06-08 Thread myname
Hello,

having a problem with CMP in 3.2.4 (June 4th 2004 Version). Looks like the one 
mentioned above, so I enter the same thread.

Setup is a CMR with a "campaignInstance" entity bean that has "agentInstance" entity 
beans as children. The code works fine using commit-levels B or C, but not with commit 
level A: 

Jboss tries to access the field "outputType" from an "agentInstance", whereas 
"outputType" is not used in the application at this point in time (and has not been 
used before). Other fields from the "agentInstance" shall be accessed. Then the error 
"Could not load field value: outputType" occurs.

anonymous wrote : 2004-06-08 18:08:01,340 DEBUG 
[org.jboss.ejb.plugins.cmp.jdbc.JDBCLoadEntityCommand.CampaignInstance] Executing SQL: 
SELECT startDate FROM SAM_CMP_RUNTIME WHERE (id=?)
  | 2004-06-08 18:08:01,340 DEBUG 
[org.jboss.ejb.plugins.cmp.jdbc.JDBCLoadEntityCommand.CampaignInstance] Executing SQL: 
SELECT startDate FROM SAM_CMP_RUNTIME WHERE (id=?)
  | 2004-06-08 18:08:01,350 DEBUG 
[org.jboss.ejb.plugins.cmp.jdbc.JDBCLoadEntityCommand.CampaignInstance] Executing SQL: 
SELECT stopDate FROM SAM_CMP_RUNTIME WHERE (id=?)
  | 2004-06-08 18:08:01,350 DEBUG 
[org.jboss.ejb.plugins.cmp.jdbc.JDBCLoadEntityCommand.CampaignInstance] Executing SQL: 
SELECT stopDate FROM SAM_CMP_RUNTIME WHERE (id=?)
  | 2004-06-08 18:08:01,350 DEBUG 
[org.jboss.ejb.plugins.cmp.jdbc.JDBCLoadRelationCommand.CampaignInstance] load 
relation SQL: SELECT id FROM SAM_AGT_RUNTIME WHERE (cmp_inst_id=?)
  | 2004-06-08 18:08:01,350 DEBUG 
[org.jboss.ejb.plugins.cmp.jdbc.JDBCLoadRelationCommand.CampaignInstance] load 
relation SQL: SELECT id FROM SAM_AGT_RUNTIME WHERE (cmp_inst_id=?)
  | 2004-06-08 18:08:01,370 ERROR [org.jboss.ejb.plugins.LogInterceptor] 
TransactionRolledbackLocalException in method: public abstract java.lang.String 
net.ehp.campaign.ejb.AgentInstanceLocal.getOutputType(), causedBy:
  | javax.ejb.EJBException: Could not load field value: outputType
  | at 
org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCCMP2xFieldBridge.getInstanceValue(JDBCCMP2xFieldBridge.java:179)
  | at 
org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCAbstractCMPFieldBridge.getValue(JDBCAbstractCMPFieldBridge.java:208)
  | at 
org.jboss.ejb.plugins.cmp.bridge.EntityBridgeInvocationHandler$FieldGetInvoker.invoke(EntityBridgeInvocationHandler.java:133)
  | at 
org.jboss.ejb.plugins.cmp.bridge.EntityBridgeInvocationHandler.invoke(EntityBridgeInvocationHandler.java:91)
  | at org.jboss.proxy.compiler.Runtime.invoke(Runtime.java:62)
  | at net.ehp.campaign.ejb.AgentInstanceCMP$Proxy.getOutputType()
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | ...
  | 

Any hints or fixes are highly appreciated.

Regards

Volker

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

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


---
This SF.Net email is sponsored by: GNOME Foundation
Hackers Unite!  GUADEC: The world's #1 Open Source Desktop Event.
GNOME Users and Developers European Conference, 28-30th June in Norway
http://2004/guadec.org
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: how to run several clusters on the same network

2004-06-08 Thread myname
Hi Peter,

I agree that it's a five minute job to do all the replacements. But: you will get 
errors like

anonymous wrote : [HASingletonController] Starting failed 
jboss.ha:service=HASingletonDeployer
  | javax.management.InstanceNotFoundException: Failed to find HAPartition with 
PartitionName=DefaultPartition 

It seems like the DefaultPartition is hardcoded there. Or is there an attribute I can 
set to direct HASingleton to the partition?

Regards

Volker

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

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


---
This SF.Net email is sponsored by: GNOME Foundation
Hackers Unite!  GUADEC: The world's #1 Open Source Desktop Event.
GNOME Users and Developers European Conference, 28-30th June in Norway
http://2004/guadec.org
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user