[JBoss-user] [JBoss AOP] - Re: DBC

2006-06-21 Thread fatbatman
Yes, it hangs with multiple threads.

Sorry I don't have time to look at this at the moment either, using dbc isn't a 
priority for us at the moment, I just wanted to make you aware of it.  

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3952514#3952514

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3952514

All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnkkid=107521bid=248729dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss AOP] - Re: Dynamically adding annotated aspect classes without

2006-06-17 Thread fatbatman
Hi,

I'm not sure if I'm doing something wrong in the way that I get the ClassFile 
object? but I'm getting some strange behaviour using this new feature.

Using the annotated-aspects test as a starting point I run the test specifying 
the classpath using -Djboss.aop.class.path=myclasspath - all works as expected.

I adjusted Driver.java it so it looks as below and removed 
-Djboss.aop.class.path from the JVM args.  The aspects are no longer added as 
expected.
If you remove the try-catch block around the POJO creation and method/field 
calls the method advice is added but not the ones for the contructor or field 
access.  No info/error message are thrown is either case.

public class Driver
  | {
  |public static void main(String[] args)
  |{
  |
  | try {
  | AspectAnnotationLoader aspectLoader = new 
AspectAnnotationLoader(AspectManager.instance());
  | 
aspectLoader.deployClassFile(getClassFile(MyAspect.class));
  | } catch (IOException e) {
  | e.printStackTrace();
  | } catch (Exception e) {
  | e.printStackTrace();
  | }
  | 
  | try{
  |   System.out.println(--- pojo constructor ---);
  |   POJO pojo = new POJO();
  |   System.out.println(--- pojo.method(); ---);
  |   pojo.method();
  |   System.out.println(--- pojo field write ---);
  |   pojo.field = 1;
  |   System.out.println(--- pojo field read ---);
  |   int i = pojo.field;
  | }catch(Exception e){
  | e.printStackTrace();
  | }
  |}
  | 
  | 
  | 
  | public static ClassFile getClassFile(Class clazz) throws IOException {
  | String tName=clazz.getSimpleName() + .class;
  | if (clazz.getPackage() != null) {
  | String tPackageName = clazz.getPackage().getName();
  | String tClassName = clazz.getSimpleName();
  | tPackageName = tPackageName.replace('.', '/');
  | tName = tPackageName + '/' + tClassName + .class;
  | } 
  | InputStream input = 
clazz.getClassLoader().getResourceAsStream(tName);
  | BufferedInputStream fin = new BufferedInputStream(input);
  | ClassFile cf = new ClassFile(new DataInputStream(fin));
  | return cf;
  | }
  | 
  | 
  | }


I ran all these tests within Eclipse and using the runtime instrumentor and 
latest code from jboss-head.

regards

James

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3951457#3951457

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3951457


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss AOP] - Re: Dynamically adding annotated aspect classes without

2006-06-17 Thread fatbatman
Its just dawned on me I need to prepare the objects for runtime instrumentation 
as in the dynamic-aop example using a jboss-aop.xml defined in the jvm args 
using -Djboss.aop.path=jboss-aop.xml.

?xml version=1.0 encoding=UTF-8?
  | aop
  | 
  |prepare expr=all(POJO)/
  | 
  | /aop


When I do that it works fine, but its was hard to find.

Thanks again for adding this feature. 


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3951469#3951469

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3951469


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss AOP] - DBC

2006-06-15 Thread fatbatman
Hi,

I'm getting some strange behaviour with the DBC annotations.
Things seems to behave differently when being called from different threads.  
I've adjusted the DbcTest class to illustrate what I mean by calling a dbc 
annotated method from within run() which is called by the 
ScheduledThreadPoolExecutor.  It seems to get stuck calling the dbc annotated 
method and will not get to the
System.out.println(end run()); line.

regards

