[JBoss-user] [Security & JAAS/JBoss] - Dynamic login page

2004-07-12 Thread Phantom
Hello. We use FORM based authorization. But it seems that to make login page dynamical is quite difficult. Let me explain a test case: Our web portal has several general modules and every module require authorization. Now to authorize user is redirected to common user page login.jsp, but it wou

[JBoss-user] [Persistence & CMP/JBoss] - Re: findByPrimaryKey fails, empty SQL SELECT command

2004-07-12 Thread morenito9000
Thank you mozheyko_d, now everything is ok :-) Moreno View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3841842#3841842 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3841842 --

[JBoss-user] [Security & JAAS/JBoss] - Re: (JBoss and JAAS)'s newbie...

2004-07-12 Thread batman
Sorry to tell it, but it doesn't work more... Allways this "Impossible de trouver une configuration de connexion"... In english: "Unable to find login configuration" Does it come from my .JAVA or from one of my .XML ? View the original post : http://www.jboss.org/index.html?module=bb&op=viewto

[JBoss-user] [Persistence & CMP/JBoss] - Re: Default Type Mapping for Oracle 10g

2004-07-12 Thread asteen
I have tried the mapping for Oracle9i. When i try using it, NUMBER(10)'s obtained as shorts but should be int's thus i get Numeric OverFlows. Adam View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3841840#3841840 Reply to the post : http://www.jboss.org/index.

[JBoss-user] [Persistence & CMP/JBoss] - Re: Default Type Mapping for Oracle 10g

2004-07-12 Thread loubyansky
Have you tried Oracle9i mapping? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3841839#3841839 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3841839 --- This SF.Net

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Error While deploying startup class to my application.

2004-07-12 Thread naveen26731
"naveen26731" wrote : Hi, I deployed a startup class. It is not displaying the Message given to attribute under user-service.xml file. Along with these i deployed service-ejb's also. When i started jboss Server i am getting javax.naming.NameNotFoundException: ConnectionFactory not bound error.

[JBoss-user] [Messaging, JMS & JBossMQ] - Error While deplouing startup class to my application.

2004-07-12 Thread naveen26731
Hi, I deployed a startup class. It is not displaying the Message given to attribute under user-service.xml file. Along with these i deployed service-ejb's also. When i started jboss Server i am getting javax.naming.NameNotFoundException: ConnectionFactory not bound error. Could any one please h

[JBoss-user] [JBoss Getting Started Documentation] - JBoss & FreeBSD

2004-07-12 Thread _yellow_cat
Hello! What about JBoss & FreeBSD, do JBoss works under this OS? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3841836#3841836 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3841836

[JBoss-user] [Management, JMX/JBoss] - default value of a XMBean attribute

2004-07-12 Thread yxyang
Hello I try to use XMbean to manage my application. First, i want to configure the default attribute value of my application. The dtd of xmbean specify that i can use "descriptors" subelement of a management attribute to set the default value. But after trying, it seems that when the xmbean is

[JBoss-user] [EJB/JBoss] - jar structure

2004-07-12 Thread s_k_tripathi
the exact structure of the jar file is-- /META-INF/jboss.xml,ejb-jar.xml /hello.test.HelloBean if anything else please help what the structure of the jar file View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3841834#3841834 Reply to the post :

[JBoss-user] shutdown order

2004-07-12 Thread Ittay Dror
hi, the new jboss shots down in a different order than before. first, beans are undeployed the, the web container is closed this means that if i have a ServletContextListener, then its contextDestroyed method is called after there are no more beans around. But, we use this as a hook for doing clean

[JBoss-user] [JBoss Getting Started Documentation] - error creating Duke Bank database table

2004-07-12 Thread geogeyi
Hi, I am trying to follow the Getting started document to run Duke Bank application. The compilation is ok, but when I try to create database table, I got the error : java.lang.NoClassDefFoundError: org/hsqldb/util/ScriptTool I check the build xml, the hsqldb jar file is in the xml. Anyone has s

[JBoss-user] [Beginners Corner] - configuring jboss for only one network interface

2004-07-12 Thread dbyrne
I have two network interfaces, one external and the other internal. I only want jboss to listen on the internal interface. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3841832#3841832 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posti

[JBoss-user] [Installation & Configuration] - Re: Port already in use - Jboss 3.2.3 Problem

