[JBoss-user] 探测狗――“探”到的“秘密”

2003-06-14 Thread wz
探测狗――“探”到的“秘密”

“璩美凤事件”满城风雨之时,你是否也会想到:“偷窥”的镜头其实也在对准你?这可不是危言耸听,针孔摄像机在全国范围内的热销已在我们身边布满了“针孔”。
由清华大学师生刚刚开发的“探测狗”(学名无线针孔摄像机探测仪),可快速、准确的探测出10米以内安装的所有“针孔摄像机”和“微型窃听器”,确保您的“绝对隐私”!

探测狗外观高贵精美,体积小巧,可随身携带,使用方便。不但是您个人隐私的安全保镖,也是一款别出心裁的高档商务礼品。

适用场所:

1、商务谈判、合同签订时保密;
2、酒店、宾馆的客房、卧室、洗手间;
3、男女约会场所、娱乐场所;
4、公共厕所、泳池、更衣室;
5、军事设施或政府机关的保密;
6、公司、工厂、电影院或美术馆防止偷拍;
7、在ATM机上取款时防密码偷拍。

适用人群:

1、经常使用银行卡的人群;
2、以酒店为家的出差族人群;
3、易被偷拍的美貌女子;
4、常去公共娱乐场所消费的人士;
5、常去各种商场试穿的人士;
6、尊重自己个人稳私与他人稳私的人士;
7、接触、保管商业机密的人士;
8、商业机密与技术机密场所的安保人员;
9、反偷拍、反偷听的专业人士;


开发商:软媒安全技术实验室
地址:北京清华大学84-172信箱
电话:010-62795385
  13910561071
联系人:王小姐


附件:近期在媒体曝过光的偷拍事件:
?   
台湾政坛美女璩美凤与一有妇之夫闺房“云雨”被偷拍并被制成激情录像带销售,由此衍生的种种事件在媒体热闹了一年多还没完结。
?   台湾警方查获一日本偷拍集团,?   
该集团专在台北地铁车站偷拍过往女性的裙底风光,然后在色情网站播出并制成黄色光碟出售。
?   
美国俄亥俄州一男子借出租房屋之机偷拍房客洗澡、如厕长达5年,有650名房客出现在被偷拍的录像带上。
?   香港警方查获一酒吧股东的胞弟在酒吧女厕所安装微型摄像机,偷拍女客如厕。
?   
大连市某大学一女生受“黑中介”控制,协助“黑中介”将其它女大学生用药迷倒后拍裸照,然后以要散发裸照为名勒索钱财。
?   
成都一市民徐女士在整理家务时,从床头柜发现一盘录像带,竟是她16岁的儿子偷拍的她与丈夫在卧室的生活起居情景。
?   一妙龄女郎在深圳一游泳场浴室安装摄录机偷拍更衣者。
?   某航空公司为监视空乘工作,竟用针孔摄像机偷拍空姐。
?   石家庄某中学生利用“针孔”偷窥邻家夫妻生活,被邻人告上法庭。
?   广州一台商在自家的工厂里用“针孔”拍摄女工们如厕的镜头。
?   成都一副科长在办公楼的女厕所里安装“针孔”,偷窥女职员上厕所的镜头。
?   茂名?   
市技术监督局稽查科原科长谢某,借工作之便向个体商家勒索钱财。愤愤不平的商家用小型录像机偷拍下谢在酒店客房索贿受贿及嫖娼的过程,并以此为证据向茂名纪委举报。

另:近期在媒体曝过光的密码盗钱大案5起,涉案金额达上百万元之巨。


http://www.safeacademe.com




---
This SF.NET email is sponsored by: eBay
Great deals on office technology -- on eBay now! Click here:
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] HOWTO: Call an EJB from an Oracle Java Stored Procedure

2003-06-14 Thread Guy Rouillier
Sure, I'd be willing to help with this, since I'm benefiting from it. 
Two additional thoughts came to mind after I sent my last message:

