Re: Karaf 4.1.1 console issue with list and grep

2017-05-03 Thread asookazian2
Understood, thx for the clarification. -- View this message in context: http://karaf.922171.n3.nabble.com/Karaf-4-1-1-console-issue-with-list-and-grep-tp4050295p4050298.html Sent from the Karaf - User mailing list archive at Nabble.com.

Karaf 4.1.1 console issue with list and grep

2017-05-03 Thread asookazian2
bundle:list | grep -i "foo " On Mac the space and end quote is auto-completing when I the the first quote. I can't delete the space. So I can't search on "foo bar". Known issue/bug? Does not reproduce on Ubuntu. -- View this message in context:

bundle:info missing loaded location of JAR

2016-10-14 Thread asookazian2
Karaf 3.0.6 When I run "bundle:info 222" I don't see the file location of the loaded JAR. When I view the bundle.info file's contents in data/cache/bundle222, I do see it (e.g. file:/path/to/file/myJar.jar). Is it planned to add this info for the output of the "bundle:info" cmd? Or is there a

NPE when using bundle:id

2016-04-25 Thread asookazian2
karaf> system:version 3.0.3 karaf> bundle:id "foo" Error executing command: java.lang.NullPointerException 2016-04-25 09:20:51,190 | ERROR | l for user karaf | ShellUtil | 27 - org.apache.karaf.shell.console - 3.0.3 | Exception caught while executing command

Re: exported package in bundle A is not able to be imported in bundle B

2016-03-29 Thread asookazian2
I am seeing "Activator start error" when doing a feature:install xxx. What is recommended course of action? Just install the bundles one by one, in the top to bottom order from the features xml? Seems difficult to debug this way... -- View this message in context:

importing and exporting same package in same bundle

2016-03-28 Thread asookazian2
what are the side-effects/consequences of importing and exporting same package in same bundle? Is this normal or bad practice and if we are doing this in our manifest.mf, how do we correct this in the pom.xml and maven-bundle-plugin config/instructions? thx. -- View this message in context:

exported package in bundle A is not able to be imported in bundle B

2016-03-28 Thread asookazian2
Karaf 3.0.3 bundle B is in GracePeriod (and ultimately Failure) with dependency on bundle A (which is active and has lower start-level than bundle B). eventually bundle:diag 123 (for bundle B) gives: Status: Failure Blueprint 3/28/16 3:24 PM Exception: null

Re: using bundle:watch for bundle refreshes and updates

2015-11-20 Thread asookazian2
y default. > > Regards > JB > > On 11/20/2015 06:32 AM, asookazian2 wrote: >> I am currently using the following cmd to update an existing bundle: >> >> update 384 file:/path/to/bundleFoo.jar >> refresh 384 >> >> According to this doc: >>

using bundle:watch for bundle refreshes and updates

2015-11-19 Thread asookazian2
I am currently using the following cmd to update an existing bundle: update 384 file:/path/to/bundleFoo.jar refresh 384 According to this doc: https://karaf.apache.org/manual/latest/commands/bundle-watch.html The param for the bundle:watch cmd is URLs (bundle IDs or URLs) I'd like to have a

Debugging Karaf deployed app with Eclipse

2015-10-28 Thread asookazian2
Eclipse Kepler SR1 Karaf 3.0.3 I have a feature with a few bundles that are already installed. I can attach Eclipse debugger to socket 5005 as remote Java app and step thru the code with no issues. I make changes to a particular source file which maps to bundle 340. I uninstall bundle 340,

Re: Debugging Karaf deployed app with Eclipse

2015-10-28 Thread asookazian2
Thanks much, that solves the problem... -- View this message in context: http://karaf.922171.n3.nabble.com/Debugging-Karaf-deployed-app-with-Eclipse-tp4043203p4043205.html Sent from the Karaf - User mailing list archive at Nabble.com.

Equivalent to Spring AOP or EJB3 interceptor in Karaf?

2015-10-20 Thread asookazian2
What is the equivalent of Spring AOP or EJB3 interceptor in Karaf? Typical uses cases are auditing and profiling for example. What is recommended (any frmwk out-of-the-box in Karaf 3.x or 4.x or do we need to use an external frmwk?) thx. -- View this message in context:

Re: Equivalent to Spring AOP or EJB3 interceptor in Karaf?

