Re: Cannot send email using geronimo default email session

2008-07-21 Thread YunFeng Ma
You are missing a dependency in your geronimo-web.xml:
-


org.apache.geronimo.configs
javamail
car


-

You can download the send mail sample from: 
https://svn.apache.org/repos/asf/geronimo/samples/trunk/samples/sendmail/

Hope it helps.

-- Yun Feng

metamor wrote:
> I am following the instructions in the article: Using Geronimo's Default
> JavaMail Session
> the snipet for web.xml is as follows:
> 
>  
> 
> mail/fooMailSession
> javax.mail.Session
> Container
> Shareable
> 
> 
> geronimo-web.xml is:
> 
> http://geronimo.apache.org/xml/ns/j2ee/web-2.0.1";
>  xmlns:sys="http://geronimo.apache.org/xml/ns/deployment-1.2";
>  xmlns:gernaming="http://geronimo.apache.org/xml/ns/naming-1.2";
>  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> 
> xsi:schemaLocation="http://geronimo.apache.org/xml/ns/j2ee/web-2.0.1 ">
> 
> 
> 
> 
> fooCorp
> testApp
> 1.0
> car
> 
> 
> 
>org.apache.commons.lang
>org.apache.commons.lang.builder
>org.apache.commons.lang.enum
>org.apache.commons.lang.exception
>org.apache.commons.lang.math
>org.apache.commons.lang.time
>org.jaxen
> 
> 
> /foo
> 
>  
>  mail/fooMailSession
>   
>  mail/MailSession
> 
> 
> When I run the application I get the following error: 
> 
> org.apache.geronimo.common.DeploymentException: Unable to resolve resource
> reference 'mail/fooMailSession' (Could not find resource 'mail/MailSession'. 
> Perhaps it has not yet been configured, or your application does not have a
> dependency declared for that resource module?
> 
> 
> 
> Any help will be greatly appreciated!
> Thanks!


  

Re: I cannot create or delete database!

2008-07-21 Thread YunFeng Ma
Two workarouds if you can not wait for the release of v2.1.2:
1. Use FireFox English version to open the admin console
2. Remove the Chinese language in your IE via steps: Tools --> Internet Options 
--> Languages ... --> Remove Chinese language

Hope it helps.

-- Yun Feng

Joe Bohn wrote:
> tommy wrote:
>> Thanks Joe:
>> I use tomcat server, IE 7..0 , Chinese windows XP.
>> When I click the create db button , the browser have nothing change,
>> just refresh. No message in browser. Attachment is screenshot in 2.1.1.
>> .
>> I build Geronimo-2.1.2 last night, everything is perfect!
> 
> Ahh  didn't realize that you were using Chinese.  Given that it
> works in 2.1.2 it sounds like the problem was GERONIMO-4095
> (http://issues.apache.org/jira/browse/GERONIMO-4095).   We'll hopefully
> be releasing 2.1.2 very soon.
> 
> Joe
> 
> 
>> 
>> Thanks!
>> Tommy
>> -邮件原件-
>> 发件人: Joe Bohn [mailto:[EMAIL PROTECTED] 
>> 发送时间: 2008年7月18日 23:18
>> 收件人: user@geronimo.apache.org
>> 主题: Re: I cannot create or delete database!
>>
>>
>> Those INFO messages aren't related to your problem ... they are harmless.
>>
>> Can you give some more details?  Are you using a Tomcat or Jetty server 
>> image?  What are you seeing in the browser when you attempt to create 
>> the new DB and what browser are you using?  What DB were you trying to 
>> delete given that you couldn't create one?
>>
>> Joe
>>
>>
>> tommy wrote:
>>> Hi:
>>>I use Geronimo 2.1.1 in windows XP, I cannot create database or delete
>>> database in db manager(Derby in Geronimo), but I can use RunSQL function.
>>>
>>>In Geronimo.log file, some error like this:
>>>
>>> 11:32:57,062 INFO  [SupportedModesServiceImpl] Portlet mode 'edit' not
>> found
>>> for portletId: '/console-base.ApacheJK!1557872462|0'
>>> 11:32:57,062 INFO  [SupportedModesServiceImpl] Portlet mode 'help' not
>> found
>>> for portletId: '/console-base.ApacheJK!1557872462|0'
>>> 11:34:32,203 INFO  [SupportedModesServiceImpl] Portlet mode 'edit' not
>> found
>>> for portletId: '/console-base.ApacheJK!1557872462|0'
>>> 11:34:32,203 INFO  [SupportedModesServiceImpl] Portlet mode 'help' not
>> found
>>> for portletId: '/console-base.ApacheJK!1557872462|0'
>>> 11:34:44,781 INFO  [SupportedModesServiceImpl] Portlet mode 'edit' not
>> found
>>> for portletId: '/console-base.JavaSysInfo!-1263733683|0'
>>> 11:34:46,921 INFO  [SupportedModesServiceImpl] Portlet mode 'edit' not
>> found
>>> for portletId: '/console-base.ApacheJK!1557872462|0'
>>> 11:34:46,921 INFO  [SupportedModesServiceImpl] Portlet mode 'help' not
>> found
>>> for portletId: '/console-base.ApacheJK!1557872462|0'
>>> 11:35:09,812 INFO  [SupportedModesServiceImpl] Portlet mode 'edit' not
>> found
>>> for portletId: '/system-database.DBViewer!1771035942|0'
>>> 11:35:09,812 INFO  [SupportedModesServiceImpl] Portlet mode 'edit' not
>> found
>>> for portletId: '/system-database.RunSQL!1771035942|1'
>>> 11:35:22,640 INFO  [SupportedModesServiceImpl] Portlet mode 'edit' not
>> found
>>> for portletId: '/system-database.DBViewer!1771035942|0'
>>> 11:35:22,656 INFO  [SupportedModesServiceImpl] Portlet mode 'edit' not
>> found
>>> for portletId: '/system-database.RunSQL!1771035942|1'
>>> 11:36:07,312 INFO  [SupportedModesServiceImpl] Portlet mode 'edit' not
>> found
>>> for portletId: '/system-database.DBViewer!1771035942|0'
>>> 11:36:07,312 INFO  [SupportedModesServiceImpl] Portlet mode 'edit' not
>> found
>>> for portletId: '/system-database.RunSQL!1771035942|1'
>>>
>>> Thanks a lots!
>>>
>>> Tommy!
>>>
>>>
>>>
>>> 
>>>
> 
> 
> 


  

Re: EJB Injection in Managed Bean

2008-07-16 Thread YunFeng Ma
I'm not sure why this happened, but it will be easer to debug if you can attach 
your sample. :-)

-- Yun Feng

Matthias Berndt wrote:
> Good evening,
> 
> I've got two managed beans in a JSF 1.2 webapp. Both beans are quite
> equal. I try to inject a stateless session bean (EJB3) into the managed
> beans. 
> 
> @EJB(name = "java:comp/env/ejb/CredentialData")
> private CredentialData credentialData;
> 
> In the first managed bean the EJB is injected correctly. The second bean
> with exactly the same injection code does not get the EJB. There is no
> error but at runtime credentialData is null.
> 
> I get messages like
> 
> WARN  [startup] Unresolved ejb reference "ejb/CredentialData" in bean
> "GeronimoEnc".  Will attempt resolution again at runtime.
> 
> but injection works on the first managed bean.
> 
> I tried to debug through the code but failed because I didn't understand
> it completely and may be didn't find the right peace.
> 
> Can anyone give me an advice?
> 
> Thanks
> Matthias Berndt
> 
> 



  

Re: Geronimo 2.1.1 MDB Performance Question

2008-07-16 Thread YunFeng Ma
Are you using the default ActiveMQ RA (DefaultActiveMQConnectionFactory) to 
send the JMS message? DefaultActiveMQConnectionFactory configures a single-pool 
with default max-size 10. I'm not sure whether this can explain what you saw in 
your scenario, but I think you can try to create a new ActiveMQ RA (you can do 
this via admin console) with a larger size single-pool and rerun your scenario.

Hope this helps.

-- Yun Feng

the666pack wrote:
> hello,
> 
> i have a question regarding MDBS in Geronimo 2.1.1
> 
> i bombard the server with a high amount of mdb requests, the mdbs write
> tuples to a database. so although my database connection pool maximum is 20
> i realize that with mdbs the pool is just utilized with 10 connections to
> the database, no matter how many requests are coming in. 
> 
> does somebody have an idea what might be the reason for this behaviour?
> 
> thanks a lot,
> 
> mario
> 
> 


  

Re: Error in starting Server! Please Help

2008-07-15 Thread YunFeng Ma
I guess it's because of the firewall in Vista. You can try it again after 
turning off the firewall in Vista.

Hope it helps.

-- Yun Feng

Olakara wrote:
> Hi,
>  I am trying to start the server on a Vista Home OS. I get the following
> error:
> 
> Using GERONIMO_BASE:   C:\Program Files\geronimo
> Using GERONIMO_HOME:   C:\Program Files\geronimo
> Using GERONIMO_TMPDIR: var\temp
> Using JRE_HOME:C:\Java\jdk1.5.0_14\jre
> Booting Geronimo Kernel (in Java 1.5.0_14)...
> Starting Geronimo Application Server v2.1.1
> [*** ]  58%  14s  Loading
> org.apache.ger...23:25:22,409 ERROR [MCFConnectionInterceptor] Error
> occurred creating ManagedConnection for
> [EMAIL PROTECTED]
> javax.resource.spi.ResourceAdapterInternalException: Unable to obtain
> physical connection to [EMAIL PROTECTED]
> at
> org.tranql.connector.jdbc.AbstractLocalDataSourceMCF.getPhysicalConnection(AbstractLocalDataSourceMCF.java:72)
> at
> org.tranql.connector.jdbc.AbstractLocalDataSourceMCF.createManagedConnection(AbstractLocalDataSourceMCF.java:64)
> at
> org.apache.geronimo.connector.outbound.MCFConnectionInterceptor.getConnection(MCFConnectionInterceptor.java:48)
> at
> org.apache.geronimo.connector.outbound.LocalXAResourceInsertionInterceptor.getConnection(LocalXAResourceInsertionInterceptor.java:41)
> at
> org.apache.geronimo.connector.outbound.SinglePoolConnectionInterceptor.internalGetConnection(SinglePoolConnectionInterceptor.java:70)
> at
> org.apache.geronimo.connector.outbound.AbstractSinglePoolConnectionInterceptor.getConnection(AbstractSinglePoolConnectionInterceptor.java:80)
> at
> org.apache.geronimo.connector.outbound.TransactionEnlistingInterceptor.getConnection(TransactionEnlistingInterceptor.java:46)
> at
> org.apache.geronimo.connector.outbound.TransactionCachingInterceptor.getConnection(TransactionCachingInterceptor.java:94)
> at
> org.apache.geronimo.connector.outbound.ConnectionHandleInterceptor.getConnection(ConnectionHandleInterceptor.java:43)
> at
> org.apache.geronimo.connector.outbound.TCCLInterceptor.getConnection(TCCLInterceptor.java:39)
> at
> org.apache.geronimo.connector.outbound.ConnectionTrackingInterceptor.getConnection(ConnectionTrackingInterceptor.java:66)
> at
> org.apache.geronimo.connector.outbound.AbstractConnectionManager.allocateConnection(AbstractConnectionManager.java:87)
> at org.tranql.connector.jdbc.DataSource.getConnection(DataSource.java:56)
> at
> org.apache.geronimo.connector.DatabaseInitializationGBean.(DatabaseInitializationGBean.java:50)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> at
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
> at
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
> at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
> at
> org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:948)
> at
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:268)
> at
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:102)
> at
> org.apache.geronimo.gbean.runtime.GBeanInstance.start(GBeanInstance.java:541)
> at
> org.apache.geronimo.gbean.runtime.GBeanDependency.attemptFullStart(GBeanDependency.java:111)
> at
> org.apache.geronimo.gbean.runtime.GBeanDependency.addTarget(GBeanDependency.java:146)
> at
> org.apache.geronimo.gbean.runtime.GBeanDependency$1.running(GBeanDependency.java:120)
> at
> org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.fireRunningEvent(BasicLifecycleMonitor.java:176)
> at
> org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.access$300(BasicLifecycleMonitor.java:44)
> at
> org.apache.geronimo.kernel.basic.BasicLifecycleMonitor$RawLifecycleBroadcaster.fireRunningEvent(BasicLifecycleMonitor.java:254)
> at
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:294)
> at
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:102)
> at
> org.apache.geronimo.gbean.runtime.GBeanInstance.start(GBeanInstance.java:541)
> at
> org.apache.geronimo.gbean.runtime.GBeanDependency.attemptFullStart(GBeanDependency.java:111)
> at
> org.apache.geronimo.gbean.runtime.GBeanDependency.addTarget(GBeanDependency.java:146)
> at
> org.apache.geronimo.gbean.runtime.GBeanDependency$1.running(GBeanDependency.java:120)
> at
> org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.fireRunningEvent(BasicLifecycleMonitor.java:176)
> at
> org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.access$300(BasicLifecycleMonitor.java:44)
> at
> org.apache.geronimo.kernel.basic.BasicLifecycleMonitor$RawLifecycleBroadcaster.fireRunningEvent(BasicLifecycleMonitor.java:254)
> at
> o