2004-07-12 Thread oz_ko
I tried your solution and didn't have any luck. I don't know what your exact configuration is but you did mention (MS) Proxy 2.0 which turned on a light for me.. I traced my problem - which is exactly the same as yours - down to the Microsoft Firewall Client for Microsoft ISA. It would appear th

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: how to get the managed jms connectionfactory outside the

2004-07-12 Thread yxyang
It is ok, it is the problem of java:/JmsXA or java:/Jms. Because i just change the name JmsXA to Jms. Ok, you just assume that it java:/JmsXA. Actually, i just modified the jndi name to java:/Jms and also modify other place e.g., loginxml etc. It is not related to this. I tested both java:/

[JBoss-user] [Persistence & CMP/JBoss] - Default Type Mapping for Oracle 10g

2004-07-12 Thread asteen
I have searched the JBoss Documents, the internet, these forums and others but i can't find a default type mapping for Oracle 10g or info on developing a type mapping without resorting to trial and error. If anyone can point me in the direction of an Oracle 10 default type mapping or informatio

[JBoss-user] [HTTPD, Servlets & JSP] - Re: appBase attribute in Host tag

2004-07-12 Thread stiphout
I, too, would love to have this be possible! I have several virtual hosts set up using the same JBoss server, and as it is, I have no way of indicating a default app for each; I've had to write a universal appdispatch.war that implements only one simple servlet that looks at the hostname and fo

[JBoss-user] [Management, JMX/JBoss] - NoClassDefFoundError deploying MBean when class is in same S

2004-07-12 Thread chudak
I have an MBean that I was deploying successfully on 3.2.2. I've had to switch to 3.2.5 to fix a CMP problem that I am having and now my MBean won't deploy. My MBean implementation class throws an exception and that exception is packaged in the same SAR as the MBean code. I'm not using classload

[JBoss-user] [Security & JAAS/JBoss] - Re: RMI Invoker Adaptor Security

2004-07-12 Thread rufusness
Thanks Scott. I was using 3.2.3 and couldn't figure out how to do it. BTW we do have the pay documentation. Thanks! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3841825#3841825 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JBossMQ, JMS Message in transaction?

2004-07-12 Thread iamapony
Found the answer, you have to use the java:/JmsXA JMS Provider Resource... More information and sample code in link below. http://www.jboss.org/wiki/Wiki.jsp?page=JmsSenderBean View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3841824#3841824 Reply to the post :

[JBoss-user] [Security & JAAS/JBoss] - Embedded Tomcat/JBOSS principal=null exception

2004-07-12 Thread auckyboy
I have been able to successfully get JAAS to work around my application. I can invoke the EJBS from stand alone clients and stand alone tomcat server instances. If i try to invoke it within tomcat embedded in JBOSS, it gives me an error. principal=null I'd really appreciate any help coz its dr

[JBoss-user] [Nukes User] - Renaming a file id

2004-07-12 Thread lockvogel
I have a file with file id "/file1.html" which has a HTML link to "/file2.html" where "/file2.html" is also a valid file id. Everything is fine. But when I rename file id "/file2.html" to "/file3.html" and the click on the link in "/file1.html" I get the error message "The file id is not indicat

[JBoss-user] [Installation & Configuration] - Mapping vitual servers to .war files

2004-07-12 Thread stiphout
Hi all -- Ok, so I have an ISP that's set up to give me three domains on one IP. Apache has virtual hosts set up for each of them in the httpd.conf file, and I have a .war for each of them, ready to go. For instance, domain1.com has domain1.war, domain2.com has domain2.war, etc. Problem is, b

[JBoss-user] [JBoss.NET & SOAP] - Re: Exception:: Cannot invoke Call with null namespace URI f

2004-07-12 Thread arielah
Sorry, this is the full file: | http://xml.apache.org/axis/wsdd/"; | targetNamespace="http://localhost:8080/axis/services/Axis"; | xmlns:java="http://xml.apache.org/axis/wsdd/providers/java";> | | | | http://localhost:8080/axis/services/Axis"/> | | | |

[JBoss-user] [JBoss.NET & SOAP] - Exception:: Cannot invoke Call with null namespace URI for m

2004-07-12 Thread arielah
I'm getting this exception when I deploy my Session EJB to axis: Exception:: Cannot invoke Call with null namespace URI for method deployment This is deploy.wsdd file, could anyone tell me what am I missing? http://xml.apache.org/axis/wsdd/"; targetNamespace="http://localhost:8080/axis/

