[JBoss-user] [JCA/JBoss] - Re: JBOSS & MySQL

2004-12-22 Thread mozheyko_d
Ooops !
I'm sorry Adrian ! :(
I found answer in wiki:
http://docs.jboss.org/jbossas/getting_started/startguide40/X-76998.html

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

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


---
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://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - JBOSS & MySQL

2004-12-21 Thread mozheyko_d
Hello all.

I have decided to use MySQL as datastore. Advise, please, subtleties of 
adjustment, types of tables, jdbc driver, version of MySQL (Whether it is 
necessary that MySQL supported transactions) etc.

Thanks, Dmitry

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

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


---
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://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Re: Deploying CMP Beans in JBoss 4.0

2004-09-24 Thread mozheyko_d
You must:
1) put firebirdsql.rar into deploy directory
2) put into deploy directory this(modified because the file from installation is wrong 
!)file:

  | 
  | 
  |   
  |   
  |   
  |   
  | 
  | 
  | 
  |   
  | 
  | FirebirdDS
  | 
  | 
  | 
  | Firebird Database Connector
  | 
  | firebirdsql.rar
  | 
  | javax.sql.DataSource
  | 
  | localhost/3050:/opt/firebird/bases/base.gdb
  | 
  | jboss
  | 
  | :-):-):-)
  | 
  | UNICODE_FSS
  | 
  | 
  | 
  | 0
  | 
  | 
  | 
  | 
  |   
  | 
  | 
  | 


After those steps my JBOSS-4.0 & Firebird are works.

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

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


---
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. 24. Go here: http://sf.net/ppc_contest.php
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Re: JBoss-4.0.0RC1 & FirebirdSQL

2004-09-03 Thread mozheyko_d
Huh !!!
I made it. 
Thanks, Adrian

If somebody also need this:

I add to standart( from jboss4.0.0.RC1/docs/examples/jca/firebird-ds.xml) this strings:


  | 
  | ...
  | firebirdsql.rar
  | javax.sql.DataSource
  | ...
  | 
  | 


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

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


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


[JBoss-user] [JCA/JBoss] - JBoss-4.0.0RC1 & FirebirdSQL

2004-09-02 Thread mozheyko_d
I need to use Firebird SQL with jboss:
I made this steps:
1. cp $JBOSS_HOME/doc/examples/jca/firebird-ds.xml $JBOSS_HOME/server/default/deploy/ 
2. From last version of JayBird-driver 1.5.0 cp firebirdsql.rar 
$JBOSS_HOME/server/default/deploy/ 

and i receive this errors:

  | MBeans waiting for other MBeans:
  | ObjectName: jboss.jca:service=TxCM,name=FirebirdDS
  |  state: CONFIGURED
  |  I Depend On:  jboss.jca:service=ManagedConnectionPool,name=FirebirdDS
  |  jboss.jca:service=CachedConnectionManager
  |  jboss:service=TransactionManager
  |  
  |  Depends On Me:  jboss.jca:service=ConnectionFactoryBinding,name=FirebirdDS
  |  
  | ObjectName: jboss.jca:service=ManagedConnectionPool,name=FirebirdDS
  |  state: CONFIGURED
  |  I Depend On:  jboss.jca:service=ManagedConnectionFactory,name=FirebirdDS
  |  
  |  Depends On Me:  jboss.jca:service=TxCM,name=FirebirdDS
  |  
  | ObjectName: jboss.jca:service=ManagedConnectionFactory,name=FirebirdDS
  |  state: CONFIGURED
  |  I Depend On:  jboss.jca:service=RARDeployment,name=''
  |  
  |  Depends On Me:  jboss.jca:service=ManagedConnectionPool,name=FirebirdDS
  |  
  | ObjectName: jboss.jca:service=ConnectionFactoryBinding,name=FirebirdDS
  |  state: CONFIGURED
  |  I Depend On:  jboss.jca:service=TxCM,name=FirebirdDS
  |  
  |  Depends On Me:
  |  
  | MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM:
  | ObjectName: jboss.jca:service=RARDeployment,name=''
  |  state: NOTYETINSTALLED
  |  I Depend On:
  |  Depends On Me:  jboss.jca:service=ManagedConnectionFactory,name=FirebirdDS
  | 

Why ? 


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

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


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


[JBoss-user] [HTTPD, Servlets & JSP] - 3.2.3 -> 3.2.5 JSP Encoding problem