Re: [ANNOUNCE] Welcome Shiva Kumar H R as the newest member of the Geronimo PMC

2008-06-24 Thread YunFeng Ma
Contratulations, Shiva!!!

-- Yun Feng

Vamsavardhana Reddy wrote: 
All,
Please join us in congratulating Shiva Kumar H R as the newest member
of the Geronimo PMC. It's been great to have Shiva working with us as a
committer on Geronimo. Even better to have him join us in providing
oversight of the Geronimo project.

Way to go Shiva!!!

The Apache Geronimo PMC

++Vamsi


  

Re: [ANNOUNCE] Welcoming Yun Feng Ma as a Geronimo Committer

2008-06-20 Thread YunFeng Ma
Thanks a lot for the recognition. Thanks a lot, everyone!!


- Original Message 
From: Shiva Kumar H R <[EMAIL PROTECTED]>
To: user@geronimo.apache.org
Cc: [EMAIL PROTECTED]
Sent: Friday, June 20, 2008 4:48:58 PM
Subject: Re: [ANNOUNCE] Welcoming Yun Feng Ma as a Geronimo Committer

Awesome! Congratulations Yun Feng!


On Thu, Jun 19, 2008 at 9:33 PM, Donald Woods <[EMAIL PROTECTED]> wrote:

I'd like to welcome Yun Feng Ma as Geronimo's newest committer.  He should have 
his Apache account and karma in the next week or so.

Yun Feng, keep up all of the great work to test and submit patches, as you've 
helped make Geronimo a better server for all of our users.


-Donald




-- 
Thanks,
Shiva 


  

Re: how to apply GERONIMO-4072.patch?

2008-06-12 Thread YunFeng Ma
You can download the daily build from: 
http://people.apache.org/builds/geronimo/server/binaries/

-- YunFeng Ma

jklcom99 wrote: 
Kevan,

I applied the patch and built it.  When I tried to build my application with
the new geronimo geronimo-tomcat6-javaee5-2.1.2-SNAPSHOT.  It failed to
expand geronimo-activemq-ra-2.1.2-SNAPSHOT.rar.  I should mention that when
building the Geronimo source it failed at starting Selenium.  However, the
geronimo-tomcat6-javaee5-2.1.2-SNAPSHOT-bin.tar.gz did get created.  I
assume the build is ok.

Can you tell me I'm missing?  Is there a build with this patch available for
download?

Thank you


Kevan Miller wrote:


On Jun 5, 2008, at 10:35 PM, jklcom99 wrote:


Can someone show me the steps on how to apply GERONIMO-4072.patch?

I'm not sure if the patch was prepared against trunk or branches/2.1.  
Assuming branches/2.1:

Get the source tree:
svn co https://svn.apache.org/repos/asf/geronimo/server/branches/2.1
cd 2.1

Apply the patch (adjust path to the patch file accordingly):
patch -p0 < GERONIMO-4072.patch
or
patch -p0 -i GERONIMO-4072.patch

Build:
mvn

--kevan


  

Re: Unable to build dbtester sample

2008-06-11 Thread YunFeng Ma
Hi Ashish,

I guess you must check out only the dbtester source codes from 
https://svn.apache.org/repos/asf/geronimo/samples/branches/2.1/samples/dbtester/,
 then you got that error. It will work fine if you check out the all the source 
codes using following command:
  > svn co https://svn.apache.org/repos/asf/geronimo/samples/branches/2.1/

Hope it helpful.

-- YunFeng Ma


- Original Message 
From: Ashish Jain <[EMAIL PROTECTED]>
To: user@geronimo.apache.org
Sent: Wednesday, June 11, 2008 2:25:58 PM
Subject: Unable to build dbtester sample

Hi,
While building the sample available at 
http://cwiki.apache.org/GMOxDOC21/dbtester-db-pool-testing-sample-application.html
 I hit the following error.  I looked into pom.xml and found that it still 
contains "2.1-snapshot ".  The error suggests that the artifacts are not 
present at the specified location. I tried adding mirrors to settings.xml but 
could not make it work.

