Travel schema unzip problem

when i downloaded and unzipped the travel schema, the resulting dump files included "binary" or non-ascii characters. the download/unzip process was performed using numerous unzip utilities... please advise
So that we may better diagnose DOWNLOAD problems, please provide the following information.
- Server name
- Filename
- Date/Time
- Browser + Version
- O/S + Version
- Error Msg

Is this wise? You are quite right to be concerned. Granting ALL PRIVILEGES is a dodgy thing to do. In mitigation I might say that the TRAVEL schema is a sample piece of code and so should only be installed on a development database, where the damage can be limited.
But I think the real problem is that the sample code was developed by Java programmers who couldn't be bothered to work out exactly what privileges were needed. Shocking, yes, but hardly uncommon. And the poltroons have also included instructions on how to
To Download and install the travel schema into the SYSTEM tablespace:
No no no! No application objects go into the SYSTEM schema. What's the point of us non-Oracle people banging on about best practice if their own employees are allowed to post stuff like this on OTN? Sack these bozos!
What's the minimum amount of privileges that I can grant to travel? I have absolutely no idea. I think the safest thing is to build a new database instance, so that the potential for damage is limited. Alternatively, grant CONNECT and RESOURCE and see how far that goes. You may have to grant additional powers. I see they also grant JAVASYSPRIV and JAVAUSEPRIV. Horrible, simply horrible.
Cheerse, APC