[JBoss-user] [Installation & Configuration] - missing jbosscmp-jdbc_4_0.dtd

2004-07-12 Thread mherv
When I tell MyEclipse that I am using jboss 4.0 in the xdoclet parameters, it issues an xml file named jbosscmp-jdbc.xml with the following descriptor : http://www.jboss.org/j2ee/dtd/jbosscmp-jdbc_4_0.dtd";> After that the generation of the ejb will fail because the dtd is missing into the jboss

[JBoss-user] [Security & JAAS/JBoss] - Custom login + container security for ejbs ?

2004-07-12 Thread elaineqs
Hi, I want to implement a secure web application without to use the web.xml's security constraints. My servlet can be accessed by authenticated and unauthenticated users. When the login is requested, my servlet receives username and password from a html login page, creates a UsernamePass

[JBoss-user] [JCA/JBoss] - Duplicate transaction Id seen with SQL Server

2004-07-12 Thread chalakanth
Hi, We have implemented some distributed transactions with JBoss 3.2.3 over a SQLServer 2000 database. There is the Microsoft SQLServer JDBC driver and the JBoss default Transaction Manager in between. Now and then we see this error. WARN [org.jboss.tm.TransactionImpl] : XAException: tx=

[JBoss-user] [EJB/JBoss] - Re: EJB Client hangs while performing context lookup

2004-07-12 Thread grim81
I temporary solved the problem by changing to redhat 9 ... i dont know what exactly the difference is. im also using the same jdk. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3841806#3841806 Reply to the post : http://www.jboss.org/index.html?module=bb&op=

[JBoss-user] [Installation & Configuration] - Re: how to configure xDoclet on mac os x panther?

2004-07-12 Thread leonzhao
Maybe I cannot give any input at all? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3841805#3841805 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3841805 --- This SF

[JBoss-user] [HTTPD, Servlets & JSP] - jboss 3.2.3 cleans out the compiled jsp's

2004-07-12 Thread sfryxell
every time i stop and restart jboss it removes all of the compiled jsp's from the ${jboss.root}/server/default/work directory. this is a huge headache during development as i don't want to recompile all my jsp page evertime i restart the server. is there any way to disable this "feature" than

[JBoss-user] [JCA/JBoss] - Re: setting JBossManagedConnectionPool attributes for oracle

2004-07-12 Thread gmsasu
Thanks Adrian. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3841802#3841802 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3841802 --- This SF.Net email sponsored by

[JBoss-user] [Installation & Configuration] - how to configure xDoclet on mac os x panther?

2004-07-12 Thread leonzhao
I installed eclipse(+jbossJDE) on Mac os X panther. I followed the tutorial of eclipse and found that though I can locate the XDoclet Page on the property of project after I open the Package Explorer view and open the java perspective, I cannot edite the XDoclet configurations. Is that a bug o

[JBoss-user] [Beginners Corner] - JBoss classloader issues (runtime class loading)

2004-07-12 Thread gifs71
Hi, I am using JBoss 3.2.4 for deploying our app in an exploded ear format. Now at runtime, our app generates some Java classes on-the-fly and tries to load the resulting classes generated under some package. But the class loading fails because the loader cannot find the classes. The classloade

[JBoss-user] [Clustering/JBoss] - Re: to cluster or to load balance without clustering?

2004-07-12 Thread tomerbd
Hi... Well... I got the answer... Clustering gives me much more possibilities... :) So i'll go for clustering... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3841800#3841800 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=repl

[JBoss-user] [Nukes User] - Re: Upload file in HTML module (not outofmemory error)

2004-07-12 Thread cooper
what's your database ? if it's mysql you may have to increase the size of the max length for a blob View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3841799#3841799 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3841799

[JBoss-user] [Clustering/JBoss] - to cluster or to load balance without clustering?

2004-07-12 Thread tomerbd
Hi I'm going to have for my production two solaris machines. I'm going to have ejb's stateless + entity . Should I cluster jboss among two machines? or simply put two copies of jboss on two machines and load balance them? View the original post : http://www.jboss.org/index.html?module=bb&op=vi

[JBoss-user] [Nukes User] - Upload file in HTML module (not outofmemory error)

2004-07-12 Thread arnaud.tessier
hi, I try to upload file more than 1 Mo. After the upload the screen is white and the page is not in the database. I don't see any "outofmemory" error ( the memory size of the VM was changed), the max size for upload is set to default (8Mo I think). An idea ? Thanks View the original post