C:\gsamples\dbtester>mvn install
[INFO] Scanning for projects...
Downloading: http://repo1.maven.org/maven2/org/apache/geronimo/samples/samples/2
..1/samples-2.1.pom
[INFO] 
[ERROR] FATAL ERROR
[INFO] 
[INFO] Failed to resolve artifact.

GroupId: org.apache.geronimo.samples
ArtifactId: samples
Version: 2.1

Reason: Unable to download the artifact from any repository

  org.apache.geronimo.samples:samples:pom:2.1

from the specified remote repositories:
  ibiblio.org (http://repo1.maven.org/maven2)


[INFO] 
[INFO] Trace
org.apache.maven.reactor.MavenExecutionException: Cannot find parent: org.apache
..geronimo.samples:samples for project: null:dbtester:pom:null for project 
null:d
btester:pom:null
at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:378)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:292)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:64)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:615)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)

at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.project.ProjectBuildingException: Cannot find parent
: org.apache.geronimo.samples:samples for project: null:dbtester:pom:null for pr
oject null:dbtester:pom:null
at org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(D
efaultMavenProjectBuilder.java:1370)
at org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(Def
aultMavenProjectBuilder.java:821)
at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFi
leInternal(DefaultMavenProjectBuilder.java:506)
at org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMave
nProjectBuilder.java:198)
at org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:583)
at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:461)
at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:365)
... 11 more
Caused by: org.apache.maven.project.ProjectBuildingException: POM 'org.apache.ge
ronimo.samples:samples' not found in repository: Unable to download the artifact
 from any repository

  org.apache.geronimo.samples:samples:pom:2.1

