Commit Graph
233 Commits
Author SHA1 Message Date
Jacques Le Roux e3a6768d56 Reverts r1598505, I will also update the files under framework\base\cert to backport all in one shoot
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1598507 13f79535-47bb-0310-9956-ffa450edef68
2014-05-30 09:04:38 +00:00
Jacques Le Roux 1f1a5c952c New self signed SSL certificate created on the OFBiz demo VM with own CA following http://httpd.apache.org/docs/current/ssl/ssl_faq.html#realcert
This certificate is valid for 10 years (until May 27 08:43:19 2024 GMT)
Characteristics: C=US, ST=DE, L=Wilmington, O=Apache Software Fundation, OU=Apache OFBiz, CN=ofbiz-vm.apache.org/emailAddress=dev@ofbiz.apache.org
The password is still the same: changeit, I checked: HTTPS works locally


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1598505 13f79535-47bb-0310-9956-ffa450edef68
2014-05-30 08:58:44 +00:00
Jacopo Cappellato a4db370bbc Removed appender-ref reference that I forgot to remove as part of 1489461; thanks to Deepak Dixit for reporting this.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1493658 13f79535-47bb-0310-9956-ffa450edef68
2013-06-17 06:57:40 +00:00
Jacopo Cappellato 4ae936a5f3 The content rendered in the Webtools "view log" screen is now rendered from the ofbiz.log file rather then the ofbiz.html file in order to provide more control on the html code rendered in the screen. This fixes the vulnerability CVE-2013-2137
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1489461 13f79535-47bb-0310-9956-ffa450edef68
2013-06-04 14:48:40 +00:00
Adam Heath 2046bec01a FIX: Forgot to add this new file when I added the ability to disable ssl
certificate checking.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1482126 13f79535-47bb-0310-9956-ffa450edef68
2013-05-13 22:30:32 +00:00
Adam Heath 432ce20711 FEATURE: Switch derby <inline-jdbc> to use the external
passwords.properties.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1482057 13f79535-47bb-0310-9956-ffa450edef68
2013-05-13 20:04:59 +00:00
Adam Heath 158bc8b1de FEATURE: Allow for passwords in entityengine.xml to come from an
external passwords.properties file; nothing actually uses this yet,
however.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1482056 13f79535-47bb-0310-9956-ffa450edef68
2013-05-13 20:04:51 +00:00
Jacques Le Roux b46c7a2c06 A patch from Naofumi Fukue "Japanese patch" https://issues.apache.org/jira/browse/OFBIZ-5061
Got an issue merging GeoData_JP.xml with Subclipse, using Toirtoise solved it

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1403746 13f79535-47bb-0310-9956-ffa450edef68
2012-10-30 15:48:42 +00:00
Jacques Le Roux 9dcd3564e3 Moves the workflow component to attic
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1381884 13f79535-47bb-0310-9956-ffa450edef68
2012-09-07 05:39:26 +00:00
Jacopo Cappellato 0abd7c2f6d Moved some (commented out) container definitions to the components they belong to.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1365889 13f79535-47bb-0310-9956-ffa450edef68
2012-07-26 05:51:54 +00:00
Jacopo Cappellato 20b343d1f5 Unified all the different variants of *-containers.xml files into one; this has been made possible because now you can declare the container loaders in the startup properties; also moved some container definitions from base/config to the proper component.
It is now very easy to control the way containers are loaded.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1360637 13f79535-47bb-0310-9956-ffa450edef68
2012-07-12 11:34:41 +00:00
Jacopo Cappellato 9ccc542a28 Moved "naming-container" to the base component configuration file.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1356087 13f79535-47bb-0310-9956-ffa450edef68
2012-07-02 07:28:55 +00:00
Jacopo Cappellato 0b16982849 Moved rmi-dispatcher container definition to the service component.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1356074 13f79535-47bb-0310-9956-ffa450edef68
2012-07-02 05:55:25 +00:00
Jacopo Cappellato b3a310b3df Moved catalina container definitions to the catalina component.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1355853 13f79535-47bb-0310-9956-ffa450edef68
2012-07-01 06:59:37 +00:00
Jacopo Cappellato f9cc630e33 Misc cleanups to the specialized *-containers.xml files: removed redundant commented out definitions (that are copy of the ones available in ofbiz-containers.xml) and removed a couple of still enabled beanshell telnet containers.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1355470 13f79535-47bb-0310-9956-ffa450edef68
2012-06-29 16:55:11 +00:00
Jacopo Cappellato 068430fb8b Moved a few container definitions from the base/config/*-containers.xml files to their own component's ofbiz-component.xml file; this is a demonstration of the usage of the new ability to define component level containers; this is still experimental and there is room for improvements (and I am working on them and going to discuss a few details in the dev list) but this should already give a good idea of how we can remove redundancy from the various *-containers.xml files, remove dependencies between framework components and make the components self deployable.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1355466 13f79535-47bb-0310-9956-ffa450edef68
2012-06-29 16:43:51 +00:00
Jacopo Cappellato 3594858b4f This (temporarily) reverts my last commit 1354885: I still have to figure out a few things (how to selectively enable/disable containers at startup)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1354905 13f79535-47bb-0310-9956-ffa450edef68
2012-06-28 10:35:33 +00:00
Jacopo Cappellato d5c7ad614e Moved the "container" declaration for Birt from the base/config/ofbiz-containers.xml to the Birt's own component definition file: this change is a step in the direction of making the "birt" component self deployable (in the hot-deploy folder), in preparation for the removal of the "birt" component from the trunk.
This configuration is made possible by the commit rev. 1354884 and we may consider to apply it to other containers (e.g. Jetty and Catalina).


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1354885 13f79535-47bb-0310-9956-ffa450edef68
2012-06-28 09:43:18 +00:00
Jacopo Cappellato a610e70049 As discussed in the dev list, removed the experimental jcr component; its development will continue in the proper branch.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1347478 13f79535-47bb-0310-9956-ffa450edef68
2012-06-07 08:14:28 +00:00
Adam Heath 27e88264a0 FIX: Prefix all log file names with ${ofbiz.home}, so when code is run directly from a subdir(when doing api testing), the logs are still placed at the top level. Previously, you'd end up with $PWD/runtime/logs scattered all around.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1344771 13f79535-47bb-0310-9956-ffa450edef68
2012-05-31 15:23:21 +00:00
Jacopo Cappellato ee53c9452b Some cleanups and changes to logging configuration:
* some misc formatting and changes to comments
* removed the old and unused configuration for minerva
* added a new file appender for Tomcat where all Tomcat internal logging is now redirected 
* changed internal logging for FOP from info to warn to be consistent with the settings of other external components (Tomcat, Geronimo Transaction Manager, Freemarker)


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1343269 13f79535-47bb-0310-9956-ffa450edef68
2012-05-28 14:41:50 +00:00
Jacques Le Roux b48ff3a62c Closes "Move SHARK to Attic" https://issues.apache.org/jira/browse/OFBIZ-4795
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1343064 13f79535-47bb-0310-9956-ffa450edef68
2012-05-27 15:47:32 +00:00
Sascha Rodekamp 374d9aa1d4 Change the RMI and JNDI port in the Test-containers.xml to 1099. Because the jndi servers in jndiservers.xml/jndi.properties are also configured to port 1099. If another port is set in the *-containers.xml the JNDI server could not be reached.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1330778 13f79535-47bb-0310-9956-ffa450edef68
2012-04-26 11:15:48 +00:00
Sascha Rodekamp e4004ed672 Small code cleanups and refactoring for the Jackrabbit implementation, no functional changes
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1327470 13f79535-47bb-0310-9956-ffa450edef68
2012-04-18 12:22:20 +00:00
Jacques Le Roux 50cbd9b4f3 Complete r1326064, moreover I forgot to save the others *-containers.xml
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1326080 13f79535-47bb-0310-9956-ffa450edef68
2012-04-14 09:59:33 +00:00
Jacques Le Roux 86ca2bcd04 Complete r1326064, I forgot to save ofbiz-containers.xml before committing and did not notice
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1326072 13f79535-47bb-0310-9956-ffa450edef68
2012-04-14 08:49:05 +00:00
Jacopo Cappellato 4835731c9c Upgrade to the latest version of JUnit (4.10).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1311221 13f79535-47bb-0310-9956-ffa450edef68
2012-04-09 13:37:18 +00:00
Jacques Le Roux ec788aa471 Adds 1 to all ports in order to be able to run concurrently an OFBiz instance and a test instance on the same machine.
This closes "set different ports for testing in a CI environment (e.g. Jenkins)" https://issues.apache.org/jira/browse/OFBIZ-4794

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1311214 13f79535-47bb-0310-9956-ffa450edef68
2012-04-09 13:08:37 +00:00
Jacques Le Roux 838c5c52c4 No functional change, just shift a line in proper place
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1310978 13f79535-47bb-0310-9956-ffa450edef68
2012-04-08 11:25:35 +00:00
Jacques Le Roux 8b2bfe325f Groups Tomcat http/s connectors compression properties and adds text/javascript,text/css as new compressableMimeTypes
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1310975 13f79535-47bb-0310-9956-ffa450edef68
2012-04-08 10:51:02 +00:00
Jacopo Cappellato 7bc6142674 Set log levels for Freemarker (to disable all log messages under warning) to resolve performance issue in newer releases of freemarker.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1308355 13f79535-47bb-0310-9956-ffa450edef68
2012-04-02 13:58:14 +00:00
Joseph Eckard b4b7b1b0a5 fixed typos in example jetty config, NIO connectors did not have the correct types
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1305605 13f79535-47bb-0310-9956-ffa450edef68
2012-03-26 21:18:34 +00:00
Joseph Eckard ba4d9e2eee update jetty container to use the latest jetty-8 release, 8.1.2
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1303894 13f79535-47bb-0310-9956-ffa450edef68
2012-03-22 17:08:31 +00:00
Jacopo Cappellato dc4edc748e CVE-2012-1621: Removed the Webslinger component and all the framework dependencies on it; the reasons for this
* no active committer was maintaining the webslinger component
* the component was experimental and not really used by OFBiz
* the component was really big (lot of jars etc...) and we are trying to slim down the OFBiz framework and keep only the essential/useful features
* this fixes a security issue reported to the OFBiz PMC

The only Webslinger feature used by the OFBiz framework was the "service debug mode" (enabled by default with the property servicedispatcher.servicedebugmode): I have considered to keep it but it was impossible because it relied on Webslinger legacy code (in the org.webslinger.invoker.* package) that was never contributed as a source file to the OFBiz project; I have tried to review the source file from an external Webslinger repo but I couldn't find them; the only site about Webslinger I could find is this:
http://www.webslinger.org/Downloads
but the svn resources mentioned there are broken. The fact that the OFBiz frameework was dependent (for a feature useful only in development mode) on an external project that doesn't publish its source code (at least in an easy to find location) convinced me that it was better to clean up the dependency completely; on the bright side OFBiz should now use less memory.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1301866 13f79535-47bb-0310-9956-ffa450edef68
2012-03-17 05:35:45 +00:00
Sascha Rodekamp dd3c285da8 JCR container definition was placed between the cataline container definition description and th definition itself. That doesn't looked good.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1300014 13f79535-47bb-0310-9956-ffa450edef68
2012-03-13 09:00:43 +00:00
Adrian Crum deac392f10 Refactored ScriptUtil.java to use the javax.script package (JSR-223).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1296897 13f79535-47bb-0310-9956-ffa450edef68
2012-03-04 23:43:27 +00:00
Hans Bakker 92397979ed upgrade BIRT to 3.7.2 http://www.eclipse.org/birt/phoenix/project/notable3.7.php
- Addresses BIRT engine with a new POJO based runtime
- Add more content types
  * Post Script
  * Open Document Text
  * Open Document Spreadsheet
  * Open Document Presentation

- Remove warning messages at compile time
- Set an override content type in the view handler

A contribution of Chattree



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1293999 13f79535-47bb-0310-9956-ffa450edef68
2012-02-27 02:37:16 +00:00
Sascha Rodekamp 0141c39f55 Reintegrating the Jackrabbit Development branch into the turnk.
The Merge contains the basic integration of jackrabbit into ofbiz and provides a simple API for further development.

Features:
API for easy CRUD operations
Versioning 
Multi Language Support
Object Content Mapping
Sample Implementation in Example Area

See this merge as first step. The development is still in progress but this is the stable starting point for all feature developments.


Detailed description can be found in the Wiki: https://cwiki.apache.org/OFBIZ/jackrabbit-branch-development.html

For any questions, requests, issues use the jira post: https://issues.apache.org/jira/browse/OFBIZ-4659

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1231647 13f79535-47bb-0310-9956-ffa450edef68
2012-01-15 10:41:50 +00:00
Jacques Le Roux 5ac6c5f240 Better comment, no functional changes
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1209927 13f79535-47bb-0310-9956-ffa450edef68
2011-12-03 15:01:55 +00:00
Hans Bakker 6a52e4e75c upgrade tomcat from 6 -> 7 more detail at: https://issues.apache.org/jira/browse/OFBIZ-4563
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1203470 13f79535-47bb-0310-9956-ffa450edef68
2011-11-18 03:06:17 +00:00
Adam Heath 62e143afa2 OPTIMIZE: Turn off some additional debug log calls for
catalina-related sources.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1139853 13f79535-47bb-0310-9956-ffa450edef68
2011-06-26 18:07:29 +00:00
Jacques Le Roux 545e828855 This is actually default values, better to keep them commented out as Chris Snow noticed some time ago in dev ml
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1098795 13f79535-47bb-0310-9956-ffa450edef68
2011-05-02 21:20:37 +00:00
Bruno Busco e5e4b73a82 Better Italian labels
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1090757 13f79535-47bb-0310-9956-ffa450edef68
2011-04-10 10:08:08 +00:00
Adrian Crum 355cc6a59e Fix framework/base tests that were not running. Patch from Bob Morley with a few changes by me - https://issues.apache.org/jira/browse/OFBIZ-3662.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1085735 13f79535-47bb-0310-9956-ffa450edef68
2011-03-26 15:11:00 +00:00
Jacques Le Roux 1806397b93 Update defaultValveFilter using http://tomcat.apache.org/tomcat-6.0-doc/config/cluster-valve.html as reference, with our own specificities (.*\.ico;.*\.htc;) even if I guess It's not a big deal. This is mostly a reference for future.
So adds.*\.png;.*\.css;.*\.ico;.*\.htc; 

I wonder though why "\" were not used previously, maybe an older version of Tomcat cluster-valve

Also update containers...

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1081740 13f79535-47bb-0310-9956-ffa450edef68
2011-03-15 11:40:43 +00:00
Jacques Le Roux 6d47543fe3 Fix ports numbers
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1072395 13f79535-47bb-0310-9956-ffa450edef68
2011-02-19 17:08:08 +00:00
Jacques Le Roux e3711d2369 * Replaces the old testRemoteSoap service now invalid with our own dog food: testSoapSimple from http://demo-trunk.ofbiz.apache.org:8080/webtools/control/SOAPService
* Adds a bunch of external SOAP services, none of them work so far, not sure why, a good exercise for the future...

I have tried to backport to R9.04 the testRemoteSoap change but it does not work there:

2011-02-19 17:26:02,500 (http-0.0.0.0-8443-1) [               Call.java:2469:ERROR] Exception:
org.xml.sax.SAXException: Deserializing parameter 'map-Map':  could not find deserializer for type {http://www.w3.org/2001/XMLSchema}anyType
        at org.apache.axis.message.RPCHandler.onStartChild(RPCHandler.java:277)
        at org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1035)
        at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:165)
        at org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:1141)
        at org.apache.axis.message.RPCElement.deserialize(RPCElement.java:236)
        at org.apache.axis.message.RPCElement.getParams(RPCElement.java:384)
        at org.apache.axis.client.Call.invoke(Call.java:2467)
        at org.apache.axis.client.Call.invoke(Call.java:2366)
        at org.apache.axis.client.Call.invoke(Call.java:1812)
        at org.ofbiz.service.engine.SOAPClientEngine.serviceInvoker(SOAPClientEngine.java:137)


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1072378 13f79535-47bb-0310-9956-ffa450edef68
2011-02-19 16:32:19 +00:00
Jacques Le Roux f2d7b941f7 As discussed on dev ML, by default comment out Beanshell and Groovy containers for security reasons
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1063235 13f79535-47bb-0310-9956-ffa450edef68
2011-01-25 11:35:04 +00:00
Jacques Le Roux 357eda99e0 Revert file commited by error at r1063228
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1063234 13f79535-47bb-0310-9956-ffa450edef68
2011-01-25 11:33:23 +00:00
Jacques Le Roux 41f04cefbb As discussed on dev ML, by default comment out Beanshell and Groovy containers for security reasons
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1063228 13f79535-47bb-0310-9956-ffa450edef68
2011-01-25 11:25:23 +00:00