Netbeans deployment error still exists

Thanks for you suggestion sir, i tried netstat and it is listening for port 8080, now how should i stop that service or program using it coz as far as i know i did not install tomcat which generally uses dat port ans sun application server is using 4248 port as i see it in netbeans, so how should i know which program is using dat port ans stop it. i used "telnet 8080" command and it says "Connecting To 8080...Could not open connection to the host, on port 23: Connect failed".
i searched for server.xml file on my system and found abt 3 copies of them , they could be some temporary files or of my previous installations of tomcat and they are using port 8080 but i am not able to modify this file and the files are as follows:
C:\Documents and Settings\Administrator\Local Settings\Temp\Temporary Directory 3 for tomcat.zip\tomcat\conf\server.xml
C:\Documents and Settings\Administrator\Local Settings\Temp\Temporary Directory 7 for jakarta-tomcat-5.0.14.zip\jakarta-tomcat-5.0.14\conf\server.xml
But i am using apache- tomcat s/w
D:\apache-tomcat-6.0.10\conf\server.xml and this is not using port 8080 as i see in server.xml, but right now i did not add this server in netbeans and i am only trying to run with sun java application server and it is giving me deployment error.
i even tried running my application with apache-tomcat alone by adding it as server in netbeans but it is also giving error saying "Access to Tomcat server has not been authorized. Set the correct username and password with the "manager" role in the Tomcat customizer in the Server Manager.
See the server log for details."
i tried setting the username as "ide" and password as "ideide", my owm, but it didnt work, how do i set them?
please help me asap

- If you open the windows task manager and move to processes tab, do you see anything that is related to tomcat? If so, you can try killing those processes.
- As for the password: You should see a file called 'tomcat55.properties in the userdir (name may be slightly different depending on the version of tomcat), if a tomcat server is registered with the ide. (Similarly the file 'glassfish.properties' should be present for the sun java system appserver). For info on user directory, please take a look at http://blogs.sun.com/karthikr/entry/jse_directories.
- Have you tried using a different port for the appserver?
- In the runtime tab, after expanding the 'servers' tab, do you see any tomcat servers registered with the ide?