(1)  Your steps said to load the EJB into Oracle.  Technically, you just 
want to load the home and remote interfaces, and not the bean class. 
With versions 2.x of JBoss, having the bean class in the client 
classpath would make hot deploy appear not to work.  Don't know if that 
is still true in 3.x.

(2)  The Oracle JVM has IIOP support built-in.  I'm wondering if we 
switch to IIOP instead of defaulting to JRMP, if we can eliminate having 
to load a bunch of protocol classes into Oracle.  As an aside, I 
happened to notice reading through some Oracle JVM documentation that 
they specifically say not to do RMI inside Java stored procedures.  It 
said that RMI starts up its own threads, and starting threads in stored 
procs is discouraged since it makes Oracle's session management flaky. 
Oh, well, we'll have to ignore this rule since without RMI we'd be done 
before we started.

Nicholas wrote:

I wrote the OracleLoadJava task. I just have not got
around to submitting it. 

I wanted to write a whole set of PL/SQL-JBoss services
so I figured I would just load the whole JBoss client
dir, but I also noticed a large number of invalid
classes.
I think we just have to ramp up the complexity of the
calls and track what's needed where and for what. I
will start docuemnting what you have here and we
should compare notes periodically, and I'll put them
on a wiki somewhere.
Agreed ?

//Nicholas



--- Guy Rouillier <[EMAIL PROTECTED]> wrote:

Nicholas, I finally got around to trying this, and
it works - thanks!  I 
struggled with this for about 6 months and got
nowhere (including 
working with someone inside Oracle!)  I had to go
through several 
iterations and fix missing permissions identified in
udump.  I really 
should delete all Java permissions and start from
scratch to identify 
exactly what is needed; I have a bunch already in
there from when I 
tried the last time.  A couple of points/questions:

(1) Where did you find the OracleLoadJava task for
Ant?
(2) I loaded all JBoss-3.2.1/client jars *except*
jbossall-client.jar 
(figuring it was redundant).  Again, I'll probably
start from scratch to 
see if I can pare down what is needed.  After
recompiling the INVALID 
classes, I'm still showing 488 classes that are
marked INVALID.  Many of 
them look pretty fundamental (i.e., necessary), so
I'm wondering once we 
move beyond a trivial example if this will continue
to work.

(3) Your steps say to recompile these INVALID
classes.  I found that the 
following accomplishes the same thing, and gets done
much faster:

- First, load all the jar files without resolving. 
Don't know how to do 
this in Ant, but from a command line you can do it
like this:

   call loadjava -user GUYR/[EMAIL PROTECTED]
concurrent.jar
- Then make a second pass through all the jars, this
time invoking the 
resolver.  This looks like this:

  call loadjava -resolve -resolver "((* GUYR)
(* PUBLIC))" -user 
GUYR/[EMAIL PROTECTED] concurrent.jar

Nicholas wrote:

I went back to reproducs this, and the process was
this using 
Windows XP Professional
JBoss jboss-3.2.0_tomcat-4.1.24
Oracle Enterprise Version 9.2.0.1.0

1. LoadJava the entire JBoss Client Jar collection
into  SCOTT.
default="all"

basedir=".">


classname="org.apache.tools.ant.taskdefs.optional.oraclejava.OracleLoadJava"/>







dir="C:/jboss-3.2.0_tomcat-4.1.24/client">






2. Recompile all the invalid classes. To do this,
generate a script with this SQL logged in as
SCOTT:

select 'ALTER JAVA CLASS SCOTT."' || object_name
|| '"

COMPILE;' from USER_OBJECTS where object_type in
('JAVA CLASS', 'JAVA SOURCE') and status =
'INVALID'

Run the script that is generated.

3. Grant the following rights to SCOTT:

