Including modules in classpath

Hi,
I'm trying to create WTP projects from an ear file. I've successfully imported it and replaced the imported class files with the source files, but I'm having trouble getting it all to build. I think my main problem is the default WebLogic runtime I created doesn't include all of the weblogic jars I need. I'm not really sure how the list of jars is calculated, but I think many of the ones I require are in a directory beside the wlserver_10.3 folder called modules. What is the easiest way to add all the jars in the modules directory into my project's classpath?
Thanks in advance,
Scott

In the Project Explorer, find "WebLogic System Libraries" for your project. You may need to look under "Java Resources/Libraries". Right-click on WebLogic System Libraries and select Properties. On the next screen, you will be able to control which WLS libraries should be visible on your project's compile-time classpath.
- Konstantin

Similar Messages

  • Flash header in PHP includes module site issues

    Is there any way to get my flash header not to reload
    eachtime in php inludes?
    This is a php module website with music controller in flash
    header. I don't like the music restarting everytime I click on a
    link in the page.
    I hear frames is not a good idea.
    any ideas?
    below is the website mock
    http://www.point1music.com/test
    Jeff
    Website in
    question

    The requested URL
    /clients/One_Pensacola/Scripts/AC_RunActiveContent.js was
    not found on this server.
    You must upload the Scripts folder that DW creates when you
    insert the Flash
    header.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "MelBLott" <[email protected]> wrote in
    message
    news:gfs7ov$1no$[email protected]..
    > I've created a flash header located below the menu bar.
    The menu bar is
    > within
    > an include. I've built a few sites with this same basic
    format, but only
    > this
    > time when publishing to the live site, the flash file
    will not appear. I
    > can
    > test in browser and it works and once published I can
    right click and view
    > source. It is including the file in the code, but it
    just will not play.
    > I've
    > tested the flash file separately from the html page and
    it's working fine
    > by
    > itself. Any suggestions as to what I've done wrong? The
    file has a
    > transparent
    > background so that the css built background tiling shows
    through in areas
    > of
    > the flash file. I didn't know if this might've affected
    it. Here is the
    > link to
    > the test site/page -
    >
    http://marketingallianceinc.com/clients/One_Pensacola/plans_test.php.
    >

  • Eclipse: what to include in the classpath in order not to export the source

    Hi,
    When exporting a war file from Eclipse and unchecking the Export Source file checkbox, I am getting the source code in my war file.
    I think this is related to the classpath. Does anyone know what should I do??
    Thanks.

    Its not about classpath, it about the ant script you are using to build the war file. Make sure that the script doesn't extract all the source code into war file.

  • Include Modules dynamically

    Hi there!
    I have to face the following scenario. It's no nice, but it is, as it is^^
    There is a main application, which does XSL Transformation, using Xalan. Adminstrators are able to upload XSL Templates for specific resources. If user requests a resource, the main application loads and transforms it, using the admin's templates for this resource.
    Now, there is a request for extended functionality of the XSL Templates (e.g. cipher jobs etc.). So, the administrators should be able to upload java libraries for the xsl templates, too. Their classes should be called by the XSL Template.
    It is possible do java calls from xsl templates, using xalan. But how can it be achieved, that the XSL engine has access to the uploaded libraries? Can this be done with classloaders or osgi? I'm very so sure about this. Hope you can give me some hints.
    Thanks!

    How it works depends on the engine. Since you say it does it then it should have docs somewhere explaining it.
    As a side issue you might want to consider the source of this additional functionality. If it comes from you no problem but if it is coming from someone else (like the customer) then you might want to spin up another process to handle this. That way it can't take down your server no pollute your process space.

  • Error compilng servlet - even after including servlet.jar in classpath

    I have the tomcat installation , which shows the default page on stating the tomcat.
    I have my classpath set to -
    set CLASSPATH=c:\tomcat4.1\comman\lib\servlet.jar;c:\j2sdk1.4\lib\tools.jar;
    set PATH=c:\j2sdk1.4\bin;
    I have a greetserv.java which is a simple example servlet. When i try to compile this, it gives me the error javax.servlet.jar does not exist.I have it included in the classpath, but it still doesnt work.
    Any help will be appreciated.
    Thanks,
    Jyothi

    What is javax.servlet.jar?

  • Xsl:include from classpath

    We are using the XML SDK for Java. We've being trying to use the <xsl:include> tag to include stylesheets with header and footer templates into other stylesheets.
    I get the following error when I try to parse the stylesheet with my xml at run time on the server using the XMLProcessor class:
    XSL-1002: Error while processing include XSL file (no protocol: /common.xsl)
    The only way we can get the <xsl:include> to work is to use the fully qualified URL. For example:
    <xsl:include href="http://localhost/common.xsl"/>.
    Does anybody know how to get the processor to include using the classpath rather than making another request to the web server?
    null

    The transformer won't search the classpath, because that isn't an XSLT concept. If you want your program to control where an xsl:included document is to be loaded from, then you need to write a class that implements URIResolver and set your TransformerFactory to use it. You'd do that like this:SAXTransformerFactory factory = (SAXTransformerFactory) TransformerFactory.newInstance();
    factory.setURIResolver(new BasicURIResolver());(That's an example from code that I wrote.) That class that implements URIResolver simply has to take the href that it's given and do its own classpath search, like this:private static class BasicURIResolver implements URIResolver {
       * @see URIResolver#resolve(String, String)
      public Source resolve(String href, String base) throws TransformerException {
        String url = // some calculation from its parameters
        InputStream is = this.getClass().getResourceAsStream(url);
        return new StreamSource(is);
    }The "resolve" method will be called for every xsl:include, and I had to do some debugging to see what actually gets passed in its parameters. If you want the regular processing to take place instead of your own classpath search then I believe you can return null.
    You might want to invent your own convention, e.g. <xsl:include href="cp://myXSL.xsl"/>, to distinguish those XSLs for which you want to search the classpath.
    By the way, I believe the default, if you don't specify any path information at all, is for the transformer to search in the same directory as the containing XSL.
    PC&#178;

  • Include default database JDBC driver in CLASSPATH

    Hello,
    We have SAP web application server 6.40 with Oracle 9i as WAS DB and we need to put content of Oracle JDBC Driver Library (default database of WAS) in CLASSPATH, but we can’t include native JDBC Driver. We would need to use the default database driver or resolve it by another form that we can’t see now.
    How can we set up J2EE server for include in CLASSPATH default database JDBC Driver, in this case Oracle?
    Where is located default database driver in SAP web application server?
    Thanks
    Rubén Álvarez

    Hi Brandelik,
    I have to use a third party library who implements internaly a Database connection via JDBC, in this case Oracle. This library use other classes from Oracle Connection Library but it can't find the DB classes.
    I use the DataSource objects but before I need that this third party library can find DB Objects.
    I have added as java library build path, compose it in a .sda and references library in J2EE projects and some other ones things but anything has work.
    I suposed that my problem could be resolved adding library in the CLASSPATH environment variable but I can't add any library DB class to CLASSPATH because this is used for default database connection and make conflicts during server startup. For this reason, I have been looking for the placement of default database connection and then include it into CLASSPATH variable.
    Is this posible?
    Thanks
    Ruben

  • Classpath issue for differant module

    If my module uses some version of web service jar file....
    and one more module uses upgraded version of web service jar file
    all the modules lib files will be placed into single classpath which will break lower version jar file s module.
    Is there any way we can differentiate module level classpath with global classpth ?
    Sameer
    Edited by: sameerdh on Jul 12, 2012 12:07 AM

    When you build the ear file, the classpath of is built based on the dependency among modules(set in manifest.mf). So if module A is dependent on B, then in classpath moduleB's jar file will be at the beginning.
    But if you still want any of the module classes to take priority , then you can always put those classes in environment variables because system class loader will take priority over any other classloaders ( application/ejb/war class loaders) except bootstrap loader.
    Its not recommended to have different versions of classes from each jar file to be executed in jvm, as it would result inconsistency and is prone to various errors. Use one of those versions for your application.
    -karthik

  • CAT encountered an error : Could not locate: align version: module:

    hi am geting this error when trying to test my deploy application in weblogic
    i created war file from my jdeveloper and go and install that war under deployment in my weblogic but now when i ry to test application am geting this error
    Welcome to the Classloader Analysis Tool (CAT)
    Using CAT
    User applications are getting larger as they include multiple frameworks for their functionality. These frameworks can come from open source, commercial sources, or developed in-house. Applications can arrange these dependencies in one or more of the following ways:
        * Framework JARs bundled directly in the applications or modules
        * MANIFEST classpath references to other JARs
        * WebLogic Server application and JAR libraries
        * WebLogic Server system classpath
    The MANIFEST classpath references can get very complex when each dependent JAR in turn depends on other JARs. As the application classpath grows, it gets cumbersome for application developers to understand which class is getting loaded from which source. Sometimes applications bundle different versions of JARs than those in the system classpath. Application developers employing the WebLogic Server filtering classloader also have to configure the filter packages.
    CAT is a small Web application that is designed to help application developers understand, analyze, and resolve classloading issues in their applications. CAT has a simple Web GUI through which it is possible to browse through deployed applications and analyze various classloaders. CAT will report potential problems and also present solutions for resolving those issues.
    CAT is automatically deployed when the server is configured for development mode. CAT is not recommended in production mode. However, if you want to analyze your applications in production, you can manually deploy the CAT Web application to the server on which you want to analyze the classloaders. The CAT Web application is located at: WL_HOME/server/lib/wls-cat.war.
    To begin using CAT, browse to http://wls-host:port/wls-cat/ and enter your Console login credentials.
    Application Navigation
    The CAT navigation pane displays a tree of all the deployed applications and modules. You can select an application in the navigation pane that you want to analyze. Once you have selected an application for further analysis, a brief description of the application will be shown in the right-hand pane. All actions that you perform will be executed in the context of the selected application. For example, if you select to analyze the application for conflicts, the analysis would be executed on the currently selected application.
    The result of each action you select can either be shown in a basic view or a detailed view. For many applications, the detailed view can be a bit overwhelming so unless explicitly selected, the result of an action will be shown in the basic view.
    The following are some of the tasks which you can perform using CAT:
        * Display basic information about the application
        * Analyze conflicts in the application and receive suggestions for configuring a package filter
        * Display the classloader hierarchy and the entire classpath for each classloader
        * Search for a class (or a resource) on a classloader
    Note that CAT will seem sluggish as larger applications are being investigated. This is normal as CAT does significant analysis on the fly.
    For more information on CAT, see "Using the Classloader Analysis Tool" documentation in Developing

    The request made by java web start to download the jre is a using the extension protocol (version protocol) see the jnlp spec at:
    http://jcp.org/aboutJava/communityprocess/mrel/jsr056/index.html
    basically what this means is that you need to be running a servlet or jsp page on the target that implements the version protocol. see:
    http://java.sun.com/j2se/1.5.0/docs/guide/javaws/developersguide/downloadservletguide.html
    I don''t know what you have at the target address of the jre:
    javaws-1_0_1-j2re-1_5_0-windows-i586.jnlp
    but you need servlet running at http://127.0.0.1:8080/Web-Test2/install to implement the version protocol.
    /Andy

  • Multiple deployed modules using log4j log to same file

    We have deployed two modules in ias 6.5 Solaris - moduleA and moduleB. Each of these modules uses log4j to write to a log file - logA and logB. Each module includes logj4.jar in it's WEB-INF/lib directory and the classes are unzipped upon deployment into an org/apache/log4j directory under each module.
    Upon app server startup, neither module is loaded. A request is sent to /NASApp/moduleA. logA is written to as the module is initialized. A request is then sent to /NASApp/moduleB. logB is written to as the module in initialized. A request is then sent to /NASApp/moduleA again. This request should be logged in logA but is instead written to logB.
    This happened in ias 6.0 sp3 as well as ias 6.5.
    An attempt to determine the source of the problem:
    The /APPS/modules/moduleB/WEB-INF/lib/org/apache/log4j directory was removed. This should cause ClassNotFoundExceptions to be thrown when attempts are made to write to log4j from moduleB. The appserver is first stopped, then killed, then started again - neither module is loaded. A request is sent to /NASApp/moduleA. logA is written to as the module is initialized. A request is then sent to /NASApp/moduleB - a request that should result in ClassNotFoundExceptions being thrown because the log4j classes are no longer present in the module's classpath. Instead, logB is written and everything behaves as was described above.
    Based on this test, we believe that the root of this problem is once again a class loader issue. Apparently, the log4j classes are being loaded by a class loader that is shared between both moduleA and moduleB. Normally this would not cause a problem, but in the case of log4j, the target log file is being overwritten and causes the log entries to be shared between the two modules.
    What must we do to remedy this problem? At present, the only fix we know will work is to run a separate appserver instance for each module - a solution that is not acceptable due to the amount of resources consumed by all of the deployed code.

    Hi,
    You are correct it is a classloader problem, in sp4/6.5 you have a separate classloader for each module (war/jar) but all the helping classes inside modules share a single classloader, that's why even after deleting the helping files from ModuleB it was working.
    The remedy to your problem is to create ear module out of those ModuleA and ModuleB and put the helping jar files in both of the ear modules. For ias an ear file is an J2EE application and a separate classloader instance is dedicated to it, it holds true for all the helping classes in the ear module too and the helping classes in two J2EE application (ear module) no longer share the classloader.
    I hope it will solve your problem. For further information regarding classloaders please visit Classloader runtime hierarchy.
    Please feel free to ask further questions.
    Sanjeev,
    Developer Support, Sun ONE Application Server-India.

  • Script cannot find perl Data:Dumper module

    Good day. I live in Australia and use a script called Shepherd to update my mythtv program listings.
    After upgrading a couple of days ago (first time in about 6 months) Shepherd has stopped working.
    Shepherd doesn't seem to find the perl data-dumper module, which is part of the base perl install.
    All my packages are up to date as of this post, and I am on the current kernel -
    uname -r
    3.4.9-1-ARCH
    ~/.shepherd/shepherd --check
    ERROR:
    Mandatory module 'Data::Dumper' not found.
    Please see the Wiki at <a href='http://svn.whuffy.com/wiki/Installation' class='bbc_url' title='External link' rel='nofollow external'>http://svn.whuffy.co...ki/Installation</a>
    for details on how to install this module.
    Shepherd is updating ~/.shepherd/output.xmltv (the listings information scraped from the net) but evidently needs the dumper module to post the data into MythTV.
    I'm not sure if it has something to do with this, which I don't properly understand -
    The current Arch Linux default perl installation installs updates to core modules into the perl core directories, creating file conflicts.  Examples include modules such as Data::Dumper and version.
    which is mentioned here.
    I appear to have it installed as part of the perl base package -
    sudo pacman -Qi perl
    Name : perl
    Version : 5.16.1-1
    URL : <a href='http://www.perl.org' class='bbc_url' title='External link' rel='nofollow external'>http://www.perl.org</a>
    Licenses : GPL PerlArtistic
    Groups : base
    Provides : perl-archive-extract=0.58 perl-archive-tar=1.82 perl-attribute-handlers=0.93 perl-autodie=2.10
    perl-autoloader=5.72 perl-autouse=1.07 perl-b-debug=1.17 perl-b-deparse=1.14 perl-b-lint=1.14
    perl-base=2.18 perl-bignum=0.29 perl-carp=1.26 perl-cgi=3.59 perl-compress-raw-bzip2=2.048
    perl-compress-raw-zlib=2.048 perl-constant=1.23 perl-cpan=1.9800 perl-cpan-meta=2.120630
    perl-cpan-meta-yaml=0.007 perl-cpanplus=0.9121 perl-cpanplus-dist-build=0.62 perl-data-dumper=2.135
    So it seems Shepherd is suddenly not finding it for some reason, after the upgrade.
    I tried installing the perl-data-dumper packages from the AUR (simple and concise) and neither of those made any difference.
    I also tried installing the module with a cpan command (as root) but that gave me errors (which I'd rather not have to deal with unless I have to to fix this issue).
    cpan
    Terminal does not support AddHistory.
    cpan shell -- CPAN exploration and modules installation (v1.9800)
    Enter 'h' for help.
    cpan[1]> install data:dumper
    Reading '/root/.cpan/sources/authors/01mailrc.txt.gz'
    sh: /bin/gzip: No such file or directory
    ............................................................................DONE
    Reading '/root/.cpan/sources/modules/02packages.details.txt.gz'
    sh: /bin/gzip: No such file or directory
    Warning: Your /root/.cpan/sources/modules/02packages.details.txt.gz does not contain a Line-Count header.
    Please check the validity of the index file by comparing it to more
    than one CPAN mirror. I'll continue but problems seem likely to
    happen.
    Warning: Your /root/.cpan/sources/modules/02packages.details.txt.gz does not contain a Last-Updated header.
    Please check the validity of the index file by comparing it to more
    than one CPAN mirror. I'll continue but problems seem likely to
    happen.
    Subroutine AUTOLOAD redefined at /usr/lib/perl5/site_perl/Time/HiRes.pm line 31.
    Subroutine import redefined at /usr/lib/perl5/site_perl/Time/HiRes.pm line 49.
    Subroutine tv_interval redefined at /usr/lib/perl5/site_perl/Time/HiRes.pm line 70.
    .Could not split line["H\"rW{0M4K\cV1=YFH\cV\c^rqv\c?\c]hKUe\cGL)4:4\cH]C\cPW`_|#MU4}\c_\c_%\cQ\cN\cX8M}%e\cR|\cG-K\c?~\cAM_cREx#AnvAZDi\$\c\!h\cZ\cI^uG0 )>TQ}p{Q[Ah\cNIK\cV+R"]
    Could not split line["-6W/GQp\cOm`>UwBP[5"]
    Could not split line["\@\cPI\cW,(zY2]uA!fVegsf\\V\cGfL\cHY4ki\cFvLgY\\\c\Ed\cK\cTe-\cC0\@d!?\cSU/\\G8\cAt?(\cY.L\cZ\cBrtl~s[4\@\cF\cWu*D>I"]
    Could not split line["hb\cSKA1\cCjX(w/K\cA"]
    Giving up parsing your /root/.cpan/sources/modules/02packages.details.txt.gz, too many errorsReading '/root/.cpan/sources/authors/01mailrc.txt.gz'
    sh: /bin/gzip: No such file or directory
    ............................................................................DONE
    Reading '/root/.cpan/sources/modules/02packages.details.txt.gz'
    sh: /bin/gzip: No such file or directory
    Warning: Your /root/.cpan/sources/modules/02packages.details.txt.gz does not contain a Line-Count header.
    Please check the validity of the index file by comparing it to more
    than one CPAN mirror. I'll continue but problems seem likely to
    happen.
    Subroutine AUTOLOAD redefined at /usr/lib/perl5/site_perl/Time/HiRes.pm line 31.
    Subroutine import redefined at /usr/lib/perl5/site_perl/Time/HiRes.pm line 49.
    Subroutine tv_interval redefined at /usr/lib/perl5/site_perl/Time/HiRes.pm line 70.
    Warning: Your /root/.cpan/sources/modules/02packages.details.txt.gz does not contain a Last-Updated header.
    Please check the validity of the index file by comparing it to more
    than one CPAN mirror. I'll continue but problems seem likely to
    happen.
    Subroutine AUTOLOAD redefined at /usr/lib/perl5/site_perl/Time/HiRes.pm line 31.
    Subroutine import redefined at /usr/lib/perl5/site_perl/Time/HiRes.pm line 49.
    Subroutine tv_interval redefined at /usr/lib/perl5/site_perl/Time/HiRes.pm line 70.
    .Could not split line["H\"rW{0M4K\cV1=YFH\cV\c^rqv\c?\c]hKUe\cGL)4:4\cH]C\cPW`_|#MU4}\c_\c_%\cQ\cN\cX8M}%e\cR|\cG-K\c?~\cAM_cREx#AnvAZDi\$\c\!h\cZ\cI^uG0 )>TQ}p{Q[Ah\cNIK\cV+R"]
    Could not split line["-6W/GQp\cOm`>UwBP[5"]
    Could not split line["\@\cPI\cW,(zY2]uA!fVegsf\\V\cGfL\cHY4ki\cFvLgY\\\c\Ed\cK\cTe-\cC0\@d!?\cSU/\\G8\cAt?(\cY.L\cZ\cBrtl~s[4\@\cF\cWu*D>I"]
    Could not split line["hb\cSKA1\cCjX(w/K\cA"]
    Giving up parsing your /root/.cpan/sources/modules/02packages.details.txt.gz, too many errorsTerminal does not support GetHistory.
    Lockfile removed.
    It says that the 02packages.details.txt.gz file is missing, but it looks like it's there -
    ls /root/.cpan/sources/modules/
    02packages.details.txt.gz 03modlist.data.gz
    I thought I might uninstall and reinstall perl but I got dependency errors and I'm not game to force an uninstall unless I get advice to do so -
    pacman -Rs perl
    checking dependencies...
    error: failed to prepare transaction (could not satisfy dependencies)
    :: automake: requires perl
    :: cdrkit: requires perl
    :: ddclient: requires perl
    :: git: requires perl>=5.14.0
    :: groff: requires perl
    :: gtk-doc: requires perl
    :: hspell: requires perl
    :: hyphen: requires perl
    :: imagemagick: requires perl
    :: lm_sensors: requires perl
    :: mod_perl: requires perl
    :: openssl: requires perl
    :: perl-algorithm-diff: requires perl
    :: perl-archive-zip: requires perl>=5.10.0
    :: perl-class-factory-util: requires perl
    :: perl-class-inspector: requires perl>=5.6.0
    :: perl-class-load: requires perl
    :: perl-class-methodmaker: requires perl>=5.10.0
    :: perl-class-singleton: requires perl>=5.10.0
    :: perl-convert-binhex: requires perl
    :: perl-data-dump: requires perl>=5.006
    :: perl-data-optlist: requires perl-scalar-list-utils
    :: perl-datetime-format-builder: requires perl
    :: perl-dbi: requires perl
    :: perl-digest-sha1: requires perl
    :: perl-email-date-format: requires perl
    :: perl-encode-locale: requires perl>=5.008
    :: perl-error: requires perl>=5.10.0
    :: perl-fcgi: requires perl
    :: perl-file-listing: requires perl>=5.8.8
    :: perl-file-slurp: requires perl>=5.14.0
    :: perl-font-afm: requires perl>=5.5.0
    :: perl-html-form: requires perl>=5.8.8
    :: perl-html-formattext: requires perl>=5.10.0
    :: perl-html-parser: requires perl>=5.12.1
    :: perl-html-tagset: requires perl>=5.10.0
    :: perl-html-tree: requires perl>=5.10.0
    :: perl-http-cache-transparent: requires perl>=5.10.0
    :: perl-http-cookies: requires perl>=5.8.8
    :: perl-http-daemon: requires perl>=5.8.8
    :: perl-http-date: requires perl>=5.8.8
    :: perl-http-message: requires perl>=5.8.8
    :: perl-http-negotiate: requires perl>=5.8.8
    :: perl-image-size: requires perl
    :: perl-io-socket-ssl: requires perl>=5.10.0
    :: perl-io-string: requires perl>=5.10.0
    :: perl-io-stringy: requires perl
    :: perl-libwww: requires perl>=5.8.1
    :: perl-lingua-en-numbers-ordinate: requires perl>=5.10.0
    :: perl-lingua-preferred: requires perl>=5.10.0
    :: perl-linux-pid: requires perl
    :: perl-list-moreutils: requires perl>=5.5.30
    :: perl-lwp-mediatypes: requires perl>=5.6.2
    :: perl-lwp-protocol-https: requires perl>=5.8.1
    :: perl-math-round: requires perl
    :: perl-mime-lite: requires perl
    :: perl-mime-types: requires perl
    :: perl-mozilla-ca: requires perl>=5.006
    :: perl-net-http: requires perl>=5.6.2
    :: perl-net-upnp: requires perl
    :: perl-package-stash: requires perl>=5.8.1
    :: perl-package-stash: requires perl-scalar-list-utils
    :: perl-package-stash-xs: requires perl>=5.8.1
    :: perl-params-classify: requires perl>=5.10.1
    :: perl-params-util: requires perl>=5.5.30
    :: perl-params-validate: requires perl
    :: perl-parse-recdescent: requires perl>=5.10.0
    :: perl-perl4-corelibs: requires perl>=5.006
    :: perl-soap-lite: requires perl
    :: perl-socket6: requires perl
    :: perl-sub-exporter: requires perl>=5.6.0
    :: perl-sub-install: requires perl
    :: perl-sub-uplevel: requires perl
    :: perl-term-readkey: requires perl
    :: perl-test-warn: requires perl>=5.10.0
    :: perl-text-iconv: requires perl
    :: perl-timedate: requires perl
    :: perl-tk: requires perl
    :: perl-unicode-string: requires perl
    :: perl-unicode-utf8simple: requires perl>=5.10.0
    :: perl-uri: requires perl>=5.10.0
    :: perl-www-robotrules: requires perl>=5.8.1
    :: perl-xml-dom: requires perl>=5.10.0
    :: perl-xml-namespacesupport: requires perl
    :: perl-xml-parser: requires perl
    :: perl-xml-regexp: requires perl
    :: perl-xml-sax: requires perl
    :: perl-xml-sax-base: requires perl
    :: perl-xml-simple: requires perl
    :: perl-xml-twig: requires perl
    :: perl-xml-writer: requires perl
    :: perl-xml-xpath: requires perl
    :: perl-yaml: requires perl>=5.10.0
    :: perl-yaml-syck: requires perl
    :: rsync: requires perl
    :: system-tools-backends: requires perl
    :: webmin: requires perl
    Any help would be greatly appreciated.
    Thanks
    belbo
    Last edited by belbo (2012-08-26 00:33:52)

    Thanks
    Results as follows -
    perl -MData::Dumper -e1
    Perl API version v5.14.0 of Data::Dumper does not match v5.16.0 at /usr/lib/perl5/site_perl/XSLoader.pm line 95.
    Compilation failed in require.
    BEGIN failed--compilation aborted.
    $ perl /mnt/Data/Scripts/Perl_Module_Check.pl wheremod Data::Dumper
    Data::Dumper /usr/lib/perl5/site_perl/Data/Dumper.pm
    Data::Dumper /usr/lib/perl5/core_perl/Data/Dumper.pm
    I ran the full delete command after backing up the directories (there was a lot in them)
    rm -rf /usr/lib/perl5/site_perl/* /usr/share/perl5/site_perl/*
    This resulted in a different missing module -
    $ sudo rm -rf /usr/lib/perl5/site_perl/* /usr/share/perl5/site_perl/*
    $ ~/.shepherd/shepherd --check
    ERROR:
    Mandatory module 'List::Compare' not found.
    I restored the backup and deleted only Data::Dumper but then got a missing XMLTV module -
    $ ~/.shepherd/shepherd --check
    $[ used in numeric lt (<) (did you mean $] ?) at /usr/share/perl5/site_perl/XML/Twig.pm line 7278.
    $[ used in numeric lt (<) (did you mean $] ?) at /usr/share/perl5/site_perl/XML/Twig.pm line 7284.
    $[ used in numeric lt (<) (did you mean $] ?) at /usr/share/perl5/site_perl/XML/Twig.pm line 7296.
    ERROR:
    Mandatory module 'XMLTV' not found.
    Following this post, I did the following, which returned no results -
    https://bbs.archlinux.org/viewtopic.php?pid=1110598
    $ sudo pacman -Qml | awk '/_perl\/auto\/.+\.so$/ { print $1 }' | uniq
    I then did the following -
    $ sudo rm -rf /usr/lib/perl5/*
    $ sudo pacman -S perl
    warning: perl-5.16.1-1 is up to date -- reinstalling
    resolving dependencies...
    looking for inter-conflicts...
    Targets (1): perl-5.16.1-1
    Total Installed Size: 48.33 MiB
    Net Upgrade Size: 0.00 MiB
    Proceed with installation? [Y/n]
    (1/1) checking package integrity [#######################################################] 100%
    (1/1) loading package files [#######################################################] 100%
    (1/1) checking for file conflicts [#######################################################] 100%
    (1/1) checking available disk space [#######################################################] 100%
    (1/1) upgrading perl [#######################################################] 100%
    $ ~/.shepherd/shepherd --check
    ERROR:
    Mandatory module 'XMLTV' not found.
    Oops. Then saw your next post saying not to do that as you'd lose the vendor modules, which I did. I had backed up so I restored, so still have the vendor stuff.
    In case its of any assistance, this is what my perl lib and share directories look like -
    [ben@htpc ~]$ ls /usr/lib/perl5
    core_perl site_perl site_perl.bak vendor_perl
    [ben@htpc ~]$ ls /usr/lib/perl5/site_perl
    Alien auto Data Encode encoding.pm Filter List Net perlfilter.pod SVN Term Unicode version.pm XML
    Attribute Compress Digest Encode.pm FCGI.pm filter-util.pl Math Params Storable.pm Sys Time version version.pod XSLoader.pm
    [ben@htpc ~]$ ls /usr/lib/perl5/vendor_perl
    Apache Attribute Crypt DateTimePP.pm dbixs_rev.pl GD.pm Image ModPerl Package SNMP.pm Text Unicode YAML
    Apache2 auto DateTime DBD Digest gv.pm JSON mod_perl2.pm Params Socket6.pm Tie Win32
    APR Bundle DateTime.pm DBI FCGI.pm gv.so Linux Net qd.pl SVN Tk Xfce4
    APR.pm Class DateTimePPExtra.pm DBI.pm GD HTML List NetSNMP RRDs.pm Term Tk.pm XML
    [ben@htpc ~]$ ls /usr/lib/perl5/core_perl
    arybase.pm Compress Cwd.pm DynaLoader.pm Fcntl.pm I18N List ODBM_File.pm perllocal.pod Socket.pm threads.pm
    attributes.pm Config_git.pl Data Encode File IO Math Opcode.pm POSIX.pm Storable.pm Tie
    auto Config_heavy.pl DB_File.pm Encode.pm Filter IO.pm MIME O.pm re.pm Sys Time
    B Config.pm Devel encoding.pm GDBM_File.pm IPC mro.pm ops.pm Scalar Text Unicode
    B.pm CORE Digest Errno.pm Hash lib.pm NDBM_File.pm PerlIO SDBM_File.pm threads
    [ben@htpc ~]$ ls /usr/share/perl5/
    core_perl site_perl vendor_perl
    [ben@htpc ~]$ ls /usr/share/perl5/core_perl
    AnyDBM_File.pm bignum.pm Config Digest.pm fields.pm IO Object PerlIO.pm Term utf8.pm
    App bigrat.pm constant.pm DirHandle.pm File IPC open.pm pod Test vars.pm
    Archive blib.pm CPAN Dumpvalue.pm FileCache.pm JSON overload Pod Test.pm version
    Attribute bytes_heavy.pl CPANPLUS dumpvar.pl FileHandle.pm less.pm overloading.pm Safe.pm Text Version
    autodie bytes.pm CPANPLUS.pm Encode filetest.pm Locale overload.pm Search Thread version.pm
    autodie.pm Carp CPAN.pm encoding Filter locale.pm Package SelectSaver.pm Thread.pm vmsish.pm
    AutoLoader.pm Carp.pm DBM_Filter English.pm FindBin.pm Log Params SelfLoader.pm Tie warnings
    AutoSplit.pm CGI DBM_Filter.pm Env.pm Getopt Math parent.pm sigtrap.pm Time warnings.pm
    autouse.pm CGI.pm DB.pm Exporter HTTP Memoize Parse sort.pm Unicode XSLoader.pm
    B _charnames.pm deprecate.pm Exporter.pm I18N Memoize.pm Perl strict.pm unicore
    base.pm charnames.pm Devel ExtUtils if.pm Module perl5db.pl subs.pm UNIVERSAL.pm
    Benchmark.pm Class diagnostics.pm Fatal.pm inc Net perlfaq.pm Symbol.pm User
    bigint.pm Compress Digest feature.pm integer.pm NEXT.pm PerlIO TAP utf8_heavy.pl
    [ben@htpc ~]$ ls /usr/share/perl5/site_perl
    Alien bigint.pm Bundle Class CPANPLUS DateTime ExtUtils HTML IPC Locale LWP.pm Math MythTV Object Try YAML
    Archive bignum.pm CGI Compress CPANPLUS.pm Encode File HTTP JSON LWP lwptut.pod Module MythTV.pm Test WWW YAML.pm
    Attribute bigrat.pm CGI.pm CPAN Date Env.pm Filter IO List lwpcook.pod Mail Mozilla Net Tie XML
    [ben@htpc ~]$ ls /usr/share/perl5/vendor_perl
    abbrev.pl bigrat.pl ctime.pl Error Font HTML LWP.pm open2.pl SOAP Time validate.pl
    Algorithm cacheout.pl Data Error.pm ftp.pl HTTP Mail open3.pl stat.pl timelocal.pl WWW
    Apache CGI Date exceptions.pl getcwd.pl Image Math Package Sub Tree XML
    Archive CGI.pm DateTime fastcwd.pl getopt.pl importenv.pl MIME Parse syslog.pl Try XMLRPC
    assert.pl chat2.pl Dist File getopts.pl IO Module Perl4 tainted.pl UDDI XMLTV
    auto Class dotsh.pl finddepth.pl Git Lingua Mozilla pwd.pl Term Unicode XMLTV.pm
    bigfloat.pl complete.pl Email find.pl Git.pm look.pl Net RRDp.pm termcap.pl URI YAML
    bigint.pl Convert Encode flush.pl hostname.pl LWP newgetopt.pl shellwords.pl Test URI.pm YAML.pm
    Any further assistance would be greatly appreciated.
    Thanks
    belbo
    Last edited by belbo (2012-08-27 13:40:14)

  • How to use the classpath defined in a manifest file when debugging

    Using Jdeveloper 10.1.3.3.0 (or any version)
    I'd like to be able to debug using an executable jar which specifies my classpath and main class, without having to manually add all the jars to my debug configuration. Is there a way the debugger can extract that information from the manifest?
    The set of jar files included in my classpath varies depending on which client configuration the client wants to run and we could potentially have a hundred different configurations so there isn't an easy way to manage static libraries. Currently I have to open the jar, extract the manifest and manually add the jars so I can debug. Which is really painful when the configuration can change each time I run. The manifest and jar file are created at runtime based on what client configuration the user is trying to run and there can be multiple versions of a jar file in the directory with mangled names - so I can't just include all the jars.
    Any ideas?

    Run the program from command line, this way you will see the errors, if any.
    example.: java -jar theJarfile.jar
    I was successful in creating a comm application. I placed the win32com.dll in the same directory of my application jar file and all worked.
    I also extracted the comm.jar , and jar'd my app with the extracted comm files to make one jar.
    I also had a fileWriter() to get the clients jre path and my app would write the javax.properties file to the correct place.
    It took me severel weeks and late nights to accomplish this, but it was all necessary to be able to install only my app, and not a bunch of api's that were needed.

  • Import CLASSPATH in JSP

    Hi all,
    I am following a guide to install an JSP application on Tomcat.
    The third point is:
    Confirm JAR Files are Included in CLASSPATH
    Please ensure that the .jar files in the WEB-INF/lib/ directory of your web
    application are included in the CLASSPATH for your application.But I don't know how to do it (I'm not an expert of JSP).
    Someone can help me to add the code line(s) in a such way that I can include the WEB-INF/lib/ in the CLASSPATH of my application.
    Thanks
    Enrico

    I've understood now. The google's code,
    <td>
             <iframe name="identity_provider" src="./ProcessResponseServlet"
              width="100%" height="100%" frameborder="1"></iframe>
    </td>is wrong. I've just replaced this with:
    <td>
              <iframe name="identity_provider" src="./identity_provider.jsp"
              width="100%" height="100%" frameborder="1"></iframe>
          </td>But now the problem is always the same because inside this file there is:
    <form name="ServiceProviderForm" action="./CreateRequestServlet" method="post">
      <input type="hidden" name="action" value="Generate SAML Request">
      <input type="hidden" name="returnPage" value="service_provider.jsp">
      <p><center><input type="submit" value="Generate SAML Request"></center></form>
    <%
          String error = (String) request.getAttribute("error");
           String authnRequest = (String) request.getAttribute("authnRequest");
          String redirectURL = (String) request.getAttribute("redirectURL");
          if (error != null) {
          %>
            <p><center><font color="red"><b><%= error %></b></font></center><p>
          <%
          } else {
            if (authnRequest != null && redirectURL != null) {          
          %>
            <p><div style="padding:6px 0px;border-top:solid 1px #3366cc;border-bottom:solid 1px #3366cc"><b>Step 3: Submitting the SAML Request</b></div></p>
            <p>You can now review the generated SAML request before submitting it to the identity provider.</p>
            <p>As noted in the <b>Pre-Transaction Details</b>, when you install this application, it will send SAML authentication requests to the <b>ProcessResponseServlet</b>, which is included in the sample code package.</p>
            <b>Generated SAML XML</b><p>
            <input type="hidden" name="redirectURL" value="<%=redirectURL%>"/>
            <div class="codediv"><%=RequestUtil.htmlEncode(authnRequest)%></div>
            <p><center>
            <input type="button" value="Submit AuthnRequest"
                   onclick="javascript:parent.frames['identity_provider'].location = '<%=redirectURL%>';return true;">
            </center>
         <%
         %>And there is the file "CreateRequestServlet.class" in the "WEB-INF/classes/servlets" and the web.xml maps also this file.
    But when i press the button "Generate SAML Request", I have the usual error:
    HTTP Status 404 - /CreateRequestServlet/CreateRequestServlet
    type Status report
    message /CreateRequestServlet/CreateRequestServlet
    description The requested resource (/CreateRequestServlet/CreateRequestServlet) is not available.
    Sun-Java-System/Web-Services-Pack-1.4Edited by: springbok06 on Jul 29, 2010 4:06 PM

  • Custom Module Pool...

    Hello SDN ABAP Community,
    I researched this question on the web and in SDN before posting this because I would like an up-to-date understanding of best way to do this.
    I have a need to write a custom module pool.  It has been a while since I have been to class.  I need to get figured out how my naming conventions will work for all the pieces of the module pool (SE51, SE41, pieces of the SE38 module pool).
    I seem to remember the teacher saying that the way that SAP allows for customer created module pools was to set the 5th character of the name to 'Z'.  eg- sap would use SAPMPetc.  customer would use SAPMZetc.
    From my searching of web I found following naming standards...
    Module pool                             - SAPDY* SAPDZ*
    Module pool for dialog               - DY* DZ*
    INCLUDES                              - SAPMY* SAPMZ*
    Module pool for screens            - MY* MZ*
    INCLUDES                              - MP9*
    Module pool for info types         - MP9*
    INCLUDES                              - SAPFY* SAPFZ*
    Module pool for subroutines      - FY* FZ*
    INCLUDES                              - SAPUY* SAPUZ*
    Module pool for update program - UY* UZ*
    INCLUDES
    From searching SDN I found following link for ABAP objects, but I am needing for module pool.
    http://help.sap.com/saphelp_nw04/helpdata/en/92/c2b084bc1d11d2958700a0c94260a5/frameset.htm 
    So my question... is there any SAP resource that I can look at to see SAP naming conventions for customer created module pool with SE41, SE51 and SE38?
    Thank you,
    Dean Atteberry.

    Hi Dean, here you can take a look at SAP´s official customer name ranges for all objects, including Module Pool: http://help.sap.com/saphelp_nw04/helpdata/EN/2a/6b0b1f547a11d189600000e829fbbd/frameset.htm
    Best regards,
    Federico Alvarez

  • Web Service Client: Project Additional Classpath  contributor not working?

    I've created a simple web service client/proxy and it works when debugging and running in JDeveloper 10.1.3.3
    I created a deployment profile that includes "Project Additional Classpath". The preview does not show any of the jar dependencies being included and the client application does not run because it is missing the dependencies.
    Am I missing something simple here? I've searched forever on this with no luck (it's now 2am!)
    Help is much appreciated

    Frank,
    Thank you for your reply. The funny thing is that I had known how to do this in the past.
    I have to say. The layout of that screen just is not intuitive.
    First, if you select file groups\project output\Contributors and select "Project Additional Path" you would think that you'd either get to select the class libraries there or at least in the filters screen.
    Second, the new button on the lower left, beneath the tree control when selecting the File Groups node is an arrangement I havn't seen used in any other application. Usually when you select a tree node, the right side window would have a tool bar over an arrangement of the sub-nodes/folders and you would click new on that tool bar. The new button goes completely unnoticed where it is. I'm sure it's nothng once you get used to it but for a noob like me, it wasn't apparent
    I took a brief look at 11g and it seems they're changing some of the screens so perhaps this stuff will become more intuitive.
    Thank you for your help.

Maybe you are looking for

  • Button not working in Movie Clip

    I'm building a small 'table builder' app for a client. This is my first major project in flash and I've encountered something I cannot figure out for the life of me. In the .fla below there's a movie clip 'scroller' it has buttons in it which load .p

  • White boxes around PDF files imported to Indesign

    I'm trying to create a portfolio of Ads that I've done in the past. I exported them as a PDF and then importing them back into InDesign to fit in a certain picture frame. The problem is that when I import them back to InDesign and then export them as

  • Services needed for PORTAL

    Hi, Can anybody please give a list of all services which must be up, and the order of starting them, needed for PORTAL. I have tried different services but i cannot find the good combination. Regards, Joshua

  • I would like to insert column headers into a Write labview measurment file

    I am looking for a simple way to add column headers to my saved data. I am working with dynamic data VIs and would like not to have to build several arrays to do this.

  • XML causing "active content" warning

    I downloaded a free xml photo gallery code ( from airtight interactive). Everything seems to work fine and I was able to embed it into my html page and customize it. But when I test in IE, I get that bothersome "active content" warning. The original