Similar Messages

  • Deployment error on netBeans 4.1

    Hi folks,
    I'm facing a problem. I try to create a project on netBeans 4.1 and after create it, I added JSP codes that from another project. When I try to run it, I got the problem saying:
    .......nbproject\build-impl.xml:355: Deployment error: null. See the server log file for details.
    Openning the file build-impl.xml on line noted I got:
    <nbdeploy forceRedeploy="${forceRedeploy}" clientUrlPart="${client.urlPart}" debugmode="false"/>
    I was worried that this could be being generated by my code, so, I create a new web project. After that I just run the index.jsp with no one modification and this error is still happening.
    Any clue?
    Thanks.

    Thanks Richard
    First thanks for the tip of not needing to convert the XML to String, I had no clue : )
    My error was Unexpected namespace!
    But Unexpected namespace?? That's sure unexpected.. All my source XML have the attribute xmlns set by hand to xmlns="http://ns.adobe.com/textLayout/2008". So I just tried to set the namespace with xml.setNamespace("http://ns.adobe.com/textLayout/2008"); and it didn't RTE anymore. But I got some extra problems here, my website was 490kb size and now is 170Kb!
    Well I will keep working on it and update this page.
    That would be the correct way to set TextLayout's namespace right? xml.setNamespace("http://ns.adobe.com/textLayout/2008"); ??
    Thanks again richard

  • Error when opening itunes : iTunes has stopped working ''A problem caused the program to stop working correctly''. When I repaired damaged files the problem still exists and also after uninstalling and redownloading and installing itunes. I have windows 8

    Error when opening iTunes : iTunes has stopped working '' A problem caused the program to stop working correctly''.
    When I repaired damaged files the problem still exists and also after uninstalling, redownloading and reinstalling iTunes.
    My pc is working with windos 8.
    Is there a solution?

    Hey there Rodney274,
    It sounds like you are getting an error from iTunes when you launch it. I would try the troubleshooting in this article named:
    iTunes for Windows Vista, Windows 7, or Windows 8: Fix unexpected quits or launch issues
    http://support.apple.com/kb/ts1717
    Start with troubleshooting for 3rd party plug ins section, then the rest of the article if needed:
    Start iTunes in Safe Mode
    Open iTunes in Safe Mode to isolate any interference from plug-ins or scripts not manufactured by Apple.
    Hold down Shift–Control while opening iTunes. You should see a dialog that says "iTunes is running in safe mode" before iTunes finishes starting up.
    Click Continue.
    See if the issue you're experiencing persists in Safe Mode.
    If you have the same issue while iTunes is in Safe Mode, proceed to the "Create a new user account" section. If you don't experience the same issue, follow these steps to remove third-party plug-ins.
    Thank you for using Apple Support Communities.
    Take care,
    Sterling

  • Deployment error JAX-WS 2.1 & NetBeans 5.5

    I am using NetBeans 5.5 with the webserver pack to use the JSF technology.
    When I am putting the JAX-WS 2.1 jars in the war, Ik get the following deployment error:
    WEB0100: Loading web module [__JWSappclients:sys.war] in virtual server [server] at [__JWSappclients]
    Exception occured in J2EEC Phase
    com.sun.enterprise.deployment.backend.IASDeploymentException: Error loading deployment descriptors for module [ehip] -- (class: com/sun/xml/ws/model/RuntimeModeler, method: processRpcMethod signature: (Lcom/sun/xml/ws/model/JavaMethodImpl;Ljava/lang/String;Ljavax/jws/WebMethod;Ljava/lang/String;Ljava/lang/reflect/Method;Ljavax/jws/WebService;)V) Incompatible argument to fun��'���'$��'�*�
    at com.sun.enterprise.deployment.backend.Deployer.loadDescriptors(Deployer.java:362)
    at com.sun.enterprise.deployment.backend.ModuleDeployer.loadDescriptors(ModuleDeployer.java:395)
    at com.sun.enterprise.deployment.backend.WebModuleDeployer.deploy(WebModuleDeployer.java:155)
    at com.sun.enterprise.deployment.backend.ModuleDeployer.doRequestFinish(ModuleDeployer.java:160)
    at com.sun.enterprise.deployment.phasing.J2EECPhase.runPhase(J2EECPhase.java:169)
    at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:95)
    at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:871)
    at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:266)
    at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:739)
    at com.sun.enterprise.management.deploy.DeployThread.deploy(DeployThread.java:174)
    at com.sun.enterprise.management.deploy.DeployThread.run(DeployThread.java:210)
    Caused by: java.lang.VerifyError: (class: com/sun/xml/ws/model/RuntimeModeler, method: processRpcMethod signature: (Lcom/sun/xml/ws/model/JavaMethodImpl;Ljava/lang/String;Ljavax/jws/WebMethod;Ljava/lang/String;Ljava/lang/reflect/Method;Ljavax/jws/WebService;)V) Incompatible argument to fun��'���'$��'�*�
    at java.lang.Class.getDeclaredConstructors0(Native Method)
    at java.lang.Class.privateGetDeclaredConstructors(Class.java:2357)
    at java.lang.Class.getConstructors(Class.java:1446)
    at com.sun.enterprise.deployment.annotation.impl.ComponentDefinition.initializeConstructors(ComponentDefinition.java:89)
    at com.sun.enterprise.deployment.annotation.impl.ComponentDefinition.<init>(ComponentDefinition.java:54)
    at com.sun.enterprise.deployment.annotation.impl.JavaEEScanner.getComponentInfo(JavaEEScanner.java:44)
    at com.sun.enterprise.deployment.annotation.impl.AnnotationProcessorImpl.process(AnnotationProcessorImpl.java:159)
    at com.sun.enterprise.deployment.annotation.impl.AnnotationProcessorImpl.process(AnnotationProcessorImpl.java:116)
    at com.sun.enterprise.deployment.archivist.Archivist.processAnnotations(Archivist.java:432)
    at com.sun.enterprise.deployment.archivist.Archivist.readAnnotations(Archivist.java:333)
    at com.sun.enterprise.deployment.archivist.Archivist.readDeploymentDescriptors(Archivist.java:305)
    at com.sun.enterprise.deployment.archivist.Archivist.open(Archivist.java:200)
    at com.sun.enterprise.deployment.archivist.ApplicationArchivist.openArchive(ApplicationArchivist.java:750)
    at com.sun.enterprise.deployment.archivist.ApplicationArchivist.openArchive(ApplicationArchivist.java:731)
    at com.sun.enterprise.deployment.backend.Deployer.loadDescriptors(Deployer.java:327)
    ... 10 more
    I made an ordinary Java test program and that works without a problem.
    What is going on ?
    Regards and thanks for any help.
    Marc

    Can you check if the following helps?
    http://blogs.sun.com/fruitcake/entry/jax_ws_2_1_and

  • Netbeans IDE6.0--deployment error

    i am getting an error while running a web application using sun java system application server.it is as below:"Starting Sun Java System Application Server 9.1 (build b41d-beta2) ...
    A conflict occured on port 8080 . Server is shutting down."
    Other messages i am getting are:
    D:\ebooks\ebooks\nbproject\build-impl.xml:500: Deployment error:
    <nbdeploy debugmode="false" clientUrlPart="${client.urlPart}" forceRedeploy="${forceRedeploy}"/>-----this is 500 line from build_impl.xml file.
    other messages are:
    Starting Sun-Java-System/Application-Server.
    Starting Sun-Java-System/Application-Server HTTP/1.1 on 8080
    Starting Sun-Java-System/Application-Server HTTP/1.1 on 8181
    Starting Sun-Java-System/Application-Server HTTP/1.1 on 4848 Self Management Rules service is enabled
    i have IIS server other than this and i am using oracle 10g as database, how should i know which server is taking which port??
    please help me asap......

    Thanks for you suggestion sir, i tried netstat and it is listening for port 8080, now how should i stop that service or program using it coz as far as i know i did not install tomcat which generally uses dat port ans sun application server is using 4248 port as i see it in netbeans, so how should i know which program is using dat port ans stop it. i used "telnet 8080" command and it says "Connecting To 8080...Could not open connection to the host, on port 23: Connect failed".
    i searched for server.xml file on my system and found abt 3 copies of them , they could be some temporary files or of my previous installations of tomcat and they are using port 8080 but i am not able to modify this file and the files are as follows:
    C:\Documents and Settings\Administrator\Local Settings\Temp\Temporary Directory 3 for tomcat.zip\tomcat\conf\server.xml
    C:\Documents and Settings\Administrator\Local Settings\Temp\Temporary Directory 7 for jakarta-tomcat-5.0.14.zip\jakarta-tomcat-5.0.14\conf\server.xml
    But i am using apache- tomcat s/w
    D:\apache-tomcat-6.0.10\conf\server.xml and this is not using port 8080 as i see in server.xml, but right now i did not add this server in netbeans and i am only trying to run with sun java application server and it is giving me deployment error.
    i even tried running my application with apache-tomcat alone by adding it as server in netbeans but it is also giving error saying "Access to Tomcat server has not been authorized. Set the correct username and password with the "manager" role in the Tomcat customizer in the Server Manager.
    See the server log for details."
    i tried setting the username as "ide" and password as "ideide", my owm, but it didnt work, how do i set them?
    please help me asap

  • Deployment error in netbeans

    hi i have a problem deploying my application to the Sun Java System Application server..i'm trying to deploy it through netbeans and i'm getting this error..
    Finished registering server resources
    Deployment of application failed - Server returned HTTP response code: 500 for URL: http://124.105.32.237:4848/web1/remotejmx
    C:\Sun\projects\PEZA-EIS_v1.0.5\nbproject\build-impl.xml:510: Deployment error:
    The module has not been deployed.
    See the server log for details.
    BUILD FAILED (total time: 4 minutes 10 seconds)
    i dont know whats causing it..please help me..
    thanks in advance.
    Edited by: rinoa_fftsy on Nov 16, 2007 9:36 AM

    Hi Andi,
    Sorry, this is known problem. To make things working on this binary you shall install via .jad file, not .jar directlly. (that is: ./installMidlet.sh /home/pi/midlets/app1.jad). Please note that MIDlet-Jar-URL in the .jad file must point to .jar as it is seen from raspberry pi (i.e. you can use local path if using installMidlet.sh or put the .jar into local file system and use absolute path in MIDlet-Jar-URL when installing using Developer Agent console). Also you can use hostdownload parameter to the ams-install command. In this case MIDlet-Jar-URL shall use host paths because the .jar is downloaded by Developer Agent in this case
    The problem is fixed and you should be able to use installation from .jar once next developer version is published on OTN
    Regards,
    Andrey

  • ERROR : Entries for application 13 still exist in the extraction queue -

    Hi everybody,
    While modifying extractor (LO  Cokpit) I am getting this error.. I have deleted data through t.code LBWQ & LBWG still I am getting this ERROR,
    " Entries for application 13 still exist in the extraction queue -> "
    and it is givig the Diagnosis as below
    Diagnosis
    You are not allowed to change the extract structure MC13VD0ITM forapplication 13. This is because unprocessed entries are still presentin an extraction queue of application 13 for at least one client.
    If an extraction structure is changed for which there are still openentries in an extraction queue, these entries can no longer be read andthe collective update terminates.
    Please help me out..it is urgent...
    Thanks in advance

    Hi Sunita,
    Do one things, to fix this problem, go to the BW for that info package, it seems
    its already exists..if yes..delete the initialization request from the package
    and come back to R/3  try to delete the application 13 and it will allow to make
    the changes to the struc.
    Hope it helps..
    Need further help revert..
    Assign points if useful..
    Cheers,
    Pattan.

  • I have not been able to access itunes store for over a week now.  I keep getting error -1202.  I have updated to latest version of itunes but problem still exists.  Any tips?

    I have not been able to access itunes store for over a week now.  I keep getting error -1202.  I have updated to latest version of itunes but problem still exists.  Any tips?

    See this one
    https://discussions.apple.com/thread/3742260?start=0&tstart=0

  • Error Message: 'Distribution list still exists in the trash'

    HI All
    Please help us to provide the necessary solution as per the below query.
    1. Which SAP transaction or program can I run to find information on when & what Distribution Lists have been deleted and by whom?
    2. we are trying to recreate the same distribution list again  by using transaction code S023, we are unable to create the same distribution, we are getting the below error message.
    Error Message: 'Distribution list still exists in the trash'
    Regards

    SAp inbox

  • Deployment error with netbeans vwp

    when i try to run my vwp project i get this error.
    Starting server Bundled Tomcat (5.5.17)
    Starting of Tomcat failed.
    D:\Documents and Settings\Erdal\erdalWEB\nbproject\build-impl.xml:475: Deployment error:
    Starting of Tomcat failed.
    See the server log for details.
    all i do is to open a new Visual Web Application project, drag and drop a label and deploy it. nothing complicated but couldn't found where the problem is. please give me a hand, a hint, a way to get over this...

    Read this, as it says:
    See the server log for details.

  • Deployment error while running the application

    Hi Every body,
    I am new to JEE though an old pro at JDK.I have also worked on tomcat.
    I have got Sun Java System Application Server 9.1 installed with NetBeans 6.1 on winXP.
    I am trying to create a EJB app-client module.I even tried to run the sample application AnnotationOverrideInterceptor given in NetBeans . Every thing goes fine.The Build is also Successful but when i run it, i recieve the error message Deployment error .The module has not been deployed.
    See the server log for details.
    I am posting a part of server log stack.:
    Application server startup complete.
    [AutoDeploy] Selecting file C:\Program Files\glassfish-v2-b53\domains\domain1\autodeploy\amserver.war for autodeployment.
    Initializing Sun's JavaServer Faces implementation (1.2_04-b19-p03) for context ''
    javax.ejb.EJB.description()Ljava/lang/String;
    Exception occured in J2EEC Phasejava.lang.IllegalStateException: javax.ejb.EJB.description()Ljava/lang/String;at com.sun.enterprise.deployment.annotation.AnnotationInfo@49bed2
    com.sun.enterprise.deployment.backend.IASDeploymentException: Error loading deployment descriptors for module [AnnotationOverrideInterceptor] -- javax.ejb.EJB.description()Ljava/lang/String;at com.sun.enterprise.deployment.annotation.AnnotationInfo@49bed2
    at com.sun.enterprise.deployment.backend.Deployer.loadDescriptors(Deployer.java:388)
    at com.sun.enterprise.deployment.backend.AppDeployerBase.loadDescriptors(AppDeployerBase.java:358)
    at com.sun.enterprise.deployment.backend.AppDeployer.deploy(AppDeployer.java:226)
    at com.sun.enterprise.deployment.backend.AppDeployer.doRequestFinish(AppDeployer.java:148)
    at com.sun.enterprise.deployment.phasing.J2EECPhase.runPhase(J2EECPhase.java:191)
    at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:108)
    at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:905)
    at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:279)
    at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:774)
    at com.sun.enterprise.management.deploy.DeployThread.deploy(DeployThread.java:187)
    at com.sun.enterprise.management.deploy.DeployThread.run(DeployThread.java:223)
    Caused by: java.lang.IllegalStateException: javax.ejb.EJB.description()Ljava/lang/String;at com.sun.enterprise.deployment.annotation.AnnotationInfo@49bed2
    at com.sun.enterprise.deployment.archivist.Archivist.readAnnotations(Archivist.java:363)
    at com.sun.enterprise.deployment.archivist.Archivist.readDeploymentDescriptors(Archivist.java:318)
    at com.sun.enterprise.deployment.archivist.Archivist.open(Archivist.java:213)
    at com.sun.enterprise.deployment.archivist.ApplicationArchivist.readModulesDescriptors(ApplicationArchivist.java:321)
    at com.sun.enterprise.deployment.archivist.ApplicationArchivist.open(ApplicationArchivist.java:238)
    at com.sun.enterprise.deployment.archivist.ApplicationArchivist.openArchive(ApplicationArchivist.java:763)
    at com.sun.enterprise.deployment.archivist.ApplicationArchivist.openArchive(ApplicationArchivist.java:744)
    at com.sun.enterprise.deployment.backend.Deployer.loadDescriptors(Deployer.java:349)
    ... 10 more
    Caused by: javax.ejb.EJB.description()Ljava/lang/String;at com.sun.enterprise.deployment.annotation.AnnotationInfo@49bed2
    at com.sun.enterprise.deployment.annotation.impl.AnnotationProcessorImpl.process(AnnotationProcessorImpl.java:360)
    at com.sun.enterprise.deployment.annotation.impl.AnnotationProcessorImpl.process(AnnotationProcessorImpl.java:368)
    at com.sun.enterprise.deployment.annotation.impl.AnnotationProcessorImpl.processAnnotations(AnnotationProcessorImpl.java:282)
    at com.sun.enterprise.deployment.annotation.impl.AnnotationProcessorImpl.processAnnotations(AnnotationProcessorImpl.java:264)
    at com.sun.enterprise.deployment.annotation.impl.AnnotationProcessorImpl.process(AnnotationProcessorImpl.java:192)
    at com.sun.enterprise.deployment.annotation.impl.AnnotationProcessorImpl.process(AnnotationProcessorImpl.java:129)
    at com.sun.enterprise.deployment.archivist.Archivist.processAnnotations(Archivist.java:445)
    at com.sun.enterprise.deployment.archivist.Archivist.readAnnotations(Archivist.java:346)
    ... 17 more
    Caused by: java.lang.NoSuchMethodError: javax.ejb.EJB.description()Ljava/lang/String;
    at com.sun.enterprise.deployment.annotation.handlers.EJBHandler.processNewEJBAnnotation(EJBHandler.java:276)
    at com.sun.enterprise.deployment.annotation.handlers.EJBHandler.processEJB(EJBHandler.java:143)
    at com.sun.enterprise.deployment.annotation.handlers.EJBHandler.processAnnotation(EJBHandler.java:98)
    at com.sun.enterprise.deployment.annotation.handlers.AbstractResourceHandler.processAnnotation(AbstractResourceHandler.java:119)
    at com.sun.enterprise.deployment.annotation.impl.AnnotationProcessorImpl.process(AnnotationProcessorImpl.java:337)
    ... 24 more
    Please help as i am trying the google and many other to find solution but i am unable to move forward.I am stuck up at this for last 15 days.It is very frustrating.
    I haven't posted the full log as it is very long.I can post the entire server log, if asked for.
    Please help
    yoodleyee

    Hi jwenting,
    Thanks alot for replying.
    But i am still unable to come out of the mess.Here is the program i am using please help me find out the error.
    Here we go:
    package hello;
    import javax.ejb.Stateless;
    @Stateless
    public class HelloBean implements HelloRemote {
    private String name="Yoodleyee";
    public String sayHello() {
    //return null;
    return "My Name is "+name;
    // Add business logic below. (Right-click in editor and choose
    // "EJB Methods > Add Business Method" or "Web Service > Add Operation")
    package hello;
    import javax.ejb.Remote;
    @Remote
    public interface HelloRemote {
    String sayHello();
    In the Hello-app-client module i have main()==>>
    package hello;
    import javax.ejb.EJB;
    public class Main {
    @EJB
    private static HelloRemote helloBean;
    * @param args the command line arguments
    public static void main(String[] args) {
    // TODO code application logic here
    System.out.println("Hi "+helloBean.sayHello());
    since this program does not require deployment descriptor and also NetBean creates its own deployment discriptor hence i have not written any.
    Please tell me where and waht i should change.Also tell me is diployment descriptor necessary.
    Awaiting for the reply.
    yoodleyee

  • I Often get  Deployment Errors is it necessary to reinstall every time JSC2

    Hi i am using JSC2 update 1, but i am not satisfied with this IDE, Because it often shows deployment error when i run my application and really it irritates me. Till Now i have downloaded and reinstalled it for Five times but it still showing errors. I am always busy with rectifying the errors in IDE rather than using it for developing applications. Even i have tried all possibilities to rectify it but it wont. Please can you suggest me a good IDE for developing Database based web applications. Its really tough to continue to work with JSC2 update 1.
    Any help please i am really frustrated by using JSC2 update 1 IDE.

    Exception=Deployment error: Deployment timed out after 240 seconds.. See the server log file for details.
    Deployment error: Deployment timed out after 240 seconds.. See the server log file for details.
    at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:198)
    at org.netbeans.modules.j2ee.ant.Deploy.execute(Deploy.java:75)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    at org.apache.tools.ant.Task.perform(Task.java:364)
    at org.apache.tools.ant.Target.execute(Target.java:341)
    at org.apache.tools.ant.Target.performTasks(Target.java:369)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1062)
    at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:234)
    at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:242)
    at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:125)
    Caused by: java.lang.RuntimeException: Deployment timed out after 240 seconds.
    at org.netbeans.modules.j2ee.deployment.impl.TargetServer.sleep(TargetServer.java:521)
    at org.netbeans.modules.j2ee.deployment.impl.TargetServer.handleDeployProgress(TargetServer.java:932)
    at org.netbeans.modules.j2ee.deployment.impl.TargetServer.handleDeployProgress(TargetServer.java:912)
    at org.netbeans.modules.j2ee.deployment.impl.TargetServer.deploy(TargetServer.java:596)
    at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:188)
    ... 10 more
    C:\Documents and Settings\SRNI\My Documents\Creator\Projects\MusicAdd\nbproject\build-impl.xml:491: Deployment error: Deployment timed out after 240 seconds.. See the server log file for details.
    BUILD FAILED (total time: 10 minutes 2 seconds)
    This is the error i often get and i always use to rectify it.
    1) I have stopped my norton Antivirus software and restarted my sun java application server.
    2) I have checked whether there is any port conflicts by typing netstat -a on command prompt. But it shows that 29080 is LISTENING. but when i try it will show again the same error.
    3) i have checked for usernames and passwords also.
    I was left with only one option that is if any application is corrupted or not , but i dont know how to check it.
    can i use any other port no in place of 29080 or i have to use that port only. please help me Roman.
    Thanking you in Advance.

  • The Bug about 'DB_SECONDARY_BAD' still exists in BerkeleyDB4.8!

    The Bug about 'DB_SECONDARY_BAD' still exists in BerkeleyDB4.8?
    I'm sorry for my poor English, But I just cannot find anywhere else for help.
    Thanks for your patience first!
    I'm using BDB4.8 C++ API on Ubuntu 10.04, Linux Kernel 2.6.32-24-generic
    $uname -a
    $Linux wonpc 2.6.32-24-generic #43-Ubuntu SMP Thu Sep 16 14:17:33 UTC 2010 i686 GNU/Linux
    When I update(overwrite) a record in database, I may get a DB_SECONDARY_BAD exception,
    What's worse, This case doesn't always occures, it's random. So I think it probably a bug
    of BDB, I have seen many issues about DB_SECONDARY_BAD with BDB4.5,4.6...
    To reproduce the issue, I make a simplified test program from my real program.
    The data to be stroed into database is a class called 'EntryData', It's defined in db_access.h,
    where also defines some HighLevel API functions that hide the BDB calls, such as
    store_entry_data(), which use EntryData as its argument. The EntryData have a string-type
    member-data 'name' and a vector<string>-type mem-data 'labels', So store_entry_data() will
    put the real data of EntryData to a contiguous memory block. The get_entry_data() returns
    an EntryData builed up from the contiguous memory block fetched from database.
    The comlete test program is post following this line:
    /////////db_access.h////////////
    #ifndef __DB_ACCESS_H__
    #define __DB_ACCESS_H__
    #include <string>
    #include <vector>
    #include <db_cxx.h>
    class EntryData;
    //extern Path DataDir; // default value, can be changed
    extern int database_setup();
    extern int database_close();
    extern int store_entry_data(const EntryData&, u_int32_t = DB_NOOVERWRITE);
    extern int get_entry_data(const std::string&, EntryData*, u_int32_t = 0);
    extern int rm_entry_data(const std::string&);
    class DBSetup
    // 构造时调用database_setup, 超出作用域自动调用database_close .
    // 该类没有数据成员.
    public:
    DBSetup() {
    database_setup();
    ~DBSetup() {
    database_close();
    class EntryData
    public:
    typedef std::vector<std::string> LabelContainerType;
    EntryData() {}
    EntryData(const std::string& s) : name(s) {}
    EntryData(const std::string& s, LabelContainerType& v)
    : name(s), labels(v) {}
    EntryData(const std::string&, const char*[]);
    class DataBlock;
    // 直接从内存块中构建, mem指针将会从数据库中获取,
    // 它就是EntryData转化成的DataBlock中buf_ptr->buf的内容.
    EntryData(const void* mem_blk, const int len);
    ~EntryData() {};
    const std::string& get_name () const { return name; }
    const LabelContainerType& get_labels() const { return labels; }
    void set_name (const std::string& s) { name = s; }
    void add_label(const std::string&);
    void rem_label(const std::string&);
    void show() const;
    // get contiguous memory for all:
    DataBlock get_block() const { return DataBlock(*this); }
    class DataBlock
    // contiguous memory for all.
    public:
    DataBlock(const EntryData& data);
    // 引进一块内存作为 buf_ptr->buf 的内容.
    // 例如从数据库中获取结果
    DataBlock(void* mem, int len);
    // 复制构造函数:
    DataBlock(const DataBlock& orig) :
    data_size(orig.data_size),
    capacity(orig.capacity),
    buf_ptr(orig.buf_ptr) { ++buf_ptr->use; }
    // 赋值操作符:
    DataBlock& operator=(const DataBlock& oth)
    data_size = oth.data_size;
    capacity = oth.capacity;
    if(--buf_ptr->use == 0)
    delete buf_ptr;
    buf_ptr = oth.buf_ptr;
    return *this;
    ~DataBlock() {
    if(--buf_ptr->use == 0) { delete buf_ptr; }
    // data()函数因 Dbt 构造函数不支持const char*而被迫返回 char*
    // data() 返回的指针是应该被修改的.
    const char* data() const { return buf_ptr->buf; }
    int size() const { return data_size; }
    private:
    void pack_str(const std::string& s);
    static const int init_capacity = 100;
    int data_size; // 记录数据块的长度.
    int capacity; // 已经分配到 buf 的内存大小.
    class SmartPtr; // 前向声明.
    SmartPtr* buf_ptr;
    class SmartPtr
    friend class DataBlock;
    char* buf;
    int use;
    SmartPtr(char* p) : buf(p), use(1) {}
    ~SmartPtr() { delete [] buf; }
    private:
    std::string name; // entry name
    LabelContainerType labels; // entry labels list
    }; // class EntryData
    #endif
    //////db_access.cc/////////////
    #include <iostream>
    #include <cstring>
    #include <cstdlib>
    #include <vector>
    #include <algorithm>
    #include "directory.h"
    #include "db_access.h"
    using namespace std;
    static Path DataDir("~/mydict_data"); // default value, can be changed
    const Path& get_datadir() { return DataDir; }
    static DbEnv myEnv(0);
    static Db db_bynam(&myEnv, 0); // using name as key
    static Db db_bylab(&myEnv, 0); // using label as key
    static int generate_keys_for_db_bylab
    (Db* sdbp, const Dbt* pkey, const Dbt* pdata, Dbt* skey)
    EntryData entry_data(pdata->get_data(), pdata->get_size());
    int lab_num = entry_data.get_labels().size();
    Dbt* tmpdbt = (Dbt*) malloc( sizeof(Dbt) * lab_num );
    memset(tmpdbt, 0, sizeof(Dbt) * lab_num);
    EntryData::LabelContainerType::const_iterator
    lab_it = entry_data.get_labels().begin(), lab_end = entry_data.get_labels().end();
    for(int i = 0; lab_it != lab_end; ++lab_it, ++i) {
    tmpdbt[ i ].set_data( (void*)lab_it->c_str() );
    tmpdbt[ i ].set_size( lab_it->size() );
    skey->set_flags(DB_DBT_MULTIPLE | DB_DBT_APPMALLOC);
    skey->set_data(tmpdbt);
    skey->set_size(lab_num);
    return 0;
    //@Return Value: return non-zero at error
    extern int database_setup()
    const string DBEnvHome (DataDir + "DBEnv");
    const string dbfile_bynam("dbfile_bynam");
    const string dbfile_bylab("dbfile_bylab");
    db_bylab.set_flags(DB_DUPSORT);
    const u_int32_t env_flags = DB_CREATE | DB_INIT_MPOOL;
    const u_int32_t db_flags = DB_CREATE;
    rmkdir(DBEnvHome);
    try
    myEnv.open(DBEnvHome.c_str(), env_flags, 0);
    db_bynam.open(NULL, dbfile_bynam.c_str(), NULL, DB_BTREE, db_flags, 0);
    db_bylab.open(NULL, dbfile_bylab.c_str(), NULL, DB_BTREE, db_flags, 0);
    db_bynam.associate(NULL, &db_bylab, generate_keys_for_db_bylab, 0);
    } catch(DbException &e) {
    cerr << "Err when open DBEnv or Db: " << e.what() << endl;
    return -1;
    } catch(std::exception& e) {
    cerr << "Err when open DBEnv or Db: " << e.what() << endl;
    return -1;
    return 0;
    int database_close()
    try {
    db_bylab.close(0);
    db_bynam.close(0);
    myEnv.close(0);
    } catch(DbException &e) {
    cerr << e.what();
    return -1;
    } catch(std::exception &e) {
    cerr << e.what();
    return -1;
    return 0;
    // 返回Dbt::put()的返回值
    int store_entry_data(const EntryData& e, u_int32_t flags)
    int res = 0;
    try {
    EntryData::DataBlock blk(e);
    // data()返回的buf中存放的第一个字符串便是 e.get_name().
    Dbt key ( (void*)blk.data(), strlen(blk.data()) + 1 );
    Dbt data( (void*)blk.data(), blk.size() );
    res = db_bynam.put(NULL, &key, &data, flags);
    } catch (DbException& e) {
    cerr << e.what() << endl;
    throw; // 重新抛出.
    return res;
    // 返回 Db::get()的返回值, 调用成功时 EntryData* e的值才有意义
    int get_entry_data
    (const std::string& entry_name, EntryData* e, u_int32_t flags)
    Dbt key( (void*)entry_name.c_str(), entry_name.size() + 1 );
    Dbt data;
    data.set_flags(DB_DBT_MALLOC);
    int res = db_bynam.get(NULL, &key, &data, flags);
    if(res == 0)
    new (e) EntryData( data.get_data(), data.get_size() );
    free( data.get_data() );
    return res;
    int rm_entry_data(const std::string& name)
    Dbt key( (void*)name.c_str(), name.size() + 1 );
    cout << "to remove: \'" << name << "\'" << endl;
    int res = db_bynam.del(NULL, &key, 0);
    return res;
    EntryData::EntryData(const std::string& s, const char* labels_arr[]) : name(s)
    {   // labels_arr 需要以 NULL 结尾.
    for(const char** i = labels_arr; *i != NULL; i++)
    labels.push_back(*i);
    EntryData::EntryData(const void* mem_blk, const int len)
    const char* buf = (const char*)mem_blk;
    int consumed = 0; // 已经消耗的mem_blk的大小.
    name = buf; // 第一串为 name
    consumed += name.size() + 1;
    for (string label = buf + consumed;
    consumed < len;
    consumed += label.size() + 1)
    label = buf + consumed;
    labels.push_back(label);
    void EntryData::add_label(const string& new_label)
    if(find(labels.begin(), labels.end(), new_label)
    == labels.end())
    labels.push_back(new_label);
    void EntryData::rem_label(const string& to_rem)
    LabelContainerType::iterator iter = find(labels.begin(), labels.end(), to_rem);
    if(iter != labels.end())
    labels.erase(iter);
    void EntryData::show() const {
    cout << "name: " << name << "; labels: ";
    LabelContainerType::const_iterator it, end = labels.end();
    for(it = labels.begin(); it != end; ++it)
    cout << *it << " ";
    cout << endl;
    EntryData::DataBlock::DataBlock(const EntryData& data) :
    data_size(0),
    capacity(init_capacity),
    buf_ptr(new SmartPtr(new char[init_capacity]))
    pack_str(data.name);
    for(EntryData::LabelContainerType::const_iterator \
    i = data.labels.begin();
    i != data.labels.end();
    ++i) { pack_str(*i); }
    void EntryData::DataBlock::pack_str(const std::string& s)
    int string_size = s.size() + 1; // to put sting in buf separately.
    if(capacity >= data_size + string_size) {
    memcpy(buf_ptr->buf + data_size, s.c_str(), string_size);
    else {
    capacity = (data_size + string_size)*2; // 分配尽可能大的空间.
    buf_ptr->buf = (char*)realloc(buf_ptr->buf, capacity);
    memcpy(buf_ptr->buf + data_size, s.c_str(), string_size);
    data_size += string_size;
    //////////// test_put.cc ///////////
    #include <iostream>
    #include <string>
    #include <cstdlib>
    #include "db_access.h"
    using namespace std;
    int main(int argc, char** argv)
    if(argc < 2) { exit(EXIT_FAILURE); }
    DBSetup setupup_mydb;
    int res = 0;
    EntryData ed(argv[1], (const char**)argv + 2);
    res = store_entry_data(ed);
    if(res != 0) {
         cerr << db_strerror(res) << endl;
         return res;
    return 0;
    // To Compile:
    // $ g++ -ldb_cxx -lboost_regex -o test_put test_put.cc db_access.cc directory.cc
    //////////// test_update.cc ///////////
    #include <iostream>
    #include <cstdlib>
    #include <string>
    #include <boost/program_options.hpp>
    #include "db_access.h"
    using namespace std;
    namespace po = boost::program_options;
    int main(int argc, char** argv)
    if(argc < 2) { exit(EXIT_SUCCESS); }
    DBSetup setupup_mydb;
    int res = 0;
    po::options_description cmdopts("Allowed options");
    po::positional_options_description pos_opts;
    cmdopts.add_options()
    ("entry", "Specify the entry that will be edited")
    ("addlabel,a", po::value< vector<string> >(),
    "add a label for specified entry")
    ("removelabel,r", po::value< vector<string> >(),
    "remove the label of specified entry")
    pos_opts.add("entry", 1);
    po::variables_map vm;
    store( po::command_line_parser(argc, argv).
    options(cmdopts).positional(pos_opts).run(), vm );
    notify(vm);
    EntryData entry_data;
    if(vm.count("entry")) {
    const string& entry_to_edit = vm["entry"].as<string>();
    res = get_entry_data( entry_to_edit, &entry_data );
    switch (res)
    case 0:
    break;
    case DB_NOTFOUND:
    cerr << "No entry named: \'"
    << entry_to_edit << "\'\n";
    return res;
    break;
    default:
    cerr << db_strerror(res) << endl;
    return res;
    } else {
    cerr << "No entry specified\n";
    exit(EXIT_FAILURE);
    EntryData new_entry_data(entry_data);
    typedef vector<string>::const_iterator VS_CI;
    if(vm.count("addlabel")) {
    const vector<string>& to_adds = vm["addlabel"].as< vector<string> >();
    VS_CI end = to_adds.end();
    for(VS_CI i = to_adds.begin(); i != end; ++i) {
    new_entry_data.add_label(*i);
    if(vm.count("removelabel")) {
    const vector<string>& to_rems = vm["removelabel"].as< vector<string> >();
    VS_CI end = to_rems.end();
    for(VS_CI i = to_rems.begin(); i != end; ++i) {
    new_entry_data.rem_label(*i);
    cout << "Old data| ";
    entry_data.show();
    cout << "New data| ";
    new_entry_data.show();
    res = store_entry_data(new_entry_data, 0); // set flags to zero permitting Over Write
    if(res != 0) {
    cerr << db_strerror(res) << endl;
    return res;
    return 0;
    // To Compile:
    // $ g++ -ldb_cxx -lboost_regex -lboost_program_options -o test_update test_update.cc db_access.cc directory.cc

    ////////directory.h//////
    #ifndef __DIRECTORY_H__
    #define __DIRECTORY_H__
    #include <string>
    #include <string>
    #include <sys/types.h>
    using std::string;
    class Path
    public:
    Path() {}
    Path(const std::string&);
    Path(const char* raw) { new (this) Path(string(raw)); }
    Path upper() const;
    void operator+= (const std::string&);
    // convert to string (char*):
    //operator std::string() const {return spath;}
    operator const char*() const {return spath.c_str();}
    const std::string& str() const {return spath;}
    private:
    std::string spath; // the real path
    inline Path operator+(const Path& L, const string& R)
    Path p(L);
    p += R;
    return p;
    int rmkdir(const string& path, const mode_t mode = 0744, const int depth = -1);
    #endif
    ///////directory.cc///////
    #ifndef __DIRECTORY_H__
    #define __DIRECTORY_H__
    #include <string>
    #include <string>
    #include <sys/types.h>
    using std::string;
    class Path
    public:
    Path() {}
    Path(const std::string&);
    Path(const char* raw) { new (this) Path(string(raw)); }
    Path upper() const;
    void operator+= (const std::string&);
    // convert to string (char*):
    //operator std::string() const {return spath;}
    operator const char*() const {return spath.c_str();}
    const std::string& str() const {return spath;}
    private:
    std::string spath; // the real path
    inline Path operator+(const Path& L, const string& R)
    Path p(L);
    p += R;
    return p;
    int rmkdir(const string& path, const mode_t mode = 0744, const int depth = -1);
    #endif
    //////////////////// All the code is above ////////////////////////////////
    Use the under command
    $ g++ -ldb_cxx -lboost_regex -o test_put test_put.cc db_access.cc directory.cc
    to get a test program that can insert a record to database.
    To insert a record, use the under command:
    $ ./test_put ubuntu linux os
    It will store an EntryData named 'ubuntu' and two labels('linux', 'os') to database.
    Use the under command
    $ g++ -ldb_cxx -lboost_regex -lboost_program_options -o test_update test_update.cc db_access.cc directory.cc
    to get a test program that can update the existing records.
    To update the record, use the under command:
    $ ./test_update ubuntu -r linux -a canonical
    It will update the with the key 'ubuntu', with the label 'linux' removed and a new
    label 'canonical'.
    Great thanks to you if you've read and understood my code!
    I've said that the DB_SECONDARY_BAD exception is random. The same operation may cause
    exception in one time and may goes well in another time.
    As I've test below:
    ## Lines not started with '$' is the stdout or stderr.
    $ ./test_put linux os linus
    $ ./test_update linux -r os
    Old data| name: linux; labels: os linus
    New data| name: linux; labels: linus
    $ ./test_update linux -r linus
    Old data| name: linux; labels: linus
    New data| name: linux; labels:
    dbfile_bynam: DB_SECONDARY_BAD: Secondary index inconsistent with primary
    Db::put: DB_SECONDARY_BAD: Secondary index inconsistent with primary
    terminate called after throwing an instance of 'DbException'
    what(): Db::put: DB_SECONDARY_BAD: Secondary index inconsistent with primary
    已放弃
    Look! I've received a DB_SECONDARY_BAD exception. But thus exception does not always
    happen even under the same operation.
    For the exception is random, you may have not the "luck" to get it during your test.
    So let's insert a record by:
    $ ./test_put t
    and then give it a great number of labels:
    $ for((i = 0; i != 100; ++i)); do ./test_update t -a "label_$i"; done
    and then:
    $ for((i = 0; i != 100; ++i)); do ./test_update t -r "label_$i"; done
    Thus, the DB_SECONDARY_BAD exception is almost certain to happen.
    I've been confused by the problem for times. I would appreciate if someone can solve
    my problem.
    Many thanks!
    Wonder

  • Bug #18104 still exists

    Hello,
    I am quite disappointed about BDB 5. One of the most nasty bugs (#18104) still
    exists. As soon as you want to use the set_thread_count() feature, BDB will not
    free the thread-control-block. If you connect/disconnect, BDB will stop working
    quite early. You can re-produce this issue with any `db_*` tool.
    The testcase:
    #include <stdlib.h>
    #include <db.h>
    #define DIRECTORY "/tmp/db"
    int main()
        /* open environment */
        DB_ENV *handle;
        int status = db_env_create( &handle, 0 );
        status = handle->set_cachesize( handle, 0, 32*1024*1024, 0 );
        status = handle->set_thread_count( handle, 0x100 );
        status = handle->open( handle, DIRECTORY, DB_CREATE, 0644 );
        if( status != 0 )
            return 1;
        /* raise error "Unable to allocate thread control block" */
        for( ;; )
            system( "db_stat -e -h " DIRECTORY " | grep process/thread | wc" );
        return 0;
    }

    Hi Sandra,
    Hi Greg,
    Our architecture is quite simple: a cron-job runs ENV->failchk() and ENV->txn_checkpoint()
    once a minute (which should be fine, shouldn't it?)
    The problem, neither ENV->close() nor ENV->failchk() removes outdated items from the
    thread-control-block. One would expect, that the PID is added to the block as soon as the
    process connects and removed when the process disconnects. But it is not.
    If the block runs out of memory, BDB requires a recovery (see the down below testcase).
    Usually ENV->failchk() cleans the thread-control-block, as soon as there are more items in
    the block than "thread_count". Today three times it did not even remove them, if there were
    more than "thread_count" items in the block - but this happend sporadic so it was difficult
    to create a testcase.
    Once ENV->failchk() cleans the thread-control-block, BDB works as expected. If a process
    connects, the PID is added to the block, and as soon as the process disconnects, the PID is
    removed from the thread-control-block. You can test this by looping the first loop 1090 times.
    The testcase:
    #include <stdio.h>
    #include <stdlib.h>
    #include <signal.h>
    #include <db.h>
    #include <errno.h>
    #define DIRECTORY "/tmp/db"
    static int bdb_is_alive( DB_ENV *dbenv, pid_t pid, db_threadid_t tid, u_int32_t flags )
        int status;
        status = kill( pid, 0 );
        if( status != -1 )
            return 1;
        if( errno == ESRCH )
            return 0;
        exit( 1 );  /* should never happen */
    int main()
        system( "mkdir -p " DIRECTORY );
        system( "db_recover -h " DIRECTORY );
        system( "rm -rfv " DIRECTORY "/*" );
        /* open environment */
        int status, i;
        DB_ENV *handle;
        status = db_env_create( &handle, 0 );
        status = handle->set_cachesize( handle, 0, 32*1024*1024, 0 );
        status = handle->set_thread_count( handle, 1091 );
        status = handle->set_isalive( handle, bdb_is_alive );
        status = handle->open( handle, DIRECTORY, DB_CREATE, 0644 );
        if( status != 0 )
            return 1;   /* should never happen */
        status = handle->failchk( handle, 0 );
        status = handle->close( handle, 0 );
        /* Now start workers (`db_stat`) + failchks() */
        for( i=0; i < 1089; ++i )       /* thread_count - 2 */
            fprintf(stderr,"Number of items in the thread-control-block: "); fflush(stdout);
            system( "db_stat -e -h " DIRECTORY " | grep process/thread | wc -l" );
            status = db_env_create( &handle, 0 );
            status = handle->set_isalive( handle, bdb_is_alive );
            status = handle->open( handle, DIRECTORY, DB_CREATE, 0644 );
            if( status != 0 )
                return 1;   /* should never happen */
            status = handle->failchk( handle, 0 );      /* strange - does not remove the process-entries created by `db_stat` */
            if( status != 0 )
                return 1;   /* should never happen */
            status = handle->close( handle, 0 );
        /* raise error: "Unable to allocate thread control block" */
        for( i=1; i < 422; ++i )
            fprintf(stderr,"Number of items in the thread-control-block: "); fflush(stdout);
            system( "db_stat -e -h " DIRECTORY " | grep process/thread | wc -l" );
        /* You should see on stderr:
                db_stat: Unable to allocate thread control block
                db_stat: Unable to allocate thread control block
                db_stat: DB_ENV->open: /tmp/db: Cannot allocate memory
        fprintf(stderr,"BDB is dead now. Only `db_recover` helps...\n%s\n",db_version(NULL,NULL,NULL));
        return 0;
    }

  • Deployment error while deploying targeters in BCC

    Hi,
    I am trying to create a targeter with content groups and media internal texts. Whenever i deploy a project with these assets, i get deployment error.
    It says "Deployment '169200010' to target 'production' encountered a system level deployment error during data transfer. An automatic rollback deployment has successfully occurred, preserving the state of target 'production'. Click 'Resume' to re-attempt the deployment."
    I checked for the VFS set up for targeters and content groups and they are in place.
    There are 3 assets in the project. It says the asset already exists
    The error log below : I am struck up here and not able to take any step further. Please share your inputs on this
    2013-06-20 22:40:25,569 WARN  [nucleusNamespace.atg.epub.PublishingRepository] (http-172.19.0.197-40180-6) Using default JDBC type for: project:tar82 could not find this column in the table's meta data
    2013-06-20 22:40:51,348 INFO  [nucleusNamespace.atg.epub.DeploymentServer] (Thread-103) DEBUG Run first apply phase: true
    2013-06-20 22:40:51,349 INFO  [nucleusNamespace.atg.epub.DeploymentServer] (Thread-103) DEBUG Switch switchable CA datasources:
    2013-06-20 22:40:51,349 INFO  [nucleusNamespace.atg.epub.DeploymentServer] (Thread-103) DEBUG   isDeploymentRollback(): false
    2013-06-20 22:40:51,360 INFO  [nucleusNamespace.atg.epub.DeploymentServer] (Thread-103) DEBUG   Current Target live datasource name: DataSourceB
    2013-06-20 22:40:51,360 INFO  [nucleusNamespace.atg.epub.DeploymentServer] (Thread-103) DEBUG   CA switching datasource: /atg/commerce/jdbc/ProductCatalogSwitchingDataSource_production
    2013-06-20 22:40:51,361 INFO  [nucleusNamespace.atg.epub.DeploymentServer] (Thread-103) DEBUG     Current live datasource name: DataSourceA
    2013-06-20 22:40:51,361 INFO  [nucleusNamespace.atg.epub.DeploymentServer] (Thread-103) DEBUG     Current offline datasource name: DataSourceB
    2013-06-20 22:40:51,361 INFO  [nucleusNamespace.atg.epub.DeploymentServer] (Thread-103) DEBUG     The current CA live datasource is pointing at the Target offline datasource. No CA switch necessary.
    2013-06-20 22:40:51,361 INFO  [nucleusNamespace.atg.epub.DeploymentServer] (Thread-103) DEBUG Switchable CA datasources switched.
    2013-06-20 22:40:51,408 INFO  [nucleusNamespace.atg.epub.DeploymentServer] (Thread-103) DEBUG DistributedDeploymentAdapter:DAF Deployment with ID: 169200010 not previously deployed.
    2013-06-20 22:40:51,414 INFO  [nucleusNamespace.atg.epub.DeploymentServer] (Thread-103) DEBUG DistributedDeploymentAdapter:Creating standard DeploymentData
    2013-06-20 22:40:51,446 INFO  [nucleusNamespace.atg.epub.DeploymentServer] (Thread-103) DEBUG Forward deploying following active workspaces: [workspace:118102]
    2013-06-20 22:40:53,770 INFO  [nucleusNamespace.atg.epub.DeploymentServer] (Thread-103) DEBUG DistributedDeploymentAdapter:Deploy Data
    2013-06-20 22:40:53,771 INFO  [nucleusNamespace.atg.epub.DeploymentServer] (Thread-103) DEBUG DistributedDeploymentAdapter:Starting DAF deployment with ID: 169200010
    2013-06-20 22:40:53,776 INFO  [nucleusNamespace.atg.deployment.DeploymentManager] (Thread-103) Database: Oracle
    2013-06-20 22:40:53,922 INFO  [nucleusNamespace.atg.epub.DeploymentServer] (Thread-103) DEBUG DistributedDeploymentAdapter:Polling Until Data Appplied
    2013-06-20 22:40:53,922 INFO  [nucleusNamespace.atg.deployment.DeploymentManager] (Main deployment thread: ) Starting deployment with id: 169200010
    2013-06-20 22:40:53,950 INFO  [nucleusNamespace.atg.deployment.DeploymentManager] (Main deployment thread: ) Executing deployment in LOCAL mode
    2013-06-20 22:40:55,442 WARN  [nucleusNamespace.atg.deployment.DeploymentManager] (FileWorkerThread-2(Add-Update Phase)) Attempt to add file that already exists: file /atg/registry/RepositoryGroups/home_spot1_user.properties in VirtualFileSystem /atg/epub/file/ConfigFileSystem
    2013-06-20 22:40:55,461 WARN  [nucleusNamespace.atg.deployment.DeploymentManager] (FileWorkerThread-2(Add-Update Phase))  item = fileMarker:mark106400001 cause = CONTAINER:atg.deployment.file.DeploymentSourceException: Attempt to add file that already exists: file /atg/registry/RepositoryGroups/home_spot1_user.properties in VirtualFileSystem /atg/epub/file/ConfigFileSystem; SOURCE:deploymentHandlerFileToAddExists: level 3: Attempt to add file that already exists: file /atg/registry/RepositoryGroups/home_spot1_user.properties in VirtualFileSystem /atg/epub/file/ConfigFileSystem
    atg.deployment.file.DeploymentTargetException: Attempt to add file that already exists: file /atg/registry/RepositoryGroups/home_spot1_user.properties in VirtualFileSystem /atg/epub/file/ConfigFileSystem
      at atg.deployment.file.FileWorkerThread.handleError(FileWorkerThread.java:1278)
      at atg.deployment.file.FileWorkerThread.runCommand(FileWorkerThread.java:762)
      at atg.deployment.file.FileWorkerThread.processMarkerForAddUpdatePhase(FileWorkerThread.java:463)
      at atg.deployment.DeploymentWorkerThread.processMarkerPhase(DeploymentWorkerThread.java:562)
      at atg.deployment.DeploymentWorkerThread.run(DeploymentWorkerThread.java:335)
    message = Attempt to add file that already exists: file /atg/registry/RepositoryGroups/home_spot1_user.properties in VirtualFileSystem /atg/epub/file/ConfigFileSystem time = Thu Jun 20 22:40:55 CDT 2013  atg.deployment.DeploymentFailure@17dc0e19
    2013-06-20 22:40:55,490 WARN  [nucleusNamespace.atg.deployment.DeploymentManager] (FileWorkerThread-2(Add-Update Phase)) Attempt to add file that already exists: file /atg/registry/RepositoryTargeters/home_spot1_targeter.properties in VirtualFileSystem /atg/epub/file/ConfigFileSystem
    2013-06-20 22:40:55,490 WARN  [nucleusNamespace.atg.deployment.DeploymentManager] (FileWorkerThread-2(Add-Update Phase))  item = fileMarker:mark106400002 cause = CONTAINER:atg.deployment.file.DeploymentSourceException: Attempt to add file that already exists: file /atg/registry/RepositoryTargeters/home_spot1_targeter.properties in VirtualFileSystem /atg/epub/file/ConfigFileSystem; SOURCE:deploymentHandlerFileToAddExists: level 3: Attempt to add file that already exists: file /atg/registry/RepositoryTargeters/home_spot1_targeter.properties in VirtualFileSystem /atg/epub/file/ConfigFileSystem
    atg.deployment.file.DeploymentTargetException: Attempt to add file that already exists: file /atg/registry/RepositoryTargeters/home_spot1_targeter.properties in VirtualFileSystem /atg/epub/file/ConfigFileSystem
      at atg.deployment.file.FileWorkerThread.handleError(FileWorkerThread.java:1278)
      at atg.deployment.file.FileWorkerThread.runCommand(FileWorkerThread.java:762)
      at atg.deployment.file.FileWorkerThread.processMarkerForAddUpdatePhase(FileWorkerThread.java:463)
      at atg.deployment.DeploymentWorkerThread.processMarkerPhase(DeploymentWorkerThread.java:562)
      at atg.deployment.DeploymentWorkerThread.run(DeploymentWorkerThread.java:335)
    message = Attempt to add file that already exists: file /atg/registry/RepositoryTargeters/home_spot1_targeter.properties in VirtualFileSystem /atg/epub/file/ConfigFileSystem time = Thu Jun 20 22:40:55 CDT 2013  atg.deployment.DeploymentFailure@38d281d4
    2013-06-20 22:40:55,547 WARN  [nucleusNamespace.atg.deployment.DeploymentManager] (FileWorkerThread-2(Add-Update Phase)) Attempt to add file that already exists: file /atg/registry/RepositoryGroups/home_spot1_content_group.properties in VirtualFileSystem /atg/epub/file/ConfigFileSystem
    2013-06-20 22:40:55,547 WARN  [nucleusNamespace.atg.deployment.DeploymentManager] (FileWorkerThread-2(Add-Update Phase))  item = fileMarker:mark106400003 cause = CONTAINER:atg.deployment.file.DeploymentSourceException: Attempt to add file that already exists: file /atg/registry/RepositoryGroups/home_spot1_content_group.properties in VirtualFileSystem /atg/epub/file/ConfigFileSystem; SOURCE:deploymentHandlerFileToAddExists: level 3: Attempt to add file that already exists: file /atg/registry/RepositoryGroups/home_spot1_content_group.properties in VirtualFileSystem /atg/epub/file/ConfigFileSystem
    atg.deployment.file.DeploymentTargetException: Attempt to add file that already exists: file /atg/registry/RepositoryGroups/home_spot1_content_group.properties in VirtualFileSystem /atg/epub/file/ConfigFileSystem
      at atg.deployment.file.FileWorkerThread.handleError(FileWorkerThread.java:1278)
      at atg.deployment.file.FileWorkerThread.runCommand(FileWorkerThread.java:762)
      at atg.deployment.file.FileWorkerThread.processMarkerForAddUpdatePhase(FileWorkerThread.java:463)
      at atg.deployment.DeploymentWorkerThread.processMarkerPhase(DeploymentWorkerThread.java:562)
      at atg.deployment.DeploymentWorkerThread.run(DeploymentWorkerThread.java:335)
    message = Attempt to add file that already exists: file /atg/registry/RepositoryGroups/home_spot1_content_group.properties in VirtualFileSystem /atg/epub/file/ConfigFileSystem time = Thu Jun 20 22:40:55 CDT 2013  atg.deployment.DeploymentFailure@70126ca0
    2013-06-20 22:40:55,684 ERROR [nucleusNamespace.atg.deployment.DeploymentManager] (FileWorkerThread-2(Add-Update Phase))
    CAUGHT AT:
    CONTAINER:atg.deployment.file.DeploymentSourceException: IOException received while trying to write file /atg/registry/RepositoryGroups/home_spot1_user.properties in VirtualFileSystem null; SOURCE:deploymentHandlerUnableToWrite: level 4: IOException received while trying to write file /atg/registry/RepositoryGroups/home_spot1_user.properties in VirtualFileSystem null
    CONTAINER:atg.deployment.file.DeploymentTargetException: IOException received while trying to write file /atg/registry/RepositoryGroups/home_spot1_user.properties in VirtualFileSystem null; SOURCE:java.io.IOException: There was a repository exception while trying to create the file: /atg/registry/RepositoryGroups/home_spot1_user.properties in file system: /atg/epub/file/ConfigFileSystem. exception: atg.repository.RepositoryException: current development line null is not an open workspace..
      at atg.deployment.file.FileWorkerThread.handleErrorLogging(FileWorkerThread.java:1261)
      at atg.deployment.file.FileWorkerThread.handleError(FileWorkerThread.java:1276)
      at atg.deployment.file.FileWorkerThread.runCommand(FileWorkerThread.java:762)
      at atg.deployment.file.FileWorkerThread.processMarkerForAddUpdatePhase(FileWorkerThread.java:463)
      at atg.deployment.DeploymentWorkerThread.processMarkerPhase(DeploymentWorkerThread.java:562)
      at atg.deployment.DeploymentWorkerThread.run(DeploymentWorkerThread.java:335)
    Caused by: deploymentHandlerUnableToWrite: level 4: IOException received while trying to write file /atg/registry/RepositoryGroups/home_spot1_user.properties in VirtualFileSystem null
    CONTAINER:atg.deployment.file.DeploymentTargetException: IOException received while trying to write file /atg/registry/RepositoryGroups/home_spot1_user.properties in VirtualFileSystem null; SOURCE:java.io.IOException: There was a repository exception while trying to create the file: /atg/registry/RepositoryGroups/home_spot1_user.properties in file system: /atg/epub/file/ConfigFileSystem. exception: atg.repository.RepositoryException: current development line null is not an open workspace..
      at atg.deployment.file.DeploymentSourceException.<init>(DeploymentSourceException.java:74)
      ... 6 more
    SOURCE EXCEPTION:
    deploymentHandlerUnableToWrite: level 4: IOException received while trying to write file /atg/registry/RepositoryGroups/home_spot1_user.properties in VirtualFileSystem null
    CONTAINER:atg.deployment.file.DeploymentTargetException: IOException received while trying to write file /atg/registry/RepositoryGroups/home_spot1_user.properties in VirtualFileSystem null; SOURCE:java.io.IOException: There was a repository exception while trying to create the file: /atg/registry/RepositoryGroups/home_spot1_user.properties in file system: /atg/epub/file/ConfigFileSystem. exception: atg.repository.RepositoryException: current development line null is not an open workspace..
    2013-06-20 22:40:55,685 ERROR [nucleusNamespace.atg.deployment.DeploymentManager] (FileWorkerThread-2(Add-Update Phase))  item = fileMarker:mark106400004 cause = CONTAINER:atg.deployment.file.DeploymentSourceException: IOException received while trying to write file /atg/registry/RepositoryGroups/home_spot1_user.properties in VirtualFileSystem null; SOURCE:deploymentHandlerUnableToWrite: level 4: IOException received while trying to write file /atg/registry/RepositoryGroups/home_spot1_user.properties in VirtualFileSystem null
    CONTAINER:atg.deployment.file.DeploymentTargetException: IOException received while trying to write file /atg/registry/RepositoryGroups/home_spot1_user.properties in VirtualFileSystem null; SOURCE:java.io.IOException: There was a repository exception while trying to create the file: /atg/registry/RepositoryGroups/home_spot1_user.properties in file system: /atg/epub/file/ConfigFileSystem. exception: atg.repository.RepositoryException: current development line null is not an open workspace..
      at atg.deployment.file.FileWorkerThread.handleError(FileWorkerThread.java:1278)
      at atg.deployment.file.FileWorkerThread.runCommand(FileWorkerThread.java:762)
      at atg.deployment.file.FileWorkerThread.processMarkerForAddUpdatePhase(FileWorkerThread.java:463)
      at atg.deployment.DeploymentWorkerThread.processMarkerPhase(DeploymentWorkerThread.java:562)
      at atg.deployment.DeploymentWorkerThread.run(DeploymentWorkerThread.java:335)
    message = IOException received while trying to write file /atg/registry/RepositoryGroups/home_spot1_user.properties in VirtualFileSystem null time = Thu Jun 20 22:40:55 CDT 2013  atg.deployment.DeploymentFailure@1f344a25
    CAUGHT AT:
    CONTAINER:atg.deployment.file.DeploymentSourceException: IOException received while trying to write file /atg/registry/RepositoryGroups/home_spot1_user.properties in VirtualFileSystem null; SOURCE:deploymentHandlerUnableToWrite: level 4: IOException received while trying to write file /atg/registry/RepositoryGroups/home_spot1_user.properties in VirtualFileSystem null
    CONTAINER:atg.deployment.file.DeploymentTargetException: IOException received while trying to write file /atg/registry/RepositoryGroups/home_spot1_user.properties in VirtualFileSystem null; SOURCE:java.io.IOException: There was a repository exception while trying to create the file: /atg/registry/RepositoryGroups/home_spot1_user.properties in file system: /atg/epub/file/ConfigFileSystem. exception: atg.repository.RepositoryException: current development line null is not an open workspace..
      at atg.deployment.file.FileWorkerThread.handleError(FileWorkerThread.java:1278)
      at atg.deployment.file.FileWorkerThread.runCommand(FileWorkerThread.java:762)
      at atg.deployment.file.FileWorkerThread.processMarkerForAddUpdatePhase(FileWorkerThread.java:463)
      at atg.deployment.DeploymentWorkerThread.processMarkerPhase(DeploymentWorkerThread.java:562)
      at atg.deployment.DeploymentWorkerThread.run(DeploymentWorkerThread.java:335)
    Caused by: deploymentHandlerUnableToWrite: level 4: IOException received while trying to write file /atg/registry/RepositoryGroups/home_spot1_user.properties in VirtualFileSystem null
    CONTAINER:atg.deployment.file.DeploymentTargetException: IOException received while trying to write file /atg/registry/RepositoryGroups/home_spot1_user.properties in VirtualFileSystem null; SOURCE:java.io.IOException: There was a repository exception while trying to create the file: /atg/registry/RepositoryGroups/home_spot1_user.properties in file system: /atg/epub/file/ConfigFileSystem. exception: atg.repository.RepositoryException: current development line null is not an open workspace..
      at atg.deployment.file.DeploymentSourceException.<init>(DeploymentSourceException.java:74)
      ... 5 more
    SOURCE EXCEPTION:

    yes i checked. To clear this out, i created a new project with new set of content groups and targeters.
    It throws this error. I get this error at 30% of deployment
    2013-06-21 12:04:07,944 INFO  [nucleusNamespace.atg.deployment.DeploymentManager] (Thread-124) Database: Oracle
    2013-06-21 12:04:07,959 INFO  [nucleusNamespace.atg.epub.DeploymentServer] (Thread-124) DEBUG DistributedDeploymentAdapter:Polling Until Data Appplied
    2013-06-21 12:04:07,959 INFO  [nucleusNamespace.atg.deployment.DeploymentManager] (Main deployment thread: ) Starting deployment with id: 135200010
    2013-06-21 12:04:07,970 INFO  [nucleusNamespace.atg.deployment.DeploymentManager] (Main deployment thread: ) Executing deployment in LOCAL mode
    2013-06-21 12:04:09,708 ERROR [nucleusNamespace.atg.deployment.DeploymentManager] (FileWorkerThread-1(Add-Update Phase))
    CAUGHT AT:
    CONTAINER:atg.deployment.file.DeploymentSourceException: IOException received while trying to write file /atg/registry/RepositoryGroups/homePage/group1.properties in VirtualFileSystem null; SOURCE:deploymentHandlerUnableToWrite: level 4: IOException received while trying to write file /atg/registry/RepositoryGroups/homePage/group1.properties in VirtualFileSystem null
    CONTAINER:atg.deployment.file.DeploymentTargetException: IOException received while trying to write file /atg/registry/RepositoryGroups/homePage/group1.properties in VirtualFileSystem null; SOURCE:java.io.IOException: Cannot create OutputStream for read-only ContentRepositoryItem: /atg/registry/RepositoryGroups/homePage/group1.properties  OutputStreams can only be created for mutable ContentRepositoryItem objects.
      at atg.deployment.file.FileWorkerThread.handleErrorLogging(FileWorkerThread.java:1261)
      at atg.deployment.file.FileWorkerThread.handleError(FileWorkerThread.java:1276)
      at atg.deployment.file.FileWorkerThread.runCommand(FileWorkerThread.java:762)
      at atg.deployment.file.FileWorkerThread.processMarkerForAddUpdatePhase(FileWorkerThread.java:463)
      at atg.deployment.DeploymentWorkerThread.processMarkerPhase(DeploymentWorkerThread.java:562)
      at atg.deployment.DeploymentWorkerThread.run(DeploymentWorkerThread.java:335)
    Caused by: deploymentHandlerUnableToWrite: level 4: IOException received while trying to write file /atg/registry/RepositoryGroups/homePage/group1.properties in VirtualFileSystem null
    CONTAINER:atg.deployment.file.DeploymentTargetException: IOException received while trying to write file /atg/registry/RepositoryGroups/homePage/group1.properties in VirtualFileSystem null; SOURCE:java.io.IOException: Cannot create OutputStream for read-only ContentRepositoryItem: /atg/registry/RepositoryGroups/homePage/group1.properties  OutputStreams can only be created for mutable ContentRepositoryItem objects.
      at atg.deployment.file.DeploymentSourceException.<init>(DeploymentSourceException.java:74)
      ... 6 more
    SOURCE EXCEPTION:
    deploymentHandlerUnableToWrite: level 4: IOException received while trying to write file /atg/registry/RepositoryGroups/homePage/group1.properties in VirtualFileSystem null
    CONTAINER:atg.deployment.file.DeploymentTargetException: IOException received while trying to write file /atg/registry/RepositoryGroups/homePage/group1.properties in VirtualFileSystem null; SOURCE:java.io.IOException: Cannot create OutputStream for read-only ContentRepositoryItem: /atg/registry/RepositoryGroups/homePage/group1.properties  OutputStreams can only be created for mutable ContentRepositoryItem objects.
    2013-06-21 12:04:09,715 ERROR [nucleusNamespace.atg.deployment.DeploymentManager] (FileWorkerThread-1(Add-Update Phase))  item = fileMarker:mark115500048 cause = CONTAINER:atg.deployment.file.DeploymentSourceException: IOException received while trying to write file /atg/registry/RepositoryGroups/homePage/group1.properties in VirtualFileSystem null; SOURCE:deploymentHandlerUnableToWrite: level 4: IOException received while trying to write file /atg/registry/RepositoryGroups/homePage/group1.properties in VirtualFileSystem null
    CONTAINER:atg.deployment.file.DeploymentTargetException: IOException received while trying to write file /atg/registry/RepositoryGroups/homePage/group1.properties in VirtualFileSystem null; SOURCE:java.io.IOException: Cannot create OutputStream for read-only ContentRepositoryItem: /atg/registry/RepositoryGroups/homePage/group1.properties  OutputStreams can only be created for mutable ContentRepositoryItem objects.
      at atg.deployment.file.FileWorkerThread.handleError(FileWorkerThread.java:1278)
      at atg.deployment.file.FileWorkerThread.runCommand(FileWorkerThread.java:762)
      at atg.deployment.file.FileWorkerThread.processMarkerForAddUpdatePhase(FileWorkerThread.java:463)
      at atg.deployment.DeploymentWorkerThread.processMarkerPhase(DeploymentWorkerThread.java:562)
      at atg.deployment.DeploymentWorkerThread.run(DeploymentWorkerThread.java:335)
    message = IOException received while trying to write file /atg/registry/RepositoryGroups/homePage/group1.properties in VirtualFileSystem null time = Fri Jun 21 12:04:09 CDT 2013  atg.deployment.DeploymentFailure@7bbc32e1
    CAUGHT AT:
    CONTAINER:atg.deployment.file.DeploymentSourceException: IOException received while trying to write file /atg/registry/RepositoryGroups/homePage/group1.properties in VirtualFileSystem null; SOURCE:deploymentHandlerUnableToWrite: level 4: IOException received while trying to write file /atg/registry/RepositoryGroups/homePage/group1.properties in VirtualFileSystem null
    CONTAINER:atg.deployment.file.DeploymentTargetException: IOException received while trying to write file /atg/registry/RepositoryGroups/homePage/group1.properties in VirtualFileSystem null; SOURCE:java.io.IOException: Cannot create OutputStream for read-only ContentRepositoryItem: /atg/registry/RepositoryGroups/homePage/group1.properties  OutputStreams can only be created for mutable ContentRepositoryItem objects.
      at atg.deployment.file.FileWorkerThread.handleError(FileWorkerThread.java:1278)
      at atg.deployment.file.FileWorkerThread.runCommand(FileWorkerThread.java:762)
      at atg.deployment.file.FileWorkerThread.processMarkerForAddUpdatePhase(FileWorkerThread.java:463)
      at atg.deployment.DeploymentWorkerThread.processMarkerPhase(DeploymentWorkerThread.java:562)
      at atg.deployment.DeploymentWorkerThread.run(DeploymentWorkerThread.java:335)
    Caused by: deploymentHandlerUnableToWrite: level 4: IOException received while trying to write file /atg/registry/RepositoryGroups/homePage/group1.properties in VirtualFileSystem null
    CONTAINER:atg.deployment.file.DeploymentTargetException: IOException received while trying to write file /atg/registry/RepositoryGroups/homePage/group1.properties in VirtualFileSystem null; SOURCE:java.io.IOException: Cannot create OutputStream for read-only ContentRepositoryItem: /atg/registry/RepositoryGroups/homePage/group1.properties  OutputStreams can only be created for mutable ContentRepositoryItem objects.
      at atg.deployment.file.DeploymentSourceException.<init>(DeploymentSourceException.java:74)
      ... 5 more
    SOURCE EXCEPTION:
    deploymentHandlerUnableToWrite: level 4: IOException received while trying to write file /atg/registry/RepositoryGroups/homePage/group1.properties in VirtualFileSystem null
    CONTAINER:atg.deployment.file.DeploymentTargetException: IOException received while trying to write file /atg/registry/RepositoryGroups/homePage/group1.properties in VirtualFileSystem null; SOURCE:java.io.IOException: Cannot create OutputStream for read-only ContentRepositoryItem: /atg/registry/RepositoryGroups/homePage/group1.properties  OutputStreams can only be created for mutable ContentRepositoryItem objects.
    2013-06-21 12:04:09,741 ERROR [nucleusNamespace.atg.deployment.DeploymentManager] (FileWorkerThread-1(Add-Update Phase))  item = fileMarker:mark115500048 cause = CONTAINER:atg.deployment.file.DeploymentSourceException: IOException received while trying to write file /atg/registry/RepositoryGroups/homePage/group1.properties in VirtualFileSystem null; SOURCE:deploymentHandlerUnableToWrite: level 4: IOException received while trying to write file /atg/registry/RepositoryGroups/homePage/group1.properties in VirtualFileSystem null
    CONTAINER:atg.deployment.file.DeploymentTargetException: IOException received while trying to write file /atg/registry/RepositoryGroups/homePage/group1.properties in VirtualFileSystem null; SOURCE:java.io.IOException: Cannot create OutputStream for read-only ContentRepositoryItem: /atg/registry/RepositoryGroups/homePage/group1.properties  OutputStreams can only be created for mutable ContentRepositoryItem objects.

Maybe you are looking for

  • Combining PSE 7,8,10

    How do I combine PSE 7,8 & 10 without losing orginal images and duplicating images?

  • In editing a podcast and adding to it, how do you paste an insert without pasting over the dialogue recrorded?

    In Garage Band, how do you insert some more dialogue in a podcast recording without pasting over the dialogue that is already there? 

  • Importing High Res. JPG with RAW?

    Is there any reason to import JPG images with RAW images? I sometimes shoot high res. JPG with RAW just so I have some high res. JPGs for temporary use immediately after a shoot and for archival purposes, but I can't think of a reason to import JPGs

  • Creating DLLS in C/C++

    Hey guys!! I am new to JNI and I was trying the "Hello World" program in Java Tutorial to familiarise myself with DLLs and native methods - but I hit a snag [very discouraging indeed. ] I am tryng to create the dlls using the example given but I am g

  • Euler rotations to AE

    Hi guys. Totally nerdy problem here:) I have a Euler angles like this: Zrotation Xrotation Yrotation with respective values: -3.41, 14.78, -164,35 I feel like these are NOT regular angle values that you feed into AE's rotation slots. So how do you go