James



  | /*
  |  * JBoss, Home of Professional Open Source
  |  * Copyright 2005, JBoss Inc., and individual contributors as indicated
  |  * by the @authors tag. See the copyright.txt in the distribution for a
  |  * full listing of individual contributors.
  |  *
  |  * This is free software; you can redistribute it and/or modify it
  |  * under the terms of the GNU Lesser General Public License as
  |  * published by the Free Software Foundation; either version 2.1 of
  |  * the License, or (at your option) any later version.
  |  *
  |  * This software is distributed in the hope that it will be useful,
  |  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  |  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  |  * Lesser General Public License for more details.
  |  *
  |  * You should have received a copy of the GNU Lesser General Public
  |  * License along with this software; if not, write to the Free
  |  * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
  |  * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
  |  */
  | package test.dbc;
  | 
  | import java.util.concurrent.ScheduledThreadPoolExecutor;
  | import java.util.concurrent.TimeUnit;
  | 
  | import test.dbc.java.Sorter;
  | import test.dbc.office.Computer;
  | import test.dbc.office.Developer;
  | import test.dbc.office.OfficeManager;
  | import test.dbc.stack.Stack;
  | import test.dbc.stack.StackImpl;
  | 
  | /**
  |  * 
  |  * @author a href=mailto:[EMAIL PROTECTED]Kabir Khan/a
  |  * @version $Revision$
  |  */
  | public class DbcTest {
  | 
  | OfficeManager officeManagerProperty;//Used within run
  | 
  | public DbcTest(String name) {
  | 
  | }
  | 
  | public static void main(String[] args) {
  | try {
  | new DbcTest(officetest).testOffice();
  | } catch (Exception e) {
  | e.printStackTrace();
  | }
  | }
  | 
  | 
  | public void testOffice() throws Exception {
  | System.out.println(** TEST OFFICE 
**);
  | OfficeManager officeManager = new OfficeManager();
  | 
  | Computer compA = officeManager.createComputer(comp A);
  | //officeManager.createComputer(comp B);
  | Developer kabir = officeManager.createDeveloper(Kabir);
  | 
  | officeManager.assignComputer(compA, kabir);
  | 
  | Developer bill = officeManager.createDeveloper(Bill);
  | 
  | Computer compB = officeManager.createComputer(comp B);
  | officeManager.assignComputer(compB, bill);
  | 
  | officeManagerProperty = officeManager;  
  | ScheduledThreadPoolExecutor executor = new 
ScheduledThreadPoolExecutor(1);
  | 
  | executor.schedule( new Runnable(){ 
  | public void run(){ 
  | System.out.println(in run());
  | 
officeManagerProperty.createComputer(fromrunnable);
  | System.out.println(end run());
  | } 
  | } , 5, TimeUnit.SECONDS);
  | 
  | 
  | /*  
  | try {
  | officeManager.createDeveloper(null);
  | if (true)
  | throw new Exception(Did not validate developer 
null name);
  | } catch (RuntimeException e) {
  | }
  | */
  | }
  | 
  | 
  | public void testStack() throws Exception {
  | System.out.println(** TEST STACK 
**);
  | Stack s = new StackImpl();
  | s.push(one);
  | s.push(two);
  | s.pop();
  | 
  | s.push(two);
  | s.push(three);
  | s.pop();
  | s.pop();
  | s.pop();
  | try {
  | s.pop();
  | throw new Exception(Did not validate empty stack 
before pop);
  | } catch (RuntimeException e) {
  | System.out.println(e.getMessage());
  | }
  | }
  | 
  | public void testJavaExpression() throws Exception {
  | System.out.println(** TEST SORTER 
**);
  | 
  | int[] unsorted = new int[] { 4, 1, 5, 3 };
  | Sorter.sort(unsorted);
  | 
  |   

[JBoss-user] [JBoss AOP] - Re: Dynamically adding annotated aspect classes without

2006-06-07 Thread fatbatman
Thanks for this, I haven't had a chance to play with it yet but hopefully will 
do next week.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3949615#3949615

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3949615


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss AOP] - Which jar for javaagent with EJB embedded/standalone

2006-06-07 Thread fatbatman
The latest distributions of the EJB standalone 
(jboss-EJB-3.0_Embeddable_ALPHA_8.zip) comes as 3 big jars.
If a try and use;

-javaagent:jboss-ejb3-all.jar 

I get;

Failed to load Premain-Class manifest attribute from jboss-ejb3-all.jar

If I use the jboss-aop-jdk50.jar from the AOP distribution its fine as long as 
this jar isn't also on the classpath with jboss-ejb3-all.jar, as in that case 
the AOP classes are included twice and things go a bit strange.  

Shouldn't we be able to call -javaagent:jboss-ejb3-all.jar ?

regards

James


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3949620#3949620

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3949620


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss AOP] - Re: The issue of DBC's postcondition