2015-10-20 Thread asookazian2
Apparently these are the recommended approaches with CXF/JAX-RS: http://cxf.apache.org/docs/interceptors.html https://dzone.com/articles/common-cxf-request-interceptor -- View this message in context:

Re: bundle corruption with felix and karaf 3.0.2

2015-10-07 Thread asookazian2
Hi is this bundle corruption problem fixed in karaf 3.0.5? thx. -- View this message in context: http://karaf.922171.n3.nabble.com/bundle-corruption-with-felix-and-karaf-3-0-2-tp4037669p4042932.html Sent from the Karaf - User mailing list archive at Nabble.com.

Re: bundle corruption with felix and karaf 3.0.2

2015-10-07 Thread asookazian2
Also, we were seeing bundle corruption when terminating java process for Karaf 3.0.x (e.g. kill -9 or OS crashes). Is this fixed as well or is there a workaround? -- View this message in context:

Re: [ANN] Apache Karaf 3.0.4 Released!

2015-07-06 Thread asookazian2
Are there any regressions with 3.0.4? We are having hanging behavior with ssh cmds in 3.0.4. No stack trace/errors. Specifically, did the following patch break related functionality? https://issues.apache.org/jira/browse/KARAF-3656 https://issues.apache.org/jira/browse/KARAF-3656 -- View

Re: SLF4J logging error in console on startup

2015-05-20 Thread asookazian2
-logging bundles are correctly started ? Do you use a custom distro ? I just tested with a fresh Karaf 3.0.3 and it starts fine, including pax-logging. Regards JB On 05/19/2015 10:50 PM, asookazian2 wrote: Karaf 3.0.3 SLF4J: Failed to load class org.slf4j.impl.StaticLoggerBinder. SLF4J

SLF4J logging error in console on startup

2015-05-19 Thread asookazian2
Karaf 3.0.3 SLF4J: Failed to load class org.slf4j.impl.StaticLoggerBinder. SLF4J: Defaulting to no-operation (NOP) logger implementation SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details. Please add a JIRA to specify which bundle(s) is/are causing this problem, I

Re: WebServiceContext is null after upgrading to Karaf 3.0.3

2015-05-05 Thread asookazian2
@Context is specific to JAXRS and this is SOAP WS so that is not applicable here. -- View this message in context: http://karaf.922171.n3.nabble.com/WebServiceContext-is-null-after-upgrading-to-Karaf-3-0-3-tp4040185p4040186.html Sent from the Karaf - User mailing list archive at Nabble.com.

WebServiceContext is null after upgrading to Karaf 3.0.3

2015-05-05 Thread asookazian2
Suddenly we are getting NPE for WebServiceContext instance in code that has not changed before or after the Karaf 3.0.3 upgrade (culprit most likely is cxf 3.0.4). This is causing a web service call from web client to fail. We are using followin code: javax.xml.ws.WebServiceContext foo;

WADL for REST class is not updating after REST bundle update

2015-03-12 Thread asookazian2
Hi, I'm currently adding some public methods to an existing REST API (class). The WADL after bundle:update (or bundle:uninstall, bundle:install) is not reflecting the newly added method's changes. I have verified that the REST JAR is being built correctly and checked timestamp on the JAR and

Re: bundle:update

2015-02-26 Thread asookazian2
ok what about refresh, restart, resolve after update? are those recommended/required? -- View this message in context: http://karaf.922171.n3.nabble.com/bundle-update-tp4038534p4038716.html Sent from the Karaf - User mailing list archive at Nabble.com.

bundle:update

2015-02-13 Thread asookazian2
Hi with karaf 3.0.2. assume we have bundleA (a REST API) which uses bundleB (a DAO API). I have new versions of these bundles from a maven build. I bundle:update B then bundle:update A. Cmd is update bundleid file:/path/to/bundle. Do I need to also subsequently issue bundle:refresh and/or

debug mode

2015-02-13 Thread asookazian2
Hi how can I know if Karaf has been starting (i.e. is running) in debug mode? -- View this message in context: http://karaf.922171.n3.nabble.com/debug-mode-tp4038535.html Sent from the Karaf - User mailing list archive at Nabble.com.

display all exceptions in log

2015-02-12 Thread asookazian2
Is there plans to have a log:exceptions-display-all cmd in karaf to display all the exceptions in the current karaf.log (not just the last one)? -- View this message in context: http://karaf.922171.n3.nabble.com/display-all-exceptions-in-log-tp4038495.html Sent from the Karaf - User mailing

