Hi all,
After JBoss start complete, you can try again in your browser !
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187996#4187996
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187996
___
Hi!
I have used anonymous wrote : jboss-4.0.5.GA, EJB 3.0, Windows XP SP2.
The Jboss screen mean, after I start Jboss success (double click run.bat
from jboss-4.0.5.GA\bin\run.bat). I want to hide it (or show it if I need). Can
I do that ?
Thanks.[/url]
View the original post
Hi all!
I succeeded in starting server and deploying my beans. And now, Can I hide
jboss screen (and free hide or show it). By the way, after I start Windows,
Jboss can run as any services of Windows ?
Thanks.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopi
If you use Eclipse to create EJB app. Inside your EJB project has
jndi.properties. Go to and edit it:
change your jndi.prpperties to
...
| java.naming.provider.url=jnp://localhost:1099
You also use InitialContext to edit connection to any urls.
View the original post :
http://www.jboss.com/i
Hi all!
I use "jboss-4.0.5.GA" and EJB3.0.
My client is standard alone. I use DatabaseLoginModule to authenticate a
particular client.
When the client login success, I can get some informations such as username
and role.
Can the server maintain connection between clients and serv
Hi !
Thanks very much. I solved my problem.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4094350#4094350
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4094350
___
jboss-us
But my design is:
On the Server1, I have the bean called BeanA. It's simply:
@Remote
| public interface Check {
| public boolean isValid(double a, double b);
| }
and bean class:
public @Stateless class CheckBean implements Check {
|
| public boolean isValid(double a, doub
Hi all !
I use jboss-4.0.5.GA, EJB 3.0.
I have installed JBoss server on two difference machines.
anonymous wrote : On the first machine, I have a bean called BeanA (has a
method called hello()). ---> BeanA was deployed on the first machine
| On the second machine, I have a bean called
From your guide, I think I must configure EJBContainer to limit the number of
clients connect to my EJBs. Am I right? If, so how I can configure ? Please
guide to me!
Thanks.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4091781#4091781
Reply to the post
Hi all!
I use anonymous wrote : jboss-4.0.5.GA and EJB3.0
I want restrict number of clients connect with JBoss server (example: 10
clients not 11).
From some guides, I must configure file server.xml inside anonymous wrote :
server/default/deploy/jboss-web.deployer/server.xml. But I di
My application is not web app. The version of JBoss that I have used:
anonymous wrote : jboss-4.0.5.GA and EJB3.0.
As you said, I did not see file /server.xml for my version 4.0.5.GA.
Please guide me to solve my problem
Thanks very much.
View the original post :
http://www.jboss.com/ind
Hi all!
I want restrict number of client connect with JBoss server (example: 10
clients not 11).
If JBoss support, show me where I can do this, please ?
Thank all!
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4090542#4090542
Reply to the post :
htt
Hi !
Thank you very much.
Good luck.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4084798#4084798
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4084798
___
jboss-user mai
Hi all!
I am beginner about JMS. I show org.jboss.mq.server.jmx.DestinationManager
and I want configure it. I'll configure DestinationManager inside:
deploy\jms\jbossmq-service.xml ---> am I right ?
Thanks!
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4
Hi all!
I were posted my problem but not solved! I read article:
http://wiki.jboss.org/wiki/Wiki.jsp?page=Log4jSocketServer
I were configured JBoss Server inside conf/jboss-service.xml.
So, on the client side, I not need add log4j.xml and I can edit file
log4j.xml inside conf/log4j.xml ?
Hi !
The first client:
my.com.BeanA
The second client:
john.com.BeanA
I were tried:
InitialContext ctx = new InitialContext();
| my.com.BeanA bean = (my.com.BeanA)ctx.lookup("BeanABean/remote");
| bean.hello(); ---> Ok!
but:
InitialContext ctx1 = new InitialContext();
| john.co
Hi all!
I use jboss-4.0.5.GA and EJB3.0
I write two beans that have same name (called BeanA). Example:
anonymous wrote : Inside package: my.com has a bean called BeanA and exported
to "my.jar"
| Inside package: john.com has a bean called Bean A and exported to "john.jar"
I deployed two jars fol
Hi!
Assume that both of clients call lookup method:
BeanA bean = (BeanA)context.lookup("BeanABean/remote");
| bean.add(1,2);
The first of client is ok, but the second of client is fail and received some
errors:
.anonymous wrote : Exception in thread "main" java.lang.ClassCastException:
$P
Hi all !
Thanks about your guides. I solved my problems.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082471#4082471
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082471
Hi all!
I use anonymous wrote : jboss-4.0.5.GA, EJB3.0 XP_SP2
I use anonymous wrote : Log4jSocketServer and SocketAppender to log some
request from clients to server. (Example both of server and client is the same
machine, and host name: pc6 and has IP is: 192.168.1.228 ).
Ok, inside server\defau
Hi all!
I use jboss-4.0.5.GA and EJB3.0
I write two beans that have same name (called BeanA). Example:
anonymous wrote :
| Inside package: my.com has a bean called BeanA and exported to "my.jar"
| Inside package: john.com has a bean called Bean A and exported to
"john.jar"
I deploy
Hi all!
I want log some requests to database (example mySQL), so JBoss has support a
certain Appender ?
Thanks!
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082378#4082378
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=re
Hi all!
Some warning that I received from client. But has a problem that I
understand. If my client is EJB project, I will receive this warning. But if my
client app is Java project, I not receive some warning!
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&
Hi all!
I begginer with Log4j, and I have a problem that I need help:
I use:
anonymous wrote : jboss-4.0.5.GA, EJB3.0
I have a bean (called RecordBean):
anonymous wrote : ...
| private static final Logger myLogger = Logger.getLogger(RecordBean.class);
|
| public void add(int nu
1. If you need ejb-jar.xml, you can add it into your app.
2. You add SecurityDomain into jboss.xml. Ex:
anonymous wrote : MyDomain
3. Enter the jboss-install-dir>/server/default/conf to add your SecurityDomain
(MyDomain).
Hope this helps. Regards.
View the original post :
http://www.jboss.com
I don't sure that I understand your problem. "system" is a role that you
declared in code. If SecurityDoamin is valid, all things are Ok.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081150#4081150
Reply to the post :
http://www.jboss.com/index.html?module
Hi!
1. I declared SecurityDomain (ex: ClientDomain) inside jboss.xml file. And
then, I package my bean to jar file (ex: myBean.jar).
2. The Stranger get it (myBean.jar), he can extract it. And he can see all
things in jboss.xml file. (Here, I know SecurityDomain that I declare).
I understan
Hi!
Thanks! I exported my project to Jar file (same as Java project) and it work
fine! But I think that if I created a Java project and then I export Jar file,
I must copy some libraries of EJB and edit ClassPath.
Have a way can more quickly ?
View the original post :
http://www.jboss.com/i
I think that @SecurityDomain annotation can resolve this problem. You can
declare it in your code or XML configuration file. Then, you edit
login-config.xml inside xxx/server/conf.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4080687#4080687
Reply to the po
Hi !
I declared SecurityDomain in XML configuration file. But my problem is: If
the stranger has my bean. And he can extract it, and see XML configuration file
and know SecurityDomain (and he can edit file login-config.xml on machine). How
way to set he can't deploy my bean on his machine
Hi all!
I use anonymous wrote : jboss-4.0.5.GA, EJB3.0, Windows XP SP2.
If the stranger get my beans and paste his "deploy" folder on his machine
-->> all things are ok (mean is bean will deployed !)
Jboss has support some options to me can set up to the stranger can't deploy
my beans if h
Hi all !
Sorry! Because my English is not good.
Ok. I writed a bean (called "myBean"). And then, I write a client application
that use (import) myBean. All things are Ok.
Now, I use Export command to export all things (myBean and my client
application) to "EJB Jar file". But on the Export G
I want add some informations:
I use DatabaseServerLoginModule to authenticate users. Jboss supports some
options to me can solve my problem above ?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4079444#4079444
Reply to the post :
http://www.jboss.com/i
Hi all!
I use anonymous wrote : "jboss-4.0.5.GA", EJB 3.0.
I have a problem that need help: My application allows multi-client access
at the same time. But now, I want set up:
anonymous wrote : If a client, called John, use his account (ex: called
johnA). And at this time, Anna also want
Hi all!
I use jboss-4.0.5.GA, EJB 3.0
I writed a EJB project by Eclipse. Then, I have a client application. My
works are ok! Now want export my EJB project to EJB Jar file. But I can't.
I need some documents about it. Please help me.
Thanks very much.
View the original post :
http://
Hi all !
I use:
anonymous wrote : 1. jboss-4.0.5.GA
| 2. Eclipse to edit my code (bean and GUI).
I have a bean, called : anonymous wrote : myBean.
And, I write a Client application (use GUI-Swing). All thing ok !
But now, I want Export all things to "EJB Jar file" and
Hi all !
Inside my bean, I use type List. Example:
public void createMedicalHistory(List info);.
After, I declare inside my ejb-jar.xml:
java.util.List(mypackage.MedicalHistory)
But, Jboss show:
anonymous wrote : java.lang.ClassNotFoundException: No ClassLoaders found for:
List(mypack
Hi all !
Inside my bean, I use type List. Example:
public void createMedicalHistory(List info);.
After, I declare inside my ejb-jar.xml:
java.util.List(mypackage.MedicalHistory)
But, Jboss show:
anonymous wrote : java.lang.ClassNotFoundException: No ClassLoaders found for:
List(mypack
Hi all!
I use jboss-4.0.5.GA, EJB 3.0. I have a problem with declare permissions in
ejb-jar.xml file:
I have a BeanA, and it has method
public void print(myObject tmp);
So, inside my ejb-jar.xml, how I declare print method ?
|Physician
|
|BeanA
| print
Hi all!
I write GUI to client can enter:
username and
password.
After, a client login and logout by:
LoginContext loginContext = new LoginContext("userTest", loginForm);
|loginContext.login();
|...
|loginContext.logout()
Then, if this client relogin. How I
Hi all !
I read CachingLoginCredentials at
http://wiki.jboss.org/wiki/Wiki.jsp?page=CachingLoginCredentials.
I set DefaultCacheTimeout = 0 but I have a problem is: I allow clients can
change password. So after that, if Client A was changed password and call a
method of a bean ---> Authent
Hi all !
I use jboss-4.0.5.GA and EJB3.0.
On the server side, I use DatabaseServerLoginModule. And on the client
side, I user ClientLoginModule.
Every time, the Client A want to log-in application, he must enter username
and password.
I want design that: every time, client A log o
Hi all!
Thanks ! I solved my problem.
Good luck to all.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4056304#4056304
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4056304
__
Hi all!
I have a problem when I authenticate the user. I use JBoss-4.0.5.GA, EJB3.0.
I use the DatabaseServerLoginModule to authenticate a user. Here, I only test
isCallerInRole method to receive true or false.
The first, when I run my app (example: username is Jack that has role is
doctor
Hi all!
I use Jboss 4.05 and EJB 3.0 and use DatabaseServerLoginModule.
I were created two tables "Users" and "UserInRoles". In my tables, have two
user
user1 has two roles: Manager and Physician
| user2 has one role: Physican
Manager has two permissions (methods): write and read
| Physi
Hi all!
I have a problem that I need some helps from any one. I has a declare:
| @EJB
| private MyBean bean;
|
| > a new instance was created (automatically)?
Thanks and good luck today!
View the original post :
http://www.jboss.com/index.h
If I place my ejb-jar.xml file inside .\bin is I can get some data that I need!
The question that I want ask is rigth ? (place it inside bin folder on Server?)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4035654#4035654
Reply to the post :
http://www.jboss
Hi all !
I write a bean called "ReadXMLBean" to read some data from ejb-jar.xml and give
to client to show on screen. So, where folder that I must ejb-jar.xml file ?
Thanks!
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4035652#4035652
Reply to the post :
Hi!
anonymous wrote : 1. My operating system is XP2, I use jboss-4.0.5.GA. I assume
that have three person with usernames are "A", "B" and "C". And now, I want "A"
and "B" are allow restart JBoss server, "C" is not allow! How I can do ?
---> I installed JBoss server, and I only want the specific
Hi all!
I have two problems that need some helps from anyone:
1. My operating system is XP2, I use jboss-4.0.5.GA. I assume that have three
person with usernames are "A", "B" and "C". And now, I want "A" and "B" are
allow restart JBoss server, "C" is not allow! How I can do ?
2. I have two bea
Hi all!
I have two problems that need some helps from anyone:
1. My operating system is XP2, I use jboss-4.0.5.GA. I assume that have three
person with usernames are "A", "B" and "C". And now, I want "A" and "B" are
allow restart JBoss server, "C" is not allow! How I can do ?
2. I have two bea
Hi all!
I have two problems that need some helps from anyone:
1. My operating system is XP2, I use jboss-4.0.5.GA. I assume that have three
person with usernames are "A", "B" and "C". And now, I want "A" and "B" are
allow restart JBoss server, "C" is not allow! How I can do ?
2. I have tw
Hi all!
Thanks Jaikirain! Your explains are very helpfull for me and everyone that
want discovery about JBoss. Two day ago, I have two problems and I posted they
on Forum but not received reply. I hope that you can explain and help me about
they again.
1. My operating system is XP2, I use
Hi !
But when I use UserRoleLoginModule, I writed my login-config.xml. And all
things ok! (DatabaseServerLoginModule is not success!).
Thanks.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4024804#4024804
Reply to the post :
http://www.jboss.com/index
Hi all!
I have two problem that I need some helps from anyone!
1. My operating system is XP2, I use jboss-4.0.5.GA. I assume that have
three person with usernames are "A", "B" and "C". And now, I want "A" and "B"
are allow restart JBoss server, "C" is not allow! How I can do ?
2. I
Thanks jaikiran!
I solved my problems! But I wondered that: If I write my login-config.xml:
|
|
|
|
|
| guest
| java:/DefaultDS
| SELECT PASSWD FROM
USERS WHERE USERID=?
| SELECT ROLEID, 'Roles' FRO
Hi all!
Today, all things are ok (they worked!). My project is EJB3.0. Inside folder
\server\default\conf, I add some informations:
|
|
| guest
| java:/DefaultDS
| SELECT PASSWD FROM
USERS WHERE USERID=?
| SELE
Hi!
I have same problem. I wonder that some informations that user entered
(username and passwd) were encoded ? Some informations that get from mySQL is
plain text ! So they can't match !
Have any ideal ? Thanks!
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewto
I wonder that some informations (username and passwd) that user enter and
informations that Jboss server get from mySQL were encoded ? So, they not match
! Have any ideals ?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4024515#4024515
Reply to the post :
h
Hi everyone!
I have a problem that I can't solve. I have two machines with hostname is
"A" and "B". On A, I installed mySQL and create the database is "mydatabase"
and two tables are "Roles" and "Users"
Also on A, I installed JBoss Server (jboss-4.0.5.GA), and I select database is
mysql. Fil
Hello world!
I have a same problem! Have any ideals ?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4018048#4018048
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4018048
___
Hi all!
Please help me !!!
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=100996
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4015533#4015533
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4015533
Hi!
Previous, I tested the UsersRolesLoginModule inside the jboss.xml. I also
java:/jaas/DB-Domian but not effect. Then, I
try used DB-Domain, all things ok.
Now, I also by your way is
java:/jaas/DB-Domian and
DB-Domain but not effect !
I don't use web server. I write a simple bean
Hello world !
Today, I try all things again but I also failure.
When I install JBoss server, I selected mysql and DataSource name is:
DefaultDS, and I created "mydatabase" that include Users and Roles. My code on
the client have contents:
-
LoginContext lc = new LoginContext("userT
Hi all !
Yes! And it's wrong (I read some documents today). The main problem is
inside my jboss.xml, all things not effect (and DatabaseServerLoginModule not
effect).
JBoss server and mySql installed on the same machine (ex: hostname is
"violon"), on the other machine (ex: hostname is "abc
Hi all !
I am using jboss-4.0.5.GA. I install MySQL and JBoss Server on the same
machine. When I install JBoss server, I select mysql, so I need only copy
driver "mysql-connector-java-3.1.14-bin.jar" to ..\server\lib and don't need
edit file hsqldb-ds.xml (inside ..\server\default\deploy). Am
Hi all !
I create my database by MySQL on the server side called "MyDB".
My login-config.xml:
.
java:jdbc/MyDB
select passwd from Users where username=?
select userRoles, roleGroups from UserRoles where
username=?
Hi all !
On the client, I write:
String path =
Test.class.getProtectionDomain().getCodeSource().getLocation().getPath();
if (path.endsWith(".jar"))
path = path.substring(0, path.lastIndexOf("\\"));
System.getProperties().setProperty("java.
Hi all!
At present, I use EJB3. and use Eclipse to write and deploy my EJB project.
I have a bean called CalculatorBean. My bean has two method: "add" and "sub"
two number. On the client side, I write the class called MyLoginModule to
authenticate user (it always return true). After call the
Hi All !
I am a beginner's JBoss. I have a problem that I understand: I have a Bean
called HelloBean that have two methods "printA" and "printB". My ejb-jar.xml
has contents:
..
RoleA
70 matches
Mail list logo