2006-06-07 Thread fatbatman
The Dbc stuff was the initial reason I started looking at JBossAOP, I think it 
looks really promising.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3949623#3949623

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3949623


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss AOP] - Re: Dynamically adding annotated aspect classes without

2006-05-26 Thread fatbatman
I see that AspectAnnotationLoader iterates through the list of FileInputStreams 
of the classes in the jboss.aop.class.path turning each one into 
javassist.bytecode.ClassFile before checking each one for annotations.

I think a public method on AspectAnnotationLoader that allows the user to do 
something like;

aspectAnnotationLoader.addAnnotatedClass(MyAnnotatedClass.class);

would be useful, for me at least :)

best wishes

James

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3946923#3946923

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3946923


---
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnkkid=107521bid=248729dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss AOP] - Dynamically adding annotated aspect classes without jboss.a

2006-05-24 Thread fatbatman
Hi,

I'm trying to use Aspects as the basis for a large number of unit tests in my 
test suite.  Its for a client server application.

Ideally I'd like to have a @Aspect class for each test that defines the 
relevant pointcuts for the test case using annotations, with some logic in the 
methods.
The trouble with this is that I need to define a different 
jboss.aop.class.path for each test.  This isn't ideal for running multiple 
tests in TestSuite.
Is there any way I can dynamically specify which annotated classes to use at a 
given point?  I could then do this in the setup of each unit test 
and remove them again in the tearDown.
 
Any other suggestions on how to structure this would be much appreciated

thanks in advance

James


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3946336#3946336

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3946336


---
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnkkid=107521bid=248729dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss AOP] - Dynamic AOP and @Dbc error

2006-05-23 Thread fatbatman
Hi,

If I use dynamic AOP and the Design by Contract @Dbc at the same time I get 
strange duplicate method error.  This only occur for class methods that are 
implementing an interface method but
the class method return type is overriding the method return type defined 
defined in the interface;

javassist.CannotCompileException: duplicate method: 
test$dynamicaop$MyClass$getObj$aop
 at javassist.bytecode.ClassFile.testExistingMethod(ClassFile.java:544)
 at javassist.bytecode.ClassFile.addMethod(ClassFile.java:528)
 at javassist.CtClassType.addMethod(CtClassType.java:1099)
 .

I'm running it within eclipse using loadtime instrumentation.  JVM args;

-Djboss.aop.path=META-INF/jboss-aop.xml -javaagent:lib/jboss-aop-jdk50.jar 
-Djboss.aop.verbose=true


Setup was based on the dynamic aop tutorial but I've stripped out what is not 
relevant;


Driver.java
public class Driver {
  |public static void main(String[] args) throws Exception {
  |   execute();
  |}
  |
  |public static void execute() {
  |   MyClass obj = new MyClass();  
  |}
  | }


MyObj.java
package test.dynamicaop;
  | 
  | import org.jboss.aspects.dbc.Dbc;
  | 
  | @Dbc
  | public class MyClass implements MyInterface {
  |  
  |  /*
  |   * Runs ok if method is - public Object getObj() {  return new MyObj();  }
  |   */
  |  public MyObj getObj() {  
  |   return new MyObj();
  |  }
  | }