Similar Messages

  • Non-System Travel Schema ends up in System, Why?

    I submitted a request for information on a BC4J version of the travel schema samples and was directed to http://otn.oracle.com/sample_code/tech/java/ejb_corba/files/hotel/hotelHome.htm
    I downloaded the Non-System version of the schema (http://otn.oracle.com/sample_code/tech/java/travel/travelschema.htm#user) from http://technet.oracle.com/sample_code/tech/java/travel/travel8i_user.zip.
    I use the Oracle Enterprise manager (v9.0.1.0.0) as my tool for doing all management functions in my 8.1.7.4 (and 9.0.1.3.0) SIDs.
    I created the user travel and submitted a job to import the dump file into this user.
    The parameters of the job are:
    FILE=/home/oracle/dumps/otntravel8i.dmp
    LOG=/home/oracle/dumps/Travel_In.log
    FROMUSER=TRAVEL
    TOUSER=TRAVEL
    GRANTS=y
    INDEXES=y
    ROWS=y
    CONSTRAINTS=y
    IGNORE=y
    DESTROY=y
    COMMIT=y
    RECALCULATE_STATISTICS=y
    I have tried this several times using different methods of creating the user TRAVEL, its default tablespace, etc. It appears that no matter how I create the user travel, the import creates all tables in the system tablespace.
    Am I doing something basically wrong? How do I force the system to use the proper tablespace?
    Why is there even an example dump that would use the system tablespace? Is that not one of the big no-nos of schema development?

    Hi,
    We have updated the travel8i_user.zip file on the travel schema page. The updated dump file can be used to import the data correctly into the user's default tablespace. Please let us know if you still face any problems with it.
    Regarding the system tablespace dump, we have provided for users to import the data quickly in a test database without needing to create other objects. The recommended way is definitely to use the non-system tablespace.
    Thanks & Regards,
    Srinivas When was travel8i_user.zip updated? I just now went an redownloaded (http://technet.oracle.com/sample_code/tech/java/travel/travel8i_user.zip).
    I ended up with the same file i had before -- otntravel8i.dmp dated Wednesday, September 27, 2000, 3:45:44 PM

  • Travel Schema is Not Appearing in ABAP WebDynp Travel Expense Form

    Hi Experts,
    We are using FIN_TRAVEL_1 business function for travel management in EHP2.
    We are implementing ESS/MSS services for Travel management and corresponding workflows are working perfect.
    Problem is:
    Travel Req. and its Approval are working perfect but when we create Travel Expenses for the corresponding Approved
    Req. - Travel Schema is Not Appearing in the ABAP webdynpro screen in ESS.
    We have already activated integration of Travel Requets with Expenses in the customizing and changed the corresponding
    settings in the schema also.
    ABAP WebDyn in ESS is working perfect if we direct create a Stand alone Travel Expense Report. We are using only Travel Req.
    and Expenses with Miles/KM cumulation. We are Not going for Travel Planning.
    Pls. let me know - If any Settings are missings in "Expert View" of Travel Control or any Customizing setting is missing.
    Do we have to apply some note or any BADI is there ??
    Very Thanks in Advance...
    Kind Regards,
    Edwin

    Hi there
    You need to make sure that you have a trip schema that does not allow overlapping when creating expense report from approved travel request, also check the bindings for your trip schema.
    I think I may have addressed this in  an OSS to you earlier but also check you are using correct resource for WDABAP as delivered with 1076144 
    I think is why it previously worked in your java landscape if you had the trip schemas with bindings defined in the homepage framework

  • Travel Schema

    I am trying to install the Travel Schema from the "Rooms Information example" But I get the error:
    IMP-00016: required character set conversion (type 1 to 871) not supported.
    How can i fix this error?
    And what is the characterset of the Travel Schema?

    Is this wise? You are quite right to be concerned. Granting ALL PRIVILEGES is a dodgy thing to do. In mitigation I might say that the TRAVEL schema is a sample piece of code and so should only be installed on a development database, where the damage can be limited.
    But I think the real problem is that the sample code was developed by Java programmers who couldn't be bothered to work out exactly what privileges were needed. Shocking, yes, but hardly uncommon. And the poltroons have also included instructions on how to
    To Download and install the travel schema into the SYSTEM tablespace:
    No no no! No application objects go into the SYSTEM schema. What's the point of us non-Oracle people banging on about best practice if their own employees are allowed to post stuff like this on OTN? Sack these bozos!
    What's the minimum amount of privileges that I can grant to travel? I have absolutely no idea. I think the safest thing is to build a new database instance, so that the potential for damage is limited. Alternatively, grant CONNECT and RESOURCE and see how far that goes. You may have to grant additional powers. I see they also grant JAVASYSPRIV and JAVAUSEPRIV. Horrible, simply horrible.
    Cheerse, APC

  • Travel Schema:grant all privileges

    I have a request to add the travel schema to one of our 9202 databases. Fairly straight forward. I got the *.dmp file from your site:
    http://www.oracle.com/technology/sample_code/tech/java/travel/travelschema.htm#system
    I created the user travel and used the system tablespace as the default. As for privileges, I noticed that I should "grant all privileges" to travel. Is this wise? What's the minimum amount of privileges that I can grant to travel?

    Is this wise? You are quite right to be concerned. Granting ALL PRIVILEGES is a dodgy thing to do. In mitigation I might say that the TRAVEL schema is a sample piece of code and so should only be installed on a development database, where the damage can be limited.
    But I think the real problem is that the sample code was developed by Java programmers who couldn't be bothered to work out exactly what privileges were needed. Shocking, yes, but hardly uncommon. And the poltroons have also included instructions on how to
    To Download and install the travel schema into the SYSTEM tablespace:
    No no no! No application objects go into the SYSTEM schema. What's the point of us non-Oracle people banging on about best practice if their own employees are allowed to post stuff like this on OTN? Sack these bozos!
    What's the minimum amount of privileges that I can grant to travel? I have absolutely no idea. I think the safest thing is to build a new database instance, so that the potential for damage is limited. Alternatively, grant CONNECT and RESOURCE and see how far that goes. You may have to grant additional powers. I see they also grant JAVASYSPRIV and JAVAUSEPRIV. Horrible, simply horrible.
    Cheerse, APC

  • Sample Travel Schema Diagram

    Hi,
    I downloaded the travel schema from this link:
    http://www.oracle.com/technology/sample_code/tech/java/travel/travelschema.htm
    I was wondering, is there some place where I can get the schematic diagram: listing dependencies between tables, constraints for this travel schema?
    Or is there a product that comes with the Database install where I can get the complete picture?
    thanks

    Is this wise? You are quite right to be concerned. Granting ALL PRIVILEGES is a dodgy thing to do. In mitigation I might say that the TRAVEL schema is a sample piece of code and so should only be installed on a development database, where the damage can be limited.
    But I think the real problem is that the sample code was developed by Java programmers who couldn't be bothered to work out exactly what privileges were needed. Shocking, yes, but hardly uncommon. And the poltroons have also included instructions on how to
    To Download and install the travel schema into the SYSTEM tablespace:
    No no no! No application objects go into the SYSTEM schema. What's the point of us non-Oracle people banging on about best practice if their own employees are allowed to post stuff like this on OTN? Sack these bozos!
    What's the minimum amount of privileges that I can grant to travel? I have absolutely no idea. I think the safest thing is to build a new database instance, so that the potential for damage is limited. Alternatively, grant CONNECT and RESOURCE and see how far that goes. You may have to grant additional powers. I see they also grant JAVASYSPRIV and JAVAUSEPRIV. Horrible, simply horrible.
    Cheerse, APC

  • Xml schema validation problem

    Hi All
    How to tackle this xml schema validation problem
    i am using the sample code provided by ORacle technet for xml
    schema validation in the Oracle database(817).
    The sample code works perfectly fine.
    Sample as provided by http://otn.oracle.com/tech/xml/xdk_sample/archive/xdksample_093001.zip.
    It works fine for normal xml files validated against
    xml schema (xsd)
    but in this case my validation is failing . Can you let me know why
    I have this main schema
    Comany.xsd
    ===========
    <?xml version="1.0"?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    targetNamespace="http://www.company.org"
    xmlns="http://www.company.org"
    elementFormDefault="qualified">
    <xsd:include schemaLocation="Person.xsd"/>
    <xsd:include schemaLocation="Product.xsd"/>
    <xsd:element name="Company">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="Person" type="PersonType" maxOccurs="unbounded"/>
    <xsd:element name="Product" type="ProductType" maxOccurs="unbounded"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:schema>
    ================
    which includes the following 2 schemas
    Product.xsd
    ============
    <?xml version="1.0"?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    elementFormDefault="qualified">
    <xsd:complexType name="ProductType">
    <xsd:sequence>
    <xsd:element name="Type" type="xsd:string"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:schema>
    ==============
    Person.xsd
    ===========
    <?xml version="1.0"?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    elementFormDefault="qualified">
    <xsd:complexType name="PersonType">
    <xsd:sequence>
    <xsd:element name="Name" type="xsd:string"/>
    <xsd:element name="SSN" type="xsd:string"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:schema>
    =================
    now when i try to validate a xml file against Company.xsd
    it throws an error saying unable to find Person.xsd.
    no protocol error
    Now where do i place these 2 schemas(.xsd files) Person & product
    so that the java schemavalidation program running inside Oracle
    database can locate these files
    Rgrds
    Sushant

    Hi Jinyu
    This is the java code loaded in the database using loadjava called by a wrapper oracle stored procedure
    import oracle.xml.parser.schema.*;
    import oracle.xml.parser.v2.*;
    import java.net.*;
    import java.io.*;
    import org.w3c.dom.*;
    import java.util.*;
    import oracle.sql.CHAR;
    import java.sql.SQLException;
    public class SchemaUtil
    public static String validation(CHAR xml, CHAR xsd)
    throws Exception
    //Build Schema Object
    XSDBuilder builder = new XSDBuilder();
    byte [] docbytes = xsd.getBytes();
    ByteArrayInputStream in = new ByteArrayInputStream(docbytes);
    XMLSchema schemadoc = (XMLSchema)builder.build(in,null);
    //Parse the input XML document with Schema Validation
    docbytes = xml.getBytes();
    in = new ByteArrayInputStream(docbytes);
    DOMParser dp = new DOMParser();
    // Set Schema Object for Validation
    dp.setXMLSchema(schemadoc);
    dp.setValidationMode(XMLParser.SCHEMA_VALIDATION);
    dp.setPreserveWhitespace (true);
    StringWriter sw = new StringWriter();
    dp.setErrorStream (new PrintWriter(sw));
    try
    dp.parse (in);
    sw.write("The input XML parsed without errors.\n");
    catch (XMLParseException pe)
    sw.write("Parser Exception: " + pe.getMessage());
    catch (Exception e)
    sw.write("NonParserException: " + e.getMessage());
    return sw.toString();
    This is the code i used initially for validating a xml file against single xml schema (.xsd) file
    In the above code could u tell how to specify the second schema validation code for the incoming xml.
    say i create another Schemadoc for the 2nd xml schema.
    something like this with another parameter(CHAR xsd1) passing to the method
    byte [] docbytes1 = xsd1.getBytes();
    ByteArrayInputStream in1 = new ByteArrayInputStream(docbytes1);
    XMLSchema schemadoc1 = (XMLSchema)builder.build(in1,null);
    DOMParser dp = new DOMParser();
    How to set for the 2nd xml schema validation in the above code or can i combine 2 xml schemas.
    How to go about it
    Rgrds
    Sushant

  • Any updates to the Travel Schema examples?

    Are there any examples that use the schema Travel, but use a business components interface instead of in-line coded SQL statements.

    None of the JDeveloper samples uses the travel schema - they're mostly built on the Oracle sample schemas.
    Thanks
    Blaise I had also posted on the Sample Code Forum "Is Java Stored Trigger a misnomer?" in reference to Java Stored Procedure Samples. see Re: How to create one to one relation in database diagram
    They responded with these samples which may help others.
    You will find a sample that uses business components and travel schema at http://otn.oracle.com/sample_code/tech/java/ejb_corba/files/hotel/hotelHome.htm. The BC4J EJB sample could be of interest to you.
    Also a white page on Oracle BC4J is available at http://otn.oracle.com/products/jdev/info/techwp20/wp.html
    Hope this helps.
    See also
    http://otn.oracle.com/sample_code/tech/java/ejb_corba/files/hotel/BC4JHotelSample/Readme.html
    There are so many aspects of Java, BC4J, JVM and JDeveloper (actually the entire 9iDS suite) that I guess that it's hard to put together a comprehensive example that would suit everyone. I would have like to see something like the travel schema shown from using Designer (with SCM) to Forms, Reports and JDeveloper. The somewhat fragmented examples that are available really don't do justice to the development suite.

  • New Travel Schema

    Hi Gurus,
    I have a question regarding travel schema. Our issue is that, we need to create new travel schema where not all expense types should be assigned. At the same time, remove some expense types to already created travel schema.
    How to configure the system to remove and select particular expense types that should be in the schema.
    Thanks.

    Hi
    Please check the below mentioned path
    http://help.sap.com/erp2005_ehp_04/helpdata/en/2c/efb007c22c11d194cb00a0c92946ae/content.htm
    You can add missing Travel Management  configuration path by using the below mentioned links :-
    http://sap.ittoolbox.com/groups/technical-functional/sap-hr/how-to-add-travel-management-node-in-ecc-60-2162708
    http://sap.ittoolbox.com/groups/technical-functional/sap-acct/travel-management-missing-menus-2334641
    Regards
    Praveen PC
    Edited by: Praveen Chirakkel on May 6, 2011 11:24 AM

  • Show travel schema

    Hi
    We have created two travel schemas. we can see them in Create Expenses Report portal application. But in My trips and expenses, under My travel request tab there is the column corresponding expense report. Here we have create expense report link. When we click the schemas don´t appear!!
    are they the same schema? or we must to configure other trip schemas
    Thanks in advance

    Hi,
    Check the SPRO Settings.
    Personnel Management - > Employee Self-Service -> Service-Specific Settings -> Travel Management -> Interface Configuration for Web Dynpro Interface in Travel Management -> Schema and Single Field Control for Web Dynpro
    In the Trip schema : 01 Domestic Trip check the details.
    Trip Schema          01 Domestic Trip
    ... Valid Until:        31.12.9999
    Tick up on Multiday trip  , overlapping
    etc

  • Schema validation problem

    I am validating an XML document using an XML Schema.
    I tested my valadation program out on my computer (Window 2000) and everything seem to be going well.
    When i deploy my application (stand-alone) onto another desktop (through Terminal Service...I receive the following error message:
    SAXException: cvc-elt.1: Cannot find the declaration of element 'Book'.
    I also display the xml string to see what's wrong with th exml string....but couldn't find anything.:
    <Book><Title>Hello World</Title><AUTHOR>Anom.</AUTHOR></Book>
    The error states that the xml document does not start with (or does not contains th e) Book element..which it does. I'm confused at what could have cause this error message. Since this error cannot be reproduce at my computer.

    fixed the problem. i should have listen to you in the first place.
    the schema file was not found on the other machine..there was some relative path issues (where the application was started [working directory]). apparently..the application started in a different directory..so th epath relative to the current directory is different than the where i start the app on my computer.

  • Restricted view access to other schemas 'showstopper' problem

    I'm tasked with the potential roll-out of SQL Developer across a large number of users (doing away with equivalent software in the process).
    The feedback has been very positive. However, the only real issue stopping the replacement from progressing is that we cannot view certain objects in other schemas (package bodies, triggers etc) ... i.e. we need to connect as the schema owner to view these. This is essential, otherwise everyone would need to know the application schemas password.
    Our current software has the same issue unless the following option in the Options/Startup window is activated: 'Check for access to DBA views. Otherwise, SYS.ALL_xx views will be used when listing objects'. Thereafter the issue is resolved.
    Is there any workaround (e.g. like the above) in SQL Developer?
    Many Thanks.

    Sue, thanks for your reply although I already have access to Package code via tools like SQL*Plus.
    I guess the problem being discussed here is similar to the following thread (for which you have already logged a bug). See:
    How do I view package bodies in another schema ?
    Re: How do I view package bodies in another schema ?
    On a similar issue, I note that there is a possibility that a fix will indeed be implemented in release 1.1. See:
    Package body not visible
    Re: Package body not visible
    Please advise what the current status is relating to a fix?
    Many thanks for any clarification.

  • Toplink JPA schema generation problem in Glassfish

    I have problem getting Toplink to generate a proper mysql schema when run in Glassfish and using a mysql connection pool + jdbc datasource versus standalone toplink essentials and hardcoded jdbc url + user + password in the persistence.xml.
    It looks like it doesn't generate Mysql specific schemas but is reverting to some sort of general SQL schema. Toplink does recognize the database as a mysql database according to the log (by printing out platform=>MySQL4Platform).
    in an @Entity i have a field of type String[], in the standalone version it is mapped to a BLOB, probably using serialization or something. However if I use the exact same @Entity class in glassfish, it is mapped to a VARCHAR(255).
    I have a similar problem using a @Lob String, in the standalone version it is mapped to MEDIUMTEXT, but in the glassfish version it is mapped to TEXT
    In the log during deploy the database is recognized as a MySQL4Platform
    JDBC Driver version: mysql-connector-java-5.0.5
    Mysql version: MySQL Version: 5.0.37-log
    Glassfish is the bundled glassfish from Netbeans 5.5.1
    Has anybody seen this before?

    Seems like your database platform is incorrect. Are you setting the platform in your persistence.xml? I'm not sure how you were getting MEDIUMTEXT, none of the TopLink platforms use this type, did you create your own database platform class?

  • Hopeful for soution to large travel theme book problems

    If you search back through my old posts, you will see that I have been trying to print a 90 page travel themed book unsuccessfully for the last 6 months. Ultimately, the text would disappear in the latter pages of my books. Apple, of course, was useless in helping me solve this problem. I finally gave up when I got the following message "your order was cancelled for unknown reasons...please fix the problems and resubmit. So, on recommendation of many of you, I turned to sharedink.com to try to get my book printed. So far they have been easy to deal with and they actually answer the phone.
    Here's the cool thing. Even with someone else willing to print my book, my pdf file was still missing text in the latter pages. So, I thought I would edit my pdf file and add the text back in. At this point, my book appears correctly on sharedink's site and it should print as shown. I'll let you know when I get my book next week.

    Somewhat of a workaround. One user, Steve Porritt, found that he got more good pages by reducing the dpi from the 300 change that he had made. He eventually got all of the pages to show. Here is his post: http://discussions.apple.com/message.jspa?messageID=1250583#1250583.
    Good luck.

  • Zip/unzip problem

    I have a problem unzipping Objects that i've zipped earlier.
    The situation is as follows:
    a RMI server zips a tree of Objects. The client side of the program tries to unzip the data and form it back to the Object (a DefaultMutableTreeNode) that is should be. However...
    The zip part goes without any problems. The unzipping however gives me a StreamCorruptedException.
    I have an object called ZipObject and it contains the size (int) of the zipped data and the size (int) of the uncompressed data. It also holds the data itself.
    my zip/unzip methods are as can be seen at:
    http://www.next-element.nl/~orchid/zip.html
    if anyone can help me...i'd be very grateful.
    thanx in advance.

    Oh yes i checked the ingoing and outgoing size of bytes...
    they are perfectly the same.
    The problem lies more in the in.readObject() method.
    when i dump the bytes that i receive to a File (which i do not want to do in the application) i can actually unzip it with unzip from my Linux system! But in my app. i don't write the objects to file...i just need the object back. but the data comes in clean.

Maybe you are looking for

  • Trying to decide between G5 and waiting for MacIntel

    Are the G5's not going to be available when the MacIntel desktops come out? I use all Adobe products. I am not willing to run an emulator and I understand CS3 is at least a year away. Dont know what to do. If anyone could offer any thoughts I would b

  • Default the SAPscript name as custom script name in ME6F selction screen

    In the standard transaction ME6F , I have developed a custom SAPscript , z_meldruk. Now , the requirement is that while running the ME6F transaction instead of standard script MELDURK , the custom script Z_MELDRUK should come as default value in the

  • Does updating the N95 software erase installed cus...

    I need to install the new N95 system software. I am concerned that by so doing the process will remove some application software that I have already installed (such as for email). Will this happen? If I backup the phone's memory onto the external mem

  • My iPhone is disabled, could I bring it to apple to fix it?

    My iPhone is disabled and I am unable to open it. I tried to do recovery mode but my old laptop is broken and I cannot get into the iTunes that I backed up my phone with. I tried to do the find my iPhone to erase the phone but I turned off my iPhone

  • Sync Second iPhone

    The phone aspect of my iPhone G3 stopped working well. It was easier and cheeper to get a new iPhone. Everything else works well on the old iPhone and I'd like to use the as an iPod. I can't get it to sync with my iTunes. What comes up is,"Can not be