You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Michael Xue (JIRA)" <ji...@apache.org> on 2009/01/20 21:12:59 UTC

[jira] Created: (JCR-1946) Jackrabbit JCA (model 2) deployment not working in cluster servers

Jackrabbit JCA (model 2) deployment not working in cluster servers
------------------------------------------------------------------

                 Key: JCR-1946
                 URL: https://issues.apache.org/jira/browse/JCR-1946
             Project: Jackrabbit Content Repository
          Issue Type: Improvement
          Components: jackrabbit-jca
    Affects Versions: 1.5.0
         Environment: Oracle Weblogic 10.0 on Sun Solaris OS 10
            Reporter: Michael Xue
            Priority: Blocker


We are running Weblogic 10.0 servers in cluster environment.   When deploying the rar, we always get this warning from weblogic stdout.log: 

<Jan 15, 2009 2:42:10 AM PST> <Warning> <Connector> <BEA-190155> <Compliance checking/validation of the resource adapter /home/user/jackrabbit_rar/jackrabbit-jca-1.5.0.rar resulted in the following warnings:  The ra.xml <resourceadapter-class> class 'org.apache.jackrabbit.jca.JCAResourceAdapter' should implement java.io.Serializable but does not.> 

When trying to do the JNDI lookup the repository, we got the error "No Object found: jackrabbit|null".   The jackrabbit entry in the jndi tree is visible only as a javax.naming.reference and not as the JCARepositoryHandle due to the above warning.  Due to that, we can't deploy jackrabbit-jca in Test/Production environment.  

I'm no expert in JCA, but feel it is fairly easy to implement Serializable for  JCAResourceAdapter.  Please help us out.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (JCR-1946) JCAResourceAdapter must implement Serializable

Posted by "Michael Xue (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JCR-1946?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12761352#action_12761352 ] 

Michael Xue commented on JCR-1946:
----------------------------------

Claus, I'm getting java.lang.NoClassDefFoundError: javax/jcr/Binary exception after deploying build #864.  I'm using jcr-1.0.jar and couldn't find javax/jcr/Binary there.   

> JCAResourceAdapter must implement Serializable
> ----------------------------------------------
>
>                 Key: JCR-1946
>                 URL: https://issues.apache.org/jira/browse/JCR-1946
>             Project: Jackrabbit Content Repository
>          Issue Type: Improvement
>          Components: jackrabbit-jca
>    Affects Versions: 1.5.0
>         Environment: Oracle Weblogic 10.0 on Sun Solaris OS 10
>            Reporter: Michael Xue
>             Fix For: 2.0-alpha12
>
>         Attachments: jackrabbit-jca JNDI entry in a single server.jpg, jackrabbit-jca JNDI entry in cluster server.jpg
>
>
> We are running Weblogic 10.0 servers in cluster environment.   When deploying the rar, we always get this warning from weblogic stdout.log: 
> <Jan 15, 2009 2:42:10 AM PST> <Warning> <Connector> <BEA-190155> <Compliance checking/validation of the resource adapter /home/user/jackrabbit_rar/jackrabbit-jca-1.5.0.rar resulted in the following warnings:  The ra.xml <resourceadapter-class> class 'org.apache.jackrabbit.jca.JCAResourceAdapter' should implement java.io.Serializable but does not.> 
> When trying to do the JNDI lookup the repository, we got the error "No Object found: jackrabbit|null".   The jackrabbit entry in the jndi tree is visible only as a javax.naming.reference and not as the JCARepositoryHandle due to the above warning.  Due to that, we can't deploy jackrabbit-jca in Test/Production environment.  
> I'm no expert in JCA, but feel it is fairly easy to implement Serializable for  JCAResourceAdapter.  Please help us out.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (JCR-1946) JCAResourceAdapter must implement Serializable

Posted by "Michael Xue (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JCR-1946?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Xue updated JCR-1946:
-----------------------------

    Attachment: jackrabbit-jca JNDI entry in cluster server.jpg
                jackrabbit-jca JNDI entry in a single server.jpg

A picture worths a thousand of words.  I'm attaching the the snapshots of JNDI lookup entry (called JCRRepo) in a single WLS 10 server and in WLS cluster servers.  Just from the color of that entry, you can tell the difference.  