MyInterface .java

  | package test.dynamicaop;
  | 
  | public interface MyInterface { 
  |  public Object getObj(); 
  | }


jboss-aop.xml 

  | ?xml version=1.0 encoding=UTF-8?
  | aop
  |prepare expr=all(test.dynamicaop.POJO)/
  | 
  |aspect class=org.jboss.aspects.dbc.DesignByContractAspect 
scope=PER_JOINPOINT
  |   attribute name=verbosetrue/attribute
  |/aspect   
  |
  |bind pointcut=execution(* [EMAIL PROTECTED]*(..)) OR execution([EMAIL 
PROTECTED]new(..))
  |   advice aspect=org.jboss.aspects.dbc.DesignByContractAspect 
name=invoke/
  |/bind 
  | 
  | /aop


Adjust the public MyObj getObj() method to public Object getObj() and its ok. 

regards

James




View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3945858#3945858

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3945858


---
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnkkid=107521bid=248729dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - MBeans when running as standalone?

2006-03-10 Thread fatbatman
Hi,

I need to write a unit test where a session bean connects to an MBean when 
running as standalone.  Is it possible to manually start the mbean server then 
register an mbean with it when in standalone mode? or is that beyond the scope 
of what is achievalable without the full JBoss server running.

Trying to call MBeanServerLocator.locateJBoss(); or similar when running as 
standalone throws an exception, as expected.

thanks in advance

James 

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3929276#3929276

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3929276


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - EJB3 Entity bean clustering

2005-12-16 Thread fatbatman
Hello all,

I'm a bit confused though about the extent to which ebj3 entity beans are 
clustered and updated.

Scenario.  
We have 2 JBoss servers in a cluster.  
An application running as an mbean in server1 gets old of a reference to an 
entity bean.  
It calls ref.getMyvalue() which returns original value.
A transaction on server2 of the cluster calls setMyvalue(new value) and 
persists the change.
Does calling ref.getMyvalue() on server1 now return new value ?  

thanks in advance

James

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3913168#3913168

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913168


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Dynamic class loading, SPI? advice please

2005-03-29 Thread fatbatman
Hello, 

I have a custom server that I run in JBoss within an MBean. This server needs 
to dynamically initialise certain objects seperate from the main core of the 
custom server. 
I tried to load these classes with using standard Class.forName(..) type stuff 
but I kept getting class loader errors when running within JBoss (3.2.6). 
How should I go about dynamically loading classes within an Mbean? The classes 
are likely to be bundled within different .jar files inside the MBean 
directory. Could I use the SPI, service provide interface? or if there a better 
method I should use. Any suggestions would be much appreciated as I'm not 
really sure what is the most JBoss way of solving this problem. 

best wishes 

James

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3871961#3871961

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3871961


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [J2EE Design Patterns] - Design advice, are Stateful session beans the answer?

2005-01-26 Thread fatbatman
Hello,

I'm looking for some design advice.  I'm using JBoss 3.2.5.  Here's my 
situation;


Users log into to the website (Tomcat within Jboss) to authenticate themselves.

When they do this a session bean is called which generates and stores a key for 
the user.  The key is returned to the user in html as a parameter for an 
applet.  The applet connects to a custom server(non-web, runs within Jboss) 
using the key to indentify themself.  The server queries 
the session bean to see which user the key belongs to, if any.
When a user logs off the website, or their Http session times out, their key is 
destroyed.

At the moment the user/key pair is stored in a Singleton object that's 
retrieved within the session bean by a getInstance() call.  This works fine for 
now as I'm only on one machine but will obviously fail when 
clustering across multiple machines as the JVM on each machine would have its 
own singleton object.

What should I do so that it will work with clustering across multiple machines? 
 
I could of course store the key in the database but this seems silly for 
temporary data.
Storing it in the HttpSession is not an option as the custom server needs to 
access it.

