No subject


Tue Jul 29 16:44:04 PDT 2008


but that testing page is 3 months old, so I don't know about the JBoss
testing progress.

I must use JBoss 4.0.5, so unfortunately working on JBoss 4.2.x won't help
me [image: :(]

That said, although I'm not confident about using the Registry for this
release of my application, I liked the product I saw when I tested in Tomcat
and I'm willing to keep trying to use it.

I'm thinking about contributing to the project soon, because I think it
would be very nice to have it done for production use. I like the product
and the concept, I just think it's not production mode right now.
Regards,

Bruno Luiz Pereira da Silva
blpsilva at gmail.com
http://brunopereira.org


On Wed, Sep 24, 2008 at 8:32 AM, Paul Fremantle <paul at wso2.com> wrote:

> Bruno
>
> I'm very keen to resolve your problems and we will get you an email
> explaining exactly how to set up WSO2 Registry 1.1 with JBoss 4.0.5. We
> are also raising a JIRA to work on the exception handling.
>
> I appreciate the feedback and I hope you continue to help us improve the
> product.
>
> Paul
>
> Bruno Luiz Pereira da Silva wrote:
> > Hi, I had correctly installed MySql JDBC driver in JBoss, which is
> > putting it in JBOSS_HOME/server/default/lib. In JBoss (I guess in Tomcat
> > too), the JDBC drivers must be placed on the server lib dir. It doesn't
> > work to put it inside the application.
> >
> > Well, my problems were not due to connection failure. I'm totally sure
> > about it, because I saw that the database was being manipulated and
> > populated. I don't really know what causes the JDBC problems, but they
> > happen A LOT. I mean, when I start the server, there are thousands of
> > error lines in the logs. After the server starts, when I start using the
> > application, there are thousands more error lines in the logs.
> >
> > It's curious that the UI seems to work. I tested only the user creation
> > feature, because I was trying to figure out the problems and didn't even
> > try other features in JBoss.
> >
> > I was not able to make the application work ok in JBoss, not even after
> > checking the source code for problems. Something that really scared me
> > was the fact that JBoss was complaining a lot about PreparedStatements
> > that were left open. I checked some of the JDBC code in the application
> > and didn't feel confident about the error handling. At least where I
> > looked there were JDBC code inside try/catch blocks (handling
> > SQLException), but there were no finally blocks closing the
> > PreparedStatements in cases of failure. JBoss showed a LOT of error
> > messages related to this, and if this is really the way the application
> > manages JDBC code, I wouldn't be any confident to put anything in
> > production using the Registry.
> >
> > Well, I don't know if I'll have much time this week in my job to keep
> > trying to make Registry work in JBoss. We must finish the application
> > soon and I'm considering the implementation of the features I need
> > inside my server application. However, I definitely want to keep looking
> > at both WSO2 Registry and Mule Galaxy in my spare time these next couple
> > of weeks to make a final decision.
> >
> > Regards,
> >
> > Bruno Luiz Pereira da Silva
> > blpsilva at gmail.com <mailto:blpsilva at gmail.com>
> > http://brunopereira.org
> >
> >
> > On Wed, Sep 24, 2008 at 1:52 AM, Krishantha Samaraweera
> > <krishantha at wso2.com <mailto:krishantha at wso2.com>> wrote:
> >
> >     Hi Bruno,
> >
> >     We have tested wso2registry 1.1 on Jboss-4.2.2 with derby DB. Almost
> all
> >     the registry functionalities worked fine with Jboss-4.2.2, Please
> refer
> >     to [1] for more details. And one of our user was able to deploy
> >     wso2registry 1.1 on JBoss 3.2 with Apache Derby database [2].
> Registry
> >     was thoroughly tested with mysql 5.0 on tomcat server. So as the
> answer
> >     for your question, I think it is worth to trying out registry with
> your
> >     JBoss 4.0.5. <http://4.0.5.>
> >
> >     JDBC exceptions may have been caused due to mysql connection failure.
> >     Did you put the mysql-connector.jar file in to WEB-INF/lib. If not
> >     please copy it and follow the steps mentioned in [2] to set up Jboss.
> If
> >     you are still facing the same problem please reply with server error
> >     logs and your environment details i.e OS, mysql version.
> >
> >     Thanks,
> >     Krishantha.
> >
> >     [1]. http://wso2.org/wiki/display/registry/Registry+1.1
> >     [2]. http://wso2.org/forum/thread/3961
> >
> >
> >     Bruno Luiz Pereira da Silva wrote:
> >      > Hi, I'm starting to use WSO2 Registry in my application, to
> publish
> >      > configurations and other things to be read by my application.
> >      >
> >      > I need to deploy WSO2 Registry to JBoss 4.0.5, but I'm having some
> >      > problems. I've managed to solve the log4j problem and also the jsp
> >      > compilation problems (related to jsps using JDK 1.5 code), but
> >     now I'm
> >      > finding a hard time to advance.
> >      >
> >      > When the Registry starts, before I even try to open the UI, many
> >      > errors show up in the server logs. There are many jdbc problems,
> >     and I
> >      > don't have a clue of the cause. I'm using Registry version 1.1,
> >     and my
> >      > registry is connecting to a MySql database through a JBoss
> >     datasource.
> >      >
> >      > Is it worth trying to use Registry in JBoss right now? Not being
> able
> >      > to use it on JBoss would cause me some hard infrastructure
> >     problems (a
> >      > long time to have the environment ready). If I can't use JBoss,
> I'm
> >      > probably going to implement a custom registry for my needs, but
> I'd
> >      > certainly prefer to use WSO2 product.
> >      >
> >      > What do you recommend?
> >      >
> >      > Regards,
> >      >
> >      > Bruno Luiz Pereira da Silva
> >      > blpsilva at gmail.com <mailto:blpsilva at gmail.com>
> >     <mailto:blpsilva at gmail.com <mailto:blpsilva at gmail.com>>
> >      > http://brunopereira.org
> >      >
> >
> ------------------------------------------------------------------------
> >      >
> >      > _______________________________________________
> >      > Registry-dev mailing list
> >      > Registry-dev at wso2.org <mailto:Registry-dev at wso2.org>
> >      > http://mailman.wso2.org/cgi-bin/mailman/listinfo/registry-dev
> >      >
> >
> >
> >     _______________________________________________
> >     Registry-dev mailing list
> >     Registry-dev at wso2.org <mailto:Registry-dev at wso2.org>
> >     http://mailman.wso2.org/cgi-bin/mailman/listinfo/registry-dev
> >
> >
> >
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > Registry-dev mailing list
> > Registry-dev at wso2.org
> > http://mailman.wso2.org/cgi-bin/mailman/listinfo/registry-dev
>
> --
> Paul Fremantle
> CTO and Co-Founder, WSO2
> OASIS WS-RX TC Co-chair
> VP, Apache Synapse
>
> Office: +44 844 484 8143
> Cell: +44 798 447 4618
>
> blog: http://pzf.fremantle.org
> paul at wso2.com
>
> "Oxygenating the Web Service Platform", www.wso2.com
>
> _______________________________________________
> Registry-dev mailing list
> Registry-dev at wso2.org
> http://mailman.wso2.org/cgi-bin/mailman/listinfo/registry-dev
>

------=_Part_82259_33272371.1222256321923
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

<div dir="ltr"><p>Hi Paul, thanks for the feedback.</p>
<p>From what I could see in the Registry wiki, the focus was more on
Tomcat, but that testing page is 3 months old, so I don't know about
the JBoss testing progress.</p>
<p>I must use JBoss 4.0.5, so unfortunately working on JBoss 4.2.x won't help me <img src="http://brunopereira.org/wp-includes/images/smilies/icon_sad.gif" alt=":(" class="wp-smiley"> </p>
<p>That said, although I'm not confident about using the Registry for
this release of my application, I liked the product I saw when I tested
in Tomcat and I'm willing to keep trying to use it.</p>
<p>I'm thinking about contributing to the project soon, because I think
it would be very nice to have it done for production use. I like the
product and the concept, I just think it's not production mode right
now.<br clear="all"></p>Regards,<br><br>Bruno Luiz Pereira da Silva<br><a href="mailto:blpsilva at gmail.com">blpsilva at gmail.com</a><br><a href="http://brunopereira.org">http://brunopereira.org</a><br>
<br><br><div class="gmail_quote">On Wed, Sep 24, 2008 at 8:32 AM, Paul Fremantle <span dir="ltr">&lt;<a href="mailto:paul at wso2.com">paul at wso2.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Bruno<br>
<br>
I&#39;m very keen to resolve your problems and we will get you an email<br>
explaining exactly how to set up WSO2 Registry 1.1 with JBoss <a href="http://4.0.5." target="_blank">4.0.5.</a> We<br>
are also raising a JIRA to work on the exception handling.<br>
<br>
I appreciate the feedback and I hope you continue to help us improve the<br>
product.<br>
<br>
Paul<br>
<div class="Ih2E3d"><br>
Bruno Luiz Pereira da Silva wrote:<br>
</div><div><div></div><div class="Wj3C7c">&gt; Hi, I had correctly installed MySql JDBC driver in JBoss, which is<br>
&gt; putting it in JBOSS_HOME/server/default/lib. In JBoss (I guess in Tomcat<br>
&gt; too), the JDBC drivers must be placed on the server lib dir. It doesn&#39;t<br>
&gt; work to put it inside the application.<br>
&gt;<br>
&gt; Well, my problems were not due to connection failure. I&#39;m totally sure<br>
&gt; about it, because I saw that the database was being manipulated and<br>
&gt; populated. I don&#39;t really know what causes the JDBC problems, but they<br>
&gt; happen A LOT. I mean, when I start the server, there are thousands of<br>
&gt; error lines in the logs. After the server starts, when I start using the<br>
&gt; application, there are thousands more error lines in the logs.<br>
&gt;<br>
&gt; It&#39;s curious that the UI seems to work. I tested only the user creation<br>
&gt; feature, because I was trying to figure out the problems and didn&#39;t even<br>
&gt; try other features in JBoss.<br>
&gt;<br>
&gt; I was not able to make the application work ok in JBoss, not even after<br>
&gt; checking the source code for problems. Something that really scared me<br>
&gt; was the fact that JBoss was complaining a lot about PreparedStatements<br>
&gt; that were left open. I checked some of the JDBC code in the application<br>
&gt; and didn&#39;t feel confident about the error handling. At least where I<br>
&gt; looked there were JDBC code inside try/catch blocks (handling<br>
&gt; SQLException), but there were no finally blocks closing the<br>
&gt; PreparedStatements in cases of failure. JBoss showed a LOT of error<br>
&gt; messages related to this, and if this is really the way the application<br>
&gt; manages JDBC code, I wouldn&#39;t be any confident to put anything in<br>
&gt; production using the Registry.<br>
&gt;<br>
&gt; Well, I don&#39;t know if I&#39;ll have much time this week in my job to keep<br>
&gt; trying to make Registry work in JBoss. We must finish the application<br>
&gt; soon and I&#39;m considering the implementation of the features I need<br>
&gt; inside my server application. However, I definitely want to keep looking<br>
&gt; at both WSO2 Registry and Mule Galaxy in my spare time these next couple<br>
&gt; of weeks to make a final decision.<br>
&gt;<br>
&gt; Regards,<br>
&gt;<br>
&gt; Bruno Luiz Pereira da Silva<br>
</div></div><div class="Ih2E3d">&gt; <a href="mailto:blpsilva at gmail.com">blpsilva at gmail.com</a> &lt;mailto:<a href="mailto:blpsilva at gmail.com">blpsilva at gmail.com</a>&gt;<br>
&gt; <a href="http://brunopereira.org" target="_blank">http://brunopereira.org</a><br>
&gt;<br>
&gt;<br>
</div><div class="Ih2E3d">&gt; On Wed, Sep 24, 2008 at 1:52 AM, Krishantha Samaraweera<br>
</div><div class="Ih2E3d">&gt; &lt;<a href="mailto:krishantha at wso2.com">krishantha at wso2.com</a> &lt;mailto:<a href="mailto:krishantha at wso2.com">krishantha at wso2.com</a>&gt;&gt; wrote:<br>
&gt;<br>
&gt; &nbsp; &nbsp; Hi Bruno,<br>
&gt;<br>
&gt; &nbsp; &nbsp; We have tested wso2registry 1.1 on Jboss-4.2.2 with derby DB. Almost all<br>
&gt; &nbsp; &nbsp; the registry functionalities worked fine with Jboss-4.2.2, Please refer<br>
&gt; &nbsp; &nbsp; to [1] for more details. And one of our user was able to deploy<br>
&gt; &nbsp; &nbsp; wso2registry 1.1 on JBoss 3.2 with Apache Derby database [2]. Registry<br>
&gt; &nbsp; &nbsp; was thoroughly tested with mysql 5.0 on tomcat server. So as the answer<br>
&gt; &nbsp; &nbsp; for your question, I think it is worth to trying out registry with your<br>
</div>&gt; &nbsp; &nbsp; JBoss <a href="http://4.0.5." target="_blank">4.0.5.</a> &lt;<a href="http://4.0.5" target="_blank">http://4.0.5</a>.&gt;<br>
<div><div></div><div class="Wj3C7c">&gt;<br>
&gt; &nbsp; &nbsp; JDBC exceptions may have been caused due to mysql connection failure.<br>
&gt; &nbsp; &nbsp; Did you put the mysql-connector.jar file in to WEB-INF/lib. If not<br>
&gt; &nbsp; &nbsp; please copy it and follow the steps mentioned in [2] to set up Jboss. If<br>
&gt; &nbsp; &nbsp; you are still facing the same problem please reply with server error<br>
&gt; &nbsp; &nbsp; logs and your environment details i.e OS, mysql version.<br>
&gt;<br>
&gt; &nbsp; &nbsp; Thanks,<br>
&gt; &nbsp; &nbsp; Krishantha.<br>
&gt;<br>
&gt; &nbsp; &nbsp; [1]. <a href="http://wso2.org/wiki/display/registry/Registry+1.1" target="_blank">http://wso2.org/wiki/display/registry/Registry+1.1</a><br>
&gt; &nbsp; &nbsp; [2]. <a href="http://wso2.org/forum/thread/3961" target="_blank">http://wso2.org/forum/thread/3961</a><br>
&gt;<br>
&gt;<br>
&gt; &nbsp; &nbsp; Bruno Luiz Pereira da Silva wrote:<br>
&gt; &nbsp; &nbsp; &nbsp;&gt; Hi, I&#39;m starting to use WSO2 Registry in my application, to publish<br>
&gt; &nbsp; &nbsp; &nbsp;&gt; configurations and other things to be read by my application.<br>
&gt; &nbsp; &nbsp; &nbsp;&gt;<br>
&gt; &nbsp; &nbsp; &nbsp;&gt; I need to deploy WSO2 Registry to JBoss 4.0.5, but I&#39;m having some<br>
&gt; &nbsp; &nbsp; &nbsp;&gt; problems. I&#39;ve managed to solve the log4j problem and also the jsp<br>
&gt; &nbsp; &nbsp; &nbsp;&gt; compilation problems (related to jsps using JDK 1.5 code), but<br>
&gt; &nbsp; &nbsp; now I&#39;m<br>
&gt; &nbsp; &nbsp; &nbsp;&gt; finding a hard time to advance.<br>
&gt; &nbsp; &nbsp; &nbsp;&gt;<br>
&gt; &nbsp; &nbsp; &nbsp;&gt; When the Registry starts, before I even try to open the UI, many<br>
&gt; &nbsp; &nbsp; &nbsp;&gt; errors show up in the server logs. There are many jdbc problems,<br>
&gt; &nbsp; &nbsp; and I<br>
&gt; &nbsp; &nbsp; &nbsp;&gt; don&#39;t have a clue of the cause. I&#39;m using Registry version 1.1,<br>
&gt; &nbsp; &nbsp; and my<br>
&gt; &nbsp; &nbsp; &nbsp;&gt; registry is connecting to a MySql database through a JBoss<br>
&gt; &nbsp; &nbsp; datasource.<br>
&gt; &nbsp; &nbsp; &nbsp;&gt;<br>
&gt; &nbsp; &nbsp; &nbsp;&gt; Is it worth trying to use Registry in JBoss right now? Not being able<br>
&gt; &nbsp; &nbsp; &nbsp;&gt; to use it on JBoss would cause me some hard infrastructure<br>
&gt; &nbsp; &nbsp; problems (a<br>
&gt; &nbsp; &nbsp; &nbsp;&gt; long time to have the environment ready). If I can&#39;t use JBoss, I&#39;m<br>
&gt; &nbsp; &nbsp; &nbsp;&gt; probably going to implement a custom registry for my needs, but I&#39;d<br>
&gt; &nbsp; &nbsp; &nbsp;&gt; certainly prefer to use WSO2 product.<br>
&gt; &nbsp; &nbsp; &nbsp;&gt;<br>
&gt; &nbsp; &nbsp; &nbsp;&gt; What do you recommend?<br>
&gt; &nbsp; &nbsp; &nbsp;&gt;<br>
&gt; &nbsp; &nbsp; &nbsp;&gt; Regards,<br>
&gt; &nbsp; &nbsp; &nbsp;&gt;<br>
&gt; &nbsp; &nbsp; &nbsp;&gt; Bruno Luiz Pereira da Silva<br>
&gt; &nbsp; &nbsp; &nbsp;&gt; <a href="mailto:blpsilva at gmail.com">blpsilva at gmail.com</a> &lt;mailto:<a href="mailto:blpsilva at gmail.com">blpsilva at gmail.com</a>&gt;<br>
</div></div>&gt; &nbsp; &nbsp; &lt;mailto:<a href="mailto:blpsilva at gmail.com">blpsilva at gmail.com</a> &lt;mailto:<a href="mailto:blpsilva at gmail.com">blpsilva at gmail.com</a>&gt;&gt;<br>
<div class="Ih2E3d">&gt; &nbsp; &nbsp; &nbsp;&gt; <a href="http://brunopereira.org" target="_blank">http://brunopereira.org</a><br>
&gt; &nbsp; &nbsp; &nbsp;&gt;<br>
&gt; &nbsp; &nbsp; ------------------------------------------------------------------------<br>
&gt; &nbsp; &nbsp; &nbsp;&gt;<br>
&gt; &nbsp; &nbsp; &nbsp;&gt; _______________________________________________<br>
&gt; &nbsp; &nbsp; &nbsp;&gt; Registry-dev mailing list<br>
</div>&gt; &nbsp; &nbsp; &nbsp;&gt; <a href="mailto:Registry-dev at wso2.org">Registry-dev at wso2.org</a> &lt;mailto:<a href="mailto:Registry-dev at wso2.org">Registry-dev at wso2.org</a>&gt;<br>
<div class="Ih2E3d">&gt; &nbsp; &nbsp; &nbsp;&gt; <a href="http://mailman.wso2.org/cgi-bin/mailman/listinfo/registry-dev" target="_blank">http://mailman.wso2.org/cgi-bin/mailman/listinfo/registry-dev</a><br>
&gt; &nbsp; &nbsp; &nbsp;&gt;<br>
&gt;<br>
&gt;<br>
&gt; &nbsp; &nbsp; _______________________________________________<br>
&gt; &nbsp; &nbsp; Registry-dev mailing list<br>
</div>&gt; &nbsp; &nbsp; <a href="mailto:Registry-dev at wso2.org">Registry-dev at wso2.org</a> &lt;mailto:<a href="mailto:Registry-dev at wso2.org">Registry-dev at wso2.org</a>&gt;<br>
<div class="Ih2E3d">&gt; &nbsp; &nbsp; <a href="http://mailman.wso2.org/cgi-bin/mailman/listinfo/registry-dev" target="_blank">http://mailman.wso2.org/cgi-bin/mailman/listinfo/registry-dev</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; ------------------------------------------------------------------------<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Registry-dev mailing list<br>
&gt; <a href="mailto:Registry-dev at wso2.org">Registry-dev at wso2.org</a><br>
&gt; <a href="http://mailman.wso2.org/cgi-bin/mailman/listinfo/registry-dev" target="_blank">http://mailman.wso2.org/cgi-bin/mailman/listinfo/registry-dev</a><br>
<br>
</div>--<br>
Paul Fremantle<br>
CTO and Co-Founder, WSO2<br>
OASIS WS-RX TC Co-chair<br>
VP, Apache Synapse<br>
<br>
Office: +44 844 484 8143<br>
Cell: +44 798 447 4618<br>
<br>
blog: <a href="http://pzf.fremantle.org" target="_blank">http://pzf.fremantle.org</a><br>
<a href="mailto:paul at wso2.com">paul at wso2.com</a><br>
<br>
&quot;Oxygenating the Web Service Platform&quot;, <a href="http://www.wso2.com" target="_blank">www.wso2.com</a><br>
<div><div></div><div class="Wj3C7c"><br>
_______________________________________________<br>
Registry-dev mailing list<br>
<a href="mailto:Registry-dev at wso2.org">Registry-dev at wso2.org</a><br>
<a href="http://mailman.wso2.org/cgi-bin/mailman/listinfo/registry-dev" target="_blank">http://mailman.wso2.org/cgi-bin/mailman/listinfo/registry-dev</a><br>
</div></div></blockquote></div><br></div>

------=_Part_82259_33272371.1222256321923--



More information about the Registry-dev mailing list