dbms_java.grant_permission( 'SCOTT',
'SYS:java.net.SocketPermission', 'ADDRESS>:1024-',

'listen,resolve' ); 
dbms_java.grant_permission( 'SCOTT',
'SYS:java.net.SocketPermission', 'ADDRESS>:3495',

'connect,accept,resolve' );
   dbms_java.grant_permission(

'SCOTT','SYS:java.lang.RuntimePermission','org.jboss.security.SecurityAssociation.getPrincipalInfo',

'' );
   dbms_java.grant_permission(
'SCOTT','SYS:java.io.SerializablePermission',
'enableSubstitution', '' );
   dbms_java.grant_permission( 'SCOTT',
'SYS:java.net.SocketPermission','ADDRESS>:8093',

'connect,resolve' );

There may be some extra ones in there. I was also
trying to communicate with some JMS processes, but
generally, Oracle will tell you exactly which
permissions you need in the error message if you
fail

to have one.

3. Load EJB. Again, I used the Ant task and loaded
the

JAR I deployed to JBoss and a simple test client
of a

simple EJB:

EJB: 

import java

Re: [JBoss-user] Lookup failing in JBoss3.0.4(with attachment)

2003-06-14 Thread Guy Rouillier
Muraly, did you do as I suggested in my last message, and print out the 
classpath being used when the lookup fails?  You'll have to get the 
classpath actually in use, and not the system classpath.  That might 
help in identifying this issue.

Muraly R wrote:

Hi Guy,
I would like to explain the scenario in more detail.
When I perform a lookup to this particular Stateless session bean, it 
works on all the scenario's except for the error one. I am pasting a 
debug messages from my log for both the successfull lookup as well as 
for the error ones

Success
--
DEBUG 11/Jun/2003 16:58:00 [Thread-36] (HomeReferencesManager.java:249): 
util.HomeReferencesManager - getContext( Properties env ) Context: 
[EMAIL PROTECTED]

DEBUG 11/Jun/2003 16:58:00 [Thread-36] (Query.java:1732): ejb.Query - 
jb_007 ---> execute() :: queryHome = QuerySessionHome

DEBUG 11/Jun/2003 16:58:00 [Thread-36] (Query.java:1734): ejb.Query - 
jb_007 ---> execute() :: queryRemote = QuerySession:Stateless

where 'queryHome' and ''queryRemote'' are the Home and Remote interfaces.

Error
---
ERROR 11/Jun/2003 16:58:30 [Thread-36] (HomeReferencesManager.java:106): 
util.HomeReferencesManager - Cannot instantiate class: 
org.jnp.interfaces.NamingContextFactory

java.lang.ClassNotFoundException: org.jnp.interfaces.NamingContextFactory

So as you can see both  the scenario occur in the same flow. I.e in 
successfull the initail context intialization is successfull and the 
other one ERROR.

One doubt is, Is there any bug related to this in JBoss3.0.4? Reason for 
the doubt being I upgraded to JBoss3.0.4 from 3.0 because of one bug in 
the transaction race condition(suggested by Adrian).

Thanks
Muraly
At 15:15 10/06/2003 -0400, you wrote:

Well, if jnp-client.jar were actually on the classpath when this code 
is executed, you wouldn't be getting this exception.  How are you 
identifying the classpath used at this time?  To help trace this down, 
find a scenario that you know is failing.  Then, before doing the 
lookup, print out the classpath being used - you should be able to do 
a getProperty("java.classpath") or something like that.  Hopefully, 
the value of the classpath at that moment will provide a clue as to 
where it is getting incorrectly set.

Muraly R wrote:

Sorry, this time with stack trace attached...:-)
-M
At 14:22 10/06/2003 +0530, you wrote:
Hi Gurus,
I am actually stuck with this error scenario. The flow for 
the scenario is there is lookup portion in my client code(i.e tomcat 
separate installation), which looks up JBoss server(3.0.4) for a 
session bean. This works fine, except in some scenario's the 
following error is thrown:

ERROR 10/Jun/2003 13:49:13 [Thread-34] 
(HomeReferencesManager.java:106): util.HomeReferencesManager - 
Cannot instantiate class: org.jnp.interfaces.NamingContextFactory

java.lang.ClassNotFoundException: 
org.jnp.interfaces.NamingContextFactory

I have jnp-client.jar in the client classpath.

Have any one encountered this scenario before? Please share your 
thoughts on the same.

The most confusing(irritating actaully) part is, the same bean 
lookup from the same code snippet location works fine in some scenarios.

Thanks
Muraly


---
This SF.net email is sponsored by:  Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
you've never dreamed of, try TotalView 6 free at www.etnus.com 
 .
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



ERROR 10/Jun/2003 13:49:13 [Thread-34] 
(HomeReferencesManager.java:106): util.HomeReferencesManager - Cannot 
instantiate class: org.jnp.interfaces.NamingContextFactory
java.lang.ClassNotFoundException: org.jnp.interfaces.NamingContextFactory
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.net.FactoryURLClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at com.sun.naming.internal.VersionHelper12.loadClass(Unknown 
Source)
at javax.naming.spi.NamingManager.getInitialContext(Unknown 
Source)
at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
at javax.naming.InitialContext.init(Unknown Source)
at javax.naming.InitialContext.(Unknown Source)
at 
com.cisco.nm.qpm.server.util.HomeReferencesManager.getContext(HomeReferencesManager.java:248)
  

Re: [JBoss-user] Possible classloader bug in 3.2.1?

2003-06-14 Thread Francisco Figueiredo Jr.
John Dubchak wrote:
Hi,

Hi John.

[...]

Is this possibly a bug in the classloader?  This is the only explanation I can 
come up with at this time.

Any insight, or ideas would be greatly appreciated.

I don't know if this is a bug in the classloader, but I had some 
problems with this and I could solve it in two ways:

Try put the struts libs in the jboss lib server.
As you are using a .ear, put a  entry in your 
jboss-app.xml. There is an example in the jboss-app_3_2.dtd.

When I put the libs in the server, it worked fine, but you may have 
problems if you need more than one version of the libs running.

The .ear solved my problem at all and I don't have to put the libs in 
the lib dir.

I hope it helps.

--
Regards,
Francisco Figueiredo Jr.

--
"My grandfather once told me that there are two
kinds of people: those
who work and those who take the credit. He told me
to try to be in the
first group; there was less competition there."
- Indira Gandhi


---
This SF.NET email is sponsored by: eBay
Great deals on office technology -- on eBay now! Click here:
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] Possible classloader bug in 3.2.1?

2003-06-14 Thread John Dubchak
Hi,

I'm using JBoss 3.2.1 on a Redhat network - I have 7.3, 8.0 and 9 installed on 
this network.

I've been developing an Enterprise App, an ear consisting of a war and some 
ejb's in a jar file.  The GUI is developed using the Struts framework and 
recently I've been implementing some validation logic for the jsp pages.

This issue is not related to Struts but it does manifest itself when I use 
custom validation within the Struts framework.

The problem I'm experiencing is that I get a NoClassDefFoundError when trying 
to use some custom validation.  So, I decided to create a small web app - 
just a war file to isolate the code so that I can tweak it to get it right.

I've deployed this test war to both standalone Jetty and Tomcat and also both 
pre-bundled versions of JBoss (version 3.2.1) with Jetty and Tomcat.  The 
testing on this war file shows the following results:

Standalone Jetty (v. 4.2.9)  - Code works fine.
Standalone Tomcat (v. 4.1.24) - Code works fine.
Bundled with Jetty - NoClassDefFoundError
Bundled with Tomcat - NoClassDefFoundError

The testing is consistent with the 3 versions of Redhat stated above.  Also, 
I'm using the exact same war file on all installations without any 
modifications.