Re: bundle corruption with felix and karaf 3.0.2

2015-01-08 Thread asookazian2
reliable workaround (in Karaf). Regards JB On 01/08/2015 01:12 AM, asookazian2 wrote: Karaf 3.0.2 we are seeing intermittent hanging on halt (shutdown) of karaf. we then use 'kill -9' on karaf java process. then, sometimes after a restart, we are seeing some bundles (typically the last

bundle corruption with felix and karaf 3.0.2

2015-01-07 Thread asookazian2
Karaf 3.0.2 we are seeing intermittent hanging on halt (shutdown) of karaf. we then use 'kill -9' on karaf java process. then, sometimes after a restart, we are seeing some bundles (typically the last n bundles) in 'installed' state. I believe I saw on this forum JB commented the root cause of

Groovy related exceptions when switching to Equinox

2014-12-05 Thread asookazian2
We are seeing a couple of groovy related exceptions when switching to equinox with 3.0.2 Karaf. Any known issues to expect or why is this happening? Everything is fine when using same bundles/features with felix and 3.0.2 Karaf. list | grep -i groovy 228 | Active | 80 | 2.3.4

OSGi framework version not displayed

2014-12-05 Thread asookazian2
system:framework Current OSGi framework is equinox How can I see the version of the frmwk? There is no option for this. Is there a properties file I can check? thx. -- View this message in context: http://karaf.922171.n3.nabble.com/OSGi-framework-version-not-displayed-tp4037009.html Sent

Could not open JDBC connection for transaction

2014-12-04 Thread asookazian2
I'm able to reproduce the following exception (at least the first one which happens on startup of Karaf). Karaf 3.0.2 and we've replaced BoneCP with HikariCP-java6 2.2.2 recently as BoneCP has been deprecated. Please note that in my Spring applicationConfig.xml for this WAR mega-bundle, I'm

Re: Could not open JDBC connection for transaction

2014-12-04 Thread asookazian2
I installed the BoneCP bundle and reverted back to the BoneCP version of the datasource xml and it still reproduces... that's interesting as the applicationConfig.xml and datasources have not been modified recently... -- View this message in context:

Re: Could not open JDBC connection for transaction

2014-12-04 Thread asookazian2
I have enabled DEBUG level logging on a Spring and Activiti class and I've determined that the first attempt fails with the exception but the 2nd attempt to acquire jobs (30 secs later) is successful... -- View this message in context:

Using Spring with Karaf 3.x

2014-12-04 Thread asookazian2
We have some legacy J2EE apps that we've ported (finally) to Karaf 3.0.x which use Spring. Mainly for dependency injection and possibly some templates (e.g. JdbcTemplate, etc.) and AOP. Anyways, looks like there are no Spring (or Spring dm?) examples here:

Karaf skipping feature install

2014-12-03 Thread asookazian2
We have a feature install as follows: feature name=myFeature version=1.0.0-SNAPSHOT resolver=(obr) start-level=90 description=description feature version=1.0.0-SNAPSHOTfeature1/feature feature version=1.0.0-SNAPSHOTfeature2/feature

Unable to uninstall multiple bundles

2014-12-03 Thread asookazian2
4 bundles suddenly and simultaneously go into installed state after karaf restart (previously were active). I can't uninstall the bundles (bundle is invalid is the error at cmd line). karaf 3.0.2. one of them is simply a datasource.xml in deploy dir. i had to delete from karaf/data/cache dir

Re: Karaf skipping feature install

2014-12-03 Thread asookazian2
, the behavior reproduced. Maybe it's possible I am not uninstalling both features using feature:uninstall foo before the re-install and that is causing this problem/behavior? jbonofre wrote Do you have the obr feature installed on one Karaf ? Regards JB On 12/03/2014 09:25 PM, asookazian2 wrote

Re: Unable to uninstall multiple bundles

2014-12-03 Thread asookazian2
, asookazian2 wrote: 4 bundles suddenly and simultaneously go into installed state after karaf restart (previously were active). I can't uninstall the bundles (bundle is invalid is the error at cmd line). karaf 3.0.2. one of them is simply a datasource.xml in deploy dir. i had to delete from

Re: Unable to uninstall multiple bundles

2014-12-03 Thread asookazian2
how and why does the cache get corrupted? we are under the impression that we need to halt/start karaf after doing our feature installs in order to avoid any corruption issues but not sure if this is really required or not. -- View this message in context:

cascading feature uninstall option

2014-12-03 Thread asookazian2
Is there a cascading feature:uninstall option? I checked --help and didn't see it. I mean if you have bundles and features in a single feature.xml, currently if you feature:uninstall that feature it will only uninstall the bundles embedded in it, not necessarily the other embedded features. I'd

Re: Unable to uninstall multiple bundles

2014-12-03 Thread asookazian2
smartphone. Original message From: asookazian2 lt; asookazian@ gt; Date:03/12/2014 22:41 (GMT+01:00) To: user@.apache Cc: Subject: Re: Unable to uninstall multiple bundles how and why does the cache get corrupted? we are under the impression that we

Re: Unable to uninstall multiple bundles

2014-12-03 Thread asookazian2
also i don't understand why those specific 4 (last installed) bundles have presumably become corrupted. -- View this message in context: http://karaf.922171.n3.nabble.com/Unable-to-uninstall-multiple-bundles-tp4036928p4036943.html Sent from the Karaf - User mailing list archive at Nabble.com.

Re: akhon r we can not kotha bolte parbo na ata kokhono somvob na............

2014-12-03 Thread asookazian2
what the hell is this random spam going on all the time here? -- View this message in context: http://karaf.922171.n3.nabble.com/akhon-r-we-can-not-kotha-bolte-parbo-na-ata-kokhono-somvob-na-tp4036950p4036951.html Sent from the Karaf - User mailing list archive at Nabble.com.

trouble uninstalling feature

2014-11-24 Thread asookazian2
I'm trying to uninstall a feature prior to installing it. I see in the karaf cmd line (feature:repo-list) that there is only one repo added for this feature name. However, when I issue 'feature:uninstall foo' it fails and states that I must specify a specific version b/c there are three versions

Re: trouble uninstalling feature

2014-11-24 Thread asookazian2
karaf 3.0.2 -- View this message in context: http://karaf.922171.n3.nabble.com/trouble-uninstalling-feature-tp4036646p4036647.html Sent from the Karaf - User mailing list archive at Nabble.com.

Re: trouble uninstalling feature

2014-11-24 Thread asookazian2
with the same name (and different version). Regards JB On 11/24/2014 11:24 PM, asookazian2 wrote: I'm trying to uninstall a feature prior to installing it. I see in the karaf cmd line (feature:repo-list) that there is only one repo added for this feature name. However, when I issue

restarting Karaf after uninstalling bundles or features

2014-11-21 Thread asookazian2
Karaf 3.0.1 is it necessary to restart Karaf after uninstalling bundles or features to avoid a missing bundles problem we've been seeing? Sometimes and suddenly, some bundles disappear when you type 'list'. Has anybody else seen this and what is the best practice when uninstalling then

Re: restarting Karaf after uninstalling bundles or features

2014-11-21 Thread asookazian2
JB On 11/21/2014 08:07 PM, asookazian2 wrote: Karaf 3.0.1 is it necessary to restart Karaf after uninstalling bundles or features to avoid a missing bundles problem we've been seeing? Sometimes and suddenly, some bundles disappear when you type 'list'. Has anybody else seen

RE: non-deterministic installation order with ds files in deploy dir

2014-11-17 Thread asookazian2
Thx for responses. How would the user modify the foo-ds.xml post-install using these methods? It is easy to do if it's in the deploy dir. -- View this message in context: http://karaf.922171.n3.nabble.com/non-deterministic-installation-order-with-ds-files-in-deploy-dir-tp4036433p4036479.html

non-deterministic installation order with ds files in deploy dir

2014-11-14 Thread asookazian2
I've been testing a feature install which requires a foo-ds.xml (datasource) to be copied into the karaf/deploy dir first and then the 'feature:install bar' executed next. It seems that the order of installation of the foo-ds bundle may be before or after the feature bundle installs. If the

Re: non-deterministic installation order with ds files in deploy dir

2014-11-14 Thread asookazian2
we are using Karaf 3.0.1 -- View this message in context: http://karaf.922171.n3.nabble.com/non-deterministic-installation-order-with-ds-files-in-deploy-dir-tp4036433p4036434.html Sent from the Karaf - User mailing list archive at Nabble.com.

restart cmd

2014-11-08 Thread asookazian2
Is there a Karaf cmd in 3.0.1 that will restart the server from the console? equivalent to 'halt' and then 'bin/karaf'? -- View this message in context: http://karaf.922171.n3.nabble.com/restart-cmd-tp4036293.html Sent from the Karaf - User mailing list archive at Nabble.com.

how to determine if a bundle has already been installed?

2014-11-07 Thread asookazian2
Let's say I have a feature set which requires that another feature already be installed (i.e. a set of bundles should already be installed in Karaf 3.0.1). What is the recommended method of determining if that bundle or feature set is already installed? Currently I am using the following in my

Re: [ANN] Apache Karaf 4.0.0.M1 Released!

2014-10-15 Thread asookazian2
Please supply a link to list of new features in Karaf 4.0.0. thx. -- View this message in context: http://karaf.922171.n3.nabble.com/ANN-Apache-Karaf-4-0-0-M1-Released-tp4035927p4035969.html Sent from the Karaf - User mailing list archive at Nabble.com.

install on an existing bundle with same bundle-version fails

2014-10-10 Thread asookazian2
Please consider giving message/warning to Karaf cmd line/console when user tries to install a bundle that already exists. Currently, it seems to just ignore the command and the bundle.jar in the data/cache/xxx dir is not updated. Please use update bundle_id instead of install on a pre-existing

Re: Schema for custom shell commands

2014-09-29 Thread asookazian2
I am running into the same problem with Karaf 3.0.1. Caused by: org.osgi.service.blueprint.container.ComponentDefinitionException: Unable to find a matching factory method getScope on class org.apache.karaf.shell.console.commands.NamespaceHandler for arguments

Class com/sun/org/apache/xerces/internal/dom/ElementImpl illegally accessing package private member of class com/sun/org/apache/xerces/internal/dom/CoreDocumentImpl

2014-08-26 Thread asookazian2
We ran into the following error with our rebranded version of Karaf 3.0.1 on AIX (does not reproduce on Windows or Linux): body HTTP ERROR 500 pProblem accessing /ws/wf/WorkflowManagerWS. Reason: preServer Error/pre/p Caused by: prejava.lang.IllegalAccessError: Class

Re: karaf 3.0.1 start error

2014-08-14 Thread asookazian2
I believe the machine needs to be online so the maven repos can be hit... -- View this message in context: http://karaf.922171.n3.nabble.com/karaf-3-0-1-start-error-tp4034645p4034781.html Sent from the Karaf - User mailing list archive at Nabble.com.

Re: Data source xml change not taking effect in first karaf start post modification

2014-08-14 Thread asookazian2
This is an issue. We have users who will not know this unless it is explicitly documented. You should be able to modify the datasource-xxx.xml file when karaf is not running and karaf should always check for any changes to the xml files in deploy dir vs. the already deployed xml bundles. Then

No appenders could be found for logger (log4j related)

2014-08-13 Thread asookazian2
We are seeing the following message when deploying a WAR bundle and starting karaf 3.0.1: admin@NextGate () log4j:WARN No appenders could be found for logger (org.springframework.web.servlet.DispatcherServlet). log4j:WARN Please initialize the log4j system properly. I was told to remove log4j

Re: No appenders could be found for logger (log4j related)

2014-08-13 Thread asookazian2
This works: appender name=FILE class=org.apache.log4j.RollingFileAppender layout class=org.apache.log4j.PatternLayout /layout /appender This does *not* work (i.e. no logging of the same above contents in test.log are visible in the

Re: No appenders could be found for logger (log4j related)

2014-08-13 Thread asookazian2
Achim, thx for reply! So I need to use Import-Package only instead of Bundle-Classpath? And if yes, which packages do I need to import specifically? -- View this message in context: http://karaf.922171.n3.nabble.com/No-appenders-could-be-found-for-logger-log4j-related-tp4034739p4034743.html

Re: No appenders could be found for logger (log4j related)

2014-08-13 Thread asookazian2
Ok so I removed the three JARs (one log4j and two slf4j) from the Bundle-ClassPath section and added the following to the package-import section: Import-Package ... ,org.apache.log4j ,org.slf4j ... /Import-Package Now I am not seeing the WARN in the console during karaf startup, but I am seeing

Re: No appenders could be found for logger (log4j related)

2014-08-13 Thread asookazian2
So I added back the following to the Bundle-ClassPath section: ,WEB-INF/lib/log4j-1.2.16.jar and still getting this exception on karaf startup. I still have the import for org.apache.log4j in the Import-Package section so not sure what else to try at this point Caused by:

delete datasource-foo.xml from deploy and re-copy

2014-08-13 Thread asookazian2
delete datasource-foo.xml from deploy and re-copy to deploy dir (with a subsequent feature:install). then do 'list' in karaf cmd line. I do not see the bundle id in the list until i halt and restart karaf 3.0.1. is this intentional or a bug? -- View this message in context:

Re: No appenders could be found for logger (log4j related)

2014-08-13 Thread asookazian2
Thanks for the tip. I tried this and it did not work. Still seeing exception in the karaf.log: Caused by: java.lang.ClassNotFoundException: org.apache.log4j.LogManager not found by org.ops4j.pax.logging.pax-logging-api [7] I will try to research the response that Achim gave. thx guys. bane73

Re: No appenders could be found for logger (log4j related)

2014-08-13 Thread asookazian2
In the web.xml: listener listener-classorg.springframework.web.util.Log4jConfigListener/listener-class /listener Should we be using a different listener? -- View this message in context:

Re: No appenders could be found for logger (log4j related)

2014-08-13 Thread asookazian2
included a couple of Log4j and SLf4j new classes, but not this one as it's not really usefull in OSGi (due to the Logging service). So, what's your usage of LogManager ? I'm pretty sure you can avoid to use it. Regards JB On 08/13/2014 10:21 PM, asookazian2 wrote: Thanks for the tip

Re: No appenders could be found for logger (log4j related)

2014-08-13 Thread asookazian2
I commented out the below listener block in the web.xml. Now it seems to be behaving better (no exceptions) but I'm not sure what side-effect it may have to remove that... asookazian2 wrote In the web.xml: listener listener-class org.springframework.web.util.Log4jConfigListener

Re: Unable to find the InitialContextFactory org.eclipse.jetty.jndi.InitialContextFactory

2014-08-11 Thread asookazian2
This is the fix I just made today which resolved the problem somehow. The problem is we'd like to better understand the following: 1) why was this fix needed? 2) is this the best way to fix the problem? 3) why/how is the problem fixed? before (unable to login to WAR app): cxt = new

Unable to find the InitialContextFactory org.eclipse.jetty.jndi.InitialContextFactory

2014-08-08 Thread asookazian2
Any explanation as to how to resolve this exception? We can access the URL home page for the WAR bundle fine until we deploy another EAR bundle at which point we see the following exception: I google'd a bit and threads are pointing to jndi.properties but I haven't actually touched this file

rolling upgrades to Karaf/Cellar

2014-07-31 Thread asookazian2
what is the best practice for rolling upgrades for a cluster of Karaf servers? I mean to say that we have 2 nodes in the cluster and we want to update/upgrade software on server 1 but keep server 2 on the previous version temporarily until everything is stable with the upgrade on server 1 then

Re: rolling upgrades to Karaf/Cellar

2014-07-31 Thread asookazian2
Please add a link on this page to the Cellar clustering user guide: http://karaf.apache.org/index/subprojects/cellar.html http://karaf.apache.org/index/subprojects/cellar.html -- View this message in context:

Re: Cellar for karaf 3.0.1 active/active and failover clustering

2014-07-22 Thread asookazian2
Thanks for replying. There is only one reference to configadmin in the cellar docs: http://karaf.apache.org/manual/cellar/latest/user-guide/index.html How would I modify the etc/config.properties to be able to sync etc/a/b/c/foo.properties? Also, it would be nice if the Cellar docs was in one

Re: Cellar for karaf 3.0.1 active/active and failover clustering

2014-07-22 Thread asookazian2
Where is the documentation on how the ConfigAdmin works??? -- View this message in context: http://karaf.922171.n3.nabble.com/Cellar-for-karaf-3-0-1-active-active-and-failover-clustering-tp4033204p4034378.html Sent from the Karaf - User mailing list archive at Nabble.com.

Re: Cellar for karaf 3.0.1 active/active and failover clustering

2014-07-21 Thread asookazian2
I just tried to setup a brand new 2 node horz cluster on 2 windows VMs. Both nodes are joining the default group/cluster. However, when I run our installer script with both karaf nodes (3.0.1) running, the bundles install successfully on node A but not on node B. These are the actual bundles

Re: Cellar for karaf 3.0.1 active/active and failover clustering

2014-07-21 Thread asookazian2
No, they are using data/repo. http://karaf.apache.org/index/subprojects/cave/download/karaf-cave-3.0.0-release.html Do I need to use Karaf Cave? We probably cannot setup/install/config Artifactory at the client sites. Please advise link to the Cave docs. thx. -- View this message in

Re: Cellar for karaf 3.0.1 active/active and failover clustering

2014-07-21 Thread asookazian2
Populate from an external repository If you have a bunch of artifacts to upload, it’s not very efficient to use the cave:upload-artifact command. The cave:populate-repository command allows you to upload a set of artifacts from an “external” repository: karaf@root cave:populate-repository

Re: Cellar for karaf 3.0.1 active/active and failover clustering

2014-07-21 Thread asookazian2
On Windows, I can't write this cmd properly for it to work: cave:repository-create cave-repo -l C:/sw/ngs/current/ngs/data/repo data Error executing command cave:repository-create: too many arguments specified Example from blog: cave:create-repository -l /home/jbonofre/.m2/repository m2 --

Re: Cellar for karaf 3.0.1 active/active and failover clustering

2014-07-21 Thread asookazian2
I don't believe so, here is our config: org.ops4j.pax.url.mvn.repositories = http://repo1.maven.org/maven2@id=central, http://repository.springsource.com/maven/bundles/release@id=spring.ebr.release, http://repository.springsource.com/maven/bundles/external@id=spring.ebr.external,

Re: Cellar for karaf 3.0.1 active/active and failover clustering

2014-07-21 Thread asookazian2
Is it possible to replicate data/repo? We are considering running feature:repo-add and install bundles on each node which defeats the purpose of Cellar which replicates bundles, features and configs... -- View this message in context:

Re: Cellar for karaf 3.0.1 active/active and failover clustering

2014-07-21 Thread asookazian2
If I make a change to a file in /etc/a/b/c dir, will it replicate to the same dir structure in the other nodes? I just tried that with both nodes running and it doesn't seem to do anything... -- View this message in context:

Re: Cellar for karaf 3.0.1 active/active and failover clustering

2014-07-21 Thread asookazian2
In fact I made a change to etc/org.ops4j.pax.url.mvn.cfg and it did not replicate either (only a comment I tried). -- View this message in context: http://karaf.922171.n3.nabble.com/Cellar-for-karaf-3-0-1-active-active-and-failover-clustering-tp4033204p4034356.html Sent from the Karaf - User

Re: bundle in lifecycle infinite loop

2014-07-11 Thread asookazian2
The blacklisting is for the following datasource.xml: blueprint:file:/C:/sw/ngs/deploy/datasource-person-ws.xml I'm blacklisting on both nodes (etc/org.apache.karaf.cellar.groups.cfg): default.bundle.whitelist.inbound = * default.bundle.whitelist.outbound = * default.bundle.blacklist.inbound =

Re: bundle in lifecycle infinite loop

2014-07-11 Thread asookazian2
We are trying to achieve active/active for a web service (for example) as well as failover... I have tested this and it seems to work so far with cellar 3.0.0 and karaf 3.0.1 -- View this message in context:

Re: writing a bug for Karaf/Cellar

2014-07-10 Thread asookazian2
thanks this seemed to work. Cellar docs need lots more tutorials and/or examples. Good one is how to setup a 2 node horz cluster using mod_proxy_balancer/httpd. thx. -- View this message in context: http://karaf.922171.n3.nabble.com/writing-a-bug-for-Karaf-Cellar-tp4034078p4034145.html Sent

Re: bundle in lifecycle infinite loop

2014-07-10 Thread asookazian2
this seems to be a bug but the workaround JB suggested to blacklist the bundle for the datasource xml (use la -l to find the location and then update bundle blacklist inbound/outbound in etc/org.apache.karaf.cellar.groups.cfg) -- View this message in context:

Re: writing a bug for Karaf/Cellar

2014-07-09 Thread asookazian2
How exactly do I exclude the datasource xml bundle? If you copy the xml file to the deploy dir, Karaf creates a bundle for it with a corresponding bundle.jar. Are you saying I need to add it to the etc/org.apache.karaf.cellar.groups.cfg file like this: default.config.blacklist.inbound =

Re: writing a bug for Karaf/Cellar

2014-07-09 Thread asookazian2
sorry i meant this block same file: default.bundle.whitelist.inbound = * default.bundle.whitelist.outbound = * default.bundle.blacklist.inbound = none default.bundle.blacklist.outbound = none default.bundle.sync = true -- View this message in context:

Re: writing a bug for Karaf/Cellar

2014-07-09 Thread asookazian2
is it possible to blacklist a particular bundle id or range of bundle id's? -- View this message in context: http://karaf.922171.n3.nabble.com/writing-a-bug-for-Karaf-Cellar-tp4034078p4034109.html Sent from the Karaf - User mailing list archive at Nabble.com.

Re: writing a bug for Karaf/Cellar

2014-07-09 Thread asookazian2
Just tried this on the same file in both nodes and the behavior is not reproducing (no bundles are being sync'd I assume): default.bundle.whitelist.inbound = none default.bundle.whitelist.outbound = none default.bundle.blacklist.inbound = * default.bundle.blacklist.outbound = *

writing a bug for Karaf/Cellar

2014-07-08 Thread asookazian2
How/where do I write a bug for Karaf/Cellar? -- View this message in context: http://karaf.922171.n3.nabble.com/writing-a-bug-for-Karaf-Cellar-tp4034078.html Sent from the Karaf - User mailing list archive at Nabble.com.

Re: writing a bug for Karaf/Cellar

2014-07-08 Thread asookazian2
I am reproducing a behavior where a datasource.xml bundle is constantly stopping/starting/active (repeat) seemingly in an infinite loop. Blueprint is being destroyed constantly in the karaf.log. Only happens when I have two nodes active in a Karaf/cellar cluster. karaf 3.0.1 cellar 3.0.0 --

Re: load-balancing-with-apache-karaf-cellar-and-mod_proxy_balancer

2014-07-07 Thread asookazian2
root@ubuntu:/etc/apache2# service apache2 stop * Stopping web server apache2 * * The apache2 configtest failed, so we are trying to kill it manually. This is almost

Re: load-balancing-with-apache-karaf-cellar-and-mod_proxy_balancer

2014-07-07 Thread asookazian2
Configured on Mac host instead of Ubuntu and now it's working... -- View this message in context: http://karaf.922171.n3.nabble.com/load-balancing-with-apache-karaf-cellar-and-mod-proxy-balancer-tp4027803p4034036.html Sent from the Karaf - User mailing list archive at Nabble.com.

Re: load-balancing-with-apache-karaf-cellar-and-mod_proxy_balancer

2014-07-04 Thread asookazian2
I have a Mac host with 3 VM's: one Win7 for Karaf node, another Win7 for Karaf node and one Ubuntu for httpd. following directions here: http://blog.nanthrax.net/2013/02/load-balancing-with-apache-karaf-cellar-and-mod_proxy_balancer/

Destroying BlueprintContainer for bundle datasource.xml

2014-07-03 Thread asookazian2
I used the bundle.jar created in the data/cache/xxx dir which happens after you drop a datasource.xml file into the deploy dir in a running Karaf 3.0.1 instance (cluster). Then I install to both node in cluster via replication as follows: install file:/path/to/file/datasource.xml start xxx The

bundle in lifecycle infinite loop

2014-07-02 Thread asookazian2
starting/stopping/active (repeat) for a datasource.xml bundle in deploy dir. I'm running karaf 3.0.1 in a clustered (2 node) Win7 VM envmt. First time I've seen this and was able to reproduce after restarting both Karaf instances. also, I'd like to get this xml file into a mvn: repo (is it

Re: Cellar for karaf 3.0.1 active/active and failover clustering

2014-06-27 Thread asookazian2
I'm installing custom features for our product which is built on top of Karaf 3.0.1. How can i send the logs (I assume you are referring to karaf.log files?) Do you have an email address? -- View this message in context:

Re: Cellar for karaf 3.0.1 active/active and failover clustering

2014-06-27 Thread asookazian2
What version of Cave do we need to use with Karaf 3.0.1? -- View this message in context: http://karaf.922171.n3.nabble.com/Cellar-for-karaf-3-0-1-active-active-and-failover-clustering-tp4033204p4033848.html Sent from the Karaf - User mailing list archive at Nabble.com.

Re: Cellar for karaf 3.0.1 active/active and failover clustering

2014-06-26 Thread asookazian2
I installed successfully: feature:install cellar-webconsole admin@NextGate () list START LEVEL 33 , List Threshold: 50 ID | State| Lvl | Version | Name - 376 | Resolved | 80 | 3.0.0 |

  1   2   3   >