Redmine 404 error

qin chen, geändert vor 8 Jahren.

Redmine 404 error

Youngling Beiträge: 7 Beitrittsdatum: 11.04.16 Neueste Beiträge
The Server at URL http://10.241.81.148:3001/projects/sdpsqa could not be contacted: net.sf.redmine_mylyn.api.exception.RedmineApiHttpStatusException: Unexpected status code - 404

Redmine 2.5.2 stable

According to the document,have configed the mylyn plugin and the Redmine settings.
thumbnail
Torsten Stolpmann, geändert vor 8 Jahren.

RE: Redmine 404 error

Jedi Council Member Beiträge: 759 Beitrittsdatum: 12.02.09 Neueste Beiträge
Hi qin chen,

can you please attach the relevant log files found in logs folder of your installation?

Regards,

Torsten
qin chen, geändert vor 8 Jahren.

RE: Redmine 404 error

Youngling Beiträge: 7 Beitrittsdatum: 11.04.16 Neueste Beiträge
10.241.81.77 - - [13/Apr/2016:09:49:29 +0800] "GET /klaros-web/pages/subviews/configure/settings/integrationSettings.seam?conversationId=689 HTTP/1.1" 302 -
10.241.81.77 - - [13/Apr/2016:09:49:29 +0800] "GET /klaros-web/pages/login.seam;jsessionid=D1052EE43A1CC65B5AA05EC4BFCCA322?conversationId=811 HTTP/1.1" 200 2304
10.241.81.77 - - [13/Apr/2016:09:49:30 +0800] "GET /klaros-web/javax.faces.resource/jsf.js.seam?ln=javax.faces&loc=&v=3_3_0_160121 HTTP/1.1" 304 -
10.241.81.77 - - [13/Apr/2016:09:49:30 +0800] "GET /klaros-web/javax.faces.resource/bridge.js.seam?ln=ice.core&loc=&v=3_3_0_160121 HTTP/1.1" 304 -
10.241.81.77 - - [13/Apr/2016:09:49:30 +0800] "GET /klaros-web/javax.faces.resource/icepush.js.seam?ln=ice.push&loc=&v=3_3_0_160121 HTTP/1.1" 304 -
10.241.81.77 - - [13/Apr/2016:09:49:30 +0800] "GET /klaros-web/javax.faces.resource/util/ace-jquery.js.seam?ln=icefaces.ace&loc=&v=3_3_0_160121 HTTP/1.1" 304 -
10.241.81.77 - - [13/Apr/2016:09:49:30 +0800] "GET /klaros-web/javax.faces.resource/util/combined.css.seam?ln=icefaces.ace&loc=&v=3_3_0_160121 HTTP/1.1" 304 -
10.241.81.77 - - [13/Apr/2016:09:49:30 +0800] "GET /klaros-web/javax.faces.resource/util/ace-components.js.seam?ln=icefaces.ace&loc=&v=3_3_0_160121 HTTP/1.1" 304 -
10.241.81.77 - - [13/Apr/2016:09:49:30 +0800] "GET /klaros-web/javax.faces.resource/util/ace-datatable.js.seam?ln=icefaces.ace&loc=&v=3_3_0_160121 HTTP/1.1" 304 -
10.241.81.77 - - [13/Apr/2016:09:49:30 +0800] "GET /klaros-web/javax.faces.resource/theme.css.seam?ln=ace-klarostheme&loc=&v=3_3_0_160121 HTTP/1.1" 304 -
10.241.81.77 - - [13/Apr/2016:09:49:30 +0800] "GET /klaros-web/javax.faces.resource/css/verit.css.seam?loc=&v=3_3_0_160121 HTTP/1.1" 304 -
10.241.81.77 - - [13/Apr/2016:09:49:30 +0800] "GET /klaros-web/javax.faces.resource/css/screen.css.seam?loc=&v=3_3_0_160121 HTTP/1.1" 304 -
thumbnail
Torsten Stolpmann, geändert vor 8 Jahren.

RE: Redmine 404 error

Jedi Council Member Beiträge: 759 Beitrittsdatum: 12.02.09 Neueste Beiträge
Hi qin,

thanks for adding this, but I think the important information is missing from the log.

I assume you are running Klaros under Windows but do not yet have it installed as a Windows service?

In this case the exception is logged in the console window only. Please try to cut and paste the stack trace from there.

Regards,

Torsten
qin chen, geändert vor 8 Jahren.

RE: Redmine 404 error

