Automated Deployment Using admin_client.jar gives 500 error

Greetings,
1. standalone OC4J version 10.1.3.3.0
2. Windows XP platform in a VM
We have a mature deployment in that the deployment from JDeveloper is routinely successful. During the course of developing continuous integration builds, the automated deployment is now failing. We had succeeded previously using admin_client.jar and the deploy command as follows:
    <target name="deploy_oc4j" depends="assembleEar"
  description="deploy the enterprise archive to a standalone oc4j using admin_client.jar">
    <echo>
      In deploy_oc4j target.
    </echo>
    <java classname="${j2ee.home}/admin_client.jar" fork="true">
        <jvmarg value="-jar"/>
        <arg value="${oc4j.deploy.admin_client}"/>
        <arg value="${oc4j.deploy.username}"/>
        <arg value="${oc4j.deploy.password}"/>
        <arg value="-deploy"/>
        <arg value="-file"/>
        <arg value="${this.application.name}".ear"/>
        <arg value="-deploymentName"/>
        <arg value="${this.application.name}"/>
        <arg value="-bindAllWebApps"/>
        <arg value="${default.application.name}"/>
    </java>
    </target>We now have two issues occurring and they may be related. We have added the capability of creating a connection pool and a data source using admin_client.jar commands:
    <target name="connectionpool" depends="deploy_oc4j"
      description="create a connection pool using admin_client.jar">
    <echo>
    Adding a connection pool.
    </echo>
      <java classname="${j2ee.home}/admin_client.jar" fork="true">
        <jvmarg value="-jar"/>
        <arg value="${oc4j.deploy.admin_client}"/>
        <arg value="${oc4j.deploy.username}"/>
        <arg value="${oc4j.deploy.password}"/>
        <arg value="-addDataSourceConnectionPool"/>
        <arg value="-applicationName"/>
        <arg value="${this.application.name}"/>
        <arg value="-name"/>
        <arg value="jdev-connection-pool-name"/>
        <arg value="-factoryClass"/>
        <arg value="oracle.jdbc.pool.OracleDataSource"/>
        <arg value="-dbUser"/>
        <arg value="username"/>
        <arg value="-dbPassword"/>
        <arg value="password"/>
        <arg value="-url"/>
        <arg value="jdbc:oracle:thin:@dev:1521:ORCL"/>
      </java>
    </target>
    <target name="datasource" depends="connectionpool"
      description="create a datasource using admin_client.jar">
    <echo>
    Adding Managed Data Source.
    </echo>
      <java classname="${j2ee.home}/admin_client.jar" fork="true">
        <jvmarg value="-jar"/>
        <arg value="${oc4j.deploy.admin_client}"/>
        <arg value="${oc4j.deploy.username}"/>
        <arg value="${oc4j.deploy.password}"/>
        <arg value="-addManagedDataSource"/>
        <arg value="-applicationName"/>
        <arg value="${this.application.name}"/>
        <arg value="-name"/>
        <arg value="jdev-connection-managed-name"/>
        <arg value="-jndiLocation"/>
        <arg value="jdbc/name"/>
        <arg value="-connectionPoolName"/>
        <arg value="jdev-connection-pool-name"/>
        <arg value="-dbUser"/>
        <arg value="username"/>
        <arg value="-dbPassword"/>
        <arg value="password"/>
      </java>
    </target>We complete the automated deployment and all ant tasks succeed, including creation of the connection pool and managed data source. During this process, the existing system-jazn-data.xml file is overwritten and our Application's <login module> information has been deleted. Upon editing this file and adding back the login module data and restarting oc4j, we can login to our application. The framework of the site is present along with graphics, yet every page visited yields a 500 error (jspx +and+ HTML). Since the entire deployment is done from ant, we do not have the capability of specifying a the web-app as development configuration. We need advice on how best to debug the deployed application as well as knowledge regarding the mechanism which causes the system-jazn-data.xml file in the oc4j/j2ee/home/config folder to be modified.
THX
-Mike
Edited by: Michael F. Hardy on Sep 11, 2008 5:03 PM
Edited by: Michael F. Hardy on Sep 11, 2008 5:03 PM
Edited by: Michael F. Hardy on Sep 11, 2008 5:05 PM

Found that jar files were missing from autobuild. This continues to be an issue where libraries are added to WEB-INF\lib in JDeveloper and the individual jar files are needed for an automated build process.

