EBCC syncronisation fail with new application

Hello.
My team has problems using the Portal 4.0 with WLS 6.1 SP1.
We copied the p13n Domain and rename the Domain and the Server.
When we then syncronise one of the sample webflows with the new server, all
works fine.
Then we add our very simple application with 2 jsps (one with a webflow form
that fires an event that is configured to switch to the second one) on the
same Domain/Server.
When we then want to syncronise the EBCC could not connect (errormsg:
Authorisation denied. Check User/pass and ensure server running)
Can someone help us?
Must we add some tables inside the cloudspace database or is this done
automatically?
Where is the relationship between the database and the application
configured?
Is there a simple tutorial from A to Z how to set up a new Domain and Server
ready for webflow / Code and deploy a simplest application / configure
webflow with ebcc.
I need a all steps included tutorial to give this to my developers. The
e-docs are great but it is dificult to collect all pices together.
If someone has a finished configured simple webflow application please send
it to me together with the domain config xml.
Thanks a lot!
Markus Lutum
[email protected]

Frank,
You only need to do this config steps if you are setting up a cluster (or
would like to synchronize several machines with a single EBCC instance
automatically). For the default single user dev. box you should not need to
do this, just deploying the DataSync WebApp (our apps have it) is all that
is required. If you don't have any EJBs deployed on the machine (which is
the case with the typical admin server) you also have to put p13n_util.jar
under WEB-INF/lib of the DataSync WebApp.
Please note that config is significantly improved with the upcoming 7.0
release.
(Param Name) = (Param Value)
notifiedName = notifiedNameDataRepository
notifiedPassword = password
notifiedLogin = system
notifiedUrl = http://localhost:7501/scddDataSync/DataSyncServlet
notifiedRealm = weblogicYou need to append "-1" to all of these (ie. the paramter for the first URL
would be "notifiedUrl-1", "notifiedUrl-2" for the second etc.
This does not explain your NoClassDefFoundError however. Try cleaning up the
temp server directories, double checking you put p13n_util.jar under the
correct WEB-INF/lib and restarting the server.
Sincerely,
Daniel Selman
"Frank Wang" <[email protected]> wrote in message
news:[email protected]...
>
Hi again, Michael,
I tried what you suggested, and still got the same NoClassDefFoundErrorexception
for com/bea/p13n/management/data/message/MessageExecutor. This is what Idid:
>
1) I moved the p13n_util.jar file intoconfig\petflowDomain\applications\scdd\datasync\WEB-INF\lib.
>
2) I added the following parameters to the deployment descriptor for thedatasync
webapp. Within the console's deployment descriptor screen for thedatasync webapp,
I went to "Data Synchronization Web Application > Web App Descriptor >Parameters",
and added the following parameters:
(Param Name) = (Param Value)
notifiedName = notifiedNameDataRepository
notifiedPassword = password
notifiedLogin = system
notifiedUrl = http://localhost:7501/scddDataSync/DataSyncServlet
notifiedRealm = weblogic
3) Within the startup script (config\petflowDomain\startPetflow.bat), Iadded the
argument "-Ddata.sync.jdbc.master.dr=true" to the end of the "java"command, immediately
before "weblogic.Server".
4) There is only one server configured for the petflowDomain, and it isnamed "petflowServer".
Since this domain is a part of BEA's sample apps, I did not think I wouldneed to
configure a separate "sync" server. The JDBC dataSyncPool (Services >JDBC > Connection
Pools) starts up correctly, and is targeted at petflowServer. The Tx DataSource
is also configured at Services > JDBC > Tx Data Sources. I really don'tthink that
there's anything wrong with these configs since I copied this overstraight from
PetFlow.
Do you have any other suggestions? I do have a proposal: How about if youguys set
up a working, blank domain with the correct servers, jar files, xmldescriptors,
datasync app(s), and then e-mail it to me? Or, conversely, I can zip upmy current,
non-working domain and send it to you for debugging? This would be fasterthan trying
to exchange messages on the newsgroup.
-Frank
"Frank Wang" <[email protected]> wrote:
Hi Michael,
Thank you very much for your research and reply.
Can you elaborate on Item 2 you mentioned? Which "parameters for
synchronization
w/managed servers" are you speaking of? Can you list which file(s) and
which parameter(s)
and values to configure? This will save me a lot of time trying tofigure
that out.
In Item 4, I'm not sure which servers are the "sync" server and "managed"
server.
I only have one server for my "ddDomain" domain. Can you explain this
as well?
I'm currently evaluating Portal on my local workstation, so there is no
other physical
server involved at the moment.
Thanks again,
Frank
"Michael Goldverg" <[email protected]> wrote:
Good news, issue is RESOLVED.
Several things need to be done:
1. Copy p13n_util.jar to the WEB-INF/lib directory under the datasync
webapp,
which
is used as a proxy. This needed to be done because of the problems with
the class
loader.
2. The BEA Deployment guide has several discrepancies, so the parameters
fo synchronization
with managed servers should be defined for the webapp itself, not forthe
servlet.
This could be done using the deployment descriptor edit from theconsole.
Also, the
document states the name for URL parameter as "notifiedURL" (incorrect),
should be
"notifiedUrl".
3. In the startup parameters for the WLPortal server, running the proxy
datasync
application the following parameter should be added:"-Ddata.sync.jdbc.master.dr=true".
4. Finaly, the datasync connection pool and TX datasource should bedeployed
on all
servers (sync server and managed servers).
It took us 2 days to figure this out, but it works well now.
Regards,
Michael Goldverg
"Frank Wang" <[email protected]> wrote:
I have the same exact problem as the previous poster. I created a
brand
new domain
called "ddDomain", and made a new enterprise app
called "scdd". Within it, I created a simple webapp also called"scdd".
Here's
my folder structure:
ddDomain\applications\scdd\
pipeline.jar
p13n_util.jar
scdd\
index.jsp
welcome.jsp
WEB-INF\
web.xml
weblogic.xml
lib\
webflow_servlet.jar
webflow_taglib.jar
datasync\
(datasync files copied from\bea\wlportal4.0\applications\p13nApp\datasync)
META-INF\
application.xml
The following are my settings:
ddDomain\applications\scdd\META-INF\application.xml:
<module>
<web>
<web-uri>datasync</web-uri>
<context-root>scddDataSync</context-root>
</web>
</module>
ebcc > Connection Settings > Connection Details > Data Synchronization:
/scddDataSync/DataSyncServlet
WLS starts up fine, and I know that I am hitting my "scdd" applicationfrom
the browser
(http://localhost:7501/scdd) since the
index.jsp file was compiled.
When I use the ebcc to synchronize (ebcc > Tools > Syncrhonize...), I
get
the following
exception in WLS:
<Jun 5, 2002 6:01:05 PM PDT> <Info> <Management> <Configuration changes
for domain
saved to the repository.>
<Jun 5, 2002 6:02:56 PM PDT> <Info> <NT Performance Pack> <Allocating:'2'
NT reader
threads>
<Jun 5, 2002 6:02:58 PM PDT> <Error> <HTTP>
<[WebAppServletContext(14774279,datasync,/datasync)]
Error loading servlet:
'DataSyncServlet'
java.lang.NoClassDefFoundError:com/bea/p13n/management/data/message/MessageExecutor
at java.lang.Class.newInstance0(Native Method)
at java.lang.Class.newInstance(Class.java:237)
atweblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java
:665)
atweblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.ja
va:643)
(stack trace left out...)
After a bit of looking, I discovered that the MessageExecutor classresides
in p13n_util.jar.
I tried adding this file to the
scdd\WEB-INF\lib directory, but that didn't work. I also trieddeploying
it as an
EJB, that didn't work either, and gave me the
following error:
<Jun 7, 2002 11:25:39 AM PDT> <Error> <J2EE> <Error deployingapplication
pipeline:
Caught IOException for path=:
C:\bea\wlportal4.0\.\config\petflowDomain\applications\.wlnotdelete\wlap1
5174\pipeline.jar>
Per tip of Mr. Daniel Selman in a previous posting, I tried deployinga
number of
other jar files found in
\bea\wlportal4.0\applications\p13nApp, but they all gave me WLS
exceptions.
>>>>
I am evaluating Portal/Webflow for my company, and would like thisresolved
asap.
The documentation is very poor and lacking a
beginner's step-by-step guide.
-Frank
=============================================
"David Anderson" <[email protected]> wrote:
Synchronization is accomplished using the DataSyncServlet that needs
to
be
deployed as part of you enterprise application in the datasync web
application. If you have more than one enterprise application
deployed
to
the same instance of Weblogic Server, you need to make sure that thecontext
URI for the datasync web application is different for each of the
enterprise
applications.
In your application.xml file there should be an entry as follows:
<module>
<web>
<web-uri>datasync.war</web-uri>
<context-root>portalDataSync</context-root>
</web>
</module>
Make sure that the <context-root> element is different for each of the
instances of the datasync application. Additionally, you should checkyour
synchronization connection settings to make sure that the Data
Synchronization setting is pointing to your context root. You can
check
this from the EBCC using Tools->Connection Settings selecting the
connections tab on the resulting dialog box, selecting one of your
connections, hitting the edit button and then the advanced button.
You may need to clean out the database in order for thesynchronization
to
work.
Dave
"Markus Lutum" <[email protected]> wrote in message
news:[email protected]...
Hello.
My team has problems using the Portal 4.0 with WLS 6.1 SP1.
We copied the p13n Domain and rename the Domain and the Server.
When we then syncronise one of the sample webflows with the new
server,
all
works fine.
Then we add our very simple application with 2 jsps (one with a
webflow
form
that fires an event that is configured to switch to the second one)
on
the
same Domain/Server.
When we then want to syncronise the EBCC could not connect
(errormsg:
Authorisation denied. Check User/pass and ensure server running)
Can someone help us?
Must we add some tables inside the cloudspace database or is thisdone
automatically?
Where is the relationship between the database and the application
configured?
Is there a simple tutorial from A to Z how to set up a new Domainand
Server
ready for webflow / Code and deploy a simplest application /
configure
webflow with ebcc.
I need a all steps included tutorial to give this to my developers.The
e-docs are great but it is dificult to collect all pices together.
If someone has a finished configured simple webflow application
please
send
it to me together with the domain config xml.
Thanks a lot!
Markus Lutum
[email protected]

Similar Messages

  • Installing applications with new application model in task sequence - unstable?

    I've heard that installing applications with new application model in task sequence is not as stable, as installing applications as packages in task sequence? What do you think? 

    The deployment type issue was resolved in R2 CU1 :
    http://support.microsoft.com/kb/2938441/en-us
    Benoit Lecours | Blog: System Center Dudes

  • Re: Syncing with new application - more info

    David,
    Let's eliminate the easy stuff first! ;-)
    1. Double check your are modifying the correct file/directory. Do you see
    other changes to application files, or is this just specific to portal?
    2. Check you are sync'ing to the correct server and application.
    3. Check using the Data Repository browser that your documents are ALL in
    the Master Data Repository for the server. Use the context URL of the
    DataSync WebApp for you application: e.g.
    http://localhost:7501/p13nAppDataSync/index.html (for the P13N application)
    4. Check the contents of the Portal Data Repository (using the browser) and
    see if your changes are getting out to there.
    5. Check the portal is entitled, visible, allowable etc.
    I would be surprised if you have found a bug (but you never know!) , as the
    system has had a fair bit of use by now. If after double checking your
    configuration you still haven't found it please ZIP your *-project directory
    and I will run a test here using SQL Server.
    Sincerely,
    Daniel Selman
    "David Tsai" <[email protected]> wrote in message
    news:[email protected]...
    >
    Daniel,
    I'm experiencing the same problems as Heidi. I'm not sure whether thisissue was
    ever resolved with Heidi.
    Here are the specifics of my installation:
    Weblogic Server 6.1 SP1
    Weblogic Portal Server 4.0
    MS SQL Server 7
    EBCC 4.0
    There are no exceptions when I run synchronization in EBCC. However, if Iadd a
    portlet anything else on the XML, the new addition does not reflect in thePORTLET
    table in my database.
    Please Advice. Thanks in Advance.
    Cheers,
    Dave
    "Daniel Selman" <[email protected]> wrote:
    Heidi,
    To reconfirm: are you saying that you modified this document in the EBCC
    and
    it did not get propogated to the server? Please double check that you
    really
    did modify that version of the document (not the version installed with
    the
    server, but the one installed with the EBCC).
    FYI: you can force a sync of all documents (whether changed or not, but
    using the "refresh-from-client" sync mode (called update all documents,
    in
    the EBCC sync properties).
    If you continue to see this behavior please send us both documents(server
    and client) and we will investigate.
    Thanks,
    Daniel Selman
    "Heidi Wagner" <[email protected]> wrote in message
    news:[email protected]...
    Some more information:
    When I check the database, the data_sync_item information has as
    follows:
    >>>
    6059 2001 15 0 0 4293367840
    /webapps/myapp/sampleapp_main.wf
    13-MAR-02 13-MAR-02 14-MAR-02 14-MAR-02
    <?xml version="1.0"?>
    <webflow-configuration xmlns="http://www.bea.com/servers/
    HWagner C:\Documents and Settings\HWagner en US America/Chicago
    sampleapp_main.wf
    C:\bea\ebcc4.0\applications\myapp\application-sync\webapps\myapp\sampleapp_m
    ain.w
    f
    Yet, the file has not changed and my changes to the webflow are notreflected
    on the application.
    "Heidi Wagner" <[email protected]> wrote:
    I'm trying to sync with a new application. I checked the error files
    and there
    are no errors, but i noticed that under
    wlportal/applications/myApp-project/application-sync/webapps/myapp/sampleapp
    _main.wf
    has not been modified. Any reason why this did not happen? Am I
    missing
    some
    sort of sync setting to pass in or otherwise?

    David,
    I think you need WLP 4.0 SP1 - I believe this bug was fixed for SQL Server.
    This will definitely explain why your changes aren't showing up after you
    sync!
    Thanks,
    Daniel Selman
    "David Tsai" <[email protected]> wrote in message
    news:[email protected]...
    >
    Daniel,
    I've double checked everything. Everything seems to be in order, thoughthis exception
    shows up everytime I sync through command or EBCC. If you take a look atthe zip
    file. The delegate has been set to the SQL server Generic JDBC Delegate.Do you
    know what's ailing here?
    <cr:rule xmlns:cr="http://w...
    Creation date: 2002-04-15 18:21:11.061
    Modification date: 2002-04-15 18:21:11.061
    Metadata: com.bea.p13n.common.internal.MetadataImpl@1cb9e8
    Name: Developer.ent
    Description:D:\bea\ebcc4.0\applications\cingularApp\application-sync\entitlements\Global
    Entitlements\Developer.ent
    Author: dtsai C:\Documents and Settings\dtsai en US Asia/Calcutta
    Version:
    ] - with embedded exception: [java.sql.SQLException:java.sql.SQLException: This
    JDBC 2.0 method is not implemented]
    atcom.bea.p13n.management.data.repository.persistence.JdbcDataSource.createDat
    aItem(JdbcDataSource.java:261)
    atcom.bea.p13n.management.data.repository.persistence.JdbcPersistenceManager.c
    reateDataItem(JdbcPersistenceManager.java:79)
    atcom.bea.p13n.management.data.repository.internal.AbstractDataRepository.hand
    leDataItemMessage(AbstractDataRepository.java:840)
    atcom.bea.p13n.management.data.repository.internal.AbstractDataRepository.onDa
    taSyncMessage(AbstractDataRepository.java:1016)
    atcom.bea.p13n.management.data.repository.internal.AbstractDataRepository.exec
    uteMessage(AbstractDataRepository.java:259)
    atcom.bea.p13n.management.data.message.internal.JvmCommunicationPipe.sendMessa
    ge(JvmCommunicationPipe.java:116)
    atcom.bea.p13n.management.data.transport.servlets.DataSyncServlet.doPost(DataS
    yncServlet.java:382)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    atweblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :265)
    atweblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :200)
    atweblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
    ntext.java:2459)
    atweblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
    :2039)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    Caused by: java.sql.SQLException: java.sql.SQLException: This JDBC 2.0method is
    not implemented
    atweblogic.jdbc.rmi.SerialPreparedStatement.setCharacterStream(SerialPreparedS
    tatement.java:428)
    at com.bea.p13n.util.jdbc.JdbcHelper._setClob(JdbcHelper.java:579)
    at com.bea.p13n.util.jdbc.JdbcHelper.setClob(JdbcHelper.java:561)
    at com.bea.p13n.util.jdbc.JdbcHelper._setClob(JdbcHelper.java:628)
    at com.bea.p13n.util.jdbc.JdbcHelper.setClob(JdbcHelper.java:612)
    atcom.bea.p13n.management.data.repository.persistence.JdbcDataSource.createDat
    aItem(JdbcDataSource.java:223)
    atcom.bea.p13n.management.data.repository.persistence.JdbcPersistenceManager.c
    reateDataItem(JdbcPersistenceManager.java:79)
    atcom.bea.p13n.management.data.repository.internal.AbstractDataRepository.hand
    leDataItemMessage(AbstractDataRepository.java:840)
    atcom.bea.p13n.management.data.repository.internal.AbstractDataRepository.onDa
    taSyncMessage(AbstractDataRepository.java:1016)
    atcom.bea.p13n.management.data.repository.internal.AbstractDataRepository.exec
    uteMessage(AbstractDataRepository.java:259)
    atcom.bea.p13n.management.data.message.internal.JvmCommunicationPipe.sendMessa
    ge(JvmCommunicationPipe.java:116)
    atcom.bea.p13n.management.data.transport.servlets.DataSyncServlet.doPost(DataS
    yncServlet.java:382)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    atweblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :265)
    atweblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :200)
    atweblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
    ntext.java:2459)
    atweblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
    :2039)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    Resource key "Corrective Action" not found for classcom.bea.commerce.tools.server.SynchronizationProgress.
    null
    "Daniel Selman" <[email protected]> wrote:
    David,
    Let's eliminate the easy stuff first! ;-)
    1. Double check your are modifying the correct file/directory. Do you see
    other changes to application files, or is this just specific to portal?
    2. Check you are sync'ing to the correct server and application.
    3. Check using the Data Repository browser that your documents are ALL in
    the Master Data Repository for the server. Use the context URL of the
    DataSync WebApp for you application: e.g.
    http://localhost:7501/p13nAppDataSync/index.html (for the P13N
    application)
    >>
    4. Check the contents of the Portal Data Repository (using the browser)
    and
    see if your changes are getting out to there.
    5. Check the portal is entitled, visible, allowable etc.
    I would be surprised if you have found a bug (but you never know!) , as
    the
    system has had a fair bit of use by now. If after double checking your
    configuration you still haven't found it please ZIP your *-projectdirectory
    and I will run a test here using SQL Server.
    Sincerely,
    Daniel Selman
    "David Tsai" <[email protected]> wrote in message
    news:[email protected]...
    Daniel,
    I'm experiencing the same problems as Heidi. I'm not sure whether thisissue was
    ever resolved with Heidi.
    Here are the specifics of my installation:
    Weblogic Server 6.1 SP1
    Weblogic Portal Server 4.0
    MS SQL Server 7
    EBCC 4.0
    There are no exceptions when I run synchronization in EBCC. However,if I
    add a
    portlet anything else on the XML, the new addition does not reflect inthe
    PORTLET
    table in my database.
    Please Advice. Thanks in Advance.
    Cheers,
    Dave
    "Daniel Selman" <[email protected]> wrote:
    Heidi,
    To reconfirm: are you saying that you modified this document in the
    EBCC
    and
    it did not get propogated to the server? Please double check that youreally
    did modify that version of the document (not the version installed
    with
    the
    server, but the one installed with the EBCC).
    FYI: you can force a sync of all documents (whether changed or not,but
    using the "refresh-from-client" sync mode (called update alldocuments,
    in
    the EBCC sync properties).
    If you continue to see this behavior please send us both documents(server
    and client) and we will investigate.
    Thanks,
    Daniel Selman
    "Heidi Wagner" <[email protected]> wrote in message
    news:[email protected]...
    Some more information:
    When I check the database, the data_sync_item information has as
    follows:
    6059 2001 15 0 0 4293367840
    /webapps/myapp/sampleapp_main.wf
    13-MAR-02 13-MAR-02 14-MAR-02 14-MAR-02
    <?xml version="1.0"?>
    <webflow-configuration xmlns="http://www.bea.com/servers/
    HWagner C:\Documents and Settings\HWagner en US America/Chicago
    sampleapp_main.wf
    C:\bea\ebcc4.0\applications\myapp\application-sync\webapps\myapp\sampleapp
    m
    ain.w
    f
    Yet, the file has not changed and my changes to the webflow are notreflected
    on the application.
    "Heidi Wagner" <[email protected]> wrote:
    I'm trying to sync with a new application. I checked the error
    files
    and there
    are no errors, but i noticed that under
    wlportal/applications/myApp-project/application-sync/webapps/myapp/samplea
    p
    p
    _main.wf
    has not been modified. Any reason why this did not happen? Am I
    missing
    some
    sort of sync setting to pass in or otherwise?

  • Syncing with new application

    I'm trying to sync with a new application. I checked the error files and there
    are no errors, but i noticed that under wlportal/applications/myApp-project/application-sync/webapps/myapp/sampleapp_main.wf
    has not been modified. Any reason why this did not happen? Am I missing some
    sort of sync setting to pass in or otherwise?

    Daniel,
    I'm experiencing the same problems as Heidi. I'm not sure whether this issue was
    ever resolved with Heidi.
    Here are the specifics of my installation:
    Weblogic Server 6.1 SP1
    Weblogic Portal Server 4.0
    MS SQL Server 7
    EBCC 4.0
    There are no exceptions when I run synchronization in EBCC. However, if I add a
    portlet anything else on the XML, the new addition does not reflect in the PORTLET
    table in my database.
    Please Advice. Thanks in Advance.
    Cheers,
    Dave
    "Daniel Selman" <[email protected]> wrote:
    Heidi,
    To reconfirm: are you saying that you modified this document in the EBCC
    and
    it did not get propogated to the server? Please double check that you really
    did modify that version of the document (not the version installed with
    the
    server, but the one installed with the EBCC).
    FYI: you can force a sync of all documents (whether changed or not, but
    using the "refresh-from-client" sync mode (called update all documents,
    in
    the EBCC sync properties).
    If you continue to see this behavior please send us both documents (server
    and client) and we will investigate.
    Thanks,
    Daniel Selman
    "Heidi Wagner" <[email protected]> wrote in message
    news:[email protected]...
    Some more information:
    When I check the database, the data_sync_item information has as follows:
    6059 2001 15 0 0 4293367840
    /webapps/myapp/sampleapp_main.wf
    13-MAR-02 13-MAR-02 14-MAR-02 14-MAR-02
    <?xml version="1.0"?>
    <webflow-configuration xmlns="http://www.bea.com/servers/
    HWagner C:\Documents and Settings\HWagner en US America/Chicago
    sampleapp_main.wf
    C:\bea\ebcc4.0\applications\myapp\application-sync\webapps\myapp\sampleapp_m
    ain.w
    f
    Yet, the file has not changed and my changes to the webflow are notreflected
    on the application.
    "Heidi Wagner" <[email protected]> wrote:
    I'm trying to sync with a new application. I checked the error files
    and there
    are no errors, but i noticed that under
    wlportal/applications/myApp-project/application-sync/webapps/myapp/sampleapp
    _main.wf
    has not been modified. Any reason why this did not happen? Am I missing
    some
    sort of sync setting to pass in or otherwise?

  • BUG: implied .executeBatch() failing with new drivers?

    Our application uses batching with SQLJ and is experiencing an issue with the latest driver versions and Java 1.5. It used to work fine when issuing a few INSERT statements with a specified execution context and then letting the SQLJ COMMIT execute the pending statements in the batch when the transaction was finished. With the new drivers, the SQLJ COMMIT is successful but it doesn't write any of the pending batches to database as it is supposed to (per the Oracle Database SQLJ Developer's Guide and Reference).
    In a small testcase I prepared (see the next message for the code), it shows a new batch was created for the first statement (NEW_BATCH_COUNT returned). It also shows subsequent statements are added to the existing batch (ADD_BATCH_COUNT returned). The COUNT() statements show the data never makes it to the database and the table contents were verified in the database after program completion.
    Java: 1.5.0_10
    Oracle Database: Oracle9i Enterprise Edition Release 9.2.0.1.0 - 64bit Production
    Oracle JDBC Driver: 10.2.0.2.0
    translator.jar: JPublisher 10g Release 10.2
    runtime12.jar: JPublisher 10g Release 10.2
    Can anyone please confirm this is a bug?
    Thanks much

    //---------- C O D E ---------------------------------
    package com.sqljtest;
    import java.sql.*;
    import java.util.*;
    import sqlj.runtime.ref.*;
    import sqlj.runtime.*;
    import oracle.sqlj.runtime.*;
    public class Sqljtest extends java.lang.Object {
    public static void main(String[] args) {
    Connection con = null;
    DefaultContext connContext = null;
    ExecutionContext ec = null;
    try {
    String driver = "oracle.jdbc.OracleDriver";
    String url = "jdbc:oracle:thin:@127.0.0.1:1521:mysid";
    String user = "scott";
    String password = "tiger";
    DriverManager.registerDriver(new oracle.jdbc.OracleDriver());
    con = DriverManager.getConnection(url, user, password);
    con.setAutoCommit(false);
    connContext = Oracle.getConnection(con);
    connContext.getConnection().setAutoCommit(false);
    ec = new ExecutionContext();
    ec.setBatching(true);
    Vector collection = new Vector();
    collection.add("one");
    collection.add("two");
    collection.add("three");
    collection.add("four");
    collection.add("five");
    int rowCount, updateCount;
    #sql [connContext] { SELECT COUNT(1) INTO :rowCount FROM sqljtest };
    System.out.println("before rowCount:" + rowCount);
    for (int i = 0; i < collection.size(); i++) {
    #sql [connContext, ec] {
    INSERT INTO sqljtest blah VALUES (: ((String)collection.get(i)) )
    updateCount = ec.getUpdateCount();
    System.out.println("INSERT (" collection.get(i) "): " + updateCount);
    #sql [connContext] { SELECT COUNT(1) INTO :rowCount FROM sqljtest };
    System.out.println("after inserts rowCount:" + rowCount);
    #sql [connContext] {COMMIT};
    #sql [connContext] { SELECT COUNT(1) INTO :rowCount FROM sqljtest };
    System.out.println("after sqlj commit rowCount:" + rowCount);
    } catch (Exception e) {
    System.err.println("Exception e: " + e.toString());
    } finally {
    try {
    if (connContext != null && !connContext.isClosed()) {
    connContext.close(ConnectionContext.CLOSE_CONNECTION);// .CLOSE_CONNECTION
    if (con != null) {
    con.close();
    } catch (Exception e) {
    System.err.println("Exception while closing connections: " + e.toString());
    //---------- O U T P U T -----------------------------
    run SQLJ Test:
    [SQLJ Test] before rowCount:0
    [SQLJ Test] INSERT (one): -3
    [SQLJ Test] INSERT (two): -4
    [SQLJ Test] INSERT (three): -4
    [SQLJ Test] INSERT (four): -4
    [SQLJ Test] INSERT (five): -4
    [SQLJ Test] after inserts rowCount:0
    [SQLJ Test] after sqlj commit rowCount:0

  • Nokia Messaging send failing with new certificate

    I got a certificate update from my mail provider (IMAP business mail) and since then have been unable to send any emails from my Nokia E72. Reading mail is fine but everytime I send I get a bounce with the following message:
    500: Failure - sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
    Everything still works fine with my blueyonder email (branded google mail).
    I think the problem therefore is that the certificate update from the mail provider isn't trusted by the nokia messaging server and that I don't seem to have a way to tell it to trust the new certificate (which I had to do on my laptop to access the same mail). ALthough I don't understand why I can still receive ok.....
    Help!

    Found it out at last.Look at the trouble shooting section of the following faq
    https://email.nokia.com/account/faq.action

  • Time Machine Fails with New Internal HDD

    After vertical lines began proliferating on the screen of my iMac (intel core duo, late 2006 running Leopard 10.5.8), my Apple tech swapped it for a "similar" iMac, running the same OS, and dumped the contents of the original HDD onto the much larger new one. However, instead of an intel, the swap got me one of the original iMac G5 PPCs made in early 2006. After several days of having to reinstall software and other awful adjustments, the biggest problem is accessing Time Machine and having it continue with the new set-up (I gave the new HDD the same name as the old one).
    I can enter Time Machine but it remains static and I can not access any previous backups the usual way... I can click open the external drive (LaCie 1TB, Mac OS Extended, case-sensitive, journaled) and copy files if need be. It is filled only at 1/4 capacity.
    While doing that, I noticed in the backup list a last document "2011-11-01-024657.inProgress" at 3:47am followed by an alias folder "Latest" with the time stamp of 1:47am. I take it that 3:47am backup was interrupted when the iMac was shut down.
    I turned on Time Machine yesterday to get backups restarted but the first backup "failed." Now that the computer is different, will I have to reformat the LaCie to engage TM once more? Partition for two backup sets? For any of these options, I'd appreciate a step-by-step.
    Thank you too much!

    ClarkCom wrote:
    I can enter Time Machine but it remains static and I can not access any previous backups the usual way
    By default, Time Machine only shows the backups for the Mac it's running on.  To see the backups for a different one, you need the Browse... option, per #E2 in Time Machine - Troubleshooting.
    I can click open the external drive (LaCie 1TB, Mac OS Extended, case-sensitive, journaled)
    That's not a problem, and is the default when you let Time Machine format a backup drive.
    I noticed in the backup list a last document "2011-11-01-024657.inProgress" at 3:47am followed by an alias folder "Latest" with the time stamp of 1:47am. I take it that 3:47am backup was interrupted when the iMac was shut down.
    Correct. 
    I turned on Time Machine yesterday to get backups restarted but the first backup "failed."
    That could be any of a number of things.  See #C2 in the Troubleshooting article.  It will show you how to locate the message(s) that describe the problem, then help you fix it.    If that doesn't help, post back with details, including all the messages.
    Now that the computer is different, will I have to reformat the LaCie to engage TM once more?
    Depending on the space available, maybe, and it may be wise anyway.  Time Machine will start a new set of backups for the new Mac, so will need lots of room.  Worse, when the backup disk gets full, it will not delete the oldest backups from the old Mac to make room -- it will delete the oldest backups from the new one, instead.  (That's been fixed in Snow Leopard and Lion, but not Leopard.)

  • X fails with new catalyst drivers

    I'm running 64bit arch and i just upgraded to the new catalyst drivers from AUR (9.4). When I try to run xorg now, it fails (screen just goes black and I can't switch to any of the vcs or kill X). The X log file says that it can't load the glx module because it doesn't exist. I'm not entirely clear on modules and how they work, but what should I do to try and get X working?
    Gratias vobi ago!
    Last edited by Qvintvs (2009-03-28 17:08:54)

    I'm running a Radeon HD 4870 x2. I've been trying some things, and now I dont get the missing glx error. I do get these errors:
    (EE) Failed to load module "dri2" (module does not exist, 0)
    (EE) Failed to load module "record" (module does not exist, 0)
    (EE) fglrx(0): Unknown EDID version 0
    Though it appears that X keeps going past all three of these. Here's my entire log: http://pastebin.com/f5153ff39 . Here's the xorg.conf file aticonfig generated with the unused device, monitor, and screen sections commented out: http://pastebin.com/f1e765d83 .
    Any help on where to go next would really be appreciated, I've been at this for over a day now.
    jun, I think the wiki discourages getting the drivers from the amd site directly, though given the success (or lack thereof) I'm having with the AUR drivers, I can't say (personally) that they're any better.
    Last edited by Qvintvs (2009-03-29 19:18:06)

  • Mac Pro (Early 2008) failing with new monitor

    Hi All,
    I am having a strange problem with my Mac Pro and new display (ViewSonic VX2703MH-LED 27-Inch LED-Lit LCD Monitor). I first noticed some strangeness when I attempted to temporarily run the maching on a new Samsung HDTV that doubles as a computer monitor. I am using a Mini-DV to HDMI adapter, which worked great on two Samsung monitors I'd previously purchased. Anyway, I returned those because I needed ones with standard VESA mounts. So when I plug any of the new monitors in, I am getting some very unstable behavior. Sometimes the mac won't even start up, not even in safe mode. I was able to check all of my disks and zap the P-RAM, and all seems OK, yet every time I am able to startup and login successfully, it crashes after a short while after the display starts acting up. Horizontal and vertical lines come through and all of the color gets messed up. Sometimes my startup screen looks like this:
    I found a table on apple.com that shows which Mac models can use Mini DVI --> HDMI adapters, but it is incomplete - it doesn't mention the Mac Pro from early 2008 at all. I was going to install Mavericks, hoping that might help, but I couldn't burn a bootable DVD copy of Lion because it is a tad too large for a DVD, even though I've read on several sites that this is possible! I am scared to blindly do the upgrade, because I am pretty sure this is some kind of hardware issue. Anyone have any experience with this? I don't think it can be just the Viewsonic monitor because I had similar troubles on the Samsung TV...however the previous Samsung monitors are not here to test. Any insight appreciated!

    RE: Mac Pro Replacement Graphics cards
    1) Apple brand cards,
    2) "sold in the Apple store" cards, and
    3) "Mac Edition" cards ...
    ... show all the screens, including Boot up screens, Safe Mode, Installer, Recovery, debug screens, and Alt/Option boot screens. At this writing, these choices include:
    1) Apple brand cards:
    • Apple-firmware 5770, about US$250** works near full speed in every model Mac Pro, Drivers in 10.6.5
    • Apple-firmware 5870, about US$450
    2) "sold in the Apple store" cards
    • NVIDIA Quadro 4000, about US$1200
    • NVIDIA Quadro 5000, about US$2500
    3) "Mac Edition" cards -- REQUIRE 10.8.3 or later:
    • SAPPHIRE HD 7950 3GB GDDR5 MAC Edition, about US$480** Vendor recommends Mac Pro 4,1
    • EVGA GTX 680 Mac Edition, about US$600
    The cards above require no more than the provided two 6-pin aux power connectors provided in the Mac Pro through 2012 model. Aux cables may not be provided for third-party cards, but are readily available.
    If you are Meet ALL of these:
    • running 10.8.3 or later AND
    • don't care about "no boot screens" etc AND
    • can re-wire or otherwise "work out" the power cabling, THEN:
    You can use many more cards, even most "PC-only cards"

  • External Authentication failed with new key

    I have a card using SCP 01 05. There is 1 keyset(3 keys) with version 01. I have added a new keyset(3 keys as well) with version 02.
    I run external authentication with keyset version 01 and it passed. I run external authentication with keyset version 02 immediately but it returned 6982. This mean "Security status not satisfied". Why can't I do authentication with other key?

    Read the INITIAL UPDATE command !!!! What is the P1/P2 ? If you inform it to use the keyset 1, then you can't possibly think that calculating with the keyset 2 will work ?
    The response data contains a bunch of information, including the keyset used to create the card cryptogram. That is the required key for calculating the off-card cryptogram. You would have seen this if you were calculating the card cryptogram properly because you would have been using the wrong key and the cryptograms wouldn't have matched.
    So, Why can't I do authentication with other key? Because you have to INITIALIZE UPDATE with that other key.

  • Plss help me with new application

    hi,
    i bought one ipad and im not familiar with this.i want to develop an application and need to use in this,it should in support the network also. hw can i upload the application that i developed.

    You need to have a developer account to upload apps onto your iPad for testing. That means paying the 99$ fee for access to the official SDK stuff including putting you app on the app store.
    If you have questions about application development you should be posting them in the developer forums instead of the iPad support forums.

  • Adrelink.sh fails with new environment variable settings (HISTTTY)

    Our IBM-AIX system administrators have adjusted some Unix Host environment variables, like HISTTTY, and made them readonly. They did this for locking down some security issues. When you run adpatch, for example, it would error when running adrelink. When you look at adrelink log, you see the following text:
    You are running adrelink, version 115.28
    Start of adrelink session
    Date/time is Mon Feb 7 10:42:00 EST 2011
    Log file is /in/OAAP/apps11i/oaapappl/admin/OAAP/log/adrelink.log
    Command line arguments are
    "force=y" "ranlib=y" "link_debug=n"
    "filelist=/in/OAAP/apps11i/oaapappl/admin/OAAP/out/alkglx000.txt"
    Operating System Information (output of 'uname -a'):AIX m015ap01 3 5 000AB1E0D600
    Backup Mode is "file"
    Removing extra variables from the environment...
    adrelink will save the following variables (if set): - Generic:"PATH ORACLE_HOME TMPDIR TZ APPL_TOP APPLFENV
    PLATFORM LD_LIBRARY_PATH COBDIR
    LIBPATH NLS_LANG JAVA_TOP PERL5LIB"
    - Shell-Specific: "PS1 PS2 PS3 PS4 IFS MAILCHECK _ LOGNAME A__z"
    Beginning pass 1.
    Processing 408 environment variables...
    /in/OAAP/apps11i/oaapappl/ad/11.5.0/bin/adrelinknew.sh[1066]: HISTTTY: is read only
    adrelink is exiting with status 1
    End of adrelink session
    Date/time is Mon Feb 7 10:42:01 EST 2011
    Thanks in advance!

    Our IBM-AIX system administrators have adjusted some Unix Host environment variables, like HISTTTY, and made them readonlyWhat is the value of HISTTTY"
    Processing 408 environment variables...
    /in/OAAP/apps11i/oaapappl/ad/11.5.0/bin/adrelinknew.sh[1066]: HISTTTY: is read only
    adrelink is exiting with status 1
    End of adrelink sessionFrom the error, looks like you need to give applmgr user more privileges on HISTTTY (try the execute privilege only first).
    Thanks,
    Hussein

  • Encfs fails with new boost update

    Mounting with encfs (1.5-8) gives an error with the boost (1.42.0-1) update.
    It returns the following error:
    encfs: error while loading shared libraries: libboost_serialization-mt.so.1.41.0: cannot open shared object file: No such file or directory

    itti wrote:How can downgrading be done? It seems I'm not able to compile encfs against a boost-1.41 compiled out of the offiicial tarball and I've already deleted the cached pacman packages...
    # pacman -U boost-1.41.0-2-i686.pkg.tar.gz
    # pacman -U encfs-1.5-6-i686.pkg.tar.gz
    with the packages downloaded from:
    http://www.schlunix.org/archlinux/extra … pkg.tar.gz
    http://www.schlunix.org/archlinux/commu … pkg.tar.gz

  • BPC: New application is not available.

    Hallo!
    I have created a set of applications for planning. I have created  a new application based on standart application PLANNING.
    Problem is the following. When I connect to my set of applications and want to choose my new application, in the dropping out list there are only standard applications:
    Application not set
    PLANNING
    Rate
    Where is my application?
    What I have to do?
    Thanks.

    Hi Olga,
    After you created the new application You have to setup the security accessfor that application.
    You have to open the admin console and you have to set the access to new application into Member Access profile of your user.
    You will see there that for new application you don't have any access (regarding the secure dimensions) and because of that you are not able to see the new application into client.
    Attention you have to do the connection wizard after you set the right access to application because just in this way the combox will be refresh with new application.
    Regards
    Sorin Radulescu

  • Peopletools 822 with newer app version

    we need to setup a new peopletools 822 environment
    but i am not sure if it can works with newer application version?for example HRMS9.0?I can't find any document that mention this situation
    thanks a lot

    The lowest Peopletools version supported within HRMS9 is 8.48, which is perfectly understandable because HRMS9 has been built on PT8.48.
    So, the answer to your question is no, find out more in the following matrix certification Peopletools/application :
    http://blogs.oracle.com/peopletools/gems/ToolsSupport4Apps2.pdf
    Nicolas.

Maybe you are looking for

  • Question about doing math in pdf form

    Hi, I have created a filable form in adobe. I am trying to perform some basic math in this pdf form but I can't seem to get it to work. I have few fields that I am using basic logic to calculate one field. I used the following code. if (Dropdown4> 0)

  • Computer monitor not working

    My computer monitor wont seem to work  I go and  turn it on everything its fine and as soon as the welcome screen appear or in a few sec after, the screen starts glitching out and starts  turning on and of every 2sec other time it just stays off. i p

  • Dealing with javax.faces.application.ViewExpiredException in jsf 1.2

    Hello, I am working on a jsf 1.2 application and I am trying to implement a way to deal with the ViewExpiredException. Here is what I tried: <error-page> <exception-type>javax.faces.application.ViewExpiredException</exception-type> <location>/WEB-INF

  • Calendar can't decline the event "(null)" on the exchange server

    How can I make this error message go away for good?

  • DELETE && UPDATE JDBC

    I am working on XML to JDBC scenario.From one xml i have to update few tables,but before that i have to delete all the tables. Now when i file is picked by file adapter,How can i delete the data in tables and insert the file in the tables? Let me kno