Youngling Beiträge: 7 Beitrittsdatum: 11.04.16 Neueste Beiträge
2016-04-08 10:26:46: ERROR, org.hibernate.tool.hbm2ddl.SchemaUpdate, localhost-startStop-1 HHH000388: Unsuccessful: alter table K_EXT_ISSUE add constraint FK_jpy3w9wcadh95rmf6596gx0n7 foreign key (EXTERNAL_SERVER) references K_ISSUE_MANAGEMENT
2016-04-08 10:26:46: ERROR, org.hibernate.tool.hbm2ddl.SchemaUpdate, localhost-startStop-1 Constraint 'FK_JPY3W9WCADH95RMF6596GX0N7' already exists in Schema 'ROOT'.
2016-04-08 10:27:34: ERROR, javax.enterprise.resource.webcontainer.jsf.config, localhost-startStop-1 Unable to load annotated class: org.omnifaces.component.input.ViewAction, reason: java.lang.NoClassDefFoundError: javax/faces/component/UIViewAction
2016-04-08 10:58:20: ERROR, javax.enterprise.resource.webcontainer.jsf.application, http-nio-18080-exec-3 Error Rendering View[/pages/subviews/evaluate/issues/issueDetails.jspx]
java.lang.NullPointerException: null
        at java.lang.Class.isAssignableFrom(Native Method)
        at java.beans.Introspector.isAssignable(Introspector.java:809)
        at java.beans.Introspector.processPropertyDescriptors(Introspector.java:705)
        at java.beans.Introspector.getTargetPropertyInfo(Introspector.java:553)
        at java.beans.Introspector.getBeanInfo(Introspector.java:428)
        at java.beans.Introspector.getBeanInfo(Introspector.java:173)
        at javax.el.BeanELResolver$BeanProperties.<init>(BeanELResolver.java:230)
        at javax.el.BeanELResolver.property(BeanELResolver.java:351)
        at javax.el.BeanELResolver.getValue(BeanELResolver.java:95)
        at com.sun.faces.el.DemuxCompositeELResolver._getValue(DemuxCompositeELResolver.java:176)
@            



I'm running Klaros under Linux.
Attached is the logs from the Logs folder.

Thanks for your help.


               
qin chen, geändert vor 8 Jahren.

RE: Redmine 404 error

Youngling Beiträge: 7 Beitrittsdatum: 11.04.16 Neueste Beiträge
This is the log of Redmine.



Started GET "/projects/sdpsqa/mylyn/issuestatus" for 10.132.99.64 at 2016-04-13 05:36:20 +0000

ActionController::RoutingError (No route matches [GET] "/projects/sdpsqa/mylyn/issuestatus"):
  actionpack (3.2.19) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
  actionpack (3.2.19) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
  railties (3.2.19) lib/rails/rack/logger.rb:32:in `call_app'
  railties (3.2.19) lib/rails/rack/logger.rb:16:in `block in call'
  activesupport (3.2.19) lib/active_support/tagged_logging.rb:22:in `tagged'
  railties (3.2.19) lib/rails/rack/logger.rb:16:in `call'
  actionpack (3.2.19) lib/action_dispatch/middleware/request_id.rb:22:in `call'
  rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
  rack (1.4.5) lib/rack/runtime.rb:17:in `call'
  activesupport (3.2.19) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
  rack (1.4.5) lib/rack/lock.rb:15:in `call'
  actionpack (3.2.19) lib/action_dispatch/middleware/static.rb:63:in `call'
  railties (3.2.19) lib/rails/engine.rb:484:in `call'
  railties (3.2.19) lib/rails/application.rb:231:in `call'
  rack (1.4.5) lib/rack/content_length.rb:14:in `call'
  railties (3.2.19) lib/rails/rack/log_tailer.rb:17:in `call'
  rack (1.4.5) lib/rack/handler/webrick.rb:59:in `service'
  /usr/local/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
  /usr/local/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
  /usr/local/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
thumbnail
Torsten Stolpmann, geändert vor 8 Jahren.

RE: Redmine 404 error (Antwort)

Jedi Council Member Beiträge: 759 Beitrittsdatum: 12.02.09 Neueste Beiträge
Hi,

I suspect that you have entered the wrong URL for your your redmine server, you must not include the path to your project there.

So it should probably look like shown below:

URL: http://10.132.99.64
Project: sdpsqa

Does this resolve your problem?

Regards,

Torsten
qin chen, geändert vor 8 Jahren.

RE: Redmine 404 error

Youngling Beiträge: 7 Beitrittsdatum: 11.04.16 Neueste Beiträge
 the problem haven't been solved...

Anhänge:

thumbnail
Torsten Stolpmann, geändert vor 8 Jahren.

RE: Redmine 404 error

Jedi Council Member Beiträge: 759 Beitrittsdatum: 12.02.09 Neueste Beiträge
Please drop the /projects/xxxx part from your URL.
qin chen, geändert vor 8 Jahren.

RE: Redmine 404 error

Youngling Beiträge: 7 Beitrittsdatum: 11.04.16 Neueste Beiträge
Got it.Sorry for my carelessness.

But seems i met a new issue,the authentication always like this,i confirmed the user name and password.

Anhänge:

thumbnail
Torsten Stolpmann, geändert vor 8 Jahren.

RE: Redmine 404 error

Jedi Council Member Beiträge: 759 Beitrittsdatum: 12.02.09 Neueste Beiträge
Please add the klaros logs.
qin chen, geändert vor 8 Jahren.

RE: Redmine 404 error

Youngling Beiträge: 7 Beitrittsdatum: 11.04.16 Neueste Beiträge
10.241.81.77 - - [15/Apr/2016:13:54:49 +0800] "POST /klaros-web/pages/subviews/configure/settings/integrationSettings.seam HTTP/1.1" 200 1453
10.241.81.77 - - [15/Apr/2016:13:56:02 +0800] "POST /klaros-web/pages/subviews/configure/settings/integrationSettings.seam HTTP/1.1" 200 2141
thumbnail
Torsten Stolpmann, geändert vor 8 Jahren.

RE: Redmine 404 error

Jedi Council Member Beiträge: 759 Beitrittsdatum: 12.02.09 Neueste Beiträge
This does not contain helpful information. Did you check the Redmine side?

Are you sure you entered the correct credentials and that the user is allowed to access the project in question?

Regards,

Torsten