> JCAResourceAdapter must implement Serializable
> ----------------------------------------------
>
>                 Key: JCR-1946
>                 URL: https://issues.apache.org/jira/browse/JCR-1946
>             Project: Jackrabbit Content Repository
>          Issue Type: Improvement
>          Components: jackrabbit-jca
>    Affects Versions: 1.5.0
>         Environment: Oracle Weblogic 10.0 on Sun Solaris OS 10
>            Reporter: Michael Xue
>            Priority: Blocker
>         Attachments: jackrabbit-jca JNDI entry in a single server.jpg, jackrabbit-jca JNDI entry in cluster server.jpg
>
>
> We are running Weblogic 10.0 servers in cluster environment.   When deploying the rar, we always get this warning from weblogic stdout.log: 
> <Jan 15, 2009 2:42:10 AM PST> <Warning> <Connector> <BEA-190155> <Compliance checking/validation of the resource adapter /home/user/jackrabbit_rar/jackrabbit-jca-1.5.0.rar resulted in the following warnings:  The ra.xml <resourceadapter-class> class 'org.apache.jackrabbit.jca.JCAResourceAdapter' should implement java.io.Serializable but does not.> 
> When trying to do the JNDI lookup the repository, we got the error "No Object found: jackrabbit|null".   The jackrabbit entry in the jndi tree is visible only as a javax.naming.reference and not as the JCARepositoryHandle due to the above warning.  Due to that, we can't deploy jackrabbit-jca in Test/Production environment.  
> I'm no expert in JCA, but feel it is fairly easy to implement Serializable for  JCAResourceAdapter.  Please help us out.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (JCR-1946) JCAResourceAdapter must implement Serializable

Posted by "Jukka Zitting (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JCR-1946?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jukka Zitting updated JCR-1946:
-------------------------------

    Priority: Major  (was: Blocker)

Not a blocker as this only affects specific environments.

Would anyone be interested in writing a patch for this? The required changes don't seem too complex.

> JCAResourceAdapter must implement Serializable
> ----------------------------------------------
>
>                 Key: JCR-1946
>                 URL: https://issues.apache.org/jira/browse/JCR-1946
>             Project: Jackrabbit Content Repository
>          Issue Type: Improvement
>          Components: jackrabbit-jca
>    Affects Versions: 1.5.0
>         Environment: Oracle Weblogic 10.0 on Sun Solaris OS 10
>            Reporter: Michael Xue
>         Attachments: jackrabbit-jca JNDI entry in a single server.jpg, jackrabbit-jca JNDI entry in cluster server.jpg
>
>
> We are running Weblogic 10.0 servers in cluster environment.   When deploying the rar, we always get this warning from weblogic stdout.log: 
> <Jan 15, 2009 2:42:10 AM PST> <Warning> <Connector> <BEA-190155> <Compliance checking/validation of the resource adapter /home/user/jackrabbit_rar/jackrabbit-jca-1.5.0.rar resulted in the following warnings:  The ra.xml <resourceadapter-class> class 'org.apache.jackrabbit.jca.JCAResourceAdapter' should implement java.io.Serializable but does not.> 
> When trying to do the JNDI lookup the repository, we got the error "No Object found: jackrabbit|null".   The jackrabbit entry in the jndi tree is visible only as a javax.naming.reference and not as the JCARepositoryHandle due to the above warning.  Due to that, we can't deploy jackrabbit-jca in Test/Production environment.  
> I'm no expert in JCA, but feel it is fairly easy to implement Serializable for  JCAResourceAdapter.  Please help us out.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (JCR-1946) JCAResourceAdapter must implement Serializable

Posted by "Michael Xue (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JCR-1946?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12761615#action_12761615 ] 

Michael Xue commented on JCR-1946:
----------------------------------

