Without absolute path, SAXParser1.4   does not find schemLocation!!!!!

Hello
I am validating soap messages according to xsd files with the SAXParser, Java 1.4.
My xsds include references to other xsd files as following sample shows:
<xs:include schemaLocation="C:/temp/shiphome.xsd"/>      
The problem is, how to say the parser where the including files are without working with absolute path to the including xsds!!!?
The code finds the file as follow:
factory.setAttribute("http://java.sun.com/xml/jaxp/properties/schemaSource", new File(schemaSource));
Help!!
Thanks

Hi,
well solution seems to be the following (from tomcat-users@...):
j2ee.jar conflicts with some libraries from the tomcat-engine itsself.
So my j2ee.jar 1.4 beta is ignored by the tomcat engine.
I cannot place it in the general lib path, because i do not administrate the box myself.
Solution for me is now to use the separate mail API (http://java.sun.com/products/javamail/) and javabeans (http://java.sun.com/products/javabeans/glasgow/).
Hope that others find this helpfull, too.
Do i get a refund for my J2EE book in my bookshelf, that i cannot use ?
grml

Similar Messages

  • Please help!  Safari does not start due to a plugin failure. How can I remove librooksbas.dylib. Without being able to open safari. Finder does not find the file.

    Please help.
    iSafari does not start up due to an error caused by plug in librooksbas.dylib.
    How can I remove this plugin without opening safari. Finder does not find the file, nor any other plugin.
    Eric

    For future reference, Safari Plugins are kept in Macintosh HD> Library> Internet Plugins.
    To unhide the Library folder, open up Terminal (just type"Terminal" into spotlight) and type:
    chflags nohidden ~/Library

  • Apple TV does not find Itunes library (since Yosemite). Itunes finds apple tv without a problem.

    Since Yosemite, my apple tv 3 (latest software) does not find my itunes library anymore (imac 27" late 2013). Vice versa, via Itunes (latest version) I can perfectly stream music and videos to my apple TV. So there is communication between the two devices, but for some reason Apple TV does not find my itunes library. Sometimes rebooting all my devices works.
    any solutions for this problem?

    I solved this problem in this way:
    go to Preferences -- Sharing
    change the name of your mac (delete ALL the existing name and choose another one)
    close Preferences
    restart Mac
    open itunes
    now check if everything works on apple tv.

  • Premiere Elements 9 does not find photos

    I cannot open old projects because PE9 does not find the photos and if I start with a new project PE9 cannot upload not any type of files.

    And where are these photos located?
    This is very, very important. Assuming that you are talking about Premiere Elements, the PREL (Project file) does NOT contain any media - none of any kind. It only contains links to where those media files were located, when they were Imported into the Project. Those links are absolute Paths, so that if anything changes, such as drive letter/Volume, file name, folder name, etc., the link is broken, and PrE cannot locate the file any longer.
    Again, and assuming Premiere Elements, this article goes into more detail on the structure of the PREL (Project file): http://forums.adobe.com/message/3392837#3392837
    This article goes into details on locating unlinked media files: http://forums.adobe.com/message/4598705#4598705
    Good luck,
    Hunt

  • Software does not find the Database server

    Hi all,
    We are going to move database from old server MSSQL 2005 Express to the MSSQL 2008 R2 STD. For test I backuped DB from old server then restored at the new one. For some reason the software does not find the new server.
    I checked everything as from the link described:
    http://blogs.msdn.com/b/walzenbach/archive/2010/04/14/how-to-enable-remote-connections-in-sql-server-2008.aspx?Redirected=true
    Also at the new server we have another production DB that is running without any issues...
    System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected
    host has failed to respond 195.30.95.163:80
       at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
       at System.Net.Sockets.Socket.InternalConnect(EndPoint remoteEP)
       at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Int32 timeout, Exception& exception)
       --- End of inner exception stack trace ---
       at System.Net.HttpWebRequest.GetRequestStream(TransportContext& context)
       at System.Net.HttpWebRequest.GetRequestStream()
       at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
       at OptoWare.OrderEntry.OrderInterfaces.WebReferenceOWEdix.OWEdixService.OWEdix_GetStatus(String custID, String password, String countryCode)
       at OptoWare.OrderEntry.OrderInterfaces.EdixInterface.b(Object A_0, DoWorkEventArgs A_1)
    2014-03-31 16:54:58,924 [1] ERROR OptoWare.OrderEntry.Controls.Config.ServiceControl - Connetction to FI1-sv-prod014\mssqlserver failed.
    System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured
    to allow remote connections. (provider: SQL Network Interfaces, error: 25 - Connection string is not valid)
       at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
       at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
       at System.Data.SqlClient.TdsParser.Connect(ServerInfo serverInfo, SqlInternalConnectionTds connHandler, Boolean ignoreSniOpenTimeout, Int64 timerExpire, Boolean encrypt, Boolean trustServerCert, Boolean integratedSecurity, SqlConnection owningObject)
       at System.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, Boolean ignoreSniOpenTimeout, Int64 timerExpire, SqlConnection owningObject)
       at System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(String host, String newPassword, Boolean redirectedUserInstance, SqlConnection owningObject, SqlConnectionString connectionOptions, Int64 timerStart)
       at System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(SqlConnection owningObject, SqlConnectionString connectionOptions, String newPassword, Boolean redirectedUserInstance)
       at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, Object providerInfo, String newPassword, SqlConnection owningObject, Boolean redirectedUserInstance)
       at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection)
       at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnection owningConnection, DbConnectionPool pool, DbConnectionOptions options)
       at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject)
       at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject)
       at System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject)
       at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)
       at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
       at System.Data.SqlClient.SqlConnection.Open()
       at OptoWare.OrderEntry.Controls.Config.ServiceControl.i()

    It looks like the connection is getting refused because of your application configuration.
    Refer similar thread 
    http://forums.asp.net/t/1180127.aspx?A+connection+attempt+failed+because+the+connected+party+did+not+properly+respond+after+a+period+of+time+or+established+connection+failed+because+connected+host+has+failed+to+respond+
    -Prashanth

  • EHP Installer does not find BI Java system on 2 System server

    Hi folks,
    I have a 2-node MSCS cluster with a standalone BI 7.0 ABAP system, as well as a standalone BI 7.0 Java system. To be clear, these are seperate systems, with seperate SID's, installed MCOD in one Oracle instance (A neccessity for J2EE Authentication purposes)
    I have run the EHP installer against my ABAP system, and completed (Not without significant effort/time) the EHP1_SP3 installation there. Now, I have cleaned out the EHPI directory and want to run the installer again, but it once more comes across ONLY the ABAP instance, it does not find the Java instance.
    I am starting it as indicated, with the:
    startup.bat "jce_policy=H:\EHPI\..." and I've tried starting the GUI manually and through the JNLP web start, and both give the same result.
    How do I get the installer to recognize the second system on this box?
    Any help is appreciated.
    Best regards,
    Troy Shane

    Resolved...was not logged in as SIDADM.

  • Function Module where-used list does not find update rule programs

    We have function modules called in update rules. The where-used list in the function builder does not find the update rule programs.
    For example, function DATE_GET_WEEK is called in an update rule to InfoCube YCUBE001. The activated program name for this update rule is GP3PWI6PKM5Y3K75A370DIS8I77. When I goto SE37, enter the function DATE_GET_WEEK, click the where-used button, check the programs option and search. The system does not find the program GP3PWI6PKM5Y3K75A370DIS8I77.
    Without this search capability it is difficult to do an impact analysis of changing function modules. Does anyone know of a solution?

    hi,
    i think the reason is the code of update rules' generated program are stored line by line in table(rsaabap), update rules program itself stored in table rsupdrout, link with field codeid, another useful table is rsupdinfo which store infocube, infosource related.  other info may stored in some other rs* and rsa* tables.
    try to create following program in your system, and run, type in the function module name, and will display out the update rules program id, with additional useful info : which infoprovider, infosource, and detail info of the routine and infoobject in the update rule that using that function module. you may modify the program to have better display out list.
    hope this helps.
    REPORT  Z_FM_UPDRUL_WHEREUSED.
    data : lv_sfm,
           lv_line type string,
           lv_where type string.
    tables : rsaabap,RSUPDROUT,rsupdinfo.
    select-options:
    s_fm for rsaabap-LINE.
    start-of-selection.
      loop at s_fm.
        concatenate s_fm-low ' ' into lv_sfm.
        concatenate '%' s_fm-low into lv_line.
        concatenate lv_line '%' into lv_line.
        write : / 'function module', 'update rule id', 'routine id', 'infoobject', 'infocube', 'infosource'.
        select * from rsaabap
        where line like lv_line and objvers = 'A'.
           select * from rsupdrout
           where codeid = rsaabap-codeid and objvers = 'A'.
             select single * from rsupdinfo
             where updid = rsupdrout-updid and objvers = 'A'.
               write: / lv_sfm, rsupdrout-updid, rsaabap-codeid,
                        rsupdrout-iciobjnm, rsupdinfo-infocube,
                        rsupdinfo-isource.
        endselect.
        endselect.
      endloop.

  • How access an element using getElementById() without absolute path?

    hello,
    Currently I'm working on a JSF woodstock project.
    I'm trying to acceess the different components used the JSF page inside a javascript by using document.getElementById()
    this is a part of code in my JSF file. please have a look on it.
    <webuijsf:form id="form1">
                            <webuijsf:panelGroup id="pnlGrpBankListMainContainer" style="left:2px; top:89px; margin-left:1.5%; margin-top:1%; width:50%; position:absolute;">
                                <webuijsf:table augmentTitle="true" title="#{BankList.screenName}" id="table1" paginateButton="true"
                                    paginationControls="true" clearSortButton="true" extraActionTopHtml="style='height:35px'">
                                    <f:facet name="actionsTop" >
                                        <webuijsf:panelGroup id="grpPnlButtons">
                                            <webuijsf:checkbox binding="#{BankList.chkBoxSelectAllItems}" id="chkBoxSelectAllItems" name="chkBoxSelectAllItems" rendered="#{BankList.renderChkBoxAndImgSeparator}"
                                                selectedValue="selectAllItems" onClick="selectAllTableRows(this,'chkBoxBankListSelectedRowId',5);"/>
                                            <webuijsf:image id="imgSeparator" url="/resources/images/select_image_separator.gif" rendered="#{BankList.renderChkBoxAndImgSeparator}" />
                                            <webuijsf:button id="btnAdd" rendered="#{BankList.renderAddButton}"  text="Add" styleClass="btnStyle" immediate="true"
                                                onClick="return openAdd('#{BankList.requestContextPath}/faces/BankEntry.jsp', 500, 755,'Add  #{BankList.screenIdentifier}', '&action=ADD');"/>
                                            <webuijsf:button id="btnEdit"  rendered="#{BankList.renderEditButton}"  text="Edit" styleClass="btnStyle" disabled="#{BankList.disableEditButton}"
                                                onClick = "return openEdit('#{BankList.requestContextPath}/faces/BankEntry.jsp', 'chkBoxBankListSelectedRowId', 500, 755,'Edit  #{BankList.screenIdentifier}', '&action=EDIT');"/>
                                            <webuijsf:button id="btnDelete"  text="Delete" onClick="return confirmRecordsDelete();"  rendered="#{BankList.renderDeleteButton}"  styleClass="btnStyle" disabled="#{BankList.disableDeleteButton}"/>
                                            <webuijsf:button id="btnExportXls" disabled="#{BankList.disableExcelButton}" rendered="#{BankList.renderXlsButton}"
                                                styleClass="btnStyle #{BankList.excelButtonStyleClass}" style="position:relative; margin-left: 10px"
                                                text="x" onMouseOver="setMouseOverStyle(this);" onMouseOut="setMouseOutStyle(this);"
                                                onClick="return openXlsExport('#{BankList.requestContextPath}/faces/Export.jsp', 'chkBoxBankListSelectedRowId', 'Export  #{BankList.screenName}', '&screenIdentifier=#{BankList.screenIdentifier}');">
                                            </webuijsf:button>
                                        </webuijsf:panelGroup>
                                    </f:facet>when i access button element using absolute path like
    document.getElementById("form1:pnlGrpBankListMainContainer:table1:grpPnlButtons:btnEdit") it works fine.
    But when i try to access it using
    document.getElementById("form1:table1:btnEdit") it returns null.
    I've common javascrpt functions for all the screens.
    so i do not want to change the current javascript functionality nor do i want want to specify complete path for an element.
    So is there any way so that i can access the elements without absolute path or any othet solution?
    Edited by: sonali_amonkar on Apr 1, 2008 11:17 PM

    thanks for your reply mjswallow.
    Do you mean that I'll write a new javascript which will accept all the parent elements and inside this method I'lll call the common javascript methods that are present in our project?
    but this solution would result in changing the already existing javascript methods that i coded for all screens. right?
    that is i do not want to change.
    any other solutions you can think of?

  • Re: Satellite A350D - Does not find any WLAN network

    Because the e-mail-support page doesn't works at the moment (after sending a message I only get a blank page) I will ask my question here.
    Since maybe 2 or 3 months my connection to WLAN-networks is really bad. I have nothing changed, neither the Windows version (Windows 7) nor drivers, but it does not work as good as it was.
    Some examples:
    I'm sitting 5 metres away from the wlan router. Only a wall is seperating. The notebook does not find any wlan-network. With my HP notebook the connection is good. I'm sitting on the desk where the router stands. The notebook finds the network, but Windows says connection seems to be only average or bad. My HP notebook has the best connection rating.
    Anybody here who can help or can say how I contact the support per e-mail without getting only this blank page?
    Greetings Schlachtvieh

    Hey,
    After WLAN driver update make also sure that power saving mode is disabled for WLAN card. You can do this in Windows Power Management.
    http://aps2.toshiba-tro.de/kb0/HTD84026Q0000R01.htm
    Driver update in such cases its always advisable but in my case it was the power saving of WLAN card. :)

  • AIO remote does not find my printer

    I changed Internet providers a few months ago. I have not been able to print from my iPhone or iPad since then. AIO remote does not find my printer at all.

    Hi,
    Both AirPrint and the HP AIO Remote app relies on Multicasting, a such have to be supported and enabled by your router.
    Some routers support a such by default, some require settings changes and some do not support Multicasting which required for a such.
    Please clarify your router brand and model to better understand any possible steps to try.
    Regards,
    Shlomi
    Say thanks by clicking the Kudos thumb up in the post.
    If my post resolve your problem please mark it as an Accepted Solution

  • Does not find partition

    I have 10.7 Lion and all my apps just stopped working (including finder). I tryed to hit the restart button, but it didnt shut down, so I used the Power Button.
    When i started it up again, it goes to Mac OS X Utilities and does not find Macintosh HD. (The partition on my hard drive)
    And i really does not want to reinstall it, because I have iOS apps in XCode that im developing.
    MacBook Pro 13´ 2010 Model (Dont remember what month)
    OS X 10.7 Lion
    Crashed after debugging iOS app on my iPhone

    It just says that my partition is OK . (And its not, because I cant start up my mac)
    But, ill try just wipe out all data and restore it from a Time Machine backup

  • Ipad does not find printer

    I have new Epson printer with airprint possibility. Printer is on wifi and iphone can see it and print files. but ipad does not find printer at all?

    Apple has some troubleshooting tips at the bottom of this page that may help:
    http://support.apple.com/kb/HT4356
    Regards.

  • Iphone and ipad does not find the airprint printer

    After I upgraded my iphone and ipad I lost my airprint function. Ipad and Iphone does not find the airprinter. The printer is a HP Photosmart 5520, and it does work wireless with my Windows PC that is on the same nettwork.

    In our case the Airprint printers could not be found after IOS upgraded to 7.1.2, all was fine before then.  I have scoured the forums and many people have suffered the same problem.  All the solutions given are aimed at a domestic network with just a Wireless router.  They all involve restarting all the devices and rejoining the IOS devices to the wireless network.  Some people have had to do it multiple times before they regained use of the printers.
    In my case none of these work because I am talking about a business network with two wireless access points, several switches and a router.  To prove it is the IPads I have installed Bonjour onto a Windows PC (Bonjour is the technology used by Airprint).  This finds the printers perfectly so it is definitely something that was changed in the version of Bonjour on the IOS 7.1.2 that is causing all the problems.
    I was hoping that Apple would release another upgrade to IOS to fix this problem but it has been several weeks so far and nothing has emerged.
    So something that worked perfectly a few weeks ago is now dead in the water because of an update on the IPads!!!!!!!!

  • Bluetooth on iPhone does not find my iPad

    Bluetooth on my iPhone does not find iPad when both devices are next to each other.

    Envisions99
    I agree.
    still...my opinions on Apple.....
    If you just try to put yourself in their position you will understand better.
    Music Rights, security,every body wants something like this and like that- with all they have to consider and take care to get not sued- it is no wonder thta there are some restrictions.
    And why ? because they are the only one to realy care an respond to questions and claims. Ever tried to get help from Sony and other Bigies ? Its like talking to a wall.Their support is just a not specific call center. Or did somebody read recently that Sony Erricson was called before the judge because their Cellphones are failing after third time repair (true story), their batteries are burning, their music devices dont let you transfer the music you bought(MiniDisc) and so on? Seldom right?!
    If I read news about Apple, I just wonder how many legal challenges Apple has to face.
    Looks like kind of sport in the US, to try to get money out of Apple.
    `Oh, my laptop did not work last night so I could not read the email from my love.
    I realy became so depressed and my heart aches therefore soooo much . I aske Apple to compensate
    for this with ähhh.... 1 million $ ?! `
    cheers,
    ;-)arry

  • My airport utility does not find my airport express device

    My airport utility does not find my airport express device

    In order for the AirPort Utility on your iOS device to find the Express, both need to be connected to the same Wi-Fi network. By default, the Express will broadcast an unsecured wireless network with a network name of something like: Apple Network NNNNNN. Can you iOS device find this network?

Maybe you are looking for