2004-07-20 Thread mozheyko_d
I use russian symbols ("koi8-r" encoding) in my jsp's and my code works in 3.2.3 fine:

  | <%@ page contentType="text/html; charset=koi8-r" %>
  | ...
  | <%
  | request.setCharacterEncoding( "koi8-r");
  | String s = request.getParameter( "param1");
  | out.print( s);
  | %>
  | ...
  | 

But when i deploy my application in 3.2.5
I receive "???" - string on output.

Any ideas ?

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

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


---
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] [Persistence & CMP/JBoss] - Re: EJB-QL Aggregate functions 3.2.4

2004-06-29 Thread mozheyko_d
Thank you, Alex.
But i dont understand: 3.2.4 support EJB2.1 ? or 2.0 ?

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

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


---
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] [Persistence & CMP/JBoss] - Re: EJB-QL Aggregate functions 3.2.4

2004-06-29 Thread mozheyko_d
Yes, i know it.
But this code works !
Maybe you explain me how2 use SUM or another aggregate functions ?
Please, show me the little properly sample.



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

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


---
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] [Persistence & CMP/JBoss] - EJB-QL Aggregate functions 3.2.4

2004-06-29 Thread mozheyko_d
Yes !!!
They have made it.

LocalHome interface:

  | ...
  |  public Collection findPaysSum( Timestamp time1, Timestamp time2) throws 
FinderException;
  | ...
  | 
ejb-jar.xml:

  | ...
  |
  |[CDATA[
  |SELECT SUM(p.summa) FROM pay p WHERE p.moment > ?1 and p.moment < ?2
  | ]]
  |
  | ...
  | 

Use this method:

  | ...
  | Iterator it = payHome.findPaysSum( Timestamp.valueOf( time1), 
Timestamp.valueOf( time2)).iterator();
  |  if( it.hasNext()){
  | Object pk = ( ( EJBLocalObject)it.next()).getPrimaryKey();
  |  return ( Double)pk;
  |  }
  | ...
  | 

But if the result of SUM function is null, this method throws the Exception:
javax.ejb.TransactionRolledbackLocalException: Attempt to get lock ref with a null 
object; CausedByException is: Attempt to get lock ref with a null object

How it is possible to bypass it?

Thanks



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

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


---
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] [Persistence & CMP/JBoss] - Re: JBOSS-3.2.1 and LDAP Settings

2004-06-28 Thread mozheyko_d
Yes, i use ldap from my java programs and servlets. See docs for  javax.naming. & 
javax.naming.directory packages. 

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

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


---
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] [Persistence & CMP/JBoss] - 3.2.3 -> 3.2.4 EJB-QL Bug OR Feature ?

2004-06-28 Thread mozheyko_d
I try to deploy existing ( worked on 3.2.3) code to 3.2.4
and found this problem while EJB-QL compiling. This is old code

  | 
  | SELECT OBJECT(e)
  | FROM employee e
  | WHERE e.name IS NULL
  | 
  | SELECT OBJECT(e) FROM employee e
  | WHERE e.name IS NULL
  | 
Now i must to change ALL my EJB-QL querys to this type ( all statement must be in ONE 
string):

  | 
  | SELECT OBJECT(e) FROM employee e WHERE e.name IS NULL
  | 

Have ideas ?

Thanks

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

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


---
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] [Security & JAAS/JBoss] - Re: FORM dataBase authentication problem

2004-05-10 Thread mozheyko_d
May be you forget:

  | select passwd from principals where 
principalid=?
  | select role, rolegroup from roles where 
principalid=?
  | 
in application-policy section ?

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

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


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: LdapLoginModule & search scope

2004-03-14 Thread mozheyko_d
Thanks for reply. 
I did not think, that jboss-code such not flexible

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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - LdapLoginModule & search scope

2004-03-11 Thread mozheyko_d
My ldap directory structure is:

  | dc=mycompany,dc=com
  | |_
  |   ou=People
  ||_
  |  ou=Group1
  |   |_ 
  | uid=user1
  |   |_ 
  | uid=user2
  ||_
  |  ou=Group2
  |   |_ 
  | uid=user3
  |   |_ 
  | uid=user4
  | 

and i want to use LdapLoginModule.
What "principalDNPrefix" and  "principalDNSuffix" i must to use ?

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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: Logout

2004-03-08 Thread mozheyko_d
Can you show me the sample of using FORM auth ?

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

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


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Logout

2004-02-29 Thread mozheyko_d
I use BASIC auth-method
and i write this jsp for logout produce:

  | 
  | Logout
  | 
  | <%
  | request.getSession().invalidate();
  | %>
  | Logout success.
  | 
  | 
  | 
But it does not works ! 
Logout works only after restarting browser.

What i must change ?

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

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


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user