sure, Claus.  I applied jcr-2.0-b114.jar and moved over the "javax/jcr/Binary".  However, another exception comes up.   "javax.resource.ResourceException: Failed to create session: Cannot instantiate persistence manager org.apache.jackrabbit.core.persistence.bundle.BundleFsPersistenceManager ".  I guess it is another jackrabbit/jcr upgrade issue.  Our current configuration is based on jackrabbit release 1.5.   The following is the repository.xml.   Do you see anything wrong with the configuration of BundleFsPersistenceManager?   Thanks, Michael

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE Repository PUBLIC "-//The Apache Software Foundation//DTD Jackrabbit 1.2//EN"
"http://jackrabbit.apache.org/dtd/repository-1.4.dtd">
<Repository>
    <FileSystem class="org.apache.jackrabbit.core.fs.local.LocalFileSystem">
        <param name="path" value="/data/repo-home/repository"/>
    </FileSystem>
    <Security appName="Jackrabbit">
        <AccessManager class="org.apache.jackrabbit.core.security.SimpleAccessManager" />
        <LoginModule class="org.apache.jackrabbit.core.security.SimpleLoginModule">
                <param name="anonymous" value="anonymous"/>
        </LoginModule>
        </Security>
    <Workspaces rootPath="/doc-archives/JCRRepo/workspaces" defaultWorkspace="default" />
    <Workspace name="${wsp.name}">
        <FileSystem class="org.apache.jackrabbit.core.fs.local.LocalFileSystem">
                <param name="path" value="${wsp.home}"/>
        </FileSystem>
        <PersistenceManager class="org.apache.jackrabbit.core.persistence.bundle.BundleFsPersistenceManager">
                <param name="bundlecacheSize" value="8"/>
                <param name="consistencyCheck" value="false"/>
                <param name="errorHandling" value=""/>
        </PersistenceManager>
        <!-- Dont want a SearchIndex, setup for Indexing -->
    </Workspace>
    <Versioning rootPath="${rep.home}/versions">
        <FileSystem class="org.apache.jackrabbit.core.fs.local.LocalFileSystem">
            <param name="path" value="${rep.home}/versions"/>
        </FileSystem>
        <PersistenceManager class="org.apache.jackrabbit.core.state.xml.XMLPersistenceManager" />
    </Versioning>
    <Cluster id="${weblogic.Name}">
        <Journal class="org.apache.jackrabbit.core.journal.FileJournal">
        <param name="revision" value="/doc-archives/JCRRepo/cluster-revision/revision.log" />
        <param name="directory" value="/doc-archives/JCRRepo/cluster-journal/" />
        </Journal>
</Cluster>
</Repository>   


> JCAResourceAdapter must implement Serializable
> ----------------------------------------------
>
>                 Key: JCR-1946
>                 URL: https://issues.apache.org/jira/browse/JCR-1946
>             Project: Jackrabbit Content Repository
>          Issue Type: Improvement
>          Components: jackrabbit-jca
>    Affects Versions: 1.5.0
>         Environment: Oracle Weblogic 10.0 on Sun Solaris OS 10
>            Reporter: Michael Xue
>             Fix For: 2.0-alpha12
>
>         Attachments: jackrabbit-jca JNDI entry in a single server.jpg, jackrabbit-jca JNDI entry in cluster server.jpg
>
>
> We are running Weblogic 10.0 servers in cluster environment.   When deploying the rar, we always get this warning from weblogic stdout.log: 
> <Jan 15, 2009 2:42:10 AM PST> <Warning> <Connector> <BEA-190155> <Compliance checking/validation of the resource adapter /home/user/jackrabbit_rar/jackrabbit-jca-1.5.0.rar resulted in the following warnings:  The ra.xml <resourceadapter-class> class 'org.apache.jackrabbit.jca.JCAResourceAdapter' should implement java.io.Serializable but does not.> 
> When trying to do the JNDI lookup the repository, we got the error "No Object found: jackrabbit|null".   The jackrabbit entry in the jndi tree is visible only as a javax.naming.reference and not as the JCARepositoryHandle due to the above warning.  Due to that, we can't deploy jackrabbit-jca in Test/Production environment.  
> I'm no expert in JCA, but feel it is fairly easy to implement Serializable for  JCAResourceAdapter.  Please help us out.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (JCR-1946) JCAResourceAdapter must implement Serializable

Posted by "Michael Xue (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JCR-1946?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12665592#action_12665592 ] 

Michael Xue commented on JCR-1946:
----------------------------------