Is this possibly a bug in the classloader?  This is the only explanation I can 
come up with at this time.

Any insight, or ideas would be greatly appreciated.

Thanks,
John


---
This SF.NET email is sponsored by: eBay
Great deals on office technology -- on eBay now! Click here:
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] Exception in JDBCAbstractCMPFieldBridge.loadArgumentResults

2003-06-14 Thread Marcin Gryszkalis
Hi
It's JBoss 3.2.1/Tomcat on Linux/Sun SDK 1.4.1
I'm not sure if it's possible to reproduce the error (it's
client's machine, I just have some logs - I could have
more info next week).
Here's stack trace and comments

2003-06-13 15:36:53,502 DEBUG 
[org.jboss.ejb.plugins.cmp.jdbc.JDBCDeclaredSQLQuery.InvoiceEntity.findByClientIdMonthYear]
 Executing SQL: SELECT id, date_s1, { long query, works when called separately }
2003-06-13 15:36:59,982 DEBUG 
[org.jboss.ejb.plugins.cmp.jdbc.JDBCDeclaredSQLQuery.InvoiceEntity.findByClientIdMonthYear]
 Find failed
java.lang.ArrayIndexOutOfBoundsException: 0
at 
org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCAbstractCMPFieldBridge.loadArgumentResults(JDBCAbstractCMPFieldBridge.java:371)
at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCAbstractQueryCommand.execute(JDBCAbstractQueryCommand.java:174)
at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCAbstractQueryCommand.execute(JDBCAbstractQueryCommand.java:91)
at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCFindEntitiesCommand.execute(JDBCFindEntitiesCommand.java:40)
at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.findEntities(JDBCStoreManager.java:599)
at 
org.jboss.ejb.plugins.CMPPersistenceManager.findEntities(CMPPersistenceManager.java:324)
at 
org.jboss.resource.connectionmanager.CachedConnectionInterceptor.findEntities(CachedConnectionInterceptor.java:323)
at org.jboss.ejb.EntityContainer.find(EntityContainer.java:660)
at sun.reflect.GeneratedMethodAccessor79.invoke(Unknown Source)
{ CMP EJB call)
second after the I got other NullPointerException on the same code:

2003-06-13 15:37:31,323 DEBUG 
[org.jboss.ejb.plugins.cmp.jdbc.JDBCDeclaredSQLQuery.InvoiceEntity.findByClientIdMonthYear]
 Find failed
java.lang.NullPointerException
at 
org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCAbstractCMPFieldBridge.loadArgumentResults(JDBCAbstractCMPFieldBridge.java:371)
at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCAbstractQueryCommand.execute(JDBCAbstractQueryCommand.java:174)
at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCAbstractQueryCommand.execute(JDBCAbstractQueryCommand.java:91)
at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCFindEntitiesCommand.execute(JDBCFindEntitiesCommand.java:40)
at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.findEntities(JDBCStoreManager.java:599)
at 
org.jboss.ejb.plugins.CMPPersistenceManager.findEntities(CMPPersistenceManager.java:324)
at 
org.jboss.resource.connectionmanager.CachedConnectionInterceptor.findEntities(CachedConnectionInterceptor.java:323)
at org.jboss.ejb.EntityContainer.find(EntityContainer.java:660)
at sun.reflect.GeneratedMethodAccessor79.invoke(Unknown Source)
It all sounds strange - I can't see how this could happen...

regards
Marcin Gryszkalis


---
This SF.NET email is sponsored by: eBay
Great deals on office technology -- on eBay now! Click here:
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] Jboss and Xdoclet

2003-06-14 Thread Marco Tedone
Can I ask question related to Jboss on xdoclet tasks on this list?

Marco




---
This SF.NET email is sponsored by: eBay
Great deals on office technology -- on eBay now! Click here:
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] MBean : Persiting attributes

2003-06-14 Thread Phil Shrimpton
On Friday 13 June 2003 15:35, Scott M Stark wrote:

Scott,

> > Is there anyway to automatically update attribute values in the
> > xxx-service.xml file for an MBean when changes are made via jmx-console
> > and other tools, so there are preserved after a restart,
>
> You have to use an xmbean, the JBoss implementation of the JMX ModelMBean,
> if you want persistence. 

Thanks for the pointer, looks like what I am after

Cheers

Phil

-- 
  7:29pm  up 59 days,  8:22,  1 user,  load average: 0.31, 0.16, 0.10
   ICQ: 760757   AIM: pjshrimpton   Y!: pjshrimpton


---
This SF.NET email is sponsored by: eBay
Great deals on office technology -- on eBay now! Click here:
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] HOWTO: Call an EJB from an Oracle Java Stored Procedure

2003-06-14 Thread Nicholas
I wrote the OracleLoadJava task. I just have not got
around to submitting it. 

I wanted to write a whole set of PL/SQL-JBoss services
so I figured I would just load the whole JBoss client
dir, but I also noticed a large number of invalid
classes.

I think we just have to ramp up the complexity of the
calls and track what's needed where and for what. I
will start docuemnting what you have here and we
should compare notes periodically, and I'll put them
on a wiki somewhere.

Agreed ?

//Nicholas



--- Guy Rouillier <[EMAIL PROTECTED]> wrote:
> Nicholas, I finally got around to trying this, and
> it works - thanks!  I 
> struggled with this for about 6 months and got
> nowhere (including 
> working with someone inside Oracle!)  I had to go
> through several 
> iterations and fix missing permissions identified in
> udump.  I really 
> should delete all Java permissions and start from
> scratch to identify 
> exactly what is needed; I have a bunch already in
> there from when I 
> tried the last time.  A couple of points/questions:
> 
> (1) Where did you find the OracleLoadJava task for
> Ant?
> 
> (2) I loaded all JBoss-3.2.1/client jars *except*
> jbossall-client.jar 
> (figuring it was redundant).  Again, I'll probably
> start from scratch to 
> see if I can pare down what is needed.  After
> recompiling the INVALID 
> classes, I'm still showing 488 classes that are
> marked INVALID.  Many of 
> them look pretty fundamental (i.e., necessary), so
> I'm wondering once we 
> move beyond a trivial example if this will continue
> to work.
> 
> (3) Your steps say to recompile these INVALID
> classes.  I found that the 
> following accomplishes the same thing, and gets done
> much faster:
> 
> - First, load all the jar files without resolving. 
> Don't know how to do 
> this in Ant, but from a command line you can do it
> like this:
> 
> call loadjava -user GUYR/[EMAIL PROTECTED]
> concurrent.jar
> 
> - Then make a second pass through all the jars, this
> time invoking the 
> resolver.  This looks like this:
> 
>call loadjava -resolve -resolver "((* GUYR)
> (* PUBLIC))" -user 
> GUYR/[EMAIL PROTECTED] concurrent.jar
> 
> Nicholas wrote:
> > I went back to reproducs this, and the process was
> > this using 
> > Windows XP Professional
> > JBoss jboss-3.2.0_tomcat-4.1.24
> > Oracle Enterprise Version 9.2.0.1.0
> > 
> > 1. LoadJava the entire JBoss Client Jar collection
> > into  SCOTT.
> >  default="all"
> > basedir=".">
> >  >
>
classname="org.apache.tools.ant.taskdefs.optional.oraclejava.OracleLoadJava"/>
> > 
> > 
> > 
> > 
> > 
> >  > resolve="on" debug="on" force="no" noverify="on"
> > verbose="on" noserverside="on" schema="scott"
> > synonym="on" time="on">
> >  dir="C:/jboss-3.2.0_tomcat-4.1.24/client">
> > 
> > 
> > 
> > 
> > 
> > 
> > 2. Recompile all the invalid classes. To do this,
> > generate a script with this SQL logged in as
> SCOTT:
> > 
> > select 'ALTER JAVA CLASS SCOTT."' || object_name
> || '"
> > COMPILE;' from USER_OBJECTS where object_type in
> > ('JAVA CLASS', 'JAVA SOURCE') and status =
> 'INVALID'
> > 
> > Run the script that is generated.
> > 
> > 3. Grant the following rights to SCOTT:
> > 
> > dbms_java.grant_permission( 'SCOTT',
> > 'SYS:java.net.SocketPermission', ' ADDRESS>:1024-',
> > 'listen,resolve' ); 
> > dbms_java.grant_permission( 'SCOTT',
> > 'SYS:java.net.SocketPermission', ' ADDRESS>:3495',
> > 'connect,accept,resolve' );
> > dbms_java.grant_permission(
> >
>
'SCOTT','SYS:java.lang.RuntimePermission','org.jboss.security.SecurityAssociation.getPrincipalInfo',
> > '' );
> > dbms_java.grant_permission(
> > 'SCOTT','SYS:java.io.SerializablePermission',
> > 'enableSubstitution', '' );
> > dbms_java.grant_permission( 'SCOTT',
> > 'SYS:java.net.SocketPermission',' ADDRESS>:8093',
> > 'connect,resolve' );
> > 
> > There may be some extra ones in there. I was also
> > trying to communicate with some JMS processes, but
> > generally, Oracle will tell you exactly which
> > permissions you need in the error message if you
> fail
> > to have one.
> > 
> > 3. Load EJB. Again, I used the Ant task and loaded
> the
> > JAR I deployed to JBoss and a simple test client
> of a
> > simple EJB:
> > 
> > EJB: 
> > 
> > import javax.ejb.*;
> > public class StringLibBean implements SessionBean
> {
> >   SessionContext sessionContext;
> >   public void ejbCreate() throws CreateException {
> >   }
> >   public void ejbRemove() {
> >   }
> >   public void ejbActivate() {
> >   }
> >   public void ejbPassivate() {
> >   }
> >   public void setSessionContext(SessionContext
> > sessionContext) {
> > this.sessionContext = sessionContext;
> >   }
> >   public String reverse(java.lang.String a) {
> > return new
> StringBuffer(a).reverse().toString();
> >   }
> > }
> > 
> > 
> > Client Code:
> > 
> >   

