Re: osuser example: propertyset versioning issue in the example app.

Hani Suleiman <[email protected]> Tue, 16 Dec 2003 22:44:23 -0500
Newsgroups gmane.comp.java.open-symphony.devel
Message-ID <[email protected]>
It's on my todo list! At some point Real Soon Now I'll go through all  
jira patches/issues, fall into a frenzy of fixes, and burp out a build  
that people can download (even if it isn't a 1.0 release), just to  
silence all those damn bastard complaining about no download for  
osuser.

No promises when this'll happen, but let's just say that every patch or  
developer asking about it nudges me closer to dedicating the time for  
it.

On Dec 16, 2003, at 10:10 PM, Patrick Lightbody wrote:

> Yeah, OSUser is pretty stale these days. Still works very well, but
> without an active developer or documentation, these kinds of issues  
> will
> continue to stagnate.  :(
>
> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]] On Behalf
> Of J. Matthew Pryor
> Sent: Thursday, December 11, 2003 8:16 PM
> To: [email protected]
> Subject: RE: [Opensymphony-developers] osuser example: propertyset
> versioning issue in the example app.
>
> Another thing I had to do for JBoss 3.2.X was chage the configuration  
> to
> the
> login module
>
> The readme I think is for an older version of JBoss. I needed something
> like
> this in login-config.xml
>
>     <application-policy name = "osuser">
>        <authentication>
>           <login-module code =
> "com.opensymphony.user.provider.jboss.OSUserLoginModule"
>              flag = "required">
>           </login-module>
>        </authentication>
>     </application-policy>
>
> Matthew
>
>> -----Original Message-----
>> From: [email protected]
>> [mailto:[email protected]]On Behalf
> Of
>> Hani Suleiman
>> Sent: Friday, December 12, 2003 8:21 AM
>> To: [email protected]
>> Subject: Re: [Opensymphony-developers] osuser example: propertyset
>> versioning issue in the example app.
>>
>>
>> File issues in jira and attach patches, to make a patch:
>>
>> (from osuser root dir)
>> cvs diff -q -W -u > patch.txt
>>
>> J. Matthew Pryor wrote:
>>
>>> Well I am happy to put some time into it
>>>
>>> You want diffs?
>>>
>>> Remind me again how to make diffs for multiple files in a way
>> that is easy
>>> for you to digest
>>>
>>> Matthew
>>>
>>>
>>>> -----Original Message-----
>>>> From: [email protected]
>>>> [mailto:[email protected]]On
> Behalf Of
>>>> Hani Suleiman
>>>> Sent: Friday, December 12, 2003 2:36 AM
>>>> To: [email protected]
>>>> Subject: Re: [Opensymphony-developers] osuser example: propertyset
>>>> versioning issue in the example app.
>>>>
>>>>
>>>> That's because of a....err....very stupid decision by Pat a while
> back
>>>> when he was young and naive. He decided that he's going to maintain
> all
>>>> the mappings by hand, which needless to say never happened. I'd very
>>>> gladly welcome any patches that get rid of the checked in files and
> make
>>>> sure the xdoclet tags are all up to date.
>>>>
>>>> J. Matthew Pryor wrote:
>>>>
>>>>
>>>>> OK so now I am curious
>>>>>
>>>>> Why is it the case the oscore uses xdoclet in the build.xml but
> osuser
>>>>> appears to have xdoclet generated code checked into CVS?
>>>>>
>>>>> The main reason not to do this is to take advantage of bug fixes &
>>>>> enhancements in xdoclet I guess, not to mention more utility
>>>>
>>>> for folks who
>>>>
>>>>> wish to build osuser themselves (perhaps with different
>>>>
>>>> ejbdoclet flags etc)
>>>>
>>>>> Thanks,
>>>>> jmp
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>> -----Original Message-----
>>>>>> From: [email protected]
>>>>>> [mailto:[email protected]]On
>>  Behalf Of
>>>>>> J. Matthew Pryor
>>>>>> Sent: Thursday, December 11, 2003 11:26 PM
>>>>>> To: [email protected]
>>>>>> Subject: RE: [Opensymphony-developers] osuser example: propertyset
>>>>>> versioning issue in the example app.
>>>>>>
>>>>>>
>>>>>> So sniffing around some more, I can see the the xdoclet
>> template wants a
>>>>>> configParam to set the database type
>>>>>>
>>>>>> <database-type><XDtConfig:configParameterValue
>>>>>> paramName="DatabaseType"/></database-type>
>>>>>>
>>>>>> So if that is not passed to xdoclet when oscore is built, then it
> will
>>>>>> always be empty
>>>>>>
>>>>>> Sniffing around a bit more I can see that it is not passed to the
>>>>>> <weblogic/> subtask of ejbdoclet at build time, so that explains
> it
>>>>>>
>>>>>> The question is, what to do now?
>>>>>>
>>>>>> jmp
>>>>>>
>>>>>>
>>>>>>
>>>>>>> -----Original Message-----
>>>>>>> From: [email protected]
>>>>>>> [mailto:[email protected]]On
>>>>
>>>> Behalf Of
>>>>
>>>>>>> J. Matthew Pryor
>>>>>>> Sent: Thursday, December 11, 2003 11:09 PM
>>>>>>> To: [email protected]
>>>>>>> Subject: RE: [Opensymphony-developers] osuser example:
> propertyset
>>>>>>> versioning issue in the example app.
>>>>>>>
>>>>>>>
>>>>>>> The issue appears to be that
>>>>>>
>>>>>> META-INF/weblogic-cmp-rdbms-jar.xml in oscore
>>>>>>
>>>>>>
>>>>>>> doe sindeed have an empty element for database-type
>>>>>>>
>>>>>>> <?xml version="1.0" encoding="UTF-8"?>
>>>>>>>
>>>>>>> <!DOCTYPE weblogic-rdbms-jar PUBLIC "-//BEA Systems,
>> Inc.//DTD WebLogic
>>>>>>> 7.0.0 EJB RDBMS Persistence//EN"
>>
>>>>>> "http://www.bea.com/servers/wls700/dtd/weblogic-rdbms20-persistenc
>>>>>>> e-700.dtd"
>>>>>>>
>>>>>>> <weblogic-rdbms-jar>
>>>>>>>
>>>>>>> [snip]
>>>>>>>
>>>>>>>  <create-default-dbms-tables>True</create-default-dbms-tables>
>>>>>>>  <database-type></database-type>
>>>>>>>
>>>>>>> </weblogic-rdbms-jar>
>>>>>>>
>>>>>>> And whilst this is legal XML, I have had trouble with WebLogic
>>>>>>
>>>>>> before not
>>>>>>
>>>>>>
>>>>>>> liking empty elements.
>>>>>>>
>>>>>>> The WebLogic documentation claims the value has to be one of
>>>>>>>
>>>>>>> DB2| INFORMIX| ORACLE| SQL_SERVER| SYBASE| POINTBASE
>>>>>>>
>>>>>>> Which kind of sucks for a library that doesn't know what
>> database it is
>>>>>>> going to target
>>>>>>>
>>>>>>> No easy way to solve this that I can see (you can work around
>>>>
>>>> it easily)
>>>>
>>>>>>> jmp
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>> -----Original Message-----
>>>>>>>> From: [email protected]
>>>>>>>>
>>>>>>
>>>>>> [mailto:[email protected]]On
>>  Behalf Of
>>>>>>
>>>>>>
>>>>>>>> Nick Faiz
>>>>>>>> Sent: Thursday, December 11, 2003 5:49 PM
>>>>>>>> To: '[email protected]'
>>>>>>>> Subject: [Opensymphony-developers] osuser example: propertyset
>>>>>>>> versioning issue in the example app.
>>>>>>>>
>>>>>>>>
>>>>>>>> Hi,
>>>>>>>> 	The example app. built with Matthew's version of
>> build.xml but there
>>>>>>>> were a couple of issues. I thought I'd email them.
>>>>>>>>
>>>>>>>> 	There's a versioning discrepancy in the reference to the
>>>>>>>> propertyset-x.jar.
>>>>>>>>
>>>>>>>> <application>
>>>>>>>>
>>>>>>>> 	<display-name>OSUser example app</display-name>
>>>>>>>>
>>>>>>>> 	...
>>>>>>>>   <module>
>>>>>>>>       <ejb>propertyset-1.1.1.jar</ejb>
>>>>>>>>   </module>
>>>>>>>>
>>>>>>>> 	The only propertyset.jar I can find in my checkout is
>>>>>>>> propertyset-1.3-dev.jar .
>>>>>>>>
>>>>>>>> 	I altered application.xml to the included version
>> and got past that
>>>>>>>> error, but found missing libraries when I next tried to deploy
>>>>>>>
>>>>>>> the example
>>>>>>>
>>>>>>>
>>>>>>>> ear in WebLogic 7.2..
>>>>>>>>
>>>>>>>> 	I don't have commons logging set up, but that won't
>> be hard to fix.
>>>>>>>>
>>>>>>>> 	I did see this stacktrace, related to oscore.
>>>>>>>>
>>>>>>>> <11/12/2003 17:41:08> <Error> <EJB> <010069> <Error preparing
>>>>>>>
>>>>>>> EJB Module :
>>>>>>>
>>>>>>>
>>>>>>>> oscore-2.2.1.jar
>>>>>>>> Exception is :
>>>>>>>>
>>>>>>>> Unable to deploy EJB: oscore-2.2.1.jar from oscore-2.2.1.jar:
>>>>>>>>
>>>>>>>>
>>>>>>>> Error while reading 'META-INF/weblogic-cmp-rdbms-jar.xml'. The
>>>>>>>
>>>>>>> error was:
>>>>>>>
>>>>>>>
>>>>>>>> PAction[3456720](.weblogic-rdbms-jar.database-type.) must be a
>>>>>>>
>>>>>>> non-empty
>>>>>>>
>>>>>>>
>>>>>>>> string
>>>>>>>>
>>>>>>>> 	Are there any instructions for configuring the
>> example app. for a
>>>>>>>> WebLogic build?
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> Regards,
>>>>>>>> Nick Faiz
>>>>>>>> B2B e-Commerce Developer
>>>>>>>> Corporate Express Australia Ltd.
>>>>>>>>
>>>>>>>> Phone: +61-2-9335-0495, Fax: 9335-0753, Email: [email protected]
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> -------------------------------------------------------
>>>>>>>> This SF.net email is sponsored by: SF.net Giveback Program.
>>>>>>>> Does SourceForge.net help you be more productive?  Does it
>>>>>>>> help you create better code?  SHARE THE LOVE, and help us help
>>>>>>>> YOU!  Click Here: http://sourceforge.net/donate/
>>>>>>>> _______________________________________________
>>>>>>>> Opensymphony-developers mailing list
>>>>>>>> [email protected]
>>
>>>>>>> https://lists.sourceforge.net/lists/listinfo/opensymphony- 
>>>>>>> develope
> rs
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> -------------------------------------------------------
>>>>>>> This SF.net email is sponsored by: SF.net Giveback Program.
>>>>>>> Does SourceForge.net help you be more productive?  Does it
>>>>>>> help you create better code?  SHARE THE LOVE, and help us help
>>>>>>> YOU!  Click Here: http://sourceforge.net/donate/
>>>>>>> _______________________________________________
>>>>>>> Opensymphony-developers mailing list
>>>>>>> [email protected]
>>
>>>>>> https://lists.sourceforge.net/lists/listinfo/opensymphony- 
>>>>>> developer
> s
>>>>>>
>>>>>>
>>>>>>
>>>>>> -------------------------------------------------------
>>>>>> This SF.net email is sponsored by: SF.net Giveback Program.
>>>>>> Does SourceForge.net help you be more productive?  Does it
>>>>>> help you create better code?  SHARE THE LOVE, and help us help
>>>>>> YOU!  Click Here: http://sourceforge.net/donate/
>>>>>> _______________________________________________
>>>>>> Opensymphony-developers mailing list
>>>>>> [email protected]
>>
>>>>> https://lists.sourceforge.net/lists/listinfo/opensymphony- 
>>>>> developers
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> -------------------------------------------------------
>>>>> This SF.net email is sponsored by: SF.net Giveback Program.
>>>>> Does SourceForge.net help you be more productive?  Does it
>>>>> help you create better code?  SHARE THE LOVE, and help us help
>>>>> YOU!  Click Here: http://sourceforge.net/donate/
>>>>> _______________________________________________
>>>>> Opensymphony-developers mailing list
>>>>> [email protected]
>>
>>>> https://lists.sourceforge.net/lists/listinfo/opensymphony-developers
>>>>>
>>>>
>>>>
>>>>
>>>> -------------------------------------------------------
>>>> This SF.net email is sponsored by: SF.net Giveback Program.
>>>> Does SourceForge.net help you be more productive?  Does it
>>>> help you create better code?  SHARE THE LOVE, and help us help
>>>> YOU!  Click Here: http://sourceforge.net/donate/
>>>> _______________________________________________
>>>> Opensymphony-developers mailing list
>>>> [email protected]
>>>> https://lists.sourceforge.net/lists/listinfo/opensymphony-developers
>>>
>>>
>>>
>>>
>>> -------------------------------------------------------
>>> This SF.net email is sponsored by: SF.net Giveback Program.
>>> Does SourceForge.net help you be more productive?  Does it
>>> help you create better code?  SHARE THE LOVE, and help us help
>>> YOU!  Click Here: http://sourceforge.net/donate/
>>> _______________________________________________
>>> Opensymphony-developers mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/opensymphony-developers
>>>
>>
>>
>>
>> -------------------------------------------------------
>> This SF.net email is sponsored by: SF.net Giveback Program.
>> Does SourceForge.net help you be more productive?  Does it
>> help you create better code?  SHARE THE LOVE, and help us help
>> YOU!  Click Here: http://sourceforge.net/donate/
>> _______________________________________________
>> Opensymphony-developers mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/opensymphony-developers
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: SF.net Giveback Program.
> Does SourceForge.net help you be more productive?  Does it
> help you create better code?  SHARE THE LOVE, and help us help
> YOU!  Click Here: http://sourceforge.net/donate/
> _______________________________________________
> Opensymphony-developers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/opensymphony-developers
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: IBM Linux Tutorials.
> Become an expert in LINUX or just sharpen your skills.  Sign up for  
> IBM's
> Free Linux Tutorials.  Learn everything from the bash shell to sys  
> admin.
> Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
> _______________________________________________
> Opensymphony-developers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/opensymphony-developers
>



-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click