Yes, I'm.   The jackrabbit entry in weblogic JNDI tree is not populated with 'org.apache.jackrabbit.jca.JCAResourceAdapter' at all, showing a red ! instead.  Originally I deployed the same jackrabbit-jca.rar in the dev server, which is single (non-cluster) server environment.  Everything worked great.   However, as soon as I moved to the cluster environment, JCAResourceAdapter just couldn't fit.   Yes, I agree, JCAResourceAdapter must implement Serializable.  Otherwise, it won't be deployable in any cluster environment.     

> JCAResourceAdapter must implement Serializable
> ----------------------------------------------
>
>                 Key: JCR-1946
>                 URL: https://issues.apache.org/jira/browse/JCR-1946
>             Project: Jackrabbit Content Repository
>          Issue Type: Improvement
>          Components: jackrabbit-jca
>    Affects Versions: 1.5.0
>         Environment: Oracle Weblogic 10.0 on Sun Solaris OS 10
>            Reporter: Michael Xue
>            Priority: Blocker
>
> We are running Weblogic 10.0 servers in cluster environment.   When deploying the rar, we always get this warning from weblogic stdout.log: 
> <Jan 15, 2009 2:42:10 AM PST> <Warning> <Connector> <BEA-190155> <Compliance checking/validation of the resource adapter /home/user/jackrabbit_rar/jackrabbit-jca-1.5.0.rar resulted in the following warnings:  The ra.xml <resourceadapter-class> class 'org.apache.jackrabbit.jca.JCAResourceAdapter' should implement java.io.Serializable but does not.> 
> When trying to do the JNDI lookup the repository, we got the error "No Object found: jackrabbit|null".   The jackrabbit entry in the jndi tree is visible only as a javax.naming.reference and not as the JCARepositoryHandle due to the above warning.  Due to that, we can't deploy jackrabbit-jca in Test/Production environment.  
> I'm no expert in JCA, but feel it is fairly easy to implement Serializable for  JCAResourceAdapter.  Please help us out.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (JCR-1946) JCAResourceAdapter must implement Serializable

Posted by "Michael Xue (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JCR-1946?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12760908#action_12760908 ] 

Michael Xue commented on JCR-1946:
----------------------------------

Thanks a lot, Claus.  Where can I download this rev.  Sorry for my innocence.

> JCAResourceAdapter must implement Serializable
> ----------------------------------------------
>
>                 Key: JCR-1946
>                 URL: https://issues.apache.org/jira/browse/JCR-1946
>             Project: Jackrabbit Content Repository
>          Issue Type: Improvement
>          Components: jackrabbit-jca
>    Affects Versions: 1.5.0
>         Environment: Oracle Weblogic 10.0 on Sun Solaris OS 10
>            Reporter: Michael Xue
>             Fix For: 2.0.0
>
>         Attachments: jackrabbit-jca JNDI entry in a single server.jpg, jackrabbit-jca JNDI entry in cluster server.jpg
>
>
> We are running Weblogic 10.0 servers in cluster environment.   When deploying the rar, we always get this warning from weblogic stdout.log: 
> <Jan 15, 2009 2:42:10 AM PST> <Warning> <Connector> <BEA-190155> <Compliance checking/validation of the resource adapter /home/user/jackrabbit_rar/jackrabbit-jca-1.5.0.rar resulted in the following warnings:  The ra.xml <resourceadapter-class> class 'org.apache.jackrabbit.jca.JCAResourceAdapter' should implement java.io.Serializable but does not.> 
> When trying to do the JNDI lookup the repository, we got the error "No Object found: jackrabbit|null".   The jackrabbit entry in the jndi tree is visible only as a javax.naming.reference and not as the JCARepositoryHandle due to the above warning.  Due to that, we can't deploy jackrabbit-jca in Test/Production environment.  
> I'm no expert in JCA, but feel it is fairly easy to implement Serializable for  JCAResourceAdapter.  Please help us out.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (JCR-1946) JCAResourceAdapter must implement Serializable

Posted by "Thomas Mueller (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JCR-1946?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12761625#action_12761625 ] 

Thomas Mueller commented on JCR-1946:
-------------------------------------

Hi,

Unrelated to the problem, I'm not sure if you know about the disadvantages of the BundleFsPersistenceManager. See http://wiki.apache.org/jackrabbit/PersistenceManagerFAQ "If the JVM process is killed the repository might turn inconsistent".