Can a Stateful session bean that's shared across the cluster help me?  I don't 
know much about them.
I wouldn't really need an instance for each user, just a KeyManager stateful 
session that had a user/key hashtable.  

Any advice would be much appreciated.

Thanks in advance

James


P.S.  Could TreeCache be of any use? Single Sign On (SSO)? I've heard these 
mentioned but I don't know anything more than their names.  Anything else??


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3863725#3863725

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3863725


---
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag--drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [HTTPD, Servlets JSP] - How do I get the basedir of a web application at runtime?

2004-11-19 Thread fatbatman
Hello,

How do I get the basedir of a web application at runtime?

thanks in advance

James

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3855712#3855712

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3855712


---
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [HTTPD, Servlets JSP] - Re: How do I get the basedir of a web application at runtime

2004-11-19 Thread fatbatman
...from within a servlet

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3855715#3855715

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3855715


---
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - Turning down Hibernate logging

2004-10-07 Thread fatbatman
Hello,

I'm using Hibernate with JBoss as an mbean.

I'm trying to turn the debug level for hibernate down, how do I do this?  

I've turned off displaying SQL by putting

false

into jboss-service.xml


But I still get lots of debug message like;

2004-10-07 08:06:34,905 DEBUG [net.sf.hibernate.impl.SessionImpl] Processing 
unreferenced collections
2004-10-07 08:06:34,905 DEBUG [net.sf.hibernate.impl.SessionImpl] Scheduling 
collection removes/(re)creates/updates
2004-10-07 08:06:34,905 DEBUG [net.sf.hibernate.impl.SessionImpl] Flushed: 0 
insertions, 0 updates, 0 deletions to 0 objects

How do  I turn these off?

Thanks in advance

regards

James



View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3850594#3850594

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3850594


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - Re: Turning down Hibernate logging

2004-10-07 Thread fatbatman


I added 

category name=net.sf.hibernate 
  priority value=INFO/ 
/category

to JBOSSDIR/conf/log4j.xml which seemed to do the trick

thanks anyway

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3850608#3850608

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3850608


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [HTTPD, Servlets JSP] - multiple virtual hosts

2004-09-13 Thread fatbatman
Hello,

I'm using Tomcat 5 on JBoss 3.2.5.

I am currently deploying a .war to mydomain.com by declaring in jboss-web.xml;

jboss-web
context-root//context-root
virtual-hostmydomain.com/virtual-host
/jboss-web

How can I also include www.mydomain.com with just a single page that redirects to 
mydomain.com.

I tried a few things none of which worked.

Thanks in advance

James

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3848021#3848021

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3848021


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM. 
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [HTTPD, Servlets JSP] - Re: multiple virtual hosts

2004-09-13 Thread fatbatman
I don't really have the time to setup apache at the moment, does anybody know if it 
can it be done in Tomcat/JBoss?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3848039#3848039

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3848039


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM. 
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [HTTPD, Servlets JSP] - Tiles/Struts with Tomcat 5 problem

2004-07-27 Thread fatbatman
Hello,

I recently upgraded to JBoss 3.2.5 and am trying to use Tomcat 5 instead of Jetty.

I can't seem to get Tiles in Struts working.

I keep get errors involving if (_jspx_meth_xxtagxx_vvmethvv(

such as;

C:\jboss-3.2.5\server\default\work\jboss.web\localhost\tiles-documentation\org\apache\jsp\examples\tiles\myPortalSettings_jsp.java:176:
 
_jspx_meth_html_select_0(javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.PageContext)
 in org.apache.jsp.examples.tiles.myPortalSettings_jsp cannot be applied to 
(org.apache.struts.taglib.html.FormTag,javax.servlet.jsp.PageContext)
if (_jspx_meth_html_select_0(_jspx_th_html_form_0, _jspx_page_context))

Plain Struts seem to work fine but not Tiles, including the examples included with  
1.1  1.2

Any suggestions, I'm completely stuck

thanks in advance

James


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3843353#3843353

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3843353


---
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=4721alloc_id=10040op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user