[JBoss-user] ÊÐÃæÁ÷ÐеÄvodϵͳ³ÏÕ÷È«¹ú´úÀí£¬ÓŻݼÛÍƹã

2003-06-14 Thread Ìì¸èСÎé
Title: 深圳天歌数码技术有限公司:::www.pc8u8.com:::





  
 
  
 
   

  
 
  
  天歌vod系统诚征
全国代理商加盟,加盟条件无限制加盟进入==>>

  

  


  
 
  
   

   
 
   MPEG4主界面,点击放大
  

  
   
  
 
  

   
 
  

   

 

  
  
   
 

全新的divx5音视频制作技术,真正dvd效果画质,高保真立体声cd音质,120g硬盘可容纳5000首歌曲;
  
   


强大的软件调音台,独有10段均衡、8级变调、28种声场调节功能,始终保持最佳播放效果;
  
   
 

支持无盘性能更好,大大节约成本。
  
   
 
单屏时无需显示器,在电视上直接可以实现按编号、歌星、拼音、字数点歌,效果清晰,投资更少。
  
   
 

独特的换肤功能,每种语种中配有多套不同风格的皮肤,用遥控便可轻松更换点播界面,使你的每一间ktv房具有不同风格的界面。
  
   
 

兼容性能强,支持网络,一台服务器可支持50台电脑点歌,具有dvd网络版相同的包房管理控制功能、呼叫功能、火警功能。 
  

  
  
   
我公司最新研发的新一代mpeg4视频点播系统:2*
120g容纳1首高清晰,高音效mpeg4原人原唱歌曲和120g数百部经典电影。单机网络两用,可作单屏亦可作双屏,支持无盘性能更佳,支持换肤,敬请关注!详情请进>>>   
   
  MPEG4系统相关驱动及安