[JBoss-user] [O'Reilly JBoss 3.0 Workbook] - Re: ex 12_1 public abstract getHomeAddress() auto generated

2004-07-12 Thread Bill Burke
Customer is a CMP bean. You'll see in ejb-jar.xml that cmp-fields are defined. This abstract method corresponds to a cmp-field. At deployment time, JBoss automatically generates an implementation of your CMP bean. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: HTTP/SOAP Connector

2004-07-12 Thread genman
A simple alternative to writing a transport would be to create a Message Driven Bean (MDB) that calls your platform using SOAP calls. All the transports (including HTTP) all use Java object serialization for message passing, which isn't C++-friendly. View the original post : http://www.jboss.

[JBoss-user] [JBoss Getting Started Documentation] - annot edit xDoclet configurations problem(eclipse + mac os x

2004-07-12 Thread leonzhao
I installed eclipse(+jbossJDE) on Mac os X panther. I followed the tutorial of eclipse and found that though I can locate the XDoclet Page on the property of project after I open the Package Explorer view and open the java perspective, I cannot edite the XDoclet configurations. Is that a bug of ec

[JBoss-user] [O'Reilly JBoss 3.0 Workbook] - ex 12_1 public abstract getHomeAddress() auto generated or p

2004-07-12 Thread icheung
I found in ex12_1 the com.titan.customer.CustomerBean.java have a public abstract AddressLocal getHomeAddress(); I do not see any implementation of it , does the jboss server automatically generate the body for this method, if so how did jboss figure out this method should be generated, I donÃ

[JBoss-user] [O'Reilly JBoss 3.0 Workbook] - Re:

2004-07-12 Thread icheung
I found the exact same problem and are asking a question to oreilly and will post the finding here. Ivan View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3841792#3841792 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3841

[JBoss-user] [Security & JAAS/JBoss] - Re: createTopicConnection by using the default user identity

2004-07-12 Thread osganian
Sorry didn't put around code brackets. | | | | | | | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3841791#3841791 Reply to the post : http://www.jboss.org/index.html?module=bb&op=

[JBoss-user] [Security & JAAS/JBoss] - createTopicConnection by using the default user identity

2004-07-12 Thread osganian
I have a Topic that defined some security roles for accessing like: ... ... In my code I want to be able to call: connectionFactory.createTopicConnection() [without any username/password arguments] to

[JBoss-user] [Security & JAAS/JBoss] - Secure Communication Methods

2004-07-12 Thread faygo
I am new to J2EE and JBoss. I have been able to build an client application that uses RMI and JAAS to interact with a JBoss server. I need to secure the data being passed between the client and server (important customer data) but haven't been able to find a good example on how to do this. I

[JBoss-user] [Installation & Configuration] - [Tomcat]NoClassDefFoundError: org/apache/catalina/Context

2004-07-12 Thread Kleb
I have these error when I run JBoss | >>> | 21:59:43,249 INFO [MainDeployer] Deployed package: | file:/Users/bj/jboss-3.0.3_tomcat-4.1.12/server/default/deploy/tomcat41-service.jar | 21:59:43,293 ERROR [URLDeploymentScanner] Failed to deploy: | [EMAIL PROTECTED] | url=fi

[JBoss-user] [JBoss.NET & SOAP] - Re: Authorization problem using .net client

2004-07-12 Thread nehring
I just spent about 5 painful hours working through various combinations or tags, looking at the JBoss wiki, and eventually the source code for JBossAuthenticationHandler and the contents of jboss-net_ejb_xml.xdt in the xdoclet-module-jboss-net.jar that I have. Turns out that my xdoclet-module-j

[JBoss-user] [Advanced Documentation] - Need help with the example code of jbossBook-3.2.3.zip

2004-07-12 Thread zhangs
Hi there, Now I am working on the Jboss dynamic ql programming and couldn't figure out the syntax correctly. I know there are some examples in the example code. So could you send me a copy to my email: [EMAIL PROTECTED] ? I will really appreciate your help. thanks! Randy View the original pos

[JBoss-user] [Installation & Configuration] - loading a property file from current classloader

2004-07-12 Thread tomerbd
Hi I a jar of ejb's I want to perform some configuration to them therefore i have a property file, now i'm able to load the properties inside my beans from this property file if i added it to the classpath, however i would like to have a way not to add them to the classpath and to read them I