from the specified remote repositories:
  ibiblio.org (http://repo1.maven.org/maven2)
 for project org.apache.geronimo.samples:samples
at org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepo
sitory(DefaultMavenProjectBuilder.java:603)
at org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(D
efaultMavenProjectBuilder.java:1366)
... 17 more
Caused by: org.apache.maven.artifact.resolver.ArtifactNotFoundException: Unable
to download the artifact from any repository

  org.apache.geronimo.samples:samples:pom:2.1

from the specified remote repositories:
  ibiblio.org (http://repo1.maven.org/maven2)

at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(De
faultArtifactResolver.java:212)
at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(De
faultArtifactResolver.java:74)
at org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepo
sitory(DefaultMavenProjectBuilder.java:55

Re: G1.1 to G2.0-M6 migration: JDBC ClassCastException: DelegatingDriver

2007-07-15 Thread YunFeng Ma
There are two ways to connect to Derby in Geronimo.

The first way:  Embedded
Your deployment plan uses this way because of the
following config


dataweaver
false

This way, you have to set system-database as a
dependency.

The another way: Network
For this way, the deployment plan should be:


org.apache.derby.jdbc.ClientDriver
jdbc:derby://localhost:1527/testDb;
This way, you can use derby-10.2.2.0.jar as a
dependecny.

Hope this helpful.

Thanks
YunFeng

Xh wrote:
> Hi,
>
> - Original Message 
>
> I think you need to change the dependency from the
derby jar to 
> system-database
>
> 
>
org.apache.geronimo.configs
> system-database
> car
> 
>
> I have no idea why your app worked in G 1.1 :-), the
DelegatingDriver 
> wasn't there but I thought the same kind of problem
still occurred.
>
> Let us know if this doesn't fix the problem
> -
>
> I didn't say I use SystemDatabase and its
SystemDatasource pool ;)
>
> I have created my own database (dataweaver) and
created pool to this 
> database.
>
> So in my G2.0M-6 I have two following embedded Derby
databases:
>
> 1. SystemDatabase with its
org.apache.geronimo.configs/system-database 
> pool
> 2. dataweaver with its
console.dbpool/DataWeaverWARDerby one
>
> the funniest thing is, that SystemDatabase
getConnection() does not 
> throw any exceptions,
> dataweaver getConnection() throws...
>
> maybe something else is wrong?
>
> best regards
> Lukasz
>
>
>
>
>

> To help you stay safe and secure online, we've
developed the all new 
> *Yahoo! Security Centre* 
>
.




   

Get the Yahoo! toolbar and be alerted to new email wherever you're surfing.
http://new.toolbar.yahoo.com/toolbar/features/mail/index.php


Re: Secured connection

2007-06-24 Thread YunFeng Ma
Hi,

Maybe you can take MagicGball as a reference. You can
get it from:
https://svn.apache.org/repos/asf/geronimo/sandbox/magicGball

MagicGball demonstrates the application client
accesses the EJBs via non-security CORBA and security
CORBA.

Hope it helpful.

Thanks
YunFeng Ma

On 2007-06-25 01:05:28, David Jencks
<[EMAIL PROTECTED]> wrote:
>
>On Jun 24, 2007, at 12:13 PM, Tero Mäntyvaara wrote:
>
>> David Jencks wrote:
>>> Please send to only one list at a time, this is
more appropriate for
>>> the user list.
>> I am really sorry, I will not do that again. :-/
>>>
>>> On Jun 21, 2007, at 7:45 AM, Tero Mäntyvaara
wrote:
>>>
>>>> Does latest G support secured (read encrypted)
connection between  
>>>> server
>>>> and client?
>>>
>>> That depends on the protocol you want to use and
possibly on the
>>> version of geronimo you want to use.  I'll assume
you are using
>>> geronimo 2.0 (trunk)
>> I was thinking the latest, so it will be then 2.0.
>>>
>>> web/https -- yes
>>> jaxrpc/jaxws/soap -- yes
>>> ejb using corba -- yes
>>> ejb using openejb proprietary protocol -- not
turned on by default,
>>> and I'm not sure if you can turn it on without
extra programming.
>> I was planning to use encrypted connection between
remote EJB- 
>> component
>> and Java-application. So my alternatives are CORBA
and openEJB. I  
>> would
>> like to use this J2EE compliant CORBA-connection.
How has this
>> en-/decryption been accomplished then?
>
>It's not clear to me if your java-application is the
client or server  
>here, nor if it is running in a javaee container. 
I'm going to  
>assume that  it  is the client and is either a javaee
client  
>application running in geronimo app client container
or another  
>javaee application.  It's possible to use corba from
a non-javaee  
>application but you have to set up quite a bit of
configuration in code.
>
>I would start by looking at the examples in / 
>testsuite/corba-testsuite.  These are all set up to
use no security,  
>but you can see which objects you need to configure. 
On the server  
>side you need a TSSBeanGBean that specifies the
required and allowed  
>security properties to use the server ejb, and on the
client side  
>there's a corresponding CSSBeanGBean that specifies
what the client  
>is willing to supply.
>
>There are a lot of choices.  There are 3 layers
involved.
>- transport layer.  You can specify unprotected, ssl,
or ssl with  
>client certificate.  IIRC the client certificate can
be used identify  
>the client.
>- AS layer (Application Security??? I can't remember
what it stands  
>for)  At this layer you can specify that the client
will identify  
>itself using username/password.  (GSSUP)
>- SAS layer.  (Security Attribute Service) If the
client is working  
>on behalf of a user other than the user who is
running the client  
>itself (for instance if it is a server), you can
propagate the actual  
>user identity using an identity token.  However the
user will not be  
>reauthenticated on the server: the server will trust
that the client  
>has already performed proper authentication.  Note
that this is  
>reasonable if e.g. you have authenticated the client
via a trusted  
>client certificate and are using ssl transport.
>
>There are some schemas for the css and tss bean
configurations, corba- 
>css-config-2.1.xsd and corba-tss-config-2.1.xsd.  If
you have trouble  
>figuring out what to specify, tell us what options
you want and we'll  
>try to help come up with an appropriate
configuration.
>
>thanks
>david jencks
>
>>>
>>>
>>> thanks
>>> david jencks
>>>
>>>>
>>>>
>>>> Tero Mäntyvaara
>> Tero Mäntyvaara
>
>
>




   

Moody friends. Drama queens. Your life? Nope! - their life, your story. Play 
Sims Stories at Yahoo! Games.
http://sims.yahoo.com/  


Re: Re: Daytrader 1.2

2007-06-05 Thread YunFeng Ma
You can get the JEE5 DayTrader from
https://svn.apache.org/repos/asf/geronimo/daytrader/trunk.

You have to use svn to check out the source codes and
use maven to build it.

Using the following command:
  svn checkout
https://svn.apache.org/repos/asf/geronimo/daytrader/trunk
daytrader
  cd daytrader
  mvn install

svn tool: http://www.tortoisesvn.org/
Maven: http://maven.apache.org/download.html

Hope it helps.

Thanks
YunFeng Ma

On 2007-06-05 19:34:31, johper
<[EMAIL PROTECTED]> wrote:
>
>Hi,
>
>Got Daytrader up and running on
geronimo-tomcat6-jee5-2.0-M6-rc1.
>From http://cwiki.apache.org/GMOxDOC12/daytrader.html
I
>downloaded source and did mvn install successfully.
>
>Modified createDerbyDB.bat:
>set
CLASSPATH=%DERBY_PATH%\derby\10.2.2.0\derby-10.2.2.0.jar
>set
>CLASSPATH=%CLASSPATH%;%DERBY_PATH%\derbynet\10.2.2.0\derbynet-10.2.2.0.jar
>set
>CLASSPATH=%CLASSPATH%;%DERBY_PATH%\derbytools\10.2.2.0\derbytools-10.2.2.0.jar
>set
>CLASSPATH=%CLASSPATH%;%DERBY_PATH%\derbyclient\10.2.2.0\derbyclient-10.2.2.0.jar
>So right versions of jar was found.
>
>Modified daytrader-1.2-beta-plan.xml:
>TradeDatasource 
>org.tranql/tranql-connector-derby-embed-xa/1.3/rar
>Resource adapter
>org.apache.geronimo.modules/geronimo-activemq-ra/2.0-M6-rc1/rar
>
>A very nice application. 
>
>Unfortunately I am looking for JEE5 Daytrader :-)
>
>/Johan
>
>
>Hernan Cunico wrote:
>> 
>> Hi All,
>> I continued to work in Daytrader 1.2 doc based on
what Chris Blythe
>> started for DT 2.
>> Doc in 1.2 includes some building, deployment and
testing. I plan to
>> include more stuff to show all the goodies of
Daytrader.
>> 
>> Here is the link
>> 
>> http://cwiki.apache.org/GMOxDOC12/daytrader.html
>> 
>> Comments welcome
>> 
>> Cheers!
>> Hernan
>> 
>> 
>
>-- 
>View this message in context:
http://www.nabble.com/Daytrader-1.2-tf3852698s134.html#a10967619
>Sent from the Apache Geronimo - Users mailing list
archive at Nabble.com.
>
>
>





 

We won't tell. Get more on shows you hate to love 
(and love to hate): Yahoo! TV's Guilty Pleasures list.
http://tv.yahoo.com/collections/265