装帮助下载》》 
  
  
   
 
  
 
   DVD网络版主界面,点击放大
 


   

   
  
  
  
  
   
 

系统极其稳定,播放流畅,无停顿、无死机现象。支持多用户同时点播同一首歌曲,无需等待时间,真正即点即播。
  
   
 

15000首dvd级歌曲及数百部电影。无论是陈年情歌,欧美经曲,日韩流行,最新热唱等都能找到。全部原人原唱原影,画面清晰亮丽,音质醇正。客
户自
己加歌简单快捷。
  
   
 

软件画面华丽大方,富有艺术美感。支持换肤。操作简单,使用快捷。同时支持鼠标键盘遥控器。分英文,中文简体,中文繁体三个版本。

  
   
 

服务器控制功能;服务器控制端提供了房间的开房、关房、锁定、关机等管理操作,可处理由点播端发送的各种呼叫请求,亦可向点播端发布欢迎、祝福、广
告、提示之类的各种信息;
  



   

  
  
 我公司研发的dvd视频点播系统性能稳定、操作简洁,界面友好,功能完善,自推去市场以来深受客户青睐,产品广泛应用于娱乐行业,教育培训,住宅小区家庭娱乐
等各领域,并已远销国外市场,深受用户欢迎。
详情请进>>> 
   
  
  
  
 
  
 
   单机版主界面,点击放大



   

   
  
  
  
  
   
 


 系统极其稳定,播放流畅,无停顿、无死机现象。支技加歌。点歌操作方便简捷,无需等待时间,真正即点即播。  
  

Re: [JBoss-user] JBoss 3.0.3 Connection Pooling...

2003-06-14 Thread MSedliak

OK, default oracle-ds.xml configures local transacation datasource. But then I do not understand, how can I get different connections when calling SLB with Required TA from another SLB with Required TA - they are supposed to be executed in the same transaction context so the same connection should be restored from Datasource in both SLBs. Or am I wrong ?

Thank you.
Mark.







[EMAIL PROTECTED]
Sent by: [EMAIL PROTECTED]
13.06.2003 20:49
Please respond to jboss-user

        
        To:        [EMAIL PROTECTED]
        cc:        (bcc: Marek Sedliak/BYS/SOFTIP)
        Subject:        Re: [JBoss-user] JBoss 3.0.3 Connection Pooling...



Hi, 
excuse me plesae, but I think your connections or statements have stayed open - we had the same problem before - Oracle, Max open cursors ... and the problem was the forgotten open connection - good way how to figure out this problem is JBoss 3.2 - this version produces warning when the connection is left open. 

Cheers 
Marek 







"Dayanand Kangala Shanmugham" <[EMAIL PROTECTED]> 
Sent by: [EMAIL PROTECTED] 
13.06.2003 19:20 
Please respond to jboss-user 
        
        To:        <[EMAIL PROTECTED]> 
        cc:        (bcc: Marek Sedliak/BYS/SOFTIP) 
        Subject:        [JBoss-user] JBoss 3.0.3 Connection Pooling...



Hi All, 
  
We are developing an application using JBoss 3.0.3 and use its connection pooling to connect to Oracle database. We are facing an issue where though the statement's are closed (and connection closed, to return to the pool), the cursors are still not getting released from Oracle. 
  
After using the system for about a day, either we get a "Maximum open cursors exceeded" problem (or) the system slows down. 
  
Has anyone faced similar issues before and solved it?! 
  
(We use CMPs, Tomcat 4.0.4, Linux 7.3 and have set the MAX CURSOR as 300 in Oracle) 
  
Any info on this issue would be great. 
  
Regards, 
Dayanand