Maven kodo plugin for 3.1.2
Hi, I'm trying to use Kodo 3.1.2 with Maven.
I'm new to maven plugins, and i got some difficulties with a classloader
problem .
I want to enhance some classes which are using commons logging
facilities, but i got a error :
Class org.apache.commons.logging.impl.SimpleLog does not implement Log
But the enhancer seems to do his job (see the log below).
Can someone help me ?
Stephane.
Maven log :
[INFO] Tool - -JDO enhancer running on type "class
fr.emn.bn.collections.metier.CollectionBN".
[INFO] MetaData - -Parsing metadata resource
"file:/C:/eclipse/workspace/BN/target/classes/system.jdo".
[INFO] Enhance - -Enhancing type "class
fr.emn.bn.collections.metier.CollectionBN".
[WARN] Enhance - -The type "class
fr.emn.bn.collections.metier.CollectionBN" must have a no-args
constructor. Adding a protected no-args constructor.
java.lang.ExceptionInInitializerError
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:141)
at fr.emn.bn.collections.metier.CollectionBN.class$(CollectionBN.java:55)
at fr.emn.bn.collections.metier.CollectionBN.<clinit>(CollectionBN.java:55)
at java.io.ObjectStreamClass.hasStaticInitializer(Native Method)
at
java.io.ObjectStreamClass.computeDefaultSUID(ObjectStreamClass.java:1557)
at java.io.ObjectStreamClass.access$100(ObjectStreamClass.java:47)
at java.io.ObjectStreamClass$1.run(ObjectStreamClass.java:173)
at java.security.AccessController.doPrivileged(Native Method)
at
java.io.ObjectStreamClass.getSerialVersionUID(ObjectStreamClass.java:170)
at kodo.enhance.JDOEnhancer.addSerializationCode(JDOEnhancer.java:1841)
at kodo.enhance.JDOEnhancer.enhance(JDOEnhancer.java:262)
at kodo.enhance.JDOEnhancer.run(JDOEnhancer.java:2186)
at kodo.enhance.JDOEnhancer.run(JDOEnhancer.java:2122)
at kodo.enhance.JDOEnhancer.main(JDOEnhancer.java:2094)
Caused by: org.apache.commons.logging.LogConfigurationException:
org.apache.commons.logging.LogConfigurationException:
org.apache.commons.logging.LogConfigurationException: Class
org.apache.commons.logging.impl.SimpleLog does not implement Log
my kodo.properties looks like that :
javax.jdo.PersistenceManagerFactoryClass:
kodo.jdbc.runtime.JDBCPersistenceManagerFactory
javax.jdo.option.ConnectionUserName: sa
javax.jdo.option.ConnectionPassword:
javax.jdo.option.ConnectionURL: jdbc\:hsqldb\:/Temp/test_database
javax.jdo.option.ConnectionDriverName: org.hsqldb.jdbcDriver
javax.jdo.option.Multithreaded: false
javax.jdo.option.NontransactionalWrite: false
kodo.jdbc.ForeignKeyConstraints: false
kodo.jdbc.Schemas:
kodo.jdbc.AutoIncrementConstraints: false
kodo.jdbc.SynchronizeMappings: refresh
kodo.WriteLockLevel: write
kodo.FetchGroups:
kodo.PersistentClasses:
kodo.CopyObjectIds: false
kodo.RestoreMutableValues: false
kodo.Log: commons
Stephane
Patrick Linskey a __crit :
How are you configuring Kodo's logging (the kodo.Log property)?
-Patrick
Stephane Bouchet wrote:
Hi, I'm trying to use Kodo 3.1.2 with Maven.
I'm new to maven plugins, and i got some difficulties with a
classloader problem .
I want to enhance some classes which are using commons logging
facilities, but i got a error :
Class org.apache.commons.logging.impl.SimpleLog does not implement Log
But the enhancer seems to do his job (see the log below).
Can someone help me ?
Stephane.
Maven log :
[INFO] Tool - -JDO enhancer running on type "class
fr.emn.bn.collections.metier.CollectionBN".
[INFO] MetaData - -Parsing metadata resource
"file:/C:/eclipse/workspace/BN/target/classes/system.jdo".
[INFO] Enhance - -Enhancing type "class
fr.emn.bn.collections.metier.CollectionBN".
[WARN] Enhance - -The type "class
fr.emn.bn.collections.metier.CollectionBN" must have a no-args
constructor. Adding a protected no-args constructor.
java.lang.ExceptionInInitializerError
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:141)
at
fr.emn.bn.collections.metier.CollectionBN.class$(CollectionBN.java:55)
at
fr.emn.bn.collections.metier.CollectionBN.<clinit>(CollectionBN.java:55)
at java.io.ObjectStreamClass.hasStaticInitializer(Native Method)
at
java.io.ObjectStreamClass.computeDefaultSUID(ObjectStreamClass.java:1557)
at java.io.ObjectStreamClass.access$100(ObjectStreamClass.java:47)
at java.io.ObjectStreamClass$1.run(ObjectStreamClass.java:173)
at java.security.AccessController.doPrivileged(Native Method)
at
java.io.ObjectStreamClass.getSerialVersionUID(ObjectStreamClass.java:170)
at
kodo.enhance.JDOEnhancer.addSerializationCode(JDOEnhancer.java:1841)
at kodo.enhance.JDOEnhancer.enhance(JDOEnhancer.java:262)
at kodo.enhance.JDOEnhancer.run(JDOEnhancer.java:2186)
at kodo.enhance.JDOEnhancer.run(JDOEnhancer.java:2122)
at kodo.enhance.JDOEnhancer.main(JDOEnhancer.java:2094)
Caused by: org.apache.commons.logging.LogConfigurationException:
org.apache.commons.logging.LogConfigurationException:
org.apache.commons.logging.LogConfigurationException: Class
org.apache.commons.logging.impl.SimpleLog does not implement Log
Similar Messages
-
[ANN] Maven Kodo Plugin 4.0.0 Released
The maven-kodo-plugin team is pleased to announce the Kodo Plugin 4.0.0-EA2
release!
http://maven-plugins.sourceforge.net/maven-kodo-plugin/
Maven plugin for Solarmetric's Kodo JDO implementation
Changes in this version include:
New Features:
o This version requires Kodo 4.0.0-EA2 jars. Please note that this version is
in an early stage.
To automatically install the plugin, type the following on a single line:
maven plugin:download
-DgroupId=maven-kodo-plugin
-DartifactId=maven-kodo-plugin
-Dversion=4.0.0-EA2
For a manual installation, you can download the plugin here:
http://www.ibiblio.org/maven,http://maven-plugins.sourceforge.net/repository/maven-kodo-plugin/plugins/maven-kodo-plugin-4.0.0-EA2.jar
Have fun!
-The maven-kodo-plugin teamThanks! We'll add a link in our documentation.
-
Kodo plugin for eclipse 3.1.2 : does it work ?
hi,
i have installed the plugin in my Eclipse plugins directory but i still
cannot see it in Eclipse IDE.
I tried to change perspectives, and customize it, i dont see any KODO
views.
Nothing.
Does anyone know if it's bugging, or what i can do to make it work ?
ThanksAre you sure that you've copied the needed jars into the plugin
directory? I mean not only the pluing jar but also jdo-1.0.2.jar and
kodo-run.jar, etc. You can find the list of the needed jars in plugin.xml -
[ANN] Kodo Plugin 3.2.4 Released
The maven-kodo-plugin team is pleased to announce the Kodo Plugin 3.2.4
release!
http://maven-plugins.sourceforge.net/maven-kodo-plugin/
Maven plugin for Solarmetric's Kodo JDO implementation
Changes in this version include:
New Features:
o This version requires Kodo 3.2.4 jars.
For a manual installation, you can download the plugin here:
http://prdownloads.sourceforge.net/maven-plugins/maven-kodo-plugin-3.2.4.jar?download
Have fun!
-The maven-kodo-plugin teamNono-
Thix comes from a faulty interaction between the MySQL JDBC Driver
and the JBoss DataSource. All reports are that this warning has no
effect, and can be ignored.
Please let us know if it is causing serious problems for you. Also,
ensure that you are using the latest version of Kodo.
In article <bnqv0k$9p5$[email protected]>, Nono Garc__a wrote:
>
We are evaluating Kodo but we have various problems and a few information
to solve them.
For example: JBoss log: WARN [Runtime] java.sql.SQLException: You cannot
rollback with autocommit set!
I don't know set autocommit off. It's kodo configuration? It's mysql
configuration? How i configure it?
Thanks.--
Marc Prud'hommeaux [email protected]
SolarMetric Inc. http://www.solarmetric.com -
What update site flexPMD plugin for FlashBuilder 4.6 ? and login/password to get it from SVN ?
Just thought I'd answer here to tell you what's going on around FlexPMD.
FlexPMD has been donated to the Apache Flex project and has been sitting there since then. In invested quite some time to find out if we would release FlexPMD soon. Even if if does work when using the Ant target the Maven part is completely out of date and I didn't manage to get things working in reasonably up-to-date Maven versions. It seems that FlexPMD had been a fork of the original PND which hasn't been updated for a really long time. Instead of fixing and updating FlexPMD to work on Maven again, I contributed a patch to PMD that helped modularize PMD 5.2. This has been released recently and even the maven-pmd-plugin for that version have now been releases. So this version allows to create a Flex language module for the official PMD system. Hopefully with this we'll get a well maintained PMD core to work on top of.
Unfortunately I had to finish some other things first, but I do have this on my radar next. So please subscribe to the flex user list and you'll be kept up to date on any progress.
Chris -
Is Maven 2 Plugin for JDeveloper 10.1.3 under development? If not, does Oracle or any third party have a plan to develop one?
Hi, I use the "trinidad-build-plugin" and I don't find the "problems" mentioned in the article much annoying. I have my maven repo in $HOME/.m2 and other developers can have their repo whereever they want. However, we do not share the jws/jpr files that the plugin generate.
I have to define the build command as an external tool in jdev, and it'd be nice to have the maven output (errors and warnings) hotlinked to the source. So some support inside Jdev would be nice.
Netbeans has a nice plugin that actually lets you open pom files directly and has maven integrated. Something similar for JDev would be really nice. Until then the existing plugin works just fine. It produces 10.1.3 files, but I have 11.1.1 migrate them and that works just fine.
The really nice stuff here is that you have maven manage all deps and libs/jars for you. That's definitely worth it. -
Maven plugin for managing CQ5 packages
Hi,
Here's some new documentation that explains how to use the Content Package Maven plugin. You can package and install content from your maven build...for example, in your POM, add goals for package creation and installation to automatically deploy the OSGi bundle that was built. You can perform other package management tasks on remote servers, like rebuild packages, and list, uninstall, and remove them.
http://dev.day.com/docs/en/cq/current/core/how_to/how_to_use_the_vlttool/vlt-mavenplugin.h tml
scottThank you so much for prompt reply!!
I am new to this so I am bit confused.
Would it be possible for you to check my pom file? And let me know if the configuration looks Ok?
Command used: mvn clean package content-package:install -P felix-deploy
Setting.xml
<?xml version="1.0" encoding="UTF-8"?>
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
<pluginGroups>
<pluginGroup>content-package-maven-plugin</pluginGroup>
</pluginGroups>
<proxies />
<servers>
<server>
<id>snapshots</id>
<username>cqadmin</username>
<password>internal1</password>
</server>
<server>
<id>internal</id>
<username>cqadmin</username>
<password>internal1</password>
</server>
</servers>
<mirrors>
<mirror>
<id>internal</id>
<url>http://localhost:9090/archiva/repository/internal/</url>
<mirrorOf>*</mirrorOf>
</mirror>
</mirrors>
<profiles>
<profile>
<id>adobe-public</id>
<activation>
<activeByDefault>false</activeByDefault>
</activation>
<properties>
<releaseRepository-Id>adobe-public-releases</releaseRepository-Id>
<releaseRepository-Name>Adobe Public Releases</releaseRepository-Name>
<releaseRepository-URL>
http://repo.adobe.com/nexus/content/groups/public/com/day/cq/wcm/cq-content/</releaseRepository-URL>
</properties>
<repositories>
<repository>
<id>adobe-public-releases</id>
<name>Adobe Public Repository</name>
<url>http://repo.adobe.com/nexus/content/groups/public</url>
<releases>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>adobe-public-releases</id>
<name>Adobe Public Repository</name>
<url> http://repo.adobe.com/nexus/content/groups/public/com/day/cq/wcm/cq-content/</url>
<releases>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</pluginRepository>
</pluginRepositories>
</profile>
</profiles>
</settings>
POM.xml
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>common</groupId>
<artifactId>common-ui</artifactId>
<version>0.0.1</version>
<name>common-ui</name>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<!-- timestamp property used when filtering files from META-INF path -->
<maven.build.timestamp.format>yyyy-MM-dd'T'HH:mm:ss.SZ</maven.build.timestamp.format>
<timestamp>${maven.build.timestamp}</timestamp>
<cq5.package.group>Common UI</cq5.package.group>
<cq5.app.name>common-ui</cq5.app.name>
</properties>
<profiles>
<profile>
<id>felix-deploy</id>
<build>
<plugins>
<plugin>
<groupId>com.day.jcr.vault</groupId>
<artifactId>content-package-maven-plugin</artifactId>
<version>0.0.19</version>
<configuration>
<name>common-ui</name>
<failOnError>true</failOnError>
<packageFile>
${project.artifactId}-${project.version}-cq5-package.zip
</packageFile>
<targetURL>http://localhost:4502/crx/packmgr/service.jsp</targetURL>
</configuration>
<executions>
<execution>
<goals>
<goal>package</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<build>
<plugins>
<plugin>
<!-- Assembly plugin used to make cq5 package zip file -->
<artifactId>maven-assembly-plugin</artifactId>
<version>2.3</version>
<configuration>
<builtContentDirectory>jcr_root</builtContentDirectory>
<targetURL>http://localhost:4502/crx/packmgr/service.jsp</targetURL>
</configuration>
<executions>
<execution>
<id>make-assembly</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
<resources>
<resource>
<directory>src/main/content</directory>
<includes>
<include>**/*.*</include>
</includes>
</resource>
</resources>
</build>
</project>
ERROR:
C:\workspace-aaa-eris\wms-cms-common-ui>mvn clean package content-package:install -P felix-deploy
[INFO] Scanning for projects...
[WARNING] Failed to retrieve plugin descriptor for com.day.jcr.vault:content-package-maven-plugin:0.0.19: Invalid plugin descriptor for com.day.jcr.vault:content-package-maven-plug
in:0.0.19 (C:\Users\gxoshre\.m2\repository\com\day\jcr\vault\content-package-maven-plugin\0.0.19\co ntent-package-maven-plugin-0.0.19.jar), Plugin's descriptor contains the wrong ve
rsion: 0.0.16
Downloading: http://localhost:9090/archiva/repository/internal/org/codehaus/mojo/maven-metadata.xml
Downloading: http://localhost:9090/archiva/repository/internal/content-package-maven-plugin/maven-metad ata.xml
Downloading: http://localhost:9090/archiva/repository/internal/org/apache/maven/plugins/maven-metadata. xml
Downloaded: http://localhost:9090/archiva/repository/internal/org/apache/maven/plugins/maven-metadata. xml (11 KB at 0.7 KB/sec)
Downloaded: http://localhost:9090/archiva/repository/internal/org/codehaus/mojo/maven-metadata.xml (21 KB at 1.4 KB/sec)
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 15.148s
[INFO] Finished at: Wed Oct 03 12:34:25 MST 2012
[INFO] Final Memory: 4M/15M
[INFO] ------------------------------------------------------------------------
[ERROR] No plugin found for prefix 'content-package' in the current project and in the plugin groups [content-package-maven-plugin, org.apache.maven.plugins, org.codehaus.mojo] ava
ilable from the repositories [local (C:\Users\gxoshre\.m2\repository), internal (http://localhost:9090/archiva/repository/internal/)] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/NoPluginFoundForPrefixException
C:\workspace-aaa-eris\wms-cms-common-ui -
Hello All,
I have developed a Maven Plugin for Flex , hope someone will find it useful.flexmojos is fine, I'm working with a client using it in their automated deployments that uses all the tech you listed and then some. It takes a little bit to get configured but it does the job quite nice.
-
How to configure wls-maven-plugin for support remote actions ?
hi,
currently I installed weblogic 12.1.1.0 .
also using wls-maven-plugin for deployment .
in documentation specified that
middlewareHome ,weblogicHome ,domainHome has defaults values .
so when you are not set them explicitly plugin use defaults values
[http://docs.oracle.com/cd/E24329_01/web.1211/e24368/maven.htm#WLPRG585|http://docs.oracle.com/cd/E24329_01/web.1211/e24368/maven.htm#WLPRG585]
whats happened if I want to do remote deployment meaning packaging my artifacts in machine A and deploy it to a server on target machine B .
some limitations
1. I cant use share folder between A and B
2. Installation location on B is not on the default path - "D:\weblogic\wlserver_12.1"
how plugin should know those require values on machine B , where the execution of the maven goal take place on machine A?
does any body knows if the plugin support this case of remote deployment or does this plugin support only local deployment ?
what is the best way to do remote action like start-server , stop-server, deploy , undeploy with weblogic app-server
Thanks
Nir
Edited by: lukass77 on Nov 13, 2012 3:36 PMhi,
currently I installed weblogic 12.1.1.0 .
also using wls-maven-plugin for deployment .
in documentation specified that
middlewareHome ,weblogicHome ,domainHome has defaults values .
so when you are not set them explicitly plugin use defaults values
[http://docs.oracle.com/cd/E24329_01/web.1211/e24368/maven.htm#WLPRG585|http://docs.oracle.com/cd/E24329_01/web.1211/e24368/maven.htm#WLPRG585]
whats happened if I want to do remote deployment meaning packaging my artifacts in machine A and deploy it to a server on target machine B .
some limitations
1. I cant use share folder between A and B
2. Installation location on B is not on the default path - "D:\weblogic\wlserver_12.1"
how plugin should know those require values on machine B , where the execution of the maven goal take place on machine A?
does any body knows if the plugin support this case of remote deployment or does this plugin support only local deployment ?
what is the best way to do remote action like start-server , stop-server, deploy , undeploy with weblogic app-server
Thanks
Nir
Edited by: lukass77 on Nov 13, 2012 3:36 PM -
OpenJPA plugin for Eclipse?
Hi All,
Is there an OpenJPA plugin for Eclipse? I so, what does it do and is it available for Eclipse version 3.2.2?
Thanks.Hi,
Eclipse 3.4 EE edition will run any SE JPA app and deploy EE JPA based EARs to all the major application servers without extra configuration, Eclipse 3.3 will run SE and EE (with the WTP 3.0 extension). You may need to supply the implementation libraries from the respective JPA vendors themselves.
You will find everything you need to run TopLink using the EclipseLink JPA provider including the Workbench and Dali UI's in the following locations....
http://www.eclipse.org/eclipselink/
http://wiki.eclipse.org/EclipseLink
http://wiki.eclipse.org/EclipseLink/Source
http://www.eclipse.org/webtools/dali/main.php
The following SE and container managed pure JPA examples will work fine with OpenJPA by changing the provider tag and associated properties in persistence.xml - I verified this on WebLogic 10.3. However, I recommend using EclipseLink as the persistence provider for any new projects.
In
http://wiki.eclipse.org/EclipseLink/Examples/JPA/WebLogic_Web_Tutorial
Change
<provider>org.eclipse.persistence.jpa.PersistenceProvider</provider>
To
<provider>org.apache.openjpa.persistence.PersistenceProviderImpl</provider>
Or
<provider>kodo.persistence.PersistenceProviderImpl</provider>
Modify @Id generation as required on your entities.
When running in SE or outside of WebLogic, make sure you have the additional library org.apache.openjpa_....jar or com.bea.core.kodo.....jar(s) available, turn on logging via the application server admin console in EE or via the following property in SE.
<property name="openjpa.Log" value="DefaultLevel=TRACE, Runtime=TRACE, Tool=ITRACE"/>
You should see the following logs to start
####<Apr 2, 2009 10:51:55 AM EDT> <Info> <Kodo JDBC> <yyyyyy-pc3> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1238683915406> <BEA-2002382> <[JDBC] Using dictionary class "kodo.jdbc.sql.KodoOracleDictionary" (Oracle Oracle Database 11g Enterprise Edition Release nn.n.n.n.n - Production
####<Apr 2, 2009 10:52:06 AM EDT> <Info> <Kodo> <yyyyyy-pc3> <AdminServer> <[ACTIVE] ExecuteThread: '10' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <BEA1-0001D8440D073057A4BD> <> <1238683926140> <BEA-2004002> <Starting BEA Kodo 4.2.0>
thank you
/michael
Edited by: michael_obrien on Apr 2, 2009 10:19 AM -
I am Fedora 13x64 bit. I just installed FF v6.0.2 from the FF download site. I backed up the existing FF 3.6 as firefox_old
I need to have a Java plugin to access company site, how do I configure the Java Plugin ?
At the Plugin area in FF6 there is no Java Plugin available, even after a search.
I have Java 1.6.0 installed in the OS at:
/usr/lib/jvm/java-1.6.0/jre/lib/amd64/libnpjp2.so
I googled how to configure Java Plugin for FF 6 for Fedora 13 and the trick was to create a soft link from /home/<userID>/.mozilla/plugins to the above libnpjp2.soAVtech wrote:
. . . If a person can't get an answer here I don't know where else to turn since Sun certainly wouldn't offer tech support for a free product . . .These forums are user forums, and only occasionally visited by Sun employees. Sun does provide Java technical support options, although (of course) at a charge.
See:
http://developers.sun.com/services/
. . . I guess we'll just use JRE 5 until it's unsupported, whenever that will be. I'm still waiting for an answer on that question, too. See:
http://java.sun.com/products/archive/eol.policy.html
http://www.sun.com/service/eosl/
This document (part IV and Appendix) has some debugging and troubleshooting information that may allow someone involved in the problem to resolve the cause:
See:
http://java.sun.com/javase/6/docs/technotes/guides/plugin/developer_guide/contents.htm
Any steps that you can take to isolate the problem to specific Java versions, browsers, applets, web sites, operating systems (and versions), etc, would enhance the possibility of getting help.
You can try the applets at this Sun location and see if any of them are "slow".
See:
http://java.sun.com/javase/6/docs/technotes/samples/demos.html -
Setting up the Apache HTTP Plugin for several BEA Servers
Hey together,
i would like to setup the apache http plugin for several bea-servers.
I am running apache 1.x on my hp-ux system. There are 2 bea-server-domains on this box and both should be proxied by the plugin simultaneously.
As far as i know it isn't possible to run 2 or more instances of the apache webserver. I heard of virtualhosts, maybe i should try this one out.
Somebody knows how to deal with this problem or does any1 know if virtualhosts could cope with my needs?
Thanks in advanceOk here i am again and i'm stuck. Here my wishes again:
there are 2 weblogic-instances (domains) running on a machine xxx, instance A listening on port 8041, instance B listening on port 8051. I want to configure apache virtualhosts in combination with weblogic plugins, so that request with /ld will be sent to instance A while requests with /ldd will be sent to instance B. Both are no clusters. Therefore i tried it with the following configuration (httpd.conf):
<VirtualHost xxx:8080>
DocumentRoot "/opt/hpws/apache/htdocs"
ServerName xxx:8080
<IfModule mod_weblogic.c>
WebLogicHost xxx
WebLogicPort 8041
#MatchExpression *
#PathPrepend=/test2
</IfModule>
<Location /ld>
SetHandler weblogic-handler
PathTrim /ld
</Location>
</VirtualHost>
# VirtualHost2 = xxx:8090
<VirtualHost xxx:8090>
DocumentRoot "/opt/hpws/apache/htdocs"
ServerName xxx:8090
<IfModule mod_weblogic.c>
WebLogicHost xxx
WebLogicPort 8051
#MatchExpression *
#PathPrepend=/test2
</IfModule>
<Location /ldd>
SetHandler weblogic-handler
PathTrim /ldd
</Location>
Doesnt really work. Can some1 help please?
Thanks -
Can I do this with a plugin for Reader?
Hello, I'm totally new to Adobe Reader development and I'm in the need to develop a plugin for Reader that must implement certain functionality. Before starting, I think it's better to ask to the experts if what I want to do is possible or if what I need goes beyond what the Adobe API provides. So, if you're so kind, I'd like you to check the list of needed features and please tell me if they can be fulfilled with a Reader Plugin.
The plugin must work for Adobe Reader 7,8,9 and 10. It's not a problem if I need to develop a plugin for each version.
When the user tries to print a document, I will block/cancel the printing process depending on which document is tried to be printed (the full path to the document will be needed).
I need traceability in "Save as" and "Save as text" features, if the user saves a copy of "c:\file.pdf" into "c:\file - copy.pdf" I need to know both the source and the destiny of the save as operation. Same for any kind of "export to format x" operations if possible.
I need to be able to communicate with another module via named pipe to periodically send information. This might require dinamically loading a DLL and calling its methods.
[Optional] I need to restrict the use of the clipboard depending on the documents opened in Reader, i.e. don't allow to copy if a certain document is opened.
[Optional] If a document is exported via file printer (like Microsoft xps printer), I need traceability on this operation. I'm really pesimistic about this one.
Also, I'm assuming that retrieving the list of opened documents, or the "active" document will be possible at any time. Please, correct me if wrong.
Thank you very much for your time, for reading and helping. Im' not asking you to tell me how to implement every single feature, I just need to know if I will be able to implement them when I get some knowledge.
Have a great day. Greets.
Message was edited by: fernandoarrabal reason: bad phrasingTwo things.
First – Adobe no longer supports Reader 7 or 8, so you would be on your own for those.
Second, in order to develop a plugin for Reader you need to obtain a license from Adobe. Details and forms are in the Acrobat SDK. Start this process ASAP as that will tell you whether you will be able to do your plugin or not. -
How to configure webserver plugin for IIS to fwd request to multiple server
Hi,
Have configured Sun One webserver plugin for IIS is configured as per the documentation - http://docs.sun.com/source/816-7156-10/agplugin.html
Have a requirement to forward the request to three different servers
Eg : http://www.host1.com/app1
http://www.host2.com/app2
http://www.host3.com/app3
Getting bad gateway error when this is configured in sun-passthrough.properties file
serverpool1.server=http://www.host1.com
serverpool1.passthrough=/app1
serverpool2.server=http://www.host2.com/
serverpool2.passthrough=/app2
Is this configuration wrong?
ThanksFirst, set the user back to www or whatever it was. To do namebased virtual hosting, you'll need to change two things. The first is to add a NameVirtualHost directive to /etc/httpd/sites/virtualhostglobal.conf
This is one of the VirtualHost stanzas from my Linux box, you just have to adjust the paths for your machine:
<VirtualHost www.mydomain.com>
ServerAlias mydomain.com
ServerAdmin [email protected]
DocumentRoot /usr/people/httpd/html/www
<Directory /usr/people/httpd/html/www>
Options Includes
AllowOverride AuthConfig
</Directory>
ScriptAlias /bin /usr/people/httpd/cgi-bin/www
ScriptAlias /cgi-bin /usr/people/httpd/cgi-bin/www
</VirtualHost>
Restart Apache and you should be good to go. If there are errors, could you post them from /var/log/httpd/error_log ?
Roger -
Third party plugin for premier pro cs6
I installed a third party plugin for premier pro cs6 on my mac and it's not loading... How can get premiere to see it in the program?
hi todd,
cart in front of the horse syndrome - wrote BEFORE reading the article. sorry ;-)
am coming from 10 years of vegas, unhappily so, but at my age 60+, i'm wary of anything new....
Maybe you are looking for
-
What is the best way to configure my iPods and user accounts?
I'm looking for a little guidance. Here is my situation: I am running the latest version of Tiger. It is currently configured with three accounts; mine is the admin. account and each of my two children have their own accounts. My account is the one t
-
Ipad not recognised by windows 7
I have followed the instructions around windows 7 not recognising my ipad and it has led me here. It was recognised the first time I connected, but not since. The only thing I'm not sure about is conflicting programs that may have an affect. I am wit
-
I think I just need a hard reboot to clean out all the junk on this phone. Without any manuals or any real useful info online from apple on older phones this is my only real outlet.
-
Create Delivery with reference to seasonal stock transport order
Hello Gurus How do we create a delivery with respect to seasonal stock transport order, in R/3 4.7. Thanks in advance
-
How to stop the remote service call
Hi On loading a screen i place some service call, now i move to next screen , but still the service call is running, i have to stop or cancel the last placed service call.Is there any way to stop the service call with out disconnecting the channel. t