> JCAResourceAdapter must implement Serializable
> ----------------------------------------------
>
>                 Key: JCR-1946
>                 URL: https://issues.apache.org/jira/browse/JCR-1946
>             Project: Jackrabbit Content Repository
>          Issue Type: Improvement
>          Components: jackrabbit-jca
>    Affects Versions: 1.5.0
>         Environment: Oracle Weblogic 10.0 on Sun Solaris OS 10
>            Reporter: Michael Xue
>             Fix For: 2.0-alpha12
>
>         Attachments: jackrabbit-jca JNDI entry in a single server.jpg, jackrabbit-jca JNDI entry in cluster server.jpg
>
>
> We are running Weblogic 10.0 servers in cluster environment.   When deploying the rar, we always get this warning from weblogic stdout.log: 
> <Jan 15, 2009 2:42:10 AM PST> <Warning> <Connector> <BEA-190155> <Compliance checking/validation of the resource adapter /home/user/jackrabbit_rar/jackrabbit-jca-1.5.0.rar resulted in the following warnings:  The ra.xml <resourceadapter-class> class 'org.apache.jackrabbit.jca.JCAResourceAdapter' should implement java.io.Serializable but does not.> 
> When trying to do the JNDI lookup the repository, we got the error "No Object found: jackrabbit|null".   The jackrabbit entry in the jndi tree is visible only as a javax.naming.reference and not as the JCARepositoryHandle due to the above warning.  Due to that, we can't deploy jackrabbit-jca in Test/Production environment.  
> I'm no expert in JCA, but feel it is fairly easy to implement Serializable for  JCAResourceAdapter.  Please help us out.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (JCR-1946) JCAResourceAdapter must implement Serializable

Posted by "Michael Xue (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JCR-1946?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12761640#action_12761640 ] 

Michael Xue commented on JCR-1946:
----------------------------------

Good point.  We'll probably use database (MS SQL Server) in production environment.  We're still working on the cluster issue.

> JCAResourceAdapter must implement Serializable
> ----------------------------------------------
>
>                 Key: JCR-1946
>                 URL: https://issues.apache.org/jira/browse/JCR-1946
>             Project: Jackrabbit Content Repository
>          Issue Type: Improvement
>          Components: jackrabbit-jca
>    Affects Versions: 1.5.0
>         Environment: Oracle Weblogic 10.0 on Sun Solaris OS 10
>            Reporter: Michael Xue
>             Fix For: 2.0-alpha12
>
>         Attachments: jackrabbit-jca JNDI entry in a single server.jpg, jackrabbit-jca JNDI entry in cluster server.jpg
>
>
> We are running Weblogic 10.0 servers in cluster environment.   When deploying the rar, we always get this warning from weblogic stdout.log: 
> <Jan 15, 2009 2:42:10 AM PST> <Warning> <Connector> <BEA-190155> <Compliance checking/validation of the resource adapter /home/user/jackrabbit_rar/jackrabbit-jca-1.5.0.rar resulted in the following warnings:  The ra.xml <resourceadapter-class> class 'org.apache.jackrabbit.jca.JCAResourceAdapter' should implement java.io.Serializable but does not.> 
> When trying to do the JNDI lookup the repository, we got the error "No Object found: jackrabbit|null".   The jackrabbit entry in the jndi tree is visible only as a javax.naming.reference and not as the JCARepositoryHandle due to the above warning.  Due to that, we can't deploy jackrabbit-jca in Test/Production environment.  
> I'm no expert in JCA, but feel it is fairly easy to implement Serializable for  JCAResourceAdapter.  Please help us out.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (JCR-1946) JCAResourceAdapter must implement Serializable

Posted by "Claus Köll (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JCR-1946?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12761511#action_12761511 ] 

Claus Köll commented on JCR-1946:
---------------------------------

the current trunk is compiled against the new jcr 2.0 api. if you need it in a older version we can backport it or you must
apply it it by yourself
greets
claus

