Wrong Case or ClassCastException

Hello everyone
I use JWSDP2.0, JDK is jdk1.5.0_12
I have tried to generate class by the command:
xjc -p test.jaxb poll.xsd
Following is the schema
<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
     <xsd:element name="Poll" type="Poll"/>
     <xsd:complexType name="Poll">
          <xsd:sequence>
               <xsd:element name="queryName" type="xsd:string"/>
               <xsd:element name="params" type="QueryParams"/>
          </xsd:sequence>
          <xsd:anyAttribute processContents="lax"/>
     </xsd:complexType>
     <xsd:complexType name="QueryParams">
          <xsd:sequence>
               <xsd:element name="param" type="QueryParam" minOccurs="0" maxOccurs="unbounded"/>
          </xsd:sequence>
     </xsd:complexType>
     <xsd:complexType name="QueryParam">
          <xsd:sequence>
               <xsd:element name="name" type="xsd:string"/>
               <!-- See note in EPCIS spec text regarding the value for this element -->
               <xsd:element name="value" type="xsd:anyType"/>
          </xsd:sequence>
     </xsd:complexType>     
</xsd:schema>I modify the poll.java, and add @XmlRootElement in front of the class declaration.
Then I write code to test marshall and unmarshall
package test;
import java.util.List;
import java.io.*;
import javax.xml.bind.*;
import org.w3c.dom.*;
import test.jaxb.*;
public class JAXBTest {
     public static void main(String[] args){
          try {
               JAXBContext context = JAXBContext.newInstance("test.jaxb");
               ObjectFactory factory = new ObjectFactory();
               Marshaller marshal = context.createMarshaller();
               marshal.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, Boolean.TRUE);
               Unmarshaller unmarshal = context.createUnmarshaller();
               Poll poll = factory.createPoll();
               poll.setQueryName("Query1");
               QueryParams params = factory.createQueryParams();
               List list = params.getParam();
               QueryParam param = factory.createQueryParam();               
               param.setName("Name");
               param.setValue("David");
               list.add(param);
               poll.setParams(params);
              OutputStream os = new FileOutputStream( "poll.xml" );
              marshal.marshal( poll, os );     
              marshal.marshal(poll,System.out);
              Poll input = (Poll)unmarshal.unmarshal( new File( "poll.xml" ) );
              System.out.println(input.getQueryName());
          } catch (Exception e) {
               // TODO Auto-generated catch block
               e.printStackTrace();
}I found the root element is generated to "poll", not the schema defined "Poll"
But marshall and unmarshall are ok.
In order to comform the schema, I modify Poll.java again.
Change @XmlRootElement to @XmlRootElement(name = "Poll")The result is I can generate the right case element now("Poll").
But I get the exception simultaneously, unmarshall is not ok
java.lang.ClassCastException: javax.xml.bind.JAXBElement
     at test.JAXBTest.main(JAXBTest.java:29)
is there any resolution to solve wrong case problem and make marshall/unmarshall ok?
Message was edited by:
chihwen

Hi,
As far as I know Oracle are porting Developer R6 to Linux.
We're also anxiously waiting for it to be out.
It should be out in 2 or 3 months.
About CASE I don't thing anyone will port it to linux.
Regards,
Michael
Jose Abelardo Gutierrez (guest) wrote:
: My company is looking for CASE or RAD tools for database system
: developement on Linux.
: If I can find something that suits our needs we will change all
: our application developement schema to Linux, and I'll very
: happy, and our client to.
: Thanks for your reading
null

Similar Messages

  • What is the difference b/t the macbook a1432 and a1181, i think i ordered the wrong case?

    what is the difference b/t the macbook a1432 and a1181, i think i ordered the wrong case?

    A1181 is any of the seventeen models of the white or black MacBooks with the removable battery.
    A1278 is the one model of the Aluminum Unibody
    A1342 are the two models of the White Unibody
    There's no model A1432.
    To see which model you have go to the Apple in the upper left corner and select About This Mac, then click on More Info (and then System Report if you’re running 10.7 Lion). When System Profiler comes up check the Model Identifier and post it back here.

  • The volume has the wrong case sensitivity for a backup

    Updated to OS X Yosemite 10.10.1 and when trying to restore my backup (using TM) into my iMac (27-inch, Mid 2011) get the following message: "The volume has the wrong case sensitivity for a backup."
    Any help would be appreciated!

    That's not how you restore.
    Move your data to a new Mac - Apple Support
    OS X Yosemite: Recover your entire system

  • Can't copy TM usb backup to Time Capsule - "wrong case sensitivity"

    I tried Pondini's tip from here:
    http://discussions.apple.com/thread.jspa?threadID=1964018#18
    "18. How can I copy my TM backups to a different location?"
    "To copy LOCAL BACKUPS to be used on a NETWORK:
    SNOW LEOPARD: First, configure Time Machine to back up to the network location, and start a backup. As soon as the sparse bundle is created, cancel the backup. Then, if possible, connect the new drive directly to your Mac. Use the Finder to mount the new sparse bundle, and delete the Backups.backupdb folder inside it. Then drag the Backups.backupdb folder from the old volume to the new sparse bundle."
    My problem comes when I get to this point. I get an error message...
    "the volume has the wrong case sensitivity for a backup".
    ..and it won't let me drag the Backups.backupdb folder.
    The source is a Western Digital usb MyBook originally set up under Leopard but now being used under Snow Leopard. The target is a new Time Capsule.
    Thanks for any help you can offer.

    Bob Mayo wrote:
    Given this sudden issue, can the Time Machine backup on the MyBook drive be saved -- and is it still a reliable to use as the base for future backups on the Time Capsule?
    I wouldn't waste any more time on it; I'd recommend putting it "on the shelf," in case you find you need something from it, and let Time Machine start fresh on the TC.
    You can always access the old backups, via the +*Browse Other Time Machine Disks+* option, per #17 in the FAQ Tip.
    By the way, I've been working on the copy procedure. Here's a draft of the new version of the part you'd use, if you decide to:
    |
    |
    _*3. To copy LOCAL BACKUPS to be used on a NETWORK_*
    *SNOW LEOPARD only; you cannot convert Local Backups to Network on Leopard.*
    |
    If you're copying to a Time Capsule, configure your Time Capsule for your network. (See the documentation that came with your Time Capsule for information about setting it up on your network.)
    If you're copying to a USB drive to be connected to a Time Capsule, Airport Extreme, or other Mac, connect it directly to your Mac and format it with either the GUID or APM *Partition Map Scheme,* and either +Mac OS Extended (Journaled)+ or +Mac OS Extended Case-sensitive, journaled)+ Format. See item #5 in the Frequently Asked Questions *User Tip* if you need detailed instructions.
    a. Configure Time Machine to back up to the network location, and start a backup.
    b. As soon as the +sparse bundle+ is created, cancel the backup (that may take a few moments).
    c. If possible, connect the new drive directly to your Mac (or a Time Capsule via Ethernet).
    d. Use the Finder to mount the new sparse bundle.
    e. Double-click it to mount the +Time Machine Backups+ partition inside it.
    f. Click the +Time Machine Backups+ partition to open it, and delete the Backups.backupdb folder inside it.
    g. If the old backups are case-ignorant (per the yellow box above), you must change the new sparse bundle to be case-ignorant, too:
    |
    1. Select the +Time Machine Backups+ partition in Disk Utility's sidebar and click Erase.
    2. Select the +Mac OS Extended (Journaled)+ Format, and click the Erase button. That may take a few moments (to unmount, erase, and mount the partition again).
    3. Via the Finder, do a +Get Info+ on the +Time Machine Backups+ partition.
    4. Click the padlock at the lower right and enter your Admin password at the prompt.
    5. Remove the check from the +Ignore ownership on this volume+ box and close the window.
    |
    h. Via the Finder, drag the Backups.backupdb folder from the old volume to the new +Time Machine Backups+ partition. Enter your Admin password when prompted. After a few moments, you may also get a prompt saying that you'll need to enter it again later: click Continue.