Similar Messages

  • Deployment Using admin_client.jar causes edit of system-jazn-data.xml

    Greetings,
    1. standalone OC4J version 10.1.3.3.0
    2. Windows XP platform in a VM
    Our automated deployment to a stand alone oc4j causes the system-jazn-data.xml file in the oc4j\j2ee\home\config folder to be overwritten. This process removes the pertinent application-specific login module information required for our JAAS security. Overwriting this file with a known working version followed by a restart of oc4j enables application login. What we would like to learn is how to control the content of the system-jazn-data.xml file during automated deployment with ant scripts using oc4j admin_client.jar. Note that when deployed with JDeveloper, the information in the orion-application.xml file is added back to the system-jazn-data.xml in the oc4j\j2ee\home\config directory and logging in is once again enabled.
    THX
    -Mike

    Found that jar files were missing from autobuild. This continues to be an issue where libraries are added to WEB-INF\lib in JDeveloper and the individual jar files are needed for an automated build process.

  • Deploy using admin_client.jar to Oracle SOA suite started up with java cmd

    Hey,
    Someone at work asked me to create a deployer command to deploy to a locally running OC4J SOA suite. I got it working like this:
    java -jar %ORACLE_HOME%\j2ee\home\admin_client.jar deployer:oc4j:opmn://localhost/home oc4jadmin oc4jadmin -deploy -file <path> -deploymentName <appname> -bindAllWebApps
    However when I implemented this using Maven2 there was a problem. It seems the SOA suite OC4J instance gets started up alternatively to get debugging to work. I started it up using the startupconsole which is automatically used in the Windows XP start menu.
    They start it up like this:
    java -Xrs -server -XX:MaxPermSize=128M -ms512M -mx1024M -XX:AppendRatio=3 -Djava.security.policy=$ORACLE_HOME/j2ee/home/config/java2.policy -Djava.awt.headless=true -Dhttp.webdir.enable=false -Djava.net.preferIPv4Stack=true -Xdebug -Xrunjdwp:transport=dt_socket,address=5000,suspend=n,server=y -jar oc4j.jar
    This causes the URI for deployment to be invalid. I tried lots of other URI forms I found online but none of them work. Maybe you guys know?
    Thanks in advance

    Something noteworthy it seems...
    I added a few extra lines to the command to enable logging (as found here)
    http://theblasfrompas.blogspot.com/2007/12/adminclientjar-giving-standard-could.html
    This results in the following peculiar stacktrace:
    C:\Thomas\appz\OC4JLA~1\j2ee\home>java -Djava.util.logging.config.file=logging.p
    roperties -jar admin_client.jar deployer:oc4j:opnm://localhost:6003/home oc4jadm
    in oc4jadmin -validateURI
    SEVERE: Oc4jDeploymentFactory.getDeploymentManager For input string: "//localhos
    t"java.lang.NumberFormatException: For input string: "//localhost"
    at java.lang.NumberFormatException.forInputString(NumberFormatException.
    java:48)
    at java.lang.Integer.parseInt(Integer.java:447)
    at java.lang.Integer.parseInt(Integer.java:497)
    at oracle.oc4j.admin.jmx.client.Oc4jDomainFactory.getDomainFromDeployerU
    rl(Oc4jDomainFactory.java:283)
    at oracle.oc4j.admin.deploy.spi.factories.Oc4jDeploymentFactory.getDeplo
    ymentManager(Oc4jDeploymentFactory.java:127)
    at javax.enterprise.deploy.shared.factories.DeploymentFactoryManager.get
    DeploymentManager(DeploymentFactoryManager.java:112)
    at oracle.oc4j.admin.deploy.api.J2EEDeploymentManager.validateURI(J2EEDe
    ploymentManager.java:911)
    at oracle.oc4j.admin.deploy.cmdline.ValidateURICommand.execute(ValidateU
    RICommand.java:61)
    at oracle.oc4j.admin.deploy.cmdline.Oc4jAdminCmdline.executeCommand(Oc4j
    AdminCmdline.java:96)
    at oracle.oc4j.admin.deploy.cmdline.Oc4jAdminCmdline.main(Oc4jAdminCmdli
    ne.java:73)
    Failed at "Could not get DeploymentManager".
    I find this peculiar because I use an URI format as specified in the documentation.

  • Problem using admin_client.jar -addDataSourceConnectionPool

    I am using admin_client.jar -addDataSourceConnectionPool to create a Connection Pool.
    Below is the command i am using
    java admin_client.jar deployer:oc4j:opmn://localhost:6003/home admin welcome -addDataSourceConnectionPool -applicationName default -name MySitePool -factoryClass <my application specific connection pool class> -dbUser new -dbPassword new -url <db url>
    I guess the command looks good.
    but when i try it out it gives me following error,
    addDataSourceConnectionPool error: Can't find resource for bundle oracle.oc4j.admin.deploy.shared.util.Messages, key addDataSourceConnectionPool_failed
    I am totally clueless about what could i be missing here.
    Any help is highly appreciated.
    Thanks
    Vicky

    I am using admin_client.jar
    -addDataSourceConnectionPool to create a Connection
    Pool.
    but when i try it out it gives me following error,
    addDataSourceConnectionPool error: Can't find
    resource for bundle
    oracle.oc4j.admin.deploy.shared.util.Messages, key
    addDataSourceConnectionPool_failed
    I am totally clueless about what could i be missing
    here.
    Same here, only that i try to add a native DataSource, resulting in:
    addNativeDataSource error: Can't find resource for bundle oracle.oc4j.admin.deploy.shared.util.Messages, key addNativeDataSource_failed
    i tried this with "C", "en_US.utf8" and "de_DE.utf8" locales set

  • I use case but give me error

    hi master
    sir,
    i use case but give me error you see and give me idea
    SELECT deptno,dname
    FROM (CASE WHEN :deptno = 10 THEN
    (select * from dept wher deptno=10)
    ELSE
    (CASE WHEN :deptno = 20 THEN
    (select * from dept wher deptno=10)
    END
    Thanking you
    Aamir

    hi master
    sir,
    i have three table
    mastab
    ======
    code
    title
    linkid
    chitab1
    ======
    linkid
    title
    chitab2
    =========
    linkid
    title
    i use this type query
    select b.linkid,title form (case when linkid=@givenvalue then (select * from chitab1) else case when linkid<>@givenvalue (select * from chitab2) end)
    means pik data form requir table or table change asper requirment
    thanking you

  • Using admin_client.jar from bash script

    Hello,
    When I make a call "java -jar admin_client.jar" from a bash script I always get 0 for $? even when there are errors reported in the console. How can I check the status correctly?
    S

    Greetings,
    Can you see the console when running the script? I would try to test something simple like -testDatabaseConnection and you should see a result. If you cannot login the the server directly, pipe the output to a file. Next, build up your bash script with additional complexity as you go. Post the results here for the group to analyze.
    THX
    -Michael
    Edited by: Michael F. Hardy on Dec 2, 2008 2:02 PM

  • When i use oracle vwp give this error (java.lang.IllegalArgumentException:

    sir i use oracle with vwp
    sir see my code this code goto catch (Exception e) section and give this code in textfield
    " java.lang.IllegalArgumentException: luser.username "
    when i use mysql that give right result but when use oracel that give me this error
    try {
    RowKey userRowKey = luserDataProvider.findFirst
    (new String[] { "luser.username" },
    new Object[] { textField4.getText()});
    if (userRowKey == null) {
    textField3.setText("11111");
    return null;
    } else {
    textField3.setText("22222");
    return null;
    catch (Exception e) {
    log("Cannot perform login for userid " + textField3.getText(), e);
    error("Cannot perform login for userid " + textField3.getText() + ": " + e);
    textField3.setText(e);
    return null;
    please give me idea how i get right result
    thank you

    please check Article-ID "Positions Hierarchy Edittor Shows Error Your Userarea Applet Has Caused A Runtime Exception [ID 1151488.1]" in MOS...
    HTH

  • Using admin_client.jar

    Hello,
    admin_client.jar command needs oc4jadmin password. Is there a way where it can accept encrypted password or certificate? I don't want to store/send plain text password from my bash script.
    Thanks
    m

    I think no, and I belive is a problem of this services is only for development or test purposes, if you want to implement some kind of security has to be in the OS side like encrypting or securing the file as well not printing the output in the screen.
    Hope this helps
    Greetings

  • Trying to run an Azure webrole locally using IISExpress, get a 500 error all of a sudden

    Software involved: Visual Studio Pro 2013, git, Azure webrole, Azure tools v2.5.0.0 (latest I could see from nuget)
    So I have been working on a project lately and everything has been just peachy. After some work I press ctrl+F5 to run the webpage in a browser, of just f5 if I need to debug as well.
    But yesterday I added support for Azure storage so that I can handle file uploads, not much, just standard blobs for the moment.
    But after I did that nothing works anymore, if I try using ctrl+f5 I get a blank browser page, f5 gives me the following error message:
        Detailed Error Information:
        Module   CustomErrorModule
        Notification   SendResponse
        Handler   Not yet determined
        Error Code   0x80070490
        Config Error   The configuration section 'system.webServer/httpErrors' cannot be read because it is missing a section declaration
        Config File   \\?\C:\Users\Thomas\AppData\Local\dftmp\Resources\31806f48-6788-4251-a778-6163cd80c52f\temp\temp\RoleTemp\applicationHost.config
        Requested URL   http://localhost:50184/
        Physical Path   
        Logon Method   Not yet determined
        Logon User   Not yet determined
        Config Source:
           -1: 
            0: 
    from the eventlog:
        An error occurred while trying to start an integrated application instance.
        Exception: System.Configuration.ConfigurationErrorsException
        Message: Exception of type 'System.Configuration.ConfigurationErrorsException' was thrown.
        StackTrace:    at System.Web.Configuration.ErrorRuntimeConfig.ErrorConfigRecord.System.Configuration.Internal.IInternalConfigRecord.GetLkgSection(String configKey)
           at System.Web.Configuration.RuntimeConfigLKG.GetSectionObject(String sectionName)
           at System.Web.Configuration.RuntimeConfig.GetSection(String sectionName, Type type, ResultsIndex index)
           at System.Web.Configuration.RuntimeConfig.get_HostingEnvironment()
           at System.Web.Hosting.HostingEnvironment.StartMonitoringForIdleTimeout()
           at System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager,     IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters, PolicyLevel policyLevel,
    Exception appDomainCreationException)
           at System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters, PolicyLevel policyLevel)
           at System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters, PolicyLevel policyLevel)
           at System.Web.Hosting.ApplicationManager.CreateAppDomainWithHostingEnvironment(String appId, IApplicationHost appHost, HostingEnvironmentParameters hostingParameters)
           at System.Web.Hosting.ApplicationManager.CreateAppDomainWithHostingEnvironmentAndReportErrors(String appId, IApplicationHost appHost, HostingEnvironmentParameters hostingParameters)
           at System.Web.Hosting.ApplicationManager.GetAppDomainWithHostingEnvironment(String appId, IApplicationHost appHost, HostingEnvironmentParameters hostingParameters)
           at System.Web.Hosting.ApplicationManager.CreateObjectInternal(String appId, Type type, IApplicationHost appHost, Boolean failIfExists, HostingEnvironmentParameters hostingParameters)
           at System.Web.Hosting.ProcessHost.StartApplication(String appId, String appPath, Object& runtimeInterface)
    if I deploy the website to azure (im using ci from a git branch) it works fine there, and if I try to deploy it locally using IIS it also works fine.
    I have tried lots of googling but so far to no avail. Lots of promising tips, but nothing seems for work for me.
    So I turn to reddit, maybe someone has experienced this and can fix it.

    Hi,
    Based on your description, you encounter this issue after add support for azure storage, if you comment all the changes, do you still receive this error message? Please check your storage configuration, and make sure set the cloud project as the startup
    project.
    Best Regards,
    Jambor
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Using parameter fields gives an error in InfoView asking for prompting1.htm

    Hi,
    We have a number of Crystal Reports available to staff online via InfoView. The majority of these reports work fine. However, where the report uses a parameter field and allows the user to select certain criteria an error box appears looking for a html page called prompting1. It is looking for the html page in the CrystalReportViewer folder within the Temp folder. Having looked in the folder there is no such html page. I have created a blank prompting1.html but then the when the report is refreshed, it prompts for prompting2.html. When run using the client software the report runs as it should with no error message.Has anyone else come accross a similar problem?
    Thanks in advance
    Aled

    Moved to BOE Admin forum

  • Using display/consolehelper gives "Unknown Error"

    Dear Experts,
    I'm using Redhat 5.5
    cat redhat-release
    Red Hat Enterprise Linux Server release 5.5 (Tikanga)
    uname -a
    Linux black.testrac.com 2.6.18-194.el5 #1 SMP Mon Mar 29 22:10:29 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux
    When I go to check the display settings, I
    get a popup window, displaying the message:
    "Unknown Error"
    See my analysis below.
    I did try:
    yum reinstall usermode
    - same symptom.
    From the trace output, I sense that it cannot find a particular file.
    What would be an effective solution?
    Thanks a lot!
    The file is:
    /usr/bin/system-config-display
    file /usr/bin/system-config-display
    /usr/bin/system-config-display: symbolic link to `consolehelper'
    which consolehelper
    /usr/bin/consolehelper
    whatis consolehelper
    consolehelper (8) - A wrapper that helps console users run system programs
    rpm -qf /usr/bin/consolehelper
    usermode-1.88-3.el5.2
    rpm -ql usermode-1.88-3.el5.2
    /etc/pam.d/halt
    /etc/pam.d/poweroff
    /etc/pam.d/reboot
    /etc/security/console.apps/halt
    /etc/security/console.apps/poweroff
    /etc/security/console.apps/reboot
    /usr/bin/consolehelper
    /usr/bin/halt
    /usr/bin/poweroff
    /usr/bin/reboot
    /usr/sbin/userhelper
    /usr/share/locale/ar/LC_MESSAGES/usermode.mo
    ltrace -S consolehelper &
    SYS_stat("/usr/local/share/icons/gnome", 0x7fff8b3e9b60) = -2
    SYS_stat("/usr/share/icons/gnome", 0x7fff8b3e9b60) = 0
    SYS_stat("/usr/local/share/pixmaps/gnome", 0x7fff8b3e9b60) = -2
    SYS_stat("/usr/share/pixmaps/gnome", 0x7fff8b3e9b60) = -2
    SYS_stat("/root/.icons/hicolor", 0x7fff8b3e9b60) = -2
    SYS_stat("/root/.local/share/icons/hicolor", 0x7fff8b3e9b60) = -2
    SYS_stat("/usr/local/share/icons/hicolor", 0x7fff8b3e9b60) = -2
    SYS_stat("/usr/share/icons/hicolor", 0x7fff8b3e9b60) = 0
    SYS_stat("/usr/local/share/pixmaps/hicolor", 0x7fff8b3e9b60) = -2
    SYS_stat("/usr/share/pixmaps/hicolor", 0x7fff8b3e9b60) = -2
    SYS_stat("/root/.icons", 0x7fff8b3e9b60) = -2
    SYS_stat("/root/.local/share/icons", 0x7fff8b3e9b60) = -2
    SYS_stat("/usr/local/share/icons", 0x7fff8b3e9b60) = -2
    SYS_stat("/usr/share/icons", 0x7fff8b3e9b60) = 0
    SYS_stat("/usr/local/share/pixmaps", 0x7fff8b3e9b60) = -2
    SYS_stat("/usr/share/pixmaps", 0x7fff8b3e9b60) = 0
    SYS_write(4, "\232\007\002", 5320) = 5320
    SYS_ioctl(4, 21531, 0x7fff8b3ec59c, 0, 0) = 0
    SYS_poll(0x113dd670, 1, -1, 0, 3) = 1
    SYS_ioctl(4, 21531, 0x7fff8b3ec5ac, 0, 0) = 0
    SYS_read(4, "\004\001\362\002N\036D\352D", 32) = 32
    SYS_write(4, "\022", 28) = 28
    SYS_ioctl(4, 21531, 0x7fff8b3ec59c, 0, 0) = 0
    SYS_read(4, "\034", 32) = 32
    SYS_poll(0x113dd670, 1, 0, 0, 3) = 0
    SYS_ioctl(4, 21531, 0x7fff8b3ec49c, 112, 6) = 0
    SYS_ioctl(4, 21531, 0x7fff8b3ec59c, 0, 0) = 0
    SYS_poll(0x113dd670, 1, 0, 0, 3) = 0
    SYS_writev(4, 0x7fff8b3ea840, 2, 2, 2) = 20460
    SYS_write(4, "\232\007\002", 968) = 968
    SYS_ioctl(4, 21531, 0x7fff8b3ec59c, 0, 0) = 0
    SYS_poll(0x113dd670, 1, -1, 0, 3) = 1
    SYS_ioctl(4, 21531, 0x7fff8b3ec5ac, 0, 0) = 0
    SYS_read(4, "\005\001\316\003t\036D\352D", 32) = 32
    SYS_write(4, "\020", 12) = 12
    SYS_read(4, ???, 32) = -11
    SYS_poll(0x113b6b50, 1, -1, 63, 0) = 1
    SYS_read(4, "\001t\317\003", 32) = 32
    <... gtk_dialog_run resumed> ) = 0xfffffff9
    gtk_widget_destroy(0x113f0000, 2, 2, 917504, 2) = 0x113e03f0
    gtk_main_quit(0x3acae3fc80, 0, 0, 4, 20) = 0
    <... g_signal_emit_by_name resumed> ) = 1
    SYS_write(4, "\031", 204) = 204
    SYS_read(4, ???, 32) = -11
    SYS_poll(0x113b6b50, 1, -1, 0, 0) = 1
    SYS_read(4, "\022", 32) = 32
    SYS_read(4, "\n", 32) = 32
    SYS_read(4, "\n\001\321\003\003", 32) = 32
    SYS_read(4, "\t\005\321\003\003", 32) = 32
    SYS_read(4, "\b", 32) = 32
    SYS_read(4, "\b\001\321\003\224\036D\352D", 32) = 32
    SYS_read(4, "\022'\323\003)", 32) = 32
    SYS_read(4, "\021\014\323\003)", 32) = 32
    SYS_read(4, "\022\006\324\003*", 32) = 32
    SYS_read(4, "\021\006\324\003*", 32) = 32
    SYS_read(4, "\021\347\337\003\003", 32) = 32
    SYS_read(4, "\034\233\337\003\003", 32) = 32
    SYS_read(4, "\034\233\337\003\003", 32) = 32
    SYS_read(4, "\034\233\337\003\003", 32) = 32
    SYS_read(4, "\034\233\337\003\003", 32) = 32
    SYS_read(4, "\034\233\337\003\003", 32) = 32
    SYS_read(4, "\034\233\337\003\003", 32) = 32
    SYS_read(4, "\034\233\337\003\003", 32) = 32
    SYS_read(4, "\034\233\337\003\003", 32) = 32
    SYS_read(4, "\034\233\337\003\003", 32) = 32
    SYS_read(4, "\034\233\337\003\003", 32) = 32
    SYS_read(4, "\034\233\337\003\003", 32) = 32
    SYS_read(4, "\034\233\337\003\003", 32) = 32
    SYS_read(4, "\034\233\337\003\003", 32) = 32
    SYS_read(4, "\034\233\337\003\003", 32) = 32
    SYS_read(4, "\034\233\337\003\003", 32) = 32
    SYS_read(4, "\034\233\337\003\003", 32) = 32
    SYS_read(4, "\034\233\337\003\003", 32) = 32
    SYS_read(4, "\034\233\337\003\003", 32) = 32
    SYS_read(4, "\034\233\337\003\003", 32) = 32
    SYS_read(4, "\034\233\337\003\003", 32) = 32
    SYS_read(4, "\034\233\337\003\003", 32) = 32
    SYS_read(4, "\001", 32) = 32
    <... gtk_main resumed> ) = 0x113b8520
    SYS_exit_group(0 <no return ...>
    +++ exited (status 0) +++
    strace consolehelper &
    write(4, "5\30\4\0>\0\320\1\3\0\320\1\266\0\200\0\232\4\5\0?\0\320\1>\0\320\0010\0\0\0"..., 200) = 200
    read(4, 0x7fff1b0b6f90, 32) = -1 EAGAIN (Resource temporarily unavailable)
    poll([{fd=4, events=POLLIN}], 1, -1) = 1 ([{fd=4, revents=POLLIN}])
    read(4, "\1\2\371\0\0\0\0\0\4\0\320\1\0\0\0\0\0\0\0\0\0\0\0\0\234\35\5\0\0\0\0\0", 32) = 32
    shmctl(4980756, IPC_RMID, 0) = 0
    writev(4, [{"\222\5\7\0B\0\320\1D\0\0\0\0\6@\0 \4\5\0A\0\320\1\0\0\0\0\232\4\5\0"..., 13216}, {"\0\0U\0\0\0V\0\0\200Y\0\0\0U\0\0\200Y\0\0\0V\0\0\200\245\0\0\0U\0"..., 3600}], 2) = 16816
    brk(0x8f02000) = 0x8f02000
    brk(0x8f01000) = 0x8f01000
    brk(0x8ef8000) = 0x8ef8000
    write(4, "\232\7\2\0q\0\320\1\232\7\2\0r\0\320\0016\4\2\0p\0\320\0015 \4\0s\0\320\1"..., 7144) = 7144
    ioctl(4, FIONREAD, [0]) = 0
    poll([{fd=4, events=POLLIN}], 1, 0) = 0 (Timeout)
    ioctl(4, FIONREAD, [0]) = 0
    poll([{fd=4, events=POLLIN}], 1, -1) = 1 ([{fd=4, revents=POLLIN}])
    ioctl(4, FIONREAD, [32]) = 0
    read(4, "\7\0\0\2:\234=\352D\0\0\0\3\0\320\1\0\0\0\0\216\2\333\1d\0\3\0\0\0\0\2", 32) = 32
    ioctl(4, FIONREAD, [0]) = 0
    poll([{fd=4, events=POLLIN}], 1, -1) = 1 ([{fd=4, revents=POLLIN}])
    ioctl(4, FIONREAD, [32]) = 0
    read(4, "\10\2\0\2R\234=\352D\0\0\0\3\0\320\1\0\0\0\0\232\2\344\1p\0\f\0\0\0\0\2", 32) = 32
    ioctl(4, FIONREAD, [0]) = 0
    poll([{fd=4, events=POLLIN}], 1, -1) = 1 ([{fd=4, revents=POLLIN}])
    ioctl(4, FIONREAD, [32]) = 0
    read(4, "\7\2\0\2\202\234=\352D\0\0\0\3\0\320\1\0\0\0\0\264\2\374\1\212\0$\0\0\0\0\2", 32) = 32
    ioctl(4, FIONREAD, [0]) = 0
    poll([{fd=4, events=POLLIN}], 1, -1) = 1 ([{fd=4, revents=POLLIN}])
    ioctl(4, FIONREAD, [64]) = 0
    read(4, "\10\2\0\2Z\235=\352D\0\0\0\3\0\320\1\0\0\0\0\323\2I\2\251\0q\0\0\0\0\2"..., 64) = 64
    poll([{fd=4, events=POLLIN}], 1, 0) = 0 (Timeout)
    ioctl(4, FIONREAD, [0]) = 0
    poll([{fd=4, events=POLLIN}], 1, 0) = 0 (Timeout)
    writev(4, [{"5\30\4\0\206\0\320\1\3\0\320\1U\0 \0\232\4\5\0\207\0\320\1\206\0\320\0010\0\0\0"..., 16272}, {"\0\200\5\0\0\200\34\0\0\0\2\0\0\200\5\0\0\0\2\0\0\200\34\0\0\0\3\0\0\200\5\0"..., 1000}], 2) = 17272
    write(4, "\232\7\2\0\266\0\320\1\232\7\2\0\267\0\320\0016\4\2\0\265\0\320\1\232\6\5\0\207\0\320\1"..., 5320) = 5320
    ioctl(4, FIONREAD, [0]) = 0
    poll([{fd=4, events=POLLIN}], 1, -1) = 1 ([{fd=4, revents=POLLIN}])
    ioctl(4, FIONREAD, [32]) = 0
    read(4, "\4\1\362\0026\240=\352D\0\0\0*\0\320\1\0\0\0\0\305\2<\2F\0\20\0\0\0\1\0", 32) = 32
    write(4, "\22\0\7\0\3\0\320\1\373\0\0\0\6\0\0\0 \4\2\0\1\0\0\0006\240=\352", 28) = 28
    ioctl(4, FIONREAD, [0]) = 0
    poll([{fd=4, events=POLLIN}], 1, 0) = 1 ([{fd=4, revents=POLLIN}])
    ioctl(4, FIONREAD, [32]) = 0
    read(4, "\34\0\363\2\3\0\320\1\373\0\0\0006\240=\352\0\0\0\0\0\0\0\0\373\0\0\0\0\0\0\0", 32) = 32
    ioctl(4, FIONREAD, [0]) = 0
    ioctl(4, FIONREAD, [0]) = 0
    poll([{fd=4, events=POLLIN}], 1, 0) = 0 (Timeout)
    writev(4, [{"5\30\4\0\305\0\320\1\3\0\320\1U\0 \0\232\4\5\0\306\0\320\1\305\0\320\0010\0\0\0"..., 16340}, {"\0\0\4\0\0\0\5\0\0\0\5\0\0\0\4\0\0\0\5\0\0\0\5\0\0\0\6\0\0\0\4\0"..., 4120}], 2) = 20460
    write(4, "\232\7\2\0\362\0\320\1\232\7\2\0\363\0\320\0016\4\2\0\361\0\320\1\232\4\6\0\364\0\320\1"..., 968) = 968
    ioctl(4, FIONREAD, [0]) = 0
    poll([{fd=4, events=POLLIN}], 1, -1) = 1 ([{fd=4, revents=POLLIN}])
    ioctl(4, FIONREAD, [32]) = 0
    read(4, "\5\1\316\3B\240=\352D\0\0\0*\0\320\1\0\0\0\0\305\2<\2F\0\20\0\0\1\1\0", 32) = 32
    write(4, "\20\0\3\0\4\0\320\1NONE", 12) = 12
    read(4, "\1t\317\3\0\0\0\0K\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0000 \5\0\0\0\0\0", 32) = 32
    write(4, "\31\0\v\0D\0\0\0\0\0\30\0! \0\0\3\0\320\1\362\0\0\0\0\0\0\0/\1\0\0"..., 204) = 204
    read(4, 0x7fff1b0b9910, 32) = -1 EAGAIN (Resource temporarily unavailable)
    poll([{fd=4, events=POLLIN}], 1, -1) = 1 ([{fd=4, revents=POLLIN}])
    read(4, "\22\0\321\3\3\0\320\1\3\0\320\1\0\0\0\0\0\0\0\0\0\0\0\0\200wx\20\0\0\0\0", 32) = 32
    read(4, "\n\0\321\3\4\0\320\1\0\0\10\0\1\0\0\0@k\376&\377\177\0\0000\262\217\20\0\0\0\0", 32) = 32
    read(4, "\n\1\321\3\3\0\320\1\0\227\24\20\0\0\0\0000\262\217\20\0\0\0\0\32QE\0\0\0\0\0", 32) = 32
    read(4, "\t\5\321\3\3\0\320\1\0\227\24\20\0\0\0\0\0\0\0\0\0\0\0\0\32QE\0\0\0\0\0", 32) = 32
    read(4, "\10\0\321\3B\240=\352D\0\0\0*\0\320\1\0\0\0\0\305\2<\2F\0\20\0\0\0\0\3", 32) = 32
    read(4, "\10\1\321\3B\240=\352D\0\0\0\3\0\320\1*\0\320\1\305\2<\2\233\0d\0\0\0\0\3", 32) = 32
    read(4, "\22\262\323\3)\0\320\1)\0\320\1\0\0\0\0\t\0\0\0\0\0\0\0\0\0000@\0\0\0\0", 32) = 32
    read(4, "\21\263\323\3)\0\320\1)\0\320\1\0\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 32) = 32
    read(4, "\22\322\324\3*\0\320\1*\0\320\1\0\0\0\0\360Nx\20\0\0\0\0\210\271}\0\0\0\0\0", 32) = 32
    read(4, "\21\322\324\3*\0\320\1*\0\320\1\0\0\0\0)\0\320\1\0\0\0\0\210\271}\0\0\0\0\0", 32) = 32
    read(4, "\21x\337\3\3\0\320\1\3\0\320\1\0\0\0\0\3\0\320\1\0\0\0\0\210\271}\0\0\0\0\0", 32) = 32
    read(4, "\34\233\337\3\3\0\320\1\373\0\0\0B\240=\352\1\0\0\0\0\0\0\0gZE\0\0\0\0\0", 32) = 32
    read(4, "\34\233\337\3\3\0\320\1\27\1\0\0B\240=\352\1\0\0\0\0\0\0\0gZE\0\0\0\0\0", 32) = 32
    read(4, "\34\233\337\3\3\0\320\1h\0\0\0B\240=\352\1\0\0\0\0\0\0\0gZE\0\0\0\0\0", 32) = 32
    read(4, "\34\233\337\3\3\0\320\1W\1\0\0B\240=\352\1\0\0\0\0\0\0\0gZE\0\0\0\0\0", 32) = 32
    read(4, "\34\233\337\3\3\0\320\1\354\0\0\0B\240=\352\1\0\0\0\0\0\0\0gZE\0\0\0\0\0", 32) = 32
    read(4, "\34\233\337\3\3\0\320\1C\1\0\0B\240=\352\1\0\0\0\0\0\0\0gZE\0\0\0\0\0", 32) = 32
    read(4, "\34\233\337\3\3\0\320\1\362\0\0\0B\240=\352\1\0\0\0\0\0\0\0gZE\0\0\0\0\0", 32) = 32
    read(4, "\34\233\337\3\3\0\320\1#\0\0\0B\240=\352\1\0\0\0\0\0\0\0gZE\0\0\0\0\0", 32) = 32
    read(4, "\34\233\337\3\3\0\320\1\371\0\0\0B\240=\352\1\0\0\0\0\0\0\0gZE\0\0\0\0\0", 32) = 32
    read(4, "\34\233\337\3\3\0\320\1\370\0\0\0B\240=\352\1\0\0\0\0\0\0\0gZE\0\0\0\0\0", 32) = 32
    read(4, "\34\233\337\3\3\0\320\1\347\0\0\0B\240=\352\1\0\0\0\0\0\0\0gZE\0\0\0\0\0", 32) = 32
    read(4, "\34\233\337\3\3\0\320\1\360\0\0\0B\240=\352\1\0\0\0\0\0\0\0gZE\0\0\0\0\0", 32) = 32
    read(4, "\34\233\337\3\3\0\320\1\351\0\0\0B\240=\352\1\0\0\0\0\0\0\0gZE\0\0\0\0\0", 32) = 32
    read(4, "\34\233\337\3\3\0\320\1$\0\0\0B\240=\352\1\0\0\0\0\0\0\0gZE\0\0\0\0\0", 32) = 32
    read(4, "\34\233\337\3\3\0\320\1(\0\0\0B\240=\352\1\0\0\0\0\0\0\0gZE\0\0\0\0\0", 32) = 32
    read(4, "\34\233\337\3\3\0\320\1\352\0\0\0B\240=\352\1\0\0\0\0\0\0\0gZE\0\0\0\0\0", 32) = 32
    read(4, "\34\233\337\3\3\0\320\1C\0\0\0B\240=\352\1\0\0\0\0\0\0\0gZE\0\0\0\0\0", 32) = 32
    read(4, "\34\233\337\3\3\0\320\1%\0\0\0B\240=\352\1\0\0\0\0\0\0\0gZE\0\0\0\0\0", 32) = 32
    read(4, "\34\233\337\3\3\0\320\1\356\0\0\0B\240=\352\1\0\0\0\0\0\0\0gZE\0\0\0\0\0", 32) = 32
    read(4, "\34\233\337\3\3\0\320\1'\0\0\0B\240=\352\1\0\0\0\0\0\0\0gZE\0\0\0\0\0", 32) = 32
    read(4, "\34\233\337\3\3\0\320\1\357\0\0\0B\240=\352\1\0\0\0\0\0\0\0gZE\0\0\0\0\0", 32) = 32
    read(4, "\1\0\340\3\0\0\0\0\207(a\0\0\0\0\0\0\0\0\0\0\0\0\0000 \5\0\0\0\0\0", 32) = 32

    Hello,
    Thanks for responding.
    As for syslog, these files have no relevant information.
    Too old, or 0 bytes.
    /etc/sysconfig/syslog
    /etc/logrotate.d/syslog
    /etc/rc.d/init.d/syslog
    /var/lock/subsys/syslog
    I've done some more analysis.
    gdb /usr/bin/system-config-display
    (gdb) run
    Starting program: /usr/bin/system-config-display
    [Thread debugging using libthread_db enabled]
    Executing new program: /usr/bin/consolehelper-gtk
    [Thread debugging using libthread_db enabled]
    Detaching after fork from child process 7441.
    (system-config-display:7438): Gtk-WARNING **: Theme file for Bluecurve has no name
    (system-config-display:7438): Gtk-WARNING **: Theme file for Bluecurve has no directories
    Program exited normally.
    - although, I got the popup "Unknown error".
    Doing a number of searches on this error, it is related to VMWare.
    In retrospect, these errors seem to appear after I installesd VMware Player.
    http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1313
    There are two fairly simple ways to eliminate the warning.
    Remove the .gtkrc file from your home directory on the host.
    Note: This causes all applications based on GTK+ to use the default theme. Any settings stored in ~/.gtkrc (or in files that it includes) may revert to defaults. If you regularly use custom styles in your other applications, you may prefer the second solution.
    Contact Red Hat for a 32-bit Bluecurve theme engine compatible with GTK+ version 1, or locate the Bluecurve theme on the Web. (Bluecurve is found in the redhat-artwork RPM.) Installing a compatible Bluecurve theme allows VMware Workstation or the VMware Console to use the default Bluecurve theme specified by the .gtkrc file.
    If, in your case, the warning message refers to a theme other than Bluecurve, you need to locate and install a 32-bit engine for that theme, compatible with GTK+ version 1.----
    wc ` find / -type f -iname "*.gtkrc*" `
    424 1358 11251 /usr/lib/vmware/libconf/etc/gtk-2.0/Clearlooks.gtkrc
    424 1358 11251 /usr/lib/vmware-installer/2.0/lib/libconf/etc/gtk-2.0/Clearlooks.gtkrc
    3 9 81 /root/.gtkrc-1.2-gnome2
    3 9 92 /home/oracleapps/.gtkrc-1.2-gnome2
    3 9 89 /home/applmgr/.gtkrc-1.2-gnome2
    3 9 88 /home/oracle/.gtkrc-1.2-gnome2
    cat /home/oracleapps/.gtkrc-1.2-gnome2
    # Autowritten by gnome-settings-daemon. Do not edit
    include "/home/oracleapps/.gtkrc.mine"
    file /home/oracleapps/.gtkrc.mine
    /home/oracleapps/.gtkrc.mine: ERROR: cannot open `/home/oracleapps/.gtkrc.mine' (No such file or directory)
    cat /etc/gtk-2.0/gtkrc
    gtk-theme-name = "Clearlooks"
    gtk-icon-theme-name = "Clearlooks"
    rpm -qa --qf "%{NAME}-%{VERSION}-%{RELEASE}_%{ARCH}.rpm \n " | grep "redhat-artwork"
    redhat-artwork-5.0.9-2.0.1.el5_x86_64.rpm
    artwork is 64 bit,
    VMWare wants 32 bit.
    cd /usr/share/themes
    ls -l
    total 272
    drwxr-xr-x 3 root root 4096 Feb 11 2010 AgingGorilla
    drwxr-xr-x 3 root root 4096 Feb 11 2010 Atlanta
    drwxr-xr-x 4 root root 4096 Nov 15 2011 Bluecurve
    drwxr-xr-x 3 root root 4096 Nov 15 2011 Bluecurve-BerriesAndCream
    drwxr-xr-x 3 root root 4096 Nov 15 2011 Bluecurve-classic
    drwxr-xr-x 3 root root 4096 Nov 15 2011 Bluecurve-Gnome
    drwxr-xr-x 3 root root 4096 Nov 15 2011 Bluecurve-Grape
    drwxr-xr-x 3 root root 4096 Nov 15 2011 Bluecurve-Lime
    drwxr-xr-x 3 root root 4096 Nov 15 2011 Bluecurve-Slate
    drwxr-xr-x 3 root root 4096 Nov 15 2011 Bluecurve-Strawberry
    drwxr-xr-x 3 root root 4096 Nov 15 2011 Bluecurve-Tangerine
    drwxr-xr-x 3 root root 4096 Feb 11 2010 Bright
    drwxr-xr-x 4 root root 4096 Nov 15 2011 Clearlooks
    drwxr-xr-x 3 root root 4096 Nov 15 2011 Clearlooks-DeepSky
    drwxr-xr-x 3 root root 4096 Nov 15 2011 Clearlooks-Olive
    drwxr-xr-x 3 root root 4096 Nov 15 2011 Clearlooks-Quicksilver
    drwxr-xr-x 4 root root 4096 Nov 15 2011 Crux
    I deleted these files and rebooted.
    /root/.gtkrc-1.2-gnome2
    /home/oracleapps/.gtkrc-1.2-gnome2
    /home/applmgr/.gtkrc-1.2-gnome2
    /home/oracle/.gtkrc-1.2-gnome2
    But still got the popup error.
    gdb /usr/bin/consolehelper-gtk
    Undefined command: "gdb". Try "help".
    (gdb) run
    Starting program: /usr/bin/consolehelper-gtk
    [Thread debugging using libthread_db enabled]
    Detaching after fork from child process 5335.
    (consolehelper-gtk:5334): Gtk-WARNING **: Theme file for Bluecurve has no name
    (consolehelper-gtk:5334): Gtk-WARNING **: Theme file for Bluecurve has no directories
    Program exited normally.
    ltrace --output=ltrace_system_config_display.txt -S /usr/bin/system-config-display
    SYS_munmap(0x2ad1f48c6000, 4096) = 0
    __libc_start_main(0x400780, 1, 0x7fff75a039d8, 0x400860, 0x400850 <unfinished ...>
    execv("/usr/bin/consolehelper-gtk", 0x7fff75a039d8 <unfinished ...>
    SYS_execve("/usr/bin/consolehelper-gtk", 0x7fff75a039d8, 0x7fff75a039e8 <unfinished ...>
    SYS_brk(NULL) = 0x1b620000
    gtk_message_dialog_new(0, 0, 3, 2, 0x404a3e <unfinished ...>
    SYS_lstat(0x1b65b2f0, 0x7fff2c54ec60, 0x7fff2c54ec60, 32, 0) = 0
    SYS_open("/etc/gtk-2.0/gtkrc", 0, 00) = 8
    SYS_read(8, "gtk-theme-name = "Clearlooks"\ngt"..., 4000) = 65
    SYS_read(8, "", 4000) = 0
    SYS_close(8) = 0
    SYS_access(0x1b65dfa0, 0, 0x7fff2c54ec68, 16, 0xfefefefefefefeff) = -2
    SYS_access(0x1b65b2d0, 0, 0x7fff2c54ec68, 16, 0xfefefefefefefeff) = -2
    SYS_lstat(0x1b65de90, 0x7fff2c54ec60, 0x7fff2c54ec60, 16, 0) = -2
    SYS_access(0x1b6630e0, 0, 0x7fff2c54ec68, 16, 0xfefefefefefefeff) = -2
    SYS_access(0x1b65b2d0, 0, 0x7fff2c54ec68, 16, 0xfefefefefefefeff) = -2
    SYS_brk(0x1b686000) = 0x1b686000
    SYS_access(0x1b663fa0, 0, 0x1b6611a0, 32, 1) = -2
    SYS_access(0x1b663fa0, 0, 0x1b65dff0, 32, 1) = 0
    SYS_lstat(0x1b65b260, 0x7fff2c54ec30, 0x7fff2c54ec30, 0x2d6b74672f657672, 1) = 0
    SYS_open("/usr/share/themes/Bluecurve/gtk-"..., 0, 00) = 8
    SYS_read(8, "gtk-icon-sizes = "panel-menu=24,"..., 4000) = 3442
    SYS_access(0x1b666af0, 0, 0x7fff2c54e940, 0x1b666930, 0xfefefefefefefeff) = -2
    The crazy thing in this last part is:
    - it opens the Clearlooks theme
    - then, a few lines later, is looking for Bluecurve
    To sum up:
    It's related to VMWare Player, and themes.
    Both themes are installed.
    However, the installed theme is 64 bit.
    VMWare wants 32 bit.
    Any ideas on how to solve this issue?
    Thanks a lot!

  • Sign in link on OTN homepage gives 500 error

    The sign-in link on the OTN homepage (http://www.oracle.com/technology/index.html) shows the error below. Also I can't log in from the downloads area.
    500 Internal Server Error
    java.lang.NullPointerException
         at oracle.emarket.reg.Logger.LogEnabled(Logger.java:120)
         at register.jspService(_register.java:216)
         [SRC:/register.jsp:459]
         at com.orionserver[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:347)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:765)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:208)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:125)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
         at java.lang.Thread.run(Thread.java:534)

    I was to face to a similar problem, it became from proxy...
    Nicolas.

  • Connecting to Exchange Server 2013 using IMAP command gives authenication error

    Hello All,
    My application (it is a C# code) connects to Microsoft exchange server 2013 using POP3 and IMAP, processes the emails, marks as read and move to particular folder if it is processed successfully else to an different folder.  In this sometimes,
    I am getting authentication failed error from IMAP however same mail is processed when it is executed next time. Few times it is processed with out error. I am not sure what is causing this issue.We are connecting to IMAP using tcpIMAP command.
    This is the same application which we used with exchange server 2010 now we are upgrading to exchange server 2013. I have verified that the setting of exchange 2010 and 2013 are the same.
    To verify the IMAP command I created a sample application using C# which will try to connect to IMAP service and log in to exchange server 2013; it fails to authenticate the user after connecting for few times and then it starts to authenticate
    successfully then again fails for few times and then authenticates. I am not sure why this is happening. 
    Please suggest how can I resolve this.
    Thank you, Santha

    Since I've upgraded to Snow Leopard I've also moved from Entourage 2008 to Mail, iCal & Addressbook with the new Exchange support.
    My company exchange server is Exchange 2007.
    Mail works fine except the occasional Mail crash.
    iCal worked fine the first two days and then it came with an error the it cannot connect to the Exchange server and asks me to type my email address again. Doesn't work so I need to put my exchange calendar in iCal in offline. But now there is no syncing with the Echange server.
    This only occurs when I add a meeting request in iCal.
    My Exchange administrator has reset my mailbox on the Exchange server.
    This helped for about 4 hours. Now it's the same problem.
    I have a feeling the when you setup your exchange account in Mail it uses different settings for Mail and iCal with the autoconfig.
    Anybody has a solution? My Exchange admin cannot find any problems on his side. Do I need to make changes on my iCal client or do we need to wait for OS 10.6.1 ?

  • CF11 cfc gives 500 error but cfm is fine

    We are testing our cf code which all works fine on a CF9 Windows Server 2008 machine but we are going to migrate to a CF11 Windows 2012 R2 machine. We have a test machine setup and all the code moved over and so far the cfm pages seem to work fine as well as the Application.cfc page but when we call a cfc via AJAX or we visit the cfc methods directly we get a 500.0 error Application could not be found.
    Anybody else run into this?

    I will do both as separate messages with some info redacted with XXXXXX. The Application.cfc in the root directory is below.
    <cfcomponent
        displayname="Application"
        output="true"
        hint="Handle the application.">
            <!--- Set up the application. --->
            <cfset THIS.Name = "XXXXXX" />
            <cfset THIS.ApplicationTimeout = CreateTimeSpan( 2, 0, 0, 0 ) />
            <cfset THIS.SessionManagement = true />
            <cfset THIS.SessionTimeout = CreateTimeSpan( 0, 2, 30, 0 ) />
            <cfset THIS.SetClientCookies = true />
        <!--- Define the page request properties. --->
        <cfsetting
            requesttimeout="30"
            showdebugoutput="true"
            enablecfoutputonly="false"
            />
        <cffunction
            name="OnApplicationStart"
            access="public"
            returntype="boolean"
            output="false"
            hint="Fires when the application is first created.">
            <CFQUERY NAME="GetAdmin" DATASOURCE="XXXXXX">
                SELECT * FROM AdminOptions
                WHERE ID = 1
            </CFQUERY>
             <cfset APPLICATION.DSN = "XXXXXX" />
             <cfset APPLICATION.debugIPAddress = "XXXXXX" />
             <cfset APPLICATION.debugIPAddress2 = "XXXXXX" />
             <cfset APPLICATION.ScheduledTaskIP = "XXXXXX" />
             <cfset APPLICATION.ScheduledTaskIP2 = "XXXXXX" />
             <cfset APPLICATION.EncryptionKey = "XXXXXX" />
             <cfset APPLICATION.AdminEmail = "XXXXXX" />
             <cfset APPLICATION.NotificationEmail = #GetAdmin.mainEmail# />
             <cfset APPLICATION.SiteTitle = "XXXXXX" />
             <!--- urls --->
             <cfset APPLICATION.SiteURL = "XXXXXX" />
             <cfset APPLICATION.ImageURL = "XXXXXX" />
             <cfset APPLICATION.AttachmentURL = "XXXXXX" />
             <!--- directories --->
             <cfset APPLICATION.BaseDirectory = "XXXXXX" />
             <cfset APPLICATION.VendorUploadsDirectory = "XXXXXX\data\VendorUploads" />
             <cfset APPLICATION.VendorDownloadsDirectory = "XXXXXX\www\downloads" />
             <cfset APPLICATION.ImageDirectory = "XXXXXX\www\product-images" />
             <cfset APPLICATION.AttachmentDirectory = "XXXXXX\www\uploads" />
             <cfset APPLICATION.FeedDirectory = "XXXXXX\data" />
             <cfset APPLICATION.cfcRoot = "#APPLICATION.BaseDirectory#\api">
             <!--- include startup file(s) --->
             <cfinclude template="includes/inc-cleanup.cfm">
            <!--- Return out. --->
            <cfreturn true />
        </cffunction>
        <cffunction
            name="OnSessionStart"
            access="public"
            returntype="void"
            output="false"
            hint="Fires when the session is first created.">
            <!--- Define the local scope. --->
            <cfset var LOCAL = {} />
            <!---
            Store the CF id and token. We are about to clear the
            session scope for intialization and want to make sure
            we don't lose our auto-generated tokens.
            --->
            <cfset LOCAL.CFID = SESSION.CFID />
            <cfset LOCAL.CFTOKEN = SESSION.CFTOKEN />
            <!--- Clear the session. --->
            <cfset StructClear( SESSION ) />
            <!---
            Replace the id and token so that the ColdFusion
            application knows who we are.
            --->
            <cfset SESSION.CFID = LOCAL.CFID />
            <cfset SESSION.CFTOKEN = LOCAL.CFTOKEN />
            <!--- Assigns and passes shopping cart ID. Do not change! --->
            <CFINCLUDE TEMPLATE="includes/inc-session-id.cfm">
            <!--- Return out. --->
            <cfreturn />
        </cffunction>
        <cffunction
            name="OnRequestStart"
            access="public"
            returntype="boolean"
            output="false"
            hint="Fires at first part of page processing.">
            <!--- Define ARGUMENTS. --->
            <cfargument
                name="TargetPage"
                type="string"
                required="true"
                />
            <!--- Define the local scope. --->
            <cfset var local = {} />
            <!--- Assigns and passes shopping cart ID. Do not change! --->
            <CFINCLUDE TEMPLATE="includes/inc-session-id.cfm">
            <!--- Get requested URL from request object. --->
            <cfset prevURL = #CGI.HTTP_REFERER# />
            <!--- Check for reinitialization. --->
            <cfif StructKeyExists( URL, "reset" )>
                <!--- Reset application and session. --->
                <cfset THIS.OnApplicationStart() />
                <cfset THIS.OnSessionStart() />
            </cfif>
            <cfif structKeyExists( url, "logout" )>
            <!--- Change the timeout on the current session scope. This is an undocumented function. We are changing it to one second. --->
            <cfset session.setMaxInactiveInterval(javaCast("long", 1)) />
            <!--- Clear all of the session cookies. This will expire them on the user's computer when the CFLocation executes.        
            NOTE: We need to do this so that the redirect
            doesn't immediately pick up the previous session
            within the new, one-second timeout (which would
            completely defeat our purpose).
            --->
            <cfloop index="local.cookieName" list="cfid,cftoken,cfmagic">
                <!--- Expire this session cookies --->
                <cfcookie name="#local.cookieName#" value="" expires="now" />
            </cfloop>
            <!---
            Redirect back to the primary page (so that we dont
            have the killSession URL parameter visible).
            --->
            <cflocation url="./index.cfm" addtoken="false" />
            </cfif>
            <!--- Return out. --->
            <cfreturn true />
        </cffunction>
        <cffunction
            name="OnRequest"
            access="public"
            returntype="void"
            output="true"
            hint="Fires after pre page processing is complete.">
            <!--- Define ARGUMENTS. --->
            <cfargument
                name="PageRequestedByUser"
                type="string"
                required="true"
                />
            <cfif (isDefined("SESSION.Vendor.ID") AND SESSION.Vendor.ID NEQ 0)>
            <cfif isDefined("SESSION.SessionID")>
                <!--- lookup cart total --->
                <cfquery name="GetCartTotal" datasource="#APPLICATION.DSN#">
                SELECT SUM(Cart.Price * Cart.Quantity) AS CurrCartTotal FROM Cart
                WHERE Cart.SessionID = <cfqueryparam cfsqltype="cf_sql_integer" value="#SESSION.SessionID#"> AND Cart.CustomerID = <cfqueryparam cfsqltype="cf_sql_integer" value="#SESSION.Vendor.ID#"> AND (Status = 'Shopping' OR Status = 'Saved')
                </cfquery>
            </cfif>
            <!--- User logged in. Allow page request. --->
            <cfinclude template="#ARGUMENTS.PageRequestedByUser#" />
            <cfelseif FindNoCase("request-catalog.cfm", ARGUMENTS.PageRequestedByUser)>
            <!--- User requested catalog. --->
            <cfinclude template="request-catalog.cfm" />
            <cfelse>
            <!---
            User is not logged in - include the login page regardless of what was requested.
            --->
            <cfinclude template="login.cfm" />
            </cfif>
            <!--- Return out. --->
            <cfreturn />
        </cffunction>
        <cffunction
            name="OnRequestEnd"
            access="public"
            returntype="void"
            output="true"
            hint="Fires after the page processing is complete.">
            <!--- dump out the session to the screen --->
            <cfif CGI.REMOTE_ADDR IS APPLICATION.debugIPAddress>
                <cfdump var="#SESSION#">
            </cfif>
            <!--- Return out. --->
            <cfreturn />
        </cffunction>
        <cffunction
            name="OnSessionEnd"
            access="public"
            returntype="void"
            output="false"
            hint="Fires when the session is terminated.">
            <!--- Define ARGUMENTS. --->
            <cfargument
                name="SessionScope"
                type="struct"
                required="true"
                />
            <cfargument
                name="ApplicationScope"
                type="struct"
                required="false"
                />
            <!--- session cleanup code here --->
            <!--- Return out. --->
            <cfreturn />
        </cffunction>
        <cffunction
            name="OnApplicationEnd"
            access="public"
            returntype="void"
            output="false"
            hint="Fires when the application is terminated.">
            <!--- Define ARGUMENTS. --->
            <cfargument
                name="ApplicationScope"
                type="struct"
                required="false"
                default="#StructNew()#"
                />
             <!--- Return out. --->
            <cfreturn />
        </cffunction>
    <cffunction name="onError">
        <!--- The onError method gets two arguments:
                An exception structure, which is identical to a cfcatch variable.
                The name of the Application.cfc method, if any, in which the error
                happened. --->
        <cfargument name="Except" required = true />
        <cfargument type="String" name = "EventName" required = true />
        <!--- Log all errors in an application-specific log file. --->
    <!---    
        <cflog file="#This.Name#" type="error" text="Event Name: #Eventname#" >
        <cflog file="#This.Name#" type="error" text="Message: #except.message#">
         --->
        <!--- Throw validation errors to ColdFusion for handling. --->
        <cfif Find("coldfusion.filter.FormValidationException", Arguments.Except.StackTrace)>
            <cfthrow object="#except#">
        <cfelse>
            <!--- You can replace this cfoutput tag with application-specific error-handling code. --->
            <cfif #CGI.REMOTE_ADDR# IS #APPLICATION.debugIPAddress#>
                <p>Error Event: #EventName#</p>
                    <cfif isDefined("SESSION.Vendor.ID")><p>Member ID: #SESSION.Vendor.ID#</p></cfif>
                    <cfif isDefined("ID")><p>ID Posted: #ID#</p></cfif>
                    <p>Error details:<br><cfdump var="#except#"></p>
                    <p>Application vars:<br><cfdump var="#Application#"></p>
                    <p>Session vars:<br><cfdump var="#SESSION#"></p>
                    <p>CGI vars:<br><cfdump var="#cgi#"></p>
                    <p>FORM vars:<br><cfdump var="#FORM#"></p>
                    <p>URL vars:<br><cfdump var="#URL#"></p>
                <cfmail TO="#APPLICATION.AdminEmail#" FROM="#APPLICATION.AdminEmail#" SUBJECT="#APPLICATION.SiteTitle# Exception Error" TYPE="HTML">
                    <p>Error Event: #EventName#</p>
                    <cfif isDefined("SESSION.Vendor.ID")><p>Member ID: #SESSION.Vendor.ID#</p></cfif>
                    <cfif isDefined("ID")><p>ID Posted: #ID#</p></cfif>
                    <p>Error details:<br><cfdump var="#except#"></p>
                    <p>Application vars:<br><cfdump var="#Application#"></p>
                    <p>Session vars:<br><cfdump var="#SESSION#"></p>
                    <p>CGI vars:<br><cfdump var="#cgi#"></p>
                    <p>FORM vars:<br><cfdump var="#FORM#"></p>
                    <p>URL vars:<br><cfdump var="#URL#"></p>
                </cfmail>
            <cfelse>       
                <cfmail TO="#APPLICATION.AdminEmail#" FROM="#APPLICATION.AdminEmail#" SUBJECT="#APPLICATION.SiteTitle# Exception Error" TYPE="HTML">
                    <p>Error Event: #EventName#</p>
                    <cfif isDefined("SESSION.Vendor.ID")><p>Member ID: #SESSION.Vendor.ID#</p></cfif>
                    <cfif isDefined("ID")><p>ID Posted: #ID#</p></cfif>
                    <p>Error details:<br><cfdump var="#except#"></p>
                    <p>Application vars:<br><cfdump var="#Application#"></p>
                    <p>Session vars:<br><cfdump var="#SESSION#"></p>
                    <p>CGI vars:<br><cfdump var="#cgi#"></p>
                    <p>FORM vars:<br><cfdump var="#FORM#"></p>
                    <p>URL vars:<br><cfdump var="#URL#"></p>
                </cfmail>
                <cfinclude template="error.cfm" />
            </cfif>
        </cfif>
    </cffunction>
    </cfcomponent>

  • Trying to install/format an INTERNAL hard drive using Disk Utility gives me "Error: -69760: Unable to write to the last block of the device".   Is that a hardware problem and what could be done about it?

    *** PLEASE NOTE*** - This is a query about an INTERNAL HDD not an external one. Thanks.
    My Mac is a late 2009 model and the current hard drive recently failed. So I bought a new one, exactly the same, albeit 750gb instead of 500gb. The HDD is a Seagate Momentus 7200. Before the my current drive failed I made a time machine back up to an external USB HDD. I've inserted the HDD into the bottom of my Mac, plugged in the USB and started my machine pressing the 'Option' ([ALT]) key. I go into Disk Utility to try and format the new HDD by creating a new partition but I keep getting the messages,
    "Error: -69760: Unable to write to the last block of the device"
    or
    "POSIX: could not allocate memory"
    This is actaully the third HDD I've tried. The first was another Seagate Momentus 7200 500gb, but this time it was a newer model (model number ended in 423AS instead of 420AS - the new one I am trying ends with 420AS, which is the same as the current HDD). I then tried a Western Digital drive but that one didn't even show up in DU. Forums and tech support are suggesting it's faults with the HDDs but surely not three in a row?
    Could this be an issue with another part of my Mac?
    Is there anything else I can do to format the HDD, have I missed a crucial step?

    Did you ever get a resolution to this issue?
    I am having that exact error with a new 512GB SSD from Crucial, in a 15" MBP mid-2010.
    I really wonder now if the stupid SATA cable could be bad - causing the initial SSD fail.  I am replacing it with the EXACT same drive, and getting that "last block" error when i partition in the GUI or from command-line.
    thanks!

Maybe you are looking for

  • Display is playing up

    Recently the display on my Ipod mini has been frezing on one song, the ipod contiues playing other songs but the display only shows the one it was on. IT also sometimes doesn't come on when i turn on the ipod and yet will play the songs. It fixes it

  • How to pass BI Query parameters from Function Module

    Hi, We are executing the BI queries using the Function Module "RS_VC_GET_QUERY_VIEW_DATA_FLAT" by passing the query name and the provider information. Is there a way, to pass the filter parameter values also to the query by using this function module

  • Weblogic 10 spring bean intialisation problem

    I am having 2 ear file deployed in one weblogic 10 server. Each ear file contains same spring bean(e.g "fsiAuthService" bean) definition under applicationContext.xml file belongs to each ear. But while deploying both the ear file in weblogic 10, I am

  • Book Uploading 0%

    So as the title says, the uploading is on 0% for all day what I want to do is close Aperture and reopen and try to upload again, but going "nicely" on quit aperture wont let me... so I'm wondering if Im gonna be able to just hit upload again (which I

  • Dbstart cannot start Oracle server

    The command dbstart cannot start the Oracle 8ir2 (8.1.6) server. It only shows the message "Database "ORCL" warm started.", but the oracle instance did not start nor database was not mounted. I have updated the /etc/oratab file to put Y to my databas