> JCAResourceAdapter must implement Serializable
> ----------------------------------------------
>
>                 Key: JCR-1946
>                 URL: https://issues.apache.org/jira/browse/JCR-1946
>             Project: Jackrabbit Content Repository
>          Issue Type: Improvement
>          Components: jackrabbit-jca
>    Affects Versions: 1.5.0
>         Environment: Oracle Weblogic 10.0 on Sun Solaris OS 10
>            Reporter: Michael Xue
>             Fix For: 2.0-alpha12
>
>         Attachments: jackrabbit-jca JNDI entry in a single server.jpg, jackrabbit-jca JNDI entry in cluster server.jpg
>
>
> We are running Weblogic 10.0 servers in cluster environment.   When deploying the rar, we always get this warning from weblogic stdout.log: 
> <Jan 15, 2009 2:42:10 AM PST> <Warning> <Connector> <BEA-190155> <Compliance checking/validation of the resource adapter /home/user/jackrabbit_rar/jackrabbit-jca-1.5.0.rar resulted in the following warnings:  The ra.xml <resourceadapter-class> class 'org.apache.jackrabbit.jca.JCAResourceAdapter' should implement java.io.Serializable but does not.> 
> When trying to do the JNDI lookup the repository, we got the error "No Object found: jackrabbit|null".   The jackrabbit entry in the jndi tree is visible only as a javax.naming.reference and not as the JCARepositoryHandle due to the above warning.  Due to that, we can't deploy jackrabbit-jca in Test/Production environment.  
> I'm no expert in JCA, but feel it is fairly easy to implement Serializable for  JCAResourceAdapter.  Please help us out.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (JCR-1946) JCAResourceAdapter must implement Serializable

Posted by "Alexander Klimetschek (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JCR-1946?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexander Klimetschek updated JCR-1946:
---------------------------------------

    Summary: JCAResourceAdapter must implement Serializable  (was: Jackrabbit JCA (model 2) deployment not working in cluster servers)

> JCAResourceAdapter must implement Serializable
> ----------------------------------------------
>
>                 Key: JCR-1946
>                 URL: https://issues.apache.org/jira/browse/JCR-1946
>             Project: Jackrabbit Content Repository
>          Issue Type: Improvement
>          Components: jackrabbit-jca
>    Affects Versions: 1.5.0
>         Environment: Oracle Weblogic 10.0 on Sun Solaris OS 10
>            Reporter: Michael Xue
>            Priority: Blocker
>
> We are running Weblogic 10.0 servers in cluster environment.   When deploying the rar, we always get this warning from weblogic stdout.log: 
> <Jan 15, 2009 2:42:10 AM PST> <Warning> <Connector> <BEA-190155> <Compliance checking/validation of the resource adapter /home/user/jackrabbit_rar/jackrabbit-jca-1.5.0.rar resulted in the following warnings:  The ra.xml <resourceadapter-class> class 'org.apache.jackrabbit.jca.JCAResourceAdapter' should implement java.io.Serializable but does not.> 
> When trying to do the JNDI lookup the repository, we got the error "No Object found: jackrabbit|null".   The jackrabbit entry in the jndi tree is visible only as a javax.naming.reference and not as the JCARepositoryHandle due to the above warning.  Due to that, we can't deploy jackrabbit-jca in Test/Production environment.  
> I'm no expert in JCA, but feel it is fairly easy to implement Serializable for  JCAResourceAdapter.  Please help us out.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (JCR-1946) JCAResourceAdapter must implement Serializable

Posted by "Claus Köll (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JCR-1946?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12760930#action_12760930 ] 

Claus Köll commented on JCR-1946:
---------------------------------

It will be available in the upcoming 2.0 release or if you want we can backport it to the 1.6.1 realease 
or you can download  the current build from http://hudson.zones.apache.org/hudson/view/Jackrabbit/job/Jackrabbit-trunk/
greets
claus

> JCAResourceAdapter must implement Serializable
> ----------------------------------------------
>
>                 Key: JCR-1946
>                 URL: https://issues.apache.org/jira/browse/JCR-1946
>             Project: Jackrabbit Content Repository
>          Issue Type: Improvement
>          Components: jackrabbit-jca
>    Affects Versions: 1.5.0
>         Environment: Oracle Weblogic 10.0 on Sun Solaris OS 10
>            Reporter: Michael Xue
>             Fix For: 2.0.0
>
>         Attachments: jackrabbit-jca JNDI entry in a single server.jpg, jackrabbit-jca JNDI entry in cluster server.jpg
>
>
> We are running Weblogic 10.0 servers in cluster environment.   When deploying the rar, we always get this warning from weblogic stdout.log: 
> <Jan 15, 2009 2:42:10 AM PST> <Warning> <Connector> <BEA-190155> <Compliance checking/validation of the resource adapter /home/user/jackrabbit_rar/jackrabbit-jca-1.5.0.rar resulted in the following warnings:  The ra.xml <resourceadapter-class> class 'org.apache.jackrabbit.jca.JCAResourceAdapter' should implement java.io.Serializable but does not.> 
> When trying to do the JNDI lookup the repository, we got the error "No Object found: jackrabbit|null".   The jackrabbit entry in the jndi tree is visible only as a javax.naming.reference and not as the JCARepositoryHandle due to the above warning.  Due to that, we can't deploy jackrabbit-jca in Test/Production environment.  
> I'm no expert in JCA, but feel it is fairly easy to implement Serializable for  JCAResourceAdapter.  Please help us out.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (JCR-1946) JCAResourceAdapter must implement Serializable

Posted by "Claus Köll (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JCR-1946?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12760851#action_12760851 ] 

Claus Köll commented on JCR-1946:
---------------------------------

ok if it is only to implement Serializeable i will fix it :-)

> JCAResourceAdapter must implement Serializable
> ----------------------------------------------
>
>                 Key: JCR-1946
>                 URL: https://issues.apache.org/jira/browse/JCR-1946
>             Project: Jackrabbit Content Repository
>          Issue Type: Improvement
>          Components: jackrabbit-jca
>    Affects Versions: 1.5.0
>         Environment: Oracle Weblogic 10.0 on Sun Solaris OS 10
>            Reporter: Michael Xue
>         Attachments: jackrabbit-jca JNDI entry in a single server.jpg, jackrabbit-jca JNDI entry in cluster server.jpg
>
>
> We are running Weblogic 10.0 servers in cluster environment.   When deploying the rar, we always get this warning from weblogic stdout.log: 
> <Jan 15, 2009 2:42:10 AM PST> <Warning> <Connector> <BEA-190155> <Compliance checking/validation of the resource adapter /home/user/jackrabbit_rar/jackrabbit-jca-1.5.0.rar resulted in the following warnings:  The ra.xml <resourceadapter-class> class 'org.apache.jackrabbit.jca.JCAResourceAdapter' should implement java.io.Serializable but does not.> 
> When trying to do the JNDI lookup the repository, we got the error "No Object found: jackrabbit|null".   The jackrabbit entry in the jndi tree is visible only as a javax.naming.reference and not as the JCARepositoryHandle due to the above warning.  Due to that, we can't deploy jackrabbit-jca in Test/Production environment.  
> I'm no expert in JCA, but feel it is fairly easy to implement Serializable for  JCAResourceAdapter.  Please help us out.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (JCR-1946) Jackrabbit JCA (model 2) deployment not working in cluster servers

Posted by "Alexander Klimetschek (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JCR-1946?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12665552#action_12665552 ] 

Alexander Klimetschek commented on JCR-1946:
--------------------------------------------

Are you sure, the null object is because of that warning? I would suppose the serializable problem should be logged as an error if it was truly critical...

> Jackrabbit JCA (model 2) deployment not working in cluster servers
> ------------------------------------------------------------------
>
>                 Key: JCR-1946
>                 URL: https://issues.apache.org/jira/browse/JCR-1946
>             Project: Jackrabbit Content Repository
>          Issue Type: Improvement
>          Components: jackrabbit-jca
>    Affects Versions: 1.5.0
>         Environment: Oracle Weblogic 10.0 on Sun Solaris OS 10
>            Reporter: Michael Xue
>            Priority: Blocker
>
> We are running Weblogic 10.0 servers in cluster environment.   When deploying the rar, we always get this warning from weblogic stdout.log: 
> <Jan 15, 2009 2:42:10 AM PST> <Warning> <Connector> <BEA-190155> <Compliance checking/validation of the resource adapter /home/user/jackrabbit_rar/jackrabbit-jca-1.5.0.rar resulted in the following warnings:  The ra.xml <resourceadapter-class> class 'org.apache.jackrabbit.jca.JCAResourceAdapter' should implement java.io.Serializable but does not.> 
> When trying to do the JNDI lookup the repository, we got the error "No Object found: jackrabbit|null".   The jackrabbit entry in the jndi tree is visible only as a javax.naming.reference and not as the JCARepositoryHandle due to the above warning.  Due to that, we can't deploy jackrabbit-jca in Test/Production environment.  
> I'm no expert in JCA, but feel it is fairly easy to implement Serializable for  JCAResourceAdapter.  Please help us out.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (JCR-1946) JCAResourceAdapter must implement Serializable

Posted by "Claus Köll (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JCR-1946?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Köll resolved JCR-1946.
-----------------------------

       Resolution: Fixed
    Fix Version/s: 2.0.0

Committed in rev. 820257

> JCAResourceAdapter must implement Serializable
> ----------------------------------------------
>
>                 Key: JCR-1946
>                 URL: https://issues.apache.org/jira/browse/JCR-1946
>             Project: Jackrabbit Content Repository
>          Issue Type: Improvement
>          Components: jackrabbit-jca
>    Affects Versions: 1.5.0
>         Environment: Oracle Weblogic 10.0 on Sun Solaris OS 10
>            Reporter: Michael Xue
>             Fix For: 2.0.0
>
>         Attachments: jackrabbit-jca JNDI entry in a single server.jpg, jackrabbit-jca JNDI entry in cluster server.jpg
>
>
> We are running Weblogic 10.0 servers in cluster environment.   When deploying the rar, we always get this warning from weblogic stdout.log: 
> <Jan 15, 2009 2:42:10 AM PST> <Warning> <Connector> <BEA-190155> <Compliance checking/validation of the resource adapter /home/user/jackrabbit_rar/jackrabbit-jca-1.5.0.rar resulted in the following warnings:  The ra.xml <resourceadapter-class> class 'org.apache.jackrabbit.jca.JCAResourceAdapter' should implement java.io.Serializable but does not.> 
> When trying to do the JNDI lookup the repository, we got the error "No Object found: jackrabbit|null".   The jackrabbit entry in the jndi tree is visible only as a javax.naming.reference and not as the JCARepositoryHandle due to the above warning.  Due to that, we can't deploy jackrabbit-jca in Test/Production environment.  
> I'm no expert in JCA, but feel it is fairly easy to implement Serializable for  JCAResourceAdapter.  Please help us out.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (JCR-1946) JCAResourceAdapter must implement Serializable

Posted by "Michael Xue (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JCR-1946?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12760961#action_12760961 ] 

Michael Xue commented on JCR-1946:
----------------------------------

great, Claus.  I just downloaded the build #864 and will test it as soon as the cluster environment is available (need make a request to get it scheduled).  BTW, do you have any timeline for the upcoming 2.0 release?  It will be very exciting.  Thanks, Michael 

> JCAResourceAdapter must implement Serializable
> ----------------------------------------------
>
>                 Key: JCR-1946
>                 URL: https://issues.apache.org/jira/browse/JCR-1946
>             Project: Jackrabbit Content Repository
>          Issue Type: Improvement
>          Components: jackrabbit-jca
>    Affects Versions: 1.5.0
>         Environment: Oracle Weblogic 10.0 on Sun Solaris OS 10
>            Reporter: Michael Xue
>             Fix For: 2.0.0
>
>         Attachments: jackrabbit-jca JNDI entry in a single server.jpg, jackrabbit-jca JNDI entry in cluster server.jpg
>
>
> We are running Weblogic 10.0 servers in cluster environment.   When deploying the rar, we always get this warning from weblogic stdout.log: 
> <Jan 15, 2009 2:42:10 AM PST> <Warning> <Connector> <BEA-190155> <Compliance checking/validation of the resource adapter /home/user/jackrabbit_rar/jackrabbit-jca-1.5.0.rar resulted in the following warnings:  The ra.xml <resourceadapter-class> class 'org.apache.jackrabbit.jca.JCAResourceAdapter' should implement java.io.Serializable but does not.> 
> When trying to do the JNDI lookup the repository, we got the error "No Object found: jackrabbit|null".   The jackrabbit entry in the jndi tree is visible only as a javax.naming.reference and not as the JCARepositoryHandle due to the above warning.  Due to that, we can't deploy jackrabbit-jca in Test/Production environment.  
> I'm no expert in JCA, but feel it is fairly easy to implement Serializable for  JCAResourceAdapter.  Please help us out.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.