  • My Time Machine backup keeps failing.  I get a message the "Volume has the wrong case sensitivity for a backup".  Please advise.

    My Time Machine backup keeps failing.  I get a message the "Volume has the wrong case sensitivity for a backup".  Please advise.
    Thanks, Howard

    You can change the case sensitivity of the sparsebundle.. but I really doubt the error is real.
    See A8 here.
    http://pondini.org/TM/Troubleshooting.html
    The sparsebundle should have case sensitivity turned on.
    I cannot even fathom how it could have changed.
    Let me recommend before you start fooling around with the sparsebundle.
    Do a full network start.
    Power everything off.. start up modem.. wait 2min.. power up the TC.. wait 2min.. power up any other network gear like switches.. wait..
    Now power up the computer and try it.
    If the error is the same.. I would do a factory reset of the TC.. give it all short names, no spaces and pure alphanumeric. Then reset TM .. see A4 in the same reference as above.. and do a verify of the backups.. A5 above and try the backup again..
    No luck..
    Then erase the TC and start over.. it is sometimes necessary as TM does get itself in a knot.

  • WebLogic looking for class file using the wrong case

    During my ant build, I precompile my JSPs using weblogic.jspc. All of the jars and wars are packaged into an ear and deployed to WebLogic 8.1 on Linux. When I access one of our normal screens, everything is good. Things go wrong when I try to access one of our help screens. We have a base help file that includes another file based on the screen code passed to it. The screen code is used in combination with a HashMap to look up the correct JSP to include. This part goes fine. But when the JSP is included, I get the following error. The best I can figure is that the class file is in mixed case (i.e., SampleHelp00.jsp and SampleHelp00.class), but Weblogic is looking for samplehelp00.class.
    I'm not even where I should begin looking to solve this. Anyone have any ideas?
    ----- BEGIN STACKTRACE -----
    javax.servlet.jsp.JspException:
    [HTTP:101249][ServletContext(id=70634941,name=grp,context-path=/grp)]:
    Servlet class jsp_servlet._help.__samplehelp00 for servlet
    /help/SampleHelp00.jsp could not be loaded because the requested class was not found in the classpath
    /usr/share/weblogic/weblogic81/config/wftesttest/webSysServer02/.wlnotdelete/extract/webSysServer02_wf-web-sys.wftesttest_grp/wf-web-sys.wftesttest.war:
    /weblogic81sp5/weblogic81sp5/config/wftesttest/webSysServer02/.wlnotdelete/extract/webSysServer02_wf-web-sys.wftesttest_grp/jarfiles/WEB-INF/lib/Struts_Validator-20010702.jar:
    /weblogic81sp5/weblogic81sp5/config/wftesttest/webSysServer02/.wlnotdelete/extract/webSysServer02_wf-web-sys.wftesttest_grp/jarfiles/WEB-INF/lib/struts.jar:
    /weblogic81sp5/weblogic81sp5/config/wftesttest/webSysServer02/.wlnotdelete/extract/webSysServer02_wf-web-sys.wftesttest_grp/jarfiles/WEB-INF/lib/taglibs-session.jar:
    /weblogic81sp5/weblogic81sp5/config/wftesttest/webSysServer02/.wlnotdelete/extract/webSysServer02_wf-web-sys.wftesttest_grp/jarfiles/WEB-INF/lib/wf.wftesttest.jar:
    /weblogic81sp5/weblogic81sp5/config/wftesttest/webSysServer02/.wlnotdelete/extract/webSysServer02_wf-web-sys.wftesttest_grp/jarfiles/_wl_cls_gen.jar:
    /weblogic81sp5/weblogic81sp5/config/wftesttest/webSysServer02/.wlnotdelete/extract/webSysServer02_wf-web-sys.wftesttest_grp.
    java.lang.ClassNotFoundException:
    jsp_servlet._help.__samplehelp00.
    at org.apache.struts.taglib.template.InsertTag.doEndTag()I(InsertTag.java:149)
    at jsp_servlet.__su_hl0._jspService(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse; )V(__su_hl0.java:289)
    at weblogic.servlet.jsp.JspBase.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse; )V(JspBase.java:33)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run()Ljava/lang/Object;(ServletStubImpl.java:1072)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Lweblogic/servlet/internal/FilterChainImpl; )V(ServletStubImpl.java:465)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse; )V(ServletStubImpl.java:348)
    at weblogic.servlet.internal.RequestDispatcherImpl.forward(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse; )V(RequestDispatcherImpl.java:328)
    at org.apache.struts.action.ActionServlet.processForward(Lorg/apache/struts/action/ActionMapping;Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse; )Z(ActionServlet.java:1847)
    at org.apache.struts.action.ActionServlet.process(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse; )V(ActionServlet.java:1568)
    at org.apache.struts.action.ActionServlet.doGet(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse; )V(ActionServlet.java:491)
    at javax.servlet.http.HttpServlet.service(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse; )V(HttpServlet.java:740)
    at com.clear2pay.ppp.util.ui.struts.ActionServlet.service(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse; )V(ActionServlet.java:138)
    at javax.servlet.http.HttpServlet.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse; )V(HttpServlet.java:853)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run()Ljava/lang/Object;(ServletStubImpl.java:1072)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Lweblogic/servlet/internal/FilterChainImpl; )V(ServletStubImpl.java:465)
    at weblogic.servlet.internal.TailFilter.doFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Ljavax/servlet/FilterChain; )V(TailFilter.java:28)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse; )V(FilterChainImpl.java:27)
    at com.clear2pay.ppp.util.ui.SetCharacterEncodingFilter.doFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Ljavax/servlet/FilterChain; )V(SetCharacterEncodingFilter.java:150)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse; )V(FilterChainImpl.java:27)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run()Ljava/lang/Object;(WebAppServletContext.java:6987)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Lweblogic/security/subject/AbstractSubject;Ljava/security/PrivilegedAction; )Ljava/lang/Object;(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(Lweblogic/security/acl/internal/AuthenticatedSubject;Lweblogic/security/acl/internal/AuthenticatedSubject;Ljava/security/PrivilegedAction; )Ljava/lang/Object;(SecurityManager.java:121)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(Lweblogic/servlet/internal/ServletRequestImpl;Lweblogic/servlet/internal/ServletResponseImpl; )V(WebAppServletContext.java:3892)
    at weblogic.servlet.internal.ServletRequestImpl.execute(Lweblogic/kernel/ExecuteThread; )V(ServletRequestImpl.java:2766)
    at weblogic.kernel.ExecuteThread.execute(Lweblogic/kernel/ExecuteRequest; )V(ExecuteThread.java:224)
    at weblogic.kernel.ExecuteThread.run()V(ExecuteThread.java:183)
    at java.lang.Thread.startThreadFromVM(Ljava/lang/Thread; )V(Unknown Source)
    ----- END STACKTRACE -----
    Message was edited by:
    cabuki

    Ignore the part about precompiled JSPs being ignored on my development server. Turns out I had a stale cache. I cleared that out and now it recognizes the files.
    The problem with that, is now I'm getting an Error 500 when I try to access the page.
    ----- BEGIN STACKTRACE -----
    javax.servlet.jsp.JspException
         at org.apache.struts.taglib.template.InsertTag.doEndTag()I(InsertTag.java:149)
         at jsp_servlet.__su_h0._jspService(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse; )V(__su_h0.java:316)
         at weblogic.servlet.jsp.JspBase.service(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse; )V(JspBase.java:33)
         at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run()Ljava.lang.Object; (ServletStubImpl.java:996)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;Lweblogic.servlet.internal.FilterChainImpl; )V(ServletStubImpl.java:419)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse; )V(ServletStubImpl.java:315)
         at weblogic.servlet.internal.RequestDispatcherImpl.forward(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse; )V(RequestDispatcherImpl.java:318 )
         at org.apache.struts.action.ActionServlet.processForward(Lorg.apache.struts.action.ActionMapping;Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse; )Z(ActionServlet.java:1847)
         at org.apache.struts.action.ActionServlet.process(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse; )V(ActionServlet.java:1568 )
         at org.apache.struts.action.ActionServlet.doGet(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse; )V(ActionServlet.java:491)
         at javax.servlet.http.HttpServlet.service(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse; )V(HttpServlet.java:740)
         at com.clear2pay.ppp.util.ui.struts.ActionServlet.service(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse; )V(ActionServlet.java:138 )
         at javax.servlet.http.HttpServlet.service(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse; )V(HttpServlet.java:853)
         at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run()Ljava.lang.Object;(ServletStubImpl.java:996)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;Lweblogic.servlet.internal.FilterChainImpl; )V(ServletStubImpl.java:419)
         at weblogic.servlet.internal.TailFilter.doFilter(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;Ljavax.servlet.FilterChain; )V(TailFilter.java:28 )
         at weblogic.servlet.internal.FilterChainImpl.doFilter(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse; )V(FilterChainImpl.java:27)
         at com.clear2pay.ppp.util.ui.SetCharacterEncodingFilter.doFilter(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;Ljavax.servlet.FilterChain; )V(SetCharacterEncodingFilter.java:150)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse; )V(FilterChainImpl.java:27)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run()Ljava.lang.Object;(WebAppServletContext.java:6458 )
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Lweblogic.security.subject.AbstractSubject;Ljava.security.PrivilegedAction; )Ljava.lang.Object;(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(Lweblogic.security.acl.internal.AuthenticatedSubject;Lweblogic.security.acl.internal.AuthenticatedSubject;Ljava.security.PrivilegedAction; )Ljava.lang.Object;(SecurityManager.java:118 )
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(Lweblogic.servlet.internal.ServletRequestImpl;Lweblogic.servlet.internal.ServletResponseImpl; )V(WebAppServletContext.java:3661)
         at weblogic.servlet.internal.ServletRequestImpl.execute(Lweblogic.kernel.ExecuteThread; )V(ServletRequestImpl.java:2630)
         at weblogic.kernel.ExecuteThread.execute(Lweblogic.kernel.ExecuteRequest; )V(ExecuteThread.java:219)
         at weblogic.kernel.ExecuteThread.run()V(ExecuteThread.java:178 )
         at java.lang.Thread.startThreadFromVM(Ljava.lang.Thread; )V(Unknown Source)
    ----- END STACKTRACE -----
    The page in question is just a simple JSP using Struts (v 1.0.2) to call in a template.
    ----- BEGIN JSP -----
    <%@ page language="java" contentType="text/html; charset=UTF-8" %>
    <%@ taglib uri="/WEB-INF/lib/struts.tld" prefix="struts" %>
    <%@ taglib uri="/WEB-INF/lib/struts-bean.tld" prefix="bean" %>
    <%@ taglib uri='/WEB-INF/lib/struts-template.tld' prefix='template' %>
    <template:insert template='/t/system.jsp'>
    <template:put name='title'><bean:message key="tit_su_h0"/></template:put>
    <template:put name='sidenav' content='/t/su_snv.jsp'/>
    <template:put name='content' content='/c/su_h0_c.jsp'/>
    <template:put name='footer' content='/t/su_ftr.jsp' />
    </template:insert>
    ----- END JSP -----
    I passed the -keepGenerated flag to the precompile task in my Ant build so I could look at the line it's choking on, but it's not very helpful. I'm stuck. I can set up the build so it doesn't precompile the JSPs, but then the QA team wouldn't like me very much.

  • Outlook 2010 Client Makes RPC connection to WRONG CAS

    I have Outlook 2010 clients in Shanghai. Their mailbox server and CAS server is in Hong Kong.   I also have my main Mailbox servers and CAS server in Seattle.
    When the Outlook clients resolve the names in setting up the Outlook profile, they go to dwtexcas02.dwt.com which is a Seattle CAS server.  
    I need them to resolve to the CAS server in Hong Kong which is local to their mailbox server in Hong Kong.
    CAS and mailbox server in Hong Kong is named SHAEX02.  Database, sha-db01,  with Shanghai mailboxes is also on that mailbox server.  Will this PS command resolve this issue?
    Set-mailboxdatabase sha-db01 rpclientaccessserver shaex02
    Get-mailboxdatabase sha-db01|fl rpcclientaccessserver
    RpcClientAccessServer : DWTEXCAS02.DWT.com (this server is in Seattle and I need the Outlook clients inin Shanghi to connect to shaex02.
    If I run the command above, does it drop the Outlook client connections or require an Outlook restart?
    Dave Zuver Davis Wright Tremaine Seattle, WA

    Hi,
    Please tyr the command below:
    Set-MailboxDatabase sha-db01 -RpcClientAccessServer shaex02
    And to confirm:
    Get-MailboxDatabase sha-db01 | select RpcClientAccessServer
    Once the Outlook is restarted, the client establishes its connections to the new RPC endpoint.
    Regards,
    Rebecca Tu
    TechNet Community Support

  • Entered username for site with wrong case. Because spelling is correct Firefox keeps changing entry to what I entered 1st time. I cannot log in.

    In this case I entered harkdog, but my username is HarkDog. I can no longer enter anything other than harkdog in the username field - including the one I just used to set up an account in FireFox Help. I may type HarkDog, but harkdog is automatically entered.

    Please do the following.<br><br>
    #Click the orange Firefox button, then click Options | Options | Privacy.<br><br>
    #In the History menu, use the dropdown menu to change the setting to "Use custom settings for history".<br><br>
    #Underneath that, remove the checkmark from "Remember search and form history".<br><br>
    #In the same menu, click the "Show Cookies" button.<br><br>
    #Find the site where the problem occurs and delete the cookie for it.<br><br>
    #Click OK to close the menu.<br><br>
    #Click the orange Firefox button and go to History, then "Clear Recent History".<br><br>
    #In the menu at the top, change the setting to "Everything".<br><br>
    #Click the arrow immediately underneath that one and remove the checkmark from "Browsing and Download History", "Cookies" and "Site Preferences", leaving only "Cache" and "Active Logins" checkmarked.<br><br>
    #Click the "Clear Now" button (''it might take a minute or two to clear'')<br><br>
    #Close Firefox and restart it again.<br>
    If you want Firefox to retain your nick when you change it, go back to the menu in step 3 and replace the checkmark.<br><br>
    If this suggestion resolves the problem for you, please click the '''Solved it''' button next to this post after you log in into the forum. This will help others searching for a solution to the same problem.
    Thanks.

  • HT1553 My motherboard failed and was replaced at the Apple store but I did not have my backup with me for the tech to download. When I try to download, a window comes up that the volume has the wrong case sensitivity and will not download. Thank you for a

    I did not have my backup with me when my hard drive failed and was replaced at the Apple store. Now it will not download to my new hard drive. A message says that "the volume has the worng case sensitivity for a backup". How can I resore my data from the backup?
    Thank you

    This is a user-supported board. You are not addressing Apple here. Nor is it a good idea to post your private information to a public forum. You should edit your post immediately.
    Unfortunately no one here can access your support history. You must respond to the emails directly.

  • FLEX debugger not hitting breakpoints, because Flash sometimes embeds source file paths with wrong letter case?

    I was trying to figure out why breakpoints were working fine for source files in some locations but not others.  FlashDevelop's debugger (which I believe is actually the FLEXSDK debugger) was successfully connecting, tracing output, and hitting breakpoints in SOME files, but not others.
    I downloaded SWFInvestigator from Adobe Labs and checked the embedded debug paths for various source files to see what was going on.
    I discovered that files in which no breakpoints could be hit had their paths embedded in all lowercase (e.g. "c:\users\username\desktop\source\myproject" instead of "C:\Users\username\Desktop\source\MyProject").
    So I have two questions:
    First, is this a Flex debugger issue, or a FlashDevelop plugin issue? Letter case shouldn't matter or interfere with matching file paths in Windows.
    Second, what could possibly influence the letter case of embedded paths in a SWF output by Flash Professional (CS6), such that they are sometimes all lowercase and other times maintain the same case from the file system?  And why would that affect a debuggers ability to hit breakpoints in Windows 7?  I am compiling in multiple ways. Sometimes clicking Publish within Flash. Sometimes the file being published is not even open in Flash, and my JSFL script file is passed to Flash.exe containing embedded file paths to open the document. Usually, everything seems to work fine, no matter where I publish from, regardless of whether the FLA file is open or not. I'm honestly starting to believe that it depends on how the FLA was last opened in Flash Professional, as though it saves some sort of last access path internally and uses that to embed debug information.

    I don't think it's the source path in my case, because it's simply the dot ".", although I did check that because it would most likely influence the embedded paths.
    In the library path, I use relative paths exclusively, since all my individual project folders exist in the same "source" folder.
    Here's how I arrived at the conclusion that something more complex or "stateful" must be occuring:
    I publish my files with a one-click application, which does the following
    updates version timestamps (static constants) in specific files via regex match
    fills in a JSFL template with the FLA filename and writes the JSFL file to disk, then passes the JSFL file path to flash.exe for publication
    the JSFL then runs a command, which signals the main application via cross-process communication that the script has finished publishing
    That all makes it easy for me to update and publish multiple projects and deploy them, with a single click.  Here is the JSFL template I created, which has been drastically simplified since the days where it used to search to see if the file was open in Flash, select the document, and call publish.  Now it just uses the publishDocument method to silently publish files without opening them.
    var filepath = "FLAFILEPATH"; //template parameter: the URI (beginning with "file:///") of the FLA file to publish
    fl.publishDocument( filepath, "PUBLISHPROFILENAME" );
    FLfile.runCommandLine("COMPLETECOMMAND");
    The C# app replaces the strings in all caps with the actual values.  The COMPLETECOMMAND is actually populated with the application's own executable path, along with a "complete" switch, which lauches a 2nd instance, which handles the complete switch by broadcasting a signal over an interprocess channel and then terminates.  The main instance captures the signal, triggers a wait handle, and continues with publishing the next file.  Here is the core code for it:
    private string fillTemplate( string fla_directory, string fla_filename, string publish_profile_name )
        string fileuri = "file:///" + Path.Combine( fla_directory, fla_filename ).Replace( '\\','/' );
        return EmbeddedResources.OpenAndPublish //JSFL template file embedded as string resource
            .Replace( "FLAFILEPATH", HttpUtility.JavaScriptStringEncode( fileuri ) )
            .Replace("COMPLETECOMMAND", HttpUtility.JavaScriptStringEncode( "\"" + Application.ExecutablePath + "\"" + " -publishcomplete" )) //call self with -publishcomplete switch to signal main instance's publishCompleteSignal
            .Replace("PUBLISHPROFILENAME", HttpUtility.JavaScriptStringEncode( publish_profile_name ) );
    private static readonly string FLASH_PATH = @"C:\Program Files (x86)\Adobe\Adobe Flash CS6\Flash.exe";
    public void publish( string fla_directory, string fla_filename, string publish_profile_name )
        Program.publishCompleteSignal.Reset();
        string template = fillTemplate( fla_directory, fla_filename, publish_profile_name );
        string curdir = Environment.CurrentDirectory;
        string tempJSFLfilepath = Path.Combine( curdir, "temp_script.jsfl" );
        File.WriteAllText( tempJSFLfilepath, template );
        Process p = Process.Start( FLASH_PATH, tempJSFLfilepath );
        Program.publishCompleteSignal.WaitOne( 30000 ); //timeout after 30 seconds
    Here's where it gets interesting.  The FLAFILEPATH has ALWAYS been passed in as all lower case, yet this publication method has worked 99% of the time for hundreds of publish operations every day.  This applies to both the publication of the first SWC, which is referenced by the second published SWF (both were being published with lowercase paths), yet the paths for the main SWF were remaining in lowercase, while those in the referenced SWC were maintaining the correct case from the file system.
    So there may be any number of things going on here.  SWCs may be published differently than SWFs, such that SWCs always have the correct letter case for debug source files, regardless of how the source FLA project was opened.  Ensuring the path passed to publishDocument uses the right case definitely fixes the problem, but it doesn't explain why it usually worked, despite having always been passing a lowercase string.  The only variable I can think of in all of this is Windows itself or Flash, such as whether the document was open in Flash at the time the silent JSLF publishDocument command ran, and how that FLA was last opened (via shortcut, via "recent documents" in Flash, via recent documents in Windows.  It has to be something, even if it's something as obscure as how the folder path was last accessed in windows, although I strongly suspect it's just how (in terms of path case) the FLA was last opened in Flash.
    In any case, I'm happy that passing the right case to JSLF's publishDocument command fixes the problem, so I'm not going to spend any more time trying to figure out how opening the FLA in various ways could affect the embedded debug paths.  The only thing that should be done is to address how paths with the wrong case are handled when they do get embedded that way for whatever reason.  Perhaps the flex debugger should be updated to use case-insensitive matches in case-insensitive file systems, unless, perhaps, this is a FlashDevelop debugger issue after all.

  • ClassCastException: weblogic.xml.jaxp.WebLogicTransformerFactory

    I am running Weblogic 6.1 on a Solaris 7 machine.
    I have added the following runtime properties in my startWebLogic.sh to handle
    Weblogic 6.1
    transformation bugs.
    -Djavax.xml.parsers.DocumentBuilderFactory=weblogic.xml.jaxp.WebLogicDocumentBuilderFactory
    -Djavax.xml.transform.TransformerFactory=weblogic.xml.jaxp.WebLogicTransformerFactory
    -Djavax.xml.parsers.SAXParserFactory=weblogic.xml.jaxp.WebLogicSAXParserFactory
    After adding these parameters, my servlet (which is loaded on startup and creates
    a Transformer
    Template during its init function for future XSL transformations) was working
    fine.
    Now, however, I need to create an XML Registry in order to perform entity resolution.
    When I created an XML Registry and entered the above values in the Registry, my
    servlet now
    throws the following exception:
    java.lang.ClassCastException: weblogic.xml.jaxp.WebLogicTransformerFactory
    at weblogic.xml.jaxp.RegistrySAXTransformerFactory.<init>(RegistrySAXTransformerFactory.java:48)
    at java.lang.Class.newInstance0(Native Method)
    at java.lang.Class.newInstance(Class.java:237)
    at javax.xml.transform.TransformerFactory.newInstance(TransformerFactory.java:119)
    at com.nokia.imessage.AlertServlet.loadStylesheets(AlertServlet.java:549)
    at com.nokia.imessage.AlertServlet.init(AlertServlet.java:59)
    at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:698)
    at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:641)
    My XML Registry is the following:
    <XMLRegistry
    DocumentBuilderFactory="weblogic.xml.jaxp.WebLogicDocumentBuilderFactory"
    Name="MyXMLRegistry"
    SAXParserFactory="weblogic.xml.jaxp.WebLogicSAXParserFactory"
    TransformerFactory="weblogic.xml.jaxp.WebLogicTransformerFactory"
    WhenToCache="cache-on-reference">
    <XMLEntitySpecRegistryEntry EntityURI="dtds/pap_1.0.dtd"
    Name="XMLEntitySpecRegistryEntry-1000329224935"
    PublicId="-//WAPFORUM//DTD PAP 1.0//EN"
    SystemId="http://www.wapforum.org/DTD/pap_1.0.dtd" WhenToCache="cache-at-initialization"/>
    </XMLRegistry>
    Why do the runtime parameters work but the XML Registry (with the same information)
    don't?
    Am I doing something wrong or is there a solution/workaround for this problem?
    Thank you!
    Samantha

    Hello,
    I have the answer, thanks for BEAs customer support, there is a bug from WL
    6.1, and it should be fixed with sp2 (scheduled for the middle of December).
    So here is the answer from BEA:
    -----------------answer-from-Gareth Chapman--------------------
    When I tried the code you send I did not receive the ClassCastException but
    a ClassNotFoundException, I think the root problem could be the same though.
    There looks to be two parts of a bug that's stopping this code from working
    correctly:
    (CR 055082)
    To work around the ClassNotFoundException (hopefully in your case the
    ClassCastException) add this line of code before calling the
    XSLTProcessorFactory.getProcessor():
    System.setProperty("javax.xml.transform.TransformerFactory",
    "weblogic.apache.xalan.processor.TransformerFactoryImpl");
    Secondly I received the error:
    SystemId Unknown; Line 0; Column 0; SystemId Unknown; Line 0; Column 0;
    javax.xml.transform.TransformerException: SAX Exception
    Which looks to be part of the same bug, in order to fix this you will need
    to:
    Extract org/apache/xalan/res/XSLTInfo.properties from
    $WL_HOME/lib/weblogic.jar change the path to
    weblogic/apache/xalan/res/XSLTInfo.properties and then add it to
    $WL_HOME/lib/weblogic.jar
    Steps to do this:
    WL_HOME is the directory where weblogic is installed....e.g.
    e:\bea6.1\wlserver6.1
    1) Make a backup copy of %WL_HOME%\lib\weblogic.jar
    2) jar xvf %WL_HOME%\lib\weblogic.jar
    org/apache/xalan/res/XSLTInfo.properties
    3) move org weblogic
    4) jar uvf %WL_HOME%\lib\weblogic.jar weblogic
    -----------------answer-from-Gareth Chapman--------------------
    My case the path of XSLTInfo.properties was correct, so I did not have to
    make any chances from it.
    "Slava Imeshev" <[email protected]> wrote in message
    news:[email protected]...
    Hi Jouni,
    Could you post full text of the exception here?It is (was) the full Exception!
    Regards,
    Slava Imeshev
    "Jouni Koistinen" <[email protected]> wrote in message
    news:[email protected]...
    I have (allmost) same problem.
    I get exception from XSLTProcessor.process() when running code above:
    java.lang.ClassCastException:
    weblogic.xml.jaxp.RegistrySAXTransformerFactory
    My code works fine when I use WL 6.0 sp2, but WL 6.1 sp1 gives that
    exception. If I let XSLTInputSource:s empty, WL 6.0 sp2 gives another
    exception: weblogic.apache.xalan.xslt.XSLProcessorException: File "null"not
    found, but WL 6.1 sp1 gives still the same exception, so prosessor noteven
    try to found those files.
    If I put xalan.jar (version 2.0.1) to my CLASSPATH and then run class
    like
    Samantha, then it works fine, but without xalan.jar, even if I run itlike
    this, its not working:
    java -Djavax.xml.parsers.DocumentBuilderFactory=weblogic.xml.jaxp.WebLogicDo
    >>
    >
    cumentBuilderFactory -Djavax.xml.transform.TransformerFactory=weblogic.xml.j
    >>
    >
    axp.WebLogicTransformerFactory -Djavax.xml.parsers.SAXParserFactory=weblogic
    .xml.jaxp.WebLogicSAXParserFactory xalanTest
    We are going to update our servers to 6.1sp1 from 6.0sp2, but I need toget
    system working first, I have not tested this yet from servlet but I
    think
    its working just like from console.
    What can I do with this?
    xalanTest.java:
    import weblogic.apache.xalan.xslt.XSLTProcessorFactory;
    import weblogic.apache.xalan.xslt.XSLTInputSource;
    import weblogic.apache.xalan.xslt.XSLTResultTarget;
    import weblogic.apache.xalan.xslt.XSLTProcessor;
    public class xalanTest {
    public static void main(String[] args) {
    try {
    XSLTProcessor processor = XSLTProcessorFactory.getProcessor();
    XSLTInputSource inXML = new XSLTInputSource("atom.xml");
    XSLTInputSource inXSL = new XSLTInputSource("atom.xsl");
    XSLTResultTarget out = new XSLTResultTarget(System.out);
    System.out.println("Start parsing ...\n");
    processor.process(inXML,inXSL,out);
    System.out.println("\n... Parsing ok");
    }catch (Exception e){
    System.out.println(e);
    atom.xml:
    <?xml version="1.0"?>
    <?xml-stylesheet type="text/xml" href="17-2.xsl"?>
    <PERIODIC_TABLE>
    <ATOM STATE="GAS">
    <NAME>Hydrogen</NAME>
    <SYMBOL>H</SYMBOL>
    </ATOM>
    </PERIODIC_TABLE>
    atom.xsl:
    <?xml version="1.0"?>
    <xsl:stylesheet version="1.0"
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:template match="PERIODIC_TABLE">
    <html>
    <xsl:apply-templates/>
    </html>
    </xsl:template>
    <xsl:template match="ATOM">
    <P>
    <xsl:apply-templates/>
    </P>
    </xsl:template>
    </xsl:stylesheet>
    Thanks
    -Jouni Koistinen-

  • How can I backup data from a case-sensitive volume to a NON-case-sensitive volume?

    The case-sensitive volume in this instance being a desktop-mounted disk image volume.
    A tragi-comedy in too many acts and hours
    Dramatis Personae:
    Macintosh HD: 27" iMac 3.06GHz Intel Core 2 Duo (iMac10,1), 12 GB RAM, 1 TB SATA internal drive
    TB1: 1 TB USB external drive
    TB2: 2 TB USB to Serial-ATA bridge external drive
    Terabyte: a .dmg disk image and resulting desktop volume of the same name (sorry, I don't know the technical term for a .dmg that's been opened, de-compressed and mounted -- evanescently -- on the desktop)
    Drive Genius 3 v3.1 (3100.39.63)/64-bit
    Apple Disk Utility Version 11.5.2 (298.4)
    Sunday morning (05/08/11), disk utility Drive Genius 3's drive monitoring system, Drive Pulse, reported a single bad block on an external USB2.0 1TB drive, telling me all data would be lost and my head would explode if I didn't fix this immediately. So I figured I'd offload the roughly 300 GB of data from TB1 to TB2 (which was nearly empty), with the intention of reinitializing TB 1 to remap the bad block and then move all its data BACK from TB 2. When I opened TB1's window in the Finder and tried to do a straight "Select All" and drag all items from TB1 to TB2, I got this error message:
    "The volume has the wrong case sensitivity for a backup."
    The error message didn't tell me WHICH volume had "the wrong case sensitivity for a backup," and believe me, or believe me not, this was the first time I'd ever heard that there WAS such a thing as "case sensitivity" for a drive. I tried dragging and dropping some individual folders -- some of them quite large, in the 40GB range -- from TB1 to TB2 without any problem whatsoever, but the majority of the items were the usual few-hundred-MB stuff that seems to proliferate on drives like empty Dunkin' Donuts coffee cups on the floor of my car, and I didn't relish the idea of spending an afternoon dragging and dropping dribs and drabs of 300GB worth of stuff from one drive to another.
    Being essentially a simple-minded soul, I had what I thought was the bright idea that I could get around the problem by making a .dmg disk image file of the whole drive, stashing it on TB2, repairing and re-initializing TB1, and then decompressing the disk image I'd made of TB1, and doing the "drag and drop" of all the files in resulting desktop volume to TB1. So I made the .dmg of TB1, called "Terabyte," stashed that .dmg on TB2 (no error messages this time), re-initialized and then rebooted the iMac from my original Snow Leopard 10.6.1 disks and used Disk Utility to erase and initialize TB1 -- making sure that it was NOT initialized as case-sensitive, and installed a minimal system on TB1 from the same boot. Then I updated that 10.6.1 system to 10.6.7 with System Update, and checked to see that Disk Utility reported all THREE drives -- internal, 1TB, and 2TB -- as Mac OS Extended (Journaled), and no "case sensitive" BS. I also used Drive Genius 3's "information" function for more detailed info on all three drives. Except for the usual differing mount points, connection methods, and S.M.A.R.T. status (only the Macintosh HD internal, SATA 1TB drive supports S.M.A.R.T.), everything seemed to be oojah-***-spiff, all three drives showing the same Partition Map Types: GPT (GUID Partition Table.) Smooth sailing from here on out, I thought.
    Bzzzzt! Wrong!
    When I opened the Terabyte .dmg and its desktop volume mounted, I tried the old lazy man's "Select All" and drag all items from the desktop-mounted drive "Terabyte" to TB1, I got the error message:
    "The volume has the wrong case sensitivity for a backup."
    I then spent the next three hours on the phone with AppleCare (kids -- when you buy a Mac ANYTHING, cough up the money for AppleCare. Period.), finally reaching a very pleasant senior tech something-or-other in beautiful, rainy Portland, OR. Together we went through everything I had done, tried a few suggestions she offerred, and, at the end of three hours, BOTH of us were stumped. At least I didn't feel quite as abysmally stupid as I did at the beginning of the process, but that was all the joy I had gotten after two solid days of gnawing at this problem -- and I mean SOLID; I'm retired, and spend probably 12 hours a day, EVERY day, at the keyboard, working on various projects.
    The AppleCare senior tech lady and I parted with mutual expressions of esteem, and I sat here, slowly grinding my teeth.
    Then I tried something I don't know why I was so obtuse as to not have thought of before: I opened Apple's Disk Utility and checked the desktop-mounted volume Terabyte (Mount Point: /Volumes/Terabyte), the resulting volume from opening and uncompressing the .dmg "Terabyte".
    Disk Utility reported: "Format : Mac OS Extended (Case-sensitive)." Doh!
    Obviously, TB1, the 1 TB USB external drive I'd actually bought as part of a bundle from MacMall when I bought my 27" iMac, and which I had initialized the first day I had the iMac up and running (late November 2009), had somehow gotten initialized as a Case-sensitive drive. How, I don't know, but I suspect the jerk behind the keyboard. Whatever the case, when I created the Terabyte disk image (the drive's original name: when I erased and re-initialized it -- see above -- I renamed it "1TB" for quick identification), the original drive's "Case-sensitive" format was encoded too. So when I tried to drag and drop EVERYTHING from the desktop-mounted volume "Terabyte" to the newly initialized and "blessed" (now THERE's a term from the past!), the system recognized it as an attempt as a total volume backup, and hit me with "The volume [the desktop-mounted volume "Terabyte" -- BB] has the wrong case sensitivity for a backup." And, of course, the reinitialized TB1 was now correctly formatted as NOT "case-sensitive."
    Well, that solved the mystery (BTW, Disk Utility identified the unopened Terabyte.dmg as an "Apple UDIF read-only compressed {zlib}, which is why the .dmg file could be copied to ANY volume, case sensitive or not), but it didn't help me with my problem of having to manually move all that data from the desktop-mounted volume "Terabyte" to TB1. I tried to find a way to correct the problem at the .dmg AND opened-volume-from-.dmg level with every disk utility I had, to no avail.
    Sorry for the long exposition, but others may trip over this "case-sensitive" rock in the road, and I wanted to make the case as clear as possible.
    So my problem remains: other than coal shovel by coal shovel, is there any way to get all the data off this case-sensitive desktop-mounted volume "Terabyte" and onto TB1.
    Not that I know whether it would made any difference or not, one of the things that got me into this situation was my inability to get "Time Machine" properly configured so it wasn't making new back-ups every (no lie) 15 minutes.
    Philosophical bonus question: what's the need for this "case-sensitive," "NOT case-sensitive" option for disk initialization?
    As always, thanks for any help.
    Bart Brown

    "Am I to understand that you have a case-sensitive volume with data that you want to copy to a case-insensitive volume? And the Finder won't let you do it? If that's what the problem is, the reason should be obvious: on the source volume, you may have two files in the same folder whose names differ only in case. When copying that folder to the target volume, it's not clear what the Finder should do."
    Yes, I understand all that... NOW.
    What I had (have) is a USB external 1TB drive (henceforth known as "Terabyte") that I bought with my 27" iMac. I formatted, and put a minimal (to make it bootable) system on Terabyte the same day back in late November 2009 that I set up my 27" iMac. Somehow -- I don't know how -- Terabyte got initialized as "case-sensitive." I didn't even know at the time that there WAS such a thing as "case-sensitive" or "NOT case-sensitive" format.
    Sunday morning (05/08/11), Drive Pulse, a toolbar-resident utility (that's Part of Drive Genius 3) that monitors internal and external drives for physical, problems, volume consistency problems, and volume fragmentation, reported a single bad block on the volume Terabyte, advising me that it would be best if I re-formatted Terabyte ASAP. I thought I could open Terabyte in a Finder window, Select All, and drag everything on the drive to ANOTHER USB external drive of 2 TB capacity (henceforth known as TB2). When I tried to do that, I got an error message:
    "The volume has the wrong case sensitivity for a backup."
    First I'd heard of "case sensitivity" -- I'm not too bright, as you seem to have realized.
    Oddly enough (to me), I could move huge chunks of data, including a folder of 40GB, from Terabyte to TB2 with no problem.
    Then the scenario unfolded per my too-convoluted message: several hours of trying things on my own, including making a .dmg of Terabyte (henceforth to be known as Terabyte.dmg) -- which left me with the exact same problem as described in the previous 4 paragraphs; and my 3 hours on the phone with AppleCare, who at least explained this case-sensitive business, but, after some shot-in-the-dark brainstorming -- tough to do with only one brain, and THAT on the OTHER end of the line --  the very pleasant AppleCare rep and I ended up equally perplexed and clueless as to how to get around the fact that a .dmg of a case-sensitive volume, while not case-sensitive in its "image" form (Terabyte.dmg), and thus able be transferred to TB1 or TB2 with no problems whatsoever, when opened -- either by double-clicking or opening in Disk Utility -- produced a desktop-mounted volume (henceforth known as the volume "Terabyte," the original name of the case-sensitive volume from which TB1.dmg had been made) that had the same case-sensitivity as the original from which it was made.
    In the meantime, having gotten the data I needed to save off the physical USB "case-sensitive" volume Terabyte in the form of Terabyte.dmg, I erased and re-initialized the physical USB "case-sensitive" volume Terabyte, getting rif of the case sensitivity, and renaming it TB1. But it all left me back at square one, EXCEPT I had saved my data from the original "Terabyte" drive, and reformatted that drive to a NON- case-sensitive data now named TB1. The confusion here stems from the fact that problem case-sensitive drive, from which I made Terabyte.dmg, was originally named "Terabyte". When I re-initialized it as a NON case-sensitive drive, I renamed it TB1. I'm sorry about the confusing nomenclature, which I've tried to improve upon from my original message -- usual text-communication problem: the writer knows what he has in mind, but the reader can only go by what's written.
    So, anyway, I still have the same problem, the desktop-mounted volume "Terabyte" still cannot be transferred in one whole chunk to either my internal drive, TB1, TB2, as the Finder interprets it as a volume backup (which it is), and reads the desktop-mounted volume "Terabyte" as case-sensitive, as the original volume -- from which the disk image Terabyte.dmg was made -- had been at the time I made it. 
    "As long as that situation doesn't arise, you should be able to make the copy with a tool that's less fastidious than the Finder, such as cp or rsync."
    I'm afraid I have no idea what "cp or rsync" are. I'd be happy to be educated. That's why I came here.
    Bart Brown
    Message was edited by: Bartbrn
    Just trying to unmuddy the water a bit,,,

  • How do i reformat a case sensitive external hard drive without losing data

    I know there are a lot of posts about this, and i have spent hours trying to find a soloution / understand what people have responded to others, but i can't work this out.
    I also have a Buffalo HD (let's call it HD1) that stores my itunes library.
    I have a WD My Passport for Mac (let's call it HD2) that backs up my Mac Book Pro.
    I have an older WD that has older TM back ups on it from previous computers (let's call it HD3)
    I have one spare completely 'clean' WD hard drive (let's call it HD4).
    My laptop was really slow and full so i went to Genius bar, they sold me the Buffalo HD and they moved my itunes to it and set it up so it now has my itunes. I used this disk to run two TM Backups before i realised the drive was nearly full, so i bought the WD My Passport HD2.
    I now use WD My Passprt HD2 for TM.
    I want to MOVE the backups on HD1 to My Passport HD2 as there is lots of space on it. I also want to move my itunes library from HD2 as a back up.
    But i can't!!!
    After reading for hours, apparently this is because my HD1 is case sensitive, journaled. And it needs to be Journaled to work with TM/OSX or something very confusing. I have read lots of threads about re-formatting / partitioning and all things that are way over my head. But the one thing i do understand is if i reformat HD1, it erases the data.
    This is NOT an option as it holds my WHOLE itunes. The Itunes is WAY too big to drag onto my mac book pro and then move it over to HD2 and make that my itunes folder.
    HOW THE **** ARE YOU SUPPOSED TO BACK UP THE CASE SENSITIVE DRIVE BEFORE REFORMATTING IT IF IT'S TOO BIG TO FIT BACK ON YOUR COMPUTER? Surely that's the whole point of having an external drive... to back up AND give you more space?
    I'm so mad that the apple store did this to me... they should know that case sensitve wouldn't work with a passport... that i would have problems. UGh.
    I have options to move the files from HD1 as i have HD2 and HD3 and then also the completely unused HD4... but i can't move anything anywhere due to this case sensitive nightmare.
    Someone PLEASE HELP ME.
    thanks.

    Hi Kappy,
    Just wondering if you had any advice for my situation . . .
    My time machine backup was backing up to a drive that was "Mac OS X Enteded Journaled, Case Sensitive."  I had no idea what this meant, or that it would even cause issues.
    I took my computer to the Apple store yesterday, and they wiped it clean.  When they tried to restore it from the Time Machine backup drive, it would not work.  Their guess is that Time Machine cannot restore from a drive that is "case sensitive."
    Any thoughts on how I can convert my time machine backup data from a "case sensitive" state, to a "non-case sensitive" state?  I've tried to just drag and drop the files from the case sensitive formatted drive to a new drive that I have that is formatted non case sensitive, but I get the following error message:
    "The volume has the wrong case sensitivity for a backup"
    I just really want my data back - I thought TimeMachine was the way to go (and was supposed to work) but unfortunately it is not.
    Any help you can provide would be greatly appreciated.
    Thanks,

  • JAXB : case insensitive attributes

    I frequently receive an XML file which I do not have control over. ( It is generated outside of my organization)
    I derived a XML schema by analyzing the document structure and used the schema to generate a set of JAXB generated classes.
    Nevertheless, the file sometimes comes with some minor "mistakes" in the attributes names of some entities by having the wrong uppercase or lowercase. (Vgr. myAttributeName vs myAttributeNAme )
    Is there any way to tell JAXB to be case insenstive on the attribute names ?
    Unmarshalling the file fails at the attribute with the wrong case.
    Thanks.

    Unlikely. XML itself defines all element and attribute names to be case-sensitive, and likewise Java defines class and variable names to be case-sensitive. So it wouldn't make sense for JAXB to have a "case-insensitive" option.
    If you can't get the supplier to provide the correct information in the XML file (e.g. they are an important customer and you can't point out to them that they are a bunch of donkeys) then you could pre-process the XML file yourself to correct the errors.

  • Bug in Lightroom 3 - Folder Browsing Selecting Incorrect Text Case

    I seem to have stumbled upon a bug in Lightroom 3. I was at first wondering why, when I had Auto Import enabled, no images were appearing in the Lightroom Catalog, even though they were being copied to the _Inbox folder which I created on my QNAP NAS to contain them. However, after the import had finished, I would Sync the folder and there they were.
    This was very confusing until today, when I noticed a seemingly identical folder in the Folder dialog shown in the first image. This one *was* receiving the Auto-Imported files as well, except that this one was updating the Lightroom catalog correctly.
    What is the difference between them?  The second (working) Auto Import folder has the folder 'files' in lower case. This causes Lightroom to see them as different. Presumably this is for Unix support. This is logical. The QNAP NAS device is Linux based after all.
    However, when I tried to correct the folder path entry in the auto-import dialog, it displays the 'files' folder in the wrong case (lower) even though both the QNAP folder browser and Windows Explorer display it with initcaps as 'Files'.  See other images below demonstrating this.
    So I'm stuck. As the Lightroom Auto-Import folder browser displays the folder in the wrong case, Lightroom will always see this folder as two different folders, even though they're the same. I can't rename the folder in lower case, or I risk losing all the Lightroom edits I've carried out against thousands of images in the folder named as 'Files'.  Anyway, I *WANT* it named in upper case - this is an Adobe bug, not a QNAP or Windows bug.
    See that Windows sees the folder name with initial capital:
    See that the QNAP file browser sees the folder name with an initial capital:
    See that the QNAP share manager sees the shared folder in upper case:
    See that the Adobe Browser sees it in lower case for some inexplicable reason:

    Thanks for your post and sorry you're also experience this two-folders-in-LR but only-one-at-the-Finder-level problem.
    It looks like I've finally solved this problem, but I suspect I did so the hard way ... if I even understand where in the process things were fixed. As previously posted, when I tried to "move" one folder in LR into the other, LR got confused and deleted the entire contents of one of them! This was the existing one I had been using. Thousands of photos gone! I searched the hard drive and even used disk recovery software but, no, they had vanished. I luckily retrieved these photos from a backup drive, so that's good, but it makes one nervous to fiddle around with this particular problem.
    Anyway, BEFORE I imported the new photos from the back-up drive, I first deleted LR prefs and in the process stumbled upon old LR prefs from LR2 and LR3 Beta. Cleaned them all out -- including LR prefs -- and wondered if that had anything to do with the problem. Then rather than Import>Copy the photos, I worked at the Finder level and copied them into position in the <2010> folder, retaining the month and date folder structure. This is at the Finder level. Then in LR, I used Import>Add and the photos properly were added to the existing <2010> folder (the newer of the two that was still there after the disaster ... the new one that LR is intent on importing into). It all works now.
    Hope I've written that so you can follow along. Don't know if that will help you in your situation. If you have questions, please let me know.
    Good luck, but don't work without a backup, OK?
    Best,
